/** One command in the tool-owned final gate. */ export interface FinalGateCommandSpec { argv: string[]; /** True for commands that neither build nor run a build-prepending test script. */ build_free: boolean; /** The package this command's unit suite targets (single-flight key), if any. */ package_dir?: string; /** Which layer of the floor this belongs to. */ layer: "build" | "check" | "unit"; } /** * Whether `root` is the audit-tools monorepo — the repo the tool-owned final * gate's suite (INV-RS-10, literally the audit-tools build/check/per-package * commands) applies to. The gate's command list is audit-tools-specific by * design (this remediation run remediates the audit-tools monorepo), so it is * scoped to that structure rather than fabricated for an arbitrary target repo. * * The predicate checks every marker AND the script the gate will actually spawn. * Checking only the layout markers made applicability a COINCIDENCE: a tree with * the five markers but no gate script would be judged in-scope, then run * `node `, exit 1, and report a whole-repo RED on a healthy repo — * precisely the false-red class this gate's pause design exists to avoid, and * reachable because a five-marker tree is easy to construct (a test fixture is * one). A tree that cannot run the suite is OUT of scope, not failing it. */ export declare function isAuditToolsMonorepo(root: string): boolean; /** * The tool-owned final-gate command list (INV-RS-10) for the audit-tools * monorepo. Pure and deterministic so tests can assert: it is non-vacuous * (always > 0 build + check + unit commands) for the audit-tools structure, * never references `plan.test_command`, every UNIT command is build-free, and no * package's unit suite appears twice (single-flight — CE-001). Returns `[]` when * `root` is not the audit-tools monorepo (the audit-tools-specific suite is * inapplicable there — see `runToolOwnedFinalGate`). */ export declare function toolOwnedFinalGateCommands(root: string): FinalGateCommandSpec[]; //# sourceMappingURL=gateCommands.d.ts.map