test(cli): enforce command schema flag completeness
Summary
docs/agents/cli-flags.md told authors to keep flag definitions, allowedFlags, usageFlags, flagsByAction, and description overrides consistent by hand. Two new tests in command-schema-guards.test.ts now enforce that for every CLI command. The doc drops the sentences that tests or gates enforce, plus the classification step (integration-progress gate already fails on unclassified flags). Judgment prose stays: projectConfig/recorded safety, operatorField, flagsByAction semantics, usageFlags choice, interaction guarantees.
Not added: "every CliFlags key has a definition" (type keys cannot be listed at runtime; some keys have no CLI token) and duplicate-token checks (--port, --scope are intentionally shared).
Before / after
No observable change: test and docs only.
Value
Doc: 15 lines changed, 4 enforced sentences removed, 1 pointer paragraph added. Tests: 2 added, 0 allowlists, both pass on main.
Validation
Ran only pnpm exec vitest run --project unit-core packages/command-surface/src/schema/command-schema-guards.test.ts: 5 passed (3 before). Mutation proof, each restored: drop the intervalMs definition, 1 failed; set record allowedFlags to ['out'], 1 failed; set perf usageFlags: ['fps'], 1 failed. CI owns the remaining gates.
Open in [code]smith 路 Need help on this PR? Tag @codesmith-bot with what you need.