/** * Closure gate for `specweave complete` (2.0). * * By default, verify.json is required unless the caller supplies --reason. * With testing.strictClose, terminal tasks, scoped checks and review are * required, and --reason cannot override them. * * @module core/tasks/closure-gate */ export interface ClosureGateResult { ok: boolean; /** Blocking errors (empty when ok). */ errors: string[]; /** Non-blocking notices — things the reader may want to act on. */ notices: string[]; /** * Purely informational results. A PASSING verify belongs here, not in * `notices`: printing "verify ok" under a "⚠️ Warnings" header made a green * closure read like a problem report. */ info: string[]; } export declare function checkClosureGate(incrementDir: string, incrementId: string, opts?: { reason?: string; }): ClosureGateResult; /** * With a required review policy: for every repository holding the increment's * task Files, the newest review matching the policy must say ship, follow * verification, and have read the code that is there now (the reviewed commit * and HEAD agree on the task Files, so a squash-merged pull request passes). */ export declare function reviewPolicyErrors(root: string, incrementDir: string, verifiedAt: string | undefined): string[]; //# sourceMappingURL=closure-gate.d.ts.map