Skip to content

fix(agents): regenerate crate-map after the utoipa 6 bump - #244

Merged
athvin merged 1 commit into
mainfrom
fix/skills-crate-map
Oct 22, 2026
Merged

athvin merged 1 commit into
mainfrom
fix/skills-crate-map

Conversation

@athvin

@athvin athvin commented Oct 22, 2026

Copy link
Copy Markdown
Owner

main is currently red on the skills-check gate that #243 introduced, and neither PR is at fault on its own:

#242's CI ran against a base that had no such gate, and branch protection here does not require a branch to be up to date before merging — so it landed green and left crate-map.md advertising utoipa = "5". The two are only red in combination, which is why both merged clean.

Reproduced on a fresh checkout of main before changing anything:

$ make skills-check
FAIL generated skill references are stale. Run 'make skills-check' and commit the diff.
 .claude/skills/rust-conventions/references/crate-map.md | 2 +-

The one-line diff is utoipa = { version = "5", … } → "6".

This is exactly what the gate exists to catch — a dependency bump that leaves the generated agent references describing a workspace that no longer exists — so the fix is to regenerate and commit, not to loosen the check.

Worth noting for next time

A newly added gate can be violated by an already-green PR merging after it. That is a different failure class from the usual "an advisory was published since the last green run": nothing changed underfoot, the two changes were simply never tested together. Requiring up-to-date branches would prevent it, at the cost of a rebase per merge on a busy day.

🤖 Generated with Claude Code

main is red on the `skills-check` gate #243 introduced, and neither PR is at
fault on its own:

  #243  adds the gate, which regenerates the skill references and fails if a
        committed one is stale
  #242  bumps utoipa 5 -> 6 in rust/Cargo.toml

#242's CI ran against a base that had no such gate, and GitHub does not
require a branch to be up to date before merging, so it landed green and left
`crate-map.md` advertising `utoipa = "5"`. The two are only red in
combination.

This is precisely what the gate exists to catch — a dependency bump that
leaves the generated agent references describing a workspace that no longer
exists — so the fix is to regenerate and commit, not to loosen the check.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@athvin
athvin merged commit 0b34de0 into main Oct 22, 2026
15 checks passed
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.

2 participants