Regenerate the catalog bundle after the RFC 9457 pass - #11
Merged
Conversation
CI has been red on main since the RFC 7807 -> RFC 9457 commit. `src/all-rules.json` is derived from `rules/all-rules.yaml` via tools/sync-catalog.mjs, and I edited the YAML without regenerating the bundle, so check:catalog reported drift. My regression, and the check did exactly its job — it is there to catch a source edit that never made it into the derived artifact. Regenerated with `npm run sync:catalog`. One line changes: the RateLimit rule's description now cites RFC 9457 rather than RFC 7807, matching the source. 740 rules, unchanged in count. `npm run check` passes end to end — catalog in sync, all twelve formats construct and run against the real engine, skill-sync matches 18 rules by name. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
CI has been red on
mainsince the RFC 7807 → RFC 9457 commit. This fixes it.src/all-rules.jsonis derived fromrules/all-rules.yamlviatools/sync-catalog.mjs. I edited the YAML during the RFC pass and never regenerated the bundle, socheck:catalogcorrectly reported drift:My regression — and the check did exactly its job. It exists to catch a source edit that never made it into the derived artifact, which is precisely what happened.
The fix
npm run sync:catalog. One line changes: the RateLimit rule's description now cites RFC 9457 rather than RFC 7807, matching the source. 740 rules, unchanged in count.Verification
npm run checkpasses end to end:check:catalog— catalog bundle in sync (740 rules)check:rulesets— all twelve formats construct and run against the real enginecheck:skill-sync— 18 rules match by name betweenspotlight:skilland the catalogFound while merging the org-wide README standardization: this was the only repo of 42 whose PR was
UNSTABLE, and the failure turned out to predate that PR.🤖 Generated with Claude Code