Skip to content

Regenerate the catalog bundle after the RFC 9457 pass - #11

Merged
kinlane merged 1 commit into
mainfrom
fix-catalog-drift
Aug 18, 2026
Merged

Regenerate the catalog bundle after the RFC 9457 pass#11
kinlane merged 1 commit into
mainfrom
fix-catalog-drift

Conversation

@kinlane

@kinlane kinlane commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

CI has been red on main since the RFC 7807 → RFC 9457 commit. This fixes it.

src/all-rules.json is derived from rules/all-rules.yaml via tools/sync-catalog.mjs. I edited the YAML during the RFC pass and never regenerated the bundle, so check:catalog correctly reported drift:

DRIFT: src/all-rules.json is stale vs rules/all-rules.yaml.
Run: npm run sync:catalog

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 check passes end to end:

  • check:catalog — catalog bundle in sync (740 rules)
  • check:rulesets — all twelve formats construct and run against the real engine
  • check:skill-sync — 18 rules match by name between spotlight:skill and the catalog

Found 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

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>
@kinlane
kinlane merged commit 294a2ef into main Aug 18, 2026
1 check passed
@kinlane
kinlane deleted the fix-catalog-drift branch August 18, 2026 00:38
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