Repository navigation
docs(spec): bounded-exhaustive verifier for parser vs grammar drift (#643) - #644
Merged
Merged
Conversation
…643) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT
… drift match, cost model (#643) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Design spec for #643: a deterministic, bounded-exhaustive verifier that checks the real parser against
tests/grammar/grammar.pest, plus generating the EBNF fromgrammar.pest.Spec:
docs/superpowers/specs/2026-10-20-grammar-drift-verifier-design.mdSettled with the maintainer (2026-10-20):
docs/GRAMMAR.md, published by the docs site as a snapshot page;maingets the verifier only, with no new error codes.Summary:
INT-019sites and theINT-000retract-arity path get their ownPRScodes; 4 unreachableINT-019sites stay.k= 3 default, deeper on a schedule);KNOWN_DRIFTpredicates, each failure matching exactly one.Reviewed with Codex; its findings (witness rule, overlapping drift predicates, token count, balance definition and cost, ordering) are addressed in the second commit.
Docs only; no code change. Part of #643.
🤖 Generated with Claude Code
https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT