Skip to content

test(flag-table): add NativeControl flags + well-formedness tests (reld#123 Phase 1) - #140

Merged
zackees merged 1 commit into
mainfrom
phase1-flag-table-nativecontrol
Sep 16, 2026
Merged

zackees merged 1 commit into
mainfrom
phase1-flag-table-nativecontrol

Conversation

@zackees

@zackees zackees commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

What

Follows up the flag-table bootstrap (#139): add the reld-only validation/control flags (--validate-output, --write-layout, --write-trace, --sym-info) to the table as Requires(NativeControl), so the table now classifies every flag collect_requested_capabilities routes. Add two tests pinning the table's shape (no duplicate spellings, every row renders).

Why

Makes the initial table a complete classification of what reld currently handles, which the parser migration (the next Phase-1 step) will read from.

Verification

  • cargo test -p reld-core --lib flag_table — 2 pass.
  • cargo clippy -p reld-core --all-targets -- -D warnings — clean.
  • cargo fmt --check — clean.

🤖 Generated with Claude Code

The reld-only validation/control flags (--validate-output, --write-layout,
--write-trace, --sym-info) force native and belong in the table as
Requires(NativeControl). Add them, plus tests pinning that the table has no
duplicate spellings and renders every row.

Co-Authored-By: Claude Code <[email protected]>
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