import type { CommandOption, PlanContext } from "./plan.js"; /** * Which context canon a run emits. * - `compact` (default) — the repo CONTRACT: `project.json` + `project.md` + * `setup.md` (from `aih contract`) behind a thin RULE_ROUTER. The lean, * evidence-first surface that reads as one contract, not a doc family. * - `legacy` — the full pre-contract doc family (INDEX/architecture/conventions/ * tasks/SETUP-TASKS/VALIDATION/project-guardrails/example-skill + * REGENERATION/harness-update/other-tools). Byte-identical to the old output, for * a team mid-migration; the compiler NEVER deletes, so this is the non-destructive * escape hatch, opt-in only. */ export type CanonMode = "compact" | "legacy"; /** Resolve the canon mode from the parsed flags — compact unless `--canon legacy`. */ export declare function canonMode(ctx: PlanContext): CanonMode; /** The shared `--canon` flag, placed on `init`, `scaffold`, and `bootstrap-ai`. */ export declare const CANON_OPTION: CommandOption;