Repository navigation
The vault CI pin is part of the release - #51
Merged
Merged
Conversation
A vault repo running the CI templates pins the engine by tag, in its own copy of the workflow, in a different repo. Cutting a release here cannot update it, so the pin goes stale at exactly this moment and nothing notices until somebody looks: two releases behind on 2026-09-18, one behind again on 2026-09-22, both found by hand. The gate is the procedure, which is where a recurrence belongs rather than on a task list. Reported after the tag and never a refusal — the vault is a different repo, it may not be on this machine, and a release is not wrong because something else has not caught up. Silence has two cases and both are tested: a pin that already matches is not news, and a vault this machine cannot read is not evidence of a stale pin.
… cannot answer `make audit` runs seven checks and the weekly template ran four. One of the three missing ones belongs there: check-markdown.py reads only the vault, so it answers the same on a runner as locally, and wrapped code spans — the defect it was written for — live in exactly the documents that job already checks out. The other two do not, and the gap is now recorded rather than left looking like an oversight somebody should close. check-context-freshness.py and check-project-state.py both compare a vault document against the repo it describes, and a runner has the vault and no repos. Both are built to answer `undetermined` / `skipped` rather than pass when they cannot reach a checkout, so adding them would print a page of "cannot tell" every Monday — which is how a report teaches people to skim it. The test asserts their absence with that reason attached, so the next person to notice the gap finds the argument rather than re-deriving it.
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.
Follow-on from #50. Both changes come from one observation: the vault's CI was
pinned to v0.57.0 while the machine ran v0.58.0 — the same drift caught on
2026-09-18, when it was two releases behind. The pin itself is already fixed in
the vault repo; this is the part that stops it recurring, plus one thing the
first fix revealed.
1.
release-check.shreports a pin its own tag just made stale (bb2ebbc)A vault repo running the CI templates pins the engine by tag, in its own copy
of the workflow, in a different repo. Cutting a release here cannot update it,
so the pin goes stale at exactly the moment of tagging and nothing notices until
someone looks. That is a recurrence, and the practice for a recurrence is to put
the carryover in the procedure — the gate is the procedure.
Never a refusal, and it runs after the tag. The vault is a different repo, it
may not be on this machine, and a release is not wrong because something else has
not caught up. Silence has two cases and both are tested: a pin that already
matches is not news, and a vault this machine cannot read is not evidence of a
stale pin.
2. The weekly template gains
check-markdown.py(f6a04fa)Fixing the pin surfaced a second thing:
make auditruns seven checks andthe weekly template ran four. It has never run
check-markdown(v0.43.0),check-context-freshness(v0.49.0) orcheck-project-state(v0.58.0).One of the three belongs there.
check-markdown.pyreads only the vault, so itanswers the same on a runner as locally — and wrapped code spans, the defect it
was written for, live in exactly the documents that job already checks out.
The other two cannot work in CI, and that is now recorded rather than left
looking like an oversight. Both compare a vault document against the repo it
describes, and a runner has the vault and no repos. Measured, not assumed:
Both are built to answer
undetermined/skippedrather than pass when theycannot reach a checkout, so adding them would print a page of "cannot tell" every
Monday — which is how a report teaches people to skim it. The test asserts their
absence with the reason attached, so the next person to notice the 5-vs-7 gap
finds the argument instead of re-deriving it.
Testing
make lintclean.make test: 41 suites, 42 assertions intest-release-check(6 new), 11 in
test-vault-ci(4 new).test-release-check.shnow copieslib/config.shinto its sandbox, because thegate genuinely depends on it to find the vault — the 29 failures that appeared
when it did not are how that dependency got noticed.
One pre-existing failure, in a git worktree only:
doctor.shreports"engine checkout is not a git repo" because
.gitis a file there. Passes in anormal checkout and in CI; already tracked as its own follow-up.
🤖 Generated with Claude Code