/** * Solo-code-ban enforcer — PreToolUse Bash guard. * * Per L2 redesign §5.4. Deny `git commit` or `git apply` invocations from * a peaks-* skill. The Solo Code-Change Red Line says peaks-solo / peaks-rd * are orchestrators, not implementers; the actual `git commit` step must * go through `peaks request transition`, which itself enforces spec-locked * + tech-doc-presence. * * Trust red line (per `gate-enforcement-hook.md`): if the registry or * manifest read fails, the hook must fail-OPEN (warn + allow). The LLM is * never bricked by a peaks bug. */ export interface SoloCodeBanInput { readonly skill: string; readonly command: string; } export interface SoloCodeBanResult { readonly denied: boolean; readonly reason: string; } export declare function isSoloCodeCommit(skill: string, command: string): boolean; export declare function evaluateSoloCodeBan(input: SoloCodeBanInput): SoloCodeBanResult;