Unify flag metadata into a single validated source of truth#3449
Closed
ccclosed wants to merge 2 commits into
Closed
Unify flag metadata into a single validated source of truth#3449ccclosed wants to merge 2 commits into
ccclosed wants to merge 2 commits into
Conversation
Promote the FLAGS registry to a documented, validated single source of truth via a read-only RegistryView, and derive every flag-facing artifact from it: Bash, Zsh, Fish and PowerShell completions, the man page, and -h/--help output. - Add RegistryView with registry-wide validation (duplicate/missing-field) and shared category/flag ordering. - Replace the panicking custom-markup path with a fallible Markup_Renderer that centralizes roff hyphen escaping. - Generate the Zsh completion's per-flag content from the registry (new !FLAGS! splice point) while keeping the hand-written scaffold and contextual grouping. - Make value completion consistent across all four shells and complete negated names and aliases everywhere. - Add a structured Consistency_Checker that reports all divergences; wire its real-registry test as the authoritative CI drift guard, replacing the loose zsh-only ci/test-complete. - Formalize the --generate command contract and add integration tests. - Implement all 25 design properties as proptest property tests plus example tests. Spec: .kiro/specs/unified-flag-source
Add /.kiro and /.VSCodeCounter to .gitignore and remove the previously committed .kiro spec directory from version control. The files remain on disk locally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promote the FLAGS registry to a documented, validated single source of truth via a read-only RegistryView, and derive every flag-facing artifact from it: Bash, Zsh, Fish and PowerShell completions, the man page, and -h/--help output.
Spec: .kiro/specs/unified-flag-source