/**
 * Classify a hook rule for V1 dispatch.
 *
 * Always returns `interpretive` per ADR-104 § Target-aware dispatch (hooks
 * are Interpretive Rule class — no formal-verification obligation; PreToolUse
 * payloads are not source code, so the Rego/OPA value proposition is weaker
 * than for lint rules).
 *
 * If the rule carries a `verification_shadow:` block (forward-compat schema
 * permits this for future Spine promotion), the returned result includes a
 * structured warning. Per ADR-104 § Convergence: "the engine MUST
 * warn-and-ignore the block (the rule itself still executes as
 * Interpretive)."
 */
export function classifyHookRule(rule) {
    if (rule.verification_shadow !== undefined) {
        return {
            classification: 'interpretive',
            warning: `[totem:hook-shadow-ignored] ${rule.id}: verification_shadow block ignored in V1 (hooks are Interpretive Rule class); rule still executes`,
        };
    }
    return { classification: 'interpretive' };
}
//# sourceMappingURL=classification.js.map