Skip to content

chore: point pins at the commits their version labels claim (0.2.10) - #23

Merged
bhyi4 merged 2 commits into
mainfrom
chore/bump-pins-to-releases
Aug 5, 2026
Merged

chore: point pins at the commits their version labels claim (0.2.10)#23
bhyi4 merged 2 commits into
mainfrom
chore/bump-pins-to-releases

Conversation

@bhyi4

@bhyi4 bhyi4 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Found by a logic ↔ documentation consistency audit across all five mirror repos.

The defect

Two pins named a release they did not point at:

dep pinned commented actual tag
action-mirror fa1fc499 # v0.2.0 15b0c5b72 commits later
provenance-mirror 321f84ab # v0.2.0 2d1d52d22 commits later

The two missing commits in both cases:

docs: update self-references bhyi4/ -> mirror-stack/ after org migration
docs: point SPEC references to v1.1 (seal-width amendment)

So an install of this package received pre-org-migration docs — stale bhyi4/ self-references and SPEC v1.0 — under a v0.2.0 label. A pin whose comment names a release it does not point at is a claim the installer has no way to check, which is precisely the defect class this stack exists to catch.

Changes

  • action-mirror15b0c5b7 (now actually v0.2.0)
  • provenance-mirror2d1d52d2 (now actually v0.2.0)
  • measure-mirror v0.28.1 → v0.29.0 (b3b6dec8) — adds ㉘ subspace_claim_check, Finding.data, and a fix for a latent KeyError in the finding formatters on INFO/N/A levels
  • version 0.2.9 → 0.2.10, with a CHANGELOG entry

Guard

tests/test_pins_are_releases.py:

  • each pin's SHA is checked against the GitHub tag its comment names
  • offline: every pin must be a full 40-hex lowercase SHA and carry a version label
  • skips (not fails) when the API is unreachable

Reverse-verified: restoring the old action-mirror pin makes the test fail. A guard that only ever passes has no discriminative power, so it was checked in both directions before being committed.

Not changed, on purpose

This server exposes a curated 19 tools, not all 28 measure-mirror probes — mm_verify is the umbrella for the rest. ㉘ is reachable through it, so no new tool was added.

52 tests pass.

🤖 Generated with Claude Code

Mother Seara and others added 2 commits August 5, 2026 11:19
Found by a logic ↔ documentation consistency audit across the mirror family.

The `action-mirror` and `provenance-mirror` pins were both commented `# v0.2.0`
while sitting TWO commits before that tag. The two missing commits were:

  docs: update self-references bhyi4/ -> mirror-stack/ after org migration
  docs: point SPEC references to v1.1 (seal-width amendment)

So anyone installing this package received pre-org-migration docs — stale
`bhyi4/` self-references and SPEC v1.0 — under a "v0.2.0" label. A pin whose
comment names a release it does not point at is a claim the installer cannot
check, which is the defect class this stack exists to catch.

Also bumps `measure-mirror` v0.28.1 → v0.29.0, which adds ㉘
`subspace_claim_check` and fixes a latent KeyError in the finding formatters on
INFO/N-A levels.

`tests/test_pins_are_releases.py` checks each pin's SHA against the GitHub tag
its comment names, and offline that every pin is a full 40-hex lowercase SHA
with a version label. It skips rather than fails when the API is unreachable.
Reverse-verified: restoring the old action-mirror pin makes it fail, so the
guard has real discriminative power rather than passing on everything.

No new tool: this server exposes a curated 19, not all 28 probes — `mm_verify`
is the umbrella for the rest, and ㉘ is reachable through it by design.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bhyi4
bhyi4 merged commit 9514c67 into main Aug 5, 2026
4 checks passed
@bhyi4
bhyi4 deleted the chore/bump-pins-to-releases branch August 5, 2026 06:16
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