/** * Every `--name` this CLI knows: the union of every name its code READS and every name its help * DOCUMENTS. GENERATED — `test/known-flags-drift.test.ts` re-derives it from `cli.ts` and fails if * this list has gone stale, so a new flag cannot silently start warning at its own users. * * It is deliberately a FLAT set, not a per-command map. Both ways of building a per-command list * were measured and both are unsafe: 53 of the names the CLI reads appear nowhere in help, and * static extraction over the dispatch table lost `--week` from `dz recap` while picking up a * neighbour's flags for `dz usage`. A refusal built on either would reject working commands. * See harness-core/src/cli-flag-notice.ts for the full reasoning and the honest limit. */ export const KNOWN_CLI_FLAGS: readonly string[] = [ 'affected', 'all', 'allow-same-family', 'allow-same-family-qe', 'any', 'append', 'apply', 'arg', 'artifact', 'at', 'audit-dev', 'author', 'auto', 'backfill', 'base', 'baseline', 'body', 'book', 'books', 'bto', 'budget', 'budget-extra', 'bump-only', 'by-stage', 'calibrate', 'candidate', 'candidates', 'canonical', 'category', 'channel', 'check', 'claim-check', 'claude-bin', 'cmd', 'coder-family', 'codex-home', 'command', 'commands', 'commit', 'compare', 'confirm', 'confirmed', 'context-only', 'corroborate', 'count-project', 'day', 'deep', 'default-family', 'desc', 'description', 'diff', 'diff-filter', 'dir', 'domain', 'done', 'draft', 'dry-run', 'effect', 'effort', 'emit', 'emit-policy', 'enrich', 'epsilon', 'expect', 'expect-commands', 'export', 'fa-record', 'fail-on', 'fail-on-undergrant', 'family', 'feature-dir', 'files', 'filter', 'finalize', 'findings', 'flag', 'force', 'forget', 'format', 'from', 'from-', 'from-json', 'from-kus', 'from-pack', 'from-slice', 'from-spec', 'full', 'gates', 'gen-critic', 'goal', 'guard', 'guards', 'half-year', 'harmonize', 'help', 'holdout', 'html', 'id', 'include-domain', 'include-pairs', 'init', 'input-hash', 'install', 'install-driver', 'install-hook', 'into', 'invariants', 'json', 'judge', 'k', 'keep-scratch', 'key', 'kind', 'ladder', 'legacy', 'lexical', 'license', 'limit', 'list', 'live-content', 'loc-cap', 'local-path', 'manifest', 'margin', 'mark', 'max', 'max-per-day', 'max-wall-clock', 'memory', 'mock', 'mode', 'model', 'module', 'month', 'n', 'name', 'name-only', 'night', 'no-audit', 'no-decorate', 'no-dry-run', 'no-evals', 'no-filters', 'no-fund', 'no-guard', 'no-hooks', 'no-index', 'no-issue', 'no-memory', 'no-merges', 'no-mirror', 'no-provenance', 'no-result', 'no-semantic', 'no-session-persistence', 'no-teach', 'no-verify', 'o', 'once', 'oneline', 'only', 'op', 'original', 'out', 'output', 'output-format', 'override', 'pack', 'pack-destination', 'package', 'pair', 'pattern', 'periods', 'pick', 'plan', 'plugin-dir', 'porcelain', 'preset', 'pretty', 'preview', 'project', 'promote', 'proposal', 'provenance', 'prune-noise', 'prune-quarantine', 'pubkey', 'publish', 'quarter', 'reason', 'rebaseline', 'recalled', 'reconcile', 'record-provisional', 'refresh-publishes', 'registry', 'reinforce', 'remove', 'report', 'require-plan', 'require-signing', 'rerank', 'result', 'resume', 'revise', 'reward', 'row', 'run', 'run-dir', 'run-id', 'runner', 'safe-mode', 'sandbox', 'save-dev', 'scenarios', 'scope-check', 'score', 'seed', 'select', 'semantic', 'send', 'session', 'sessions-dir', 'short', 'show-toplevel', 'sign-key', 'since', 'skill', 'skills-dir', 'slice', 'slug', 'source', 'split', 'stage', 'stage-timeout', 'stages-json', 'static', 'stats', 'status', 'stdin', 'step', 'stored', 'strict', 'strict-mcp-config', 'subsystem', 'success', 'tag', 'target', 'task', 'teach', 'test', 'test-cmd', 'text', 'threshold', 'tie-rate', 'tier', 'timeout', 'title', 'tolerance', 'tools', 'topics', 'type', 'usage', 'validate', 'verbose', 'verified', 'verify', 'version', 'wall-clock-extra', 'weak', 'week', 'weekly', 'window-days', 'window', 'with-pairs', 'with-references', 'work-order', 'write', 'year', 'yes', ];