Skip to content

fix(skills): regenerate entities-index — main is red from two concurrent statement adds - #483

Merged
athvin merged 1 commit into
mainfrom
bm/fix-entities-index-drift
Nov 5, 2026
Merged

athvin merged 1 commit into
mainfrom
bm/fix-entities-index-drift

Conversation

@athvin

@athvin athvin commented Nov 5, 2026

Copy link
Copy Markdown
Owner

main currently fails its own skills-check. The generated reference says 246 declared statements; the tree has 247. Reproduced against origin/main directly, so it is not a branch artifact:

$ git switch --detach origin/main && bash scripts/skills-check.sh all
FAIL generated skill references are stale.
-**49 entities, 246 declared statements.**
+**49 entities, 247 declared statements.**

Neither contributing PR could have caught it

#460 (datasets PR8a) and #474 (the contract guard's schema_migration/read/history) each added one declared statement, and each regenerated the count against a main that had 245 — so both landed holding 246, and the true sum is 247.

main is strict: false: a PR merges on a green it earned against a base that may since have moved. This is precisely the combination failure merge-bus.yml was built to prove, and neither PR was in a batch. I merged #474, so this is half mine.

Why it needs fixing now rather than in the next PR

The drift check runs inside the required fmt + clippy + docs job, so every PR opened against main inherits the failure until this lands — including the four-PR colour stack currently in flight, which is how I found it.

One line, generated, no behaviour change.

🤖 Generated with Claude Code

…ent statement adds

`main` fails its own `skills-check`: the generated reference says 246 declared
statements and the tree has 247. Reproduced on `origin/main` directly, so it is
not a branch artifact.

Neither contributing PR could have caught it. #460 (datasets PR8a) and #474
(the contract guard's `schema_migration/read/history`) each added a declared
statement and each regenerated the count against a `main` that had 245 — so
both landed holding 246, and the sum is 247. `main` is `strict: false`, which
means a PR merges on a green it earned against a base that may since have
moved; this is exactly the combination failure the merge bus was built to
prove, and neither PR was in a batch.

One line, no behaviour. The drift check runs inside the REQUIRED
`fmt + clippy + docs` job, so every PR opened against `main` inherits the
failure until this lands.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@athvin
athvin merged commit 81679df into main Nov 5, 2026
30 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