Skip to content

Refactor CLI command schema and strict flag validation#57

Merged
thymikee merged 4 commits intomainfrom
codex/command-schema-strict-validation
Feb 14, 2026
Merged

Refactor CLI command schema and strict flag validation#57
thymikee merged 4 commits intomainfrom
codex/command-schema-strict-validation

Conversation

@thymikee
Copy link
Copy Markdown
Contributor

Summary

  • add a centralized command/flag schema with full CLI command coverage
  • refactor parser to schema-driven validation and strict unknown flag handling
  • enforce command-specific flag validation across all commands (compat warning mode + strict fail mode)
  • generate CLI usage output from schema to remove command/flag drift
  • unify daemon flag typing with schema-derived types
  • add parser tests for coverage parity, unknown short flags, deterministic enum/range errors, and strict mode behavior

Verification

  • pnpm typecheck
  • pnpm test:unit
  • pnpm test:smoke
  • pnpm test:integration

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 14, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-02-14 13:40 UTC

@thymikee thymikee force-pushed the codex/command-schema-strict-validation branch from d50d2c2 to 52a7e6b Compare February 14, 2026 13:13
@thymikee thymikee merged commit 57062c8 into main Feb 14, 2026
6 checks passed
@thymikee thymikee deleted the codex/command-schema-strict-validation branch February 14, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant