Repository navigation
Move the release-tag zero-findings pin out of the required suite into a gate on the cutting pull request (add-release-tag-gate) - #668
Conversation
…l request The suite asserted, inside the required `pytest-suite`, that this repository reads ZERO `release-tag-publication` findings. The annotated tag for a new bundle is published AFTER the cutting pull request merges, at the merge commit, by a second actor — 6s, 23s, 44s and 68s after merge for contract-v3.1 through contract-v3.4 — so the legitimate window between the two acts reddened EVERY open pull request. PR #628 declared contract-v3.3 untagged at 22:27Z on 2026-09-03 and every lane failed on that one test until the tag landed after PR #636: five and a half hours, none of them the cause and none able to fix it. The assertion moves rather than goes. `release-tag-gate` runs on every pull request (no `paths:` filter, so the required context always reports; not on `push: main`, which would re-create the same red), short-circuits green unless the pull request touches `contracts/manifest.yaml` or `contracts/releases/**`, and otherwise runs THE SAME FAMILY over the pull request's merge tree by overriding one seam method. One clock, not two: the bar is exactly the one the pin held — no error, no warning — asked of a different tree. The bundle the pull request itself cuts is not required to carry a tag, because it cannot yet; the family's promoted "declaring commit is still the published tip" scenario already says nothing about it, and the gate RECORDS the obligation in its summary and as a notice annotation instead. `gate-version-reuse` catches the one defect the family cannot see: a declaration moved onto a number whose tag is already published elsewhere. A family skip fails closed. Nightly doc-health reporting is unchanged, at unchanged severities. Spec delta: one MODIFIED requirement (doc-health, Release-tag publication), restated in full with all 24 promoted scenarios and adding six. It drops no canon unit, so no `Removed from canon by` marker is owed. No file is added under `openspec/specs/`. Making `release-tag-gate` REQUIRED on main is an [OPERATOR] act, tasks section 4, evidence before archive. Refs #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
…it moves The `proposal-origin` family reported the packet as carrying no origin declaration: the contract is a machine-readable `origin:` block in the change dir's `.openspec.yaml`, not the prose `Origin:` header. Added as `kind: ad_hoc`, id `openxFactory:adhoc:2026-09-04-add-release-tag-gate`, carrying the measurement and Brett's admitting word with its date. And the measurement it was written beside: `docs/contract-versioning-policy.md` is a DIGESTED MEMBER of the published contract-v3.4 bundle and is not one of the three editorial members allowed to move between cuts, so the § Bundle Realization Order paragraph raises one `release-inventory-drift` error. That is the designed transient — the next cut clears it by re-digesting the member — and hand-editing a published bundle's inventory is forbidden. Recorded as design D8, tasks 3.5 and the before/after counts in proposal § Impact rather than left to be discovered: 6 critical / 4 error / 27 warning / 13 info -> 6 / 5 / 27 / 13, with every other finding line byte-identical. Refs #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
One row added and no partner row moved, so no MOVEMENT LOG entry is owed: the diff states everything. `add-release-tag-gate` reads `class: co-modifier` — its `## MODIFIED` block writes `doc-health` § Release-tag publication, a key `add-release-tag-publication-check` and `declare-spent-bundle-state` already write — and both of those rows were co-modifiers before this change, so neither flips. `declares: absent`: both other writers are ARCHIVED, so this block is measured against canon and a declaration would name no ordering that is not already promoted. 166 rows; `--ledger-diff` exits 0. Refs #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
|
@codex review Lane: openxfactory-max001 Focus, in this order:
Not in scope: the family itself ( |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
🟡 Changes recommended
The new gate script can crash on OSError from subprocess.run, violating its documented “exit 0 or 2”/fail-closed behavior and needs a small robustness fix.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR relocates the “release-tag-publication must be zero on this repo” assertion out of the required pytest-suite and into a dedicated release-tag-gate GitHub Actions workflow, so only release-surface PRs are blocked by untagged releases while non-release PRs remain mergeable during the post-merge tagging window.
Changes:
- Adds a new
release-tag-gateworkflow + validator script that short-circuits unlesscontracts/manifest.yamlorcontracts/releases/**changed, otherwise evaluates the PR merge tree using the existingrelease-tag-publicationfamily. - Updates the existing doc-health test to keep only the “probe can fire” positive control (removing the repo-wide zero-findings pin).
- Adds a new test module covering gate behavior and workflow wiring; updates docs/spec/proposal artifacts to record the change.
File summaries
| File | Description |
|---|---|
| tests/sequenced_after/corpus-ledger.yaml | Registers the new active change in the sweep ledger. |
| tests/doc-health/test_release_tag_publication.py | Removes the repo-wide zero-findings assertion while keeping the family “probe can fire” control. |
| tests/doc-health/test_release_tag_gate.py | New test suite for gate behavior (short-circuit, refusal modes, and workflow wiring). |
| scripts/validate-release-tag-gate.py | New gate implementation: diff-based scope check + merge-tree evaluation via the existing family. |
| README.md | Adds the active OpenSpec record entry describing the change. |
| openspec/changes/add-release-tag-gate/tasks.md | Draft tasks capturing implementation + operator follow-on for making the check required. |
| openspec/changes/add-release-tag-gate/specs/doc-health/spec.md | Spec delta: amends “Release-tag publication” requirement to describe the moved enforcement moment. |
| openspec/changes/add-release-tag-gate/proposal.md | Proposal packet documenting rationale, mechanism, and measured impact. |
| openspec/changes/add-release-tag-gate/design.md | Design notes and veto points (D1–D8) for the gate behavior. |
| openspec/changes/add-release-tag-gate/.openspec.yaml | Origin declaration and related-change linkage for the packet. |
| docs/contract-versioning-policy.md | Updates realization-order prose to reference the new gate and post-merge tag obligation. |
| .github/workflows/release-tag-gate.yml | New workflow that runs on all PRs (no paths:), with fetch-depth 0 and a single judging step. |
Review details
- Files reviewed: 12/12 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| def _run(repo: Path, *args: str) -> str | None: | ||
| """git, degraded to None on failure — the seam `RealGit` already uses.""" | ||
| proc = subprocess.run(["git", "-C", str(repo), *args], | ||
| capture_output=True, text=True) | ||
| return proc.stdout if proc.returncode == 0 else None |
|
Lane: openxfactory-max001 — Codex review REFUSED (usage limit), recorded rather than skipped.
Independent verification this lane ran instead, since the bot bench is thin:
Refs #664 |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
Copilot on PR #668, and it is a real one. `_run` documented itself as degrading to None on failure, but `subprocess.run` RAISES `OSError` rather than returning a non-zero code when the binary itself cannot be executed — no `git` on PATH, an unreadable working directory. An escaping exception would exit the tool with an uncontrolled code, breaking the "0 or 2, never 1" contract its own module docstring states, and a workflow would read the crash as an infrastructure blip rather than as the fail-closed verdict it is meant to be. Caught at the seam, where every caller already reads None as "git could not be consulted" and refuses on it. `test_an_unrunnable_git_refuses_rather_than_ crashing` pins it, with the positive control that the same tree PASSES while git works — so the test cannot pass by refusing for some other reason. Also records in tasks 5.7/5.8 what independent review actually happened: Codex REFUSED on usage limits (requested 22:45:52Z, refused 22:46:02Z), Sourcery is the private-repo upsell stub, Copilot ran and found this; and the positive control run against the MODIFIED block, which fired on a deliberately mutated scenario title and went silent again when it was restored. Refs #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
|
Lane: openxfactory-max001 — Copilot round 1: one real defect, fixed at
Pinned by @copilot review |
There was a problem hiding this comment.
🔵 Needs a closer look
It introduces a new CI gate and modifies documented release/versioning enforcement semantics, which warrants final human verification of process implications.
Review details
- Files reviewed: 12/12 changed files
- Comments generated: 0 new
- Review effort level: Lite
Round-2 review completed on I did not find additional defects in the requested areas:
|
|
Lane: openxfactory-max001 — Copilot round 2: 0 new comments. Verdict "🔵 Needs a closer look — it introduces a new CI gate and modifies documented release/versioning enforcement semantics, which warrants final human verification of process implications." That is the right call and it is where this packet already points: the process implications are exactly the two decisions flagged for veto in Bench state of record for this PR: Codex REFUSED (usage limit, 22:46:02Z) — no round ran. Sourcery: private-repo upsell stub. Copilot: two rounds, ONE real defect found and fixed ( Refs #664 |
Verdict "Needs a closer look — warrants final human verification of process implications", which is where this packet already points: D1, D2 and the [OPERATOR] act in tasks section 4 are the convener's, and none is claimed as done. Bench state of record: Codex REFUSED on usage limits (no round ran), Sourcery is the private-repo upsell stub, Copilot found one real defect across two rounds and it is fixed. Refs #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
There was a problem hiding this comment.
🔵 Needs a closer look
It introduces a new release-time gating workflow and process changes (including an operator-required ruleset update) that warrant careful human verification of enforcement semantics and operational impact.
Review details
- Files reviewed: 12/12 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: openxfactory-max001 — FROZEN at
Awaiting Brett, and nothing else: ratification (tasks 1.1), the two flagged decisions (D1 the veto point, D2 deletable in one Refs #664 |
…ms corrected Adversarial review of #668. One real hole and nine accuracy defects, in one pass. P2-1, THE HOLE. `git diff` detects renames by default and prints ONLY the destination, so a pull request doing nothing but `git mv contracts/releases/<bundle>.digests.yaml docs/…` — or the same move of `contracts/manifest.yaml` — came back as one `docs/…` path, the scope test saw nothing under the release surface, and the gate exited 0 saying "no release surface change" while the pull request had REMOVED a release member. The filter asks which paths this pull request touches and a rename touches two: `--no-renames` reports both sides. Two tests, each asserting first that git's default really does hide the source side, so they test the flag and not a hypothetical. P2-0. D8 cited release-surface-integrity's "A cut forgets to advance the declared bundle" as sanctioning the policy-doc drift. Wrong scenario, different WHEN. The governing one is "A normative contract drifts from the declared bundle", which says the condition MUST be reportable as a DEFECT, and the editorial exemption names three members that do not include this document. So it is an ACCEPTED defect cleared at the next cut — not "a signal rather than a defect". Nothing is reclassified: still error, still counted, still owed a cut. P2-2 FOUR scenarios added -> SIX. P2-3 the scenario about the retired pin now has a test that reads the publication suite and refuses a real-repo zero-findings binding, with the probe shown firing on the retired line itself. P3-6 the refusal table is asserted as an EQUALITY, both unreachable arms now driven by fault injection at the git seam. P3-5 D2's reach softened to the moved declaration only: the same-number race where the loser's base already declares the number never enters the arm, and the realization order's rebase-and-recheck answers it. P3-3 named `pin-validation` as this repository's neighbour; it has none — the real contexts are rulesets 21538893 (wallet-validation, pytest-suite, lane-line) and 21957695 (signed-execution-chain-gate, lane-line), read from the API. P3-4 names the arm the 807a4f4 replay actually passes through (PRE-PUBLISHED, not TAG OWED). P3-1 sixteen tests -> twenty-two. P3-2 the ls-remote figures re-measured: 51 inventories, 52 round trips / 75s on a non-cut release-surface pull request and 54 / 85s on a cut. P3-8 records that the cost grows one round trip per cut forever. P3-7 ticks 3.7 and records the run id and actionlint output. P3-9 records that Codex refused, two Copilot rounds missed P2-1, and the adversarial review found it. The v3.4 gap is 69s on the merge-commit basis, not 68s. And the doc-health measurement is redone against a SAME-CLOCK control, because the first one was taken hours before the branch's run and this report ages by the calendar: three warnings crossed 30 days during authoring. A worktree at origin/main run minutes apart gives 6/4/30/13 against the branch's 6/5/30/13, differing by exactly one line — the predicted drift error. Refs #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
|
Lane: openxfactory-max001 — fix round landed at P2-1 — the hole, and neither bot found it. P2-0 — accepted, and the correction matters more than the wording. D8 cited A cut forgets to advance the declared bundle; that scenario has a different WHEN. The governing one is A normative contract drifts from the declared bundle ( P2-2 FOUR → SIX. P2-3 the scenario now has a test: it reads P3-5 D2 softened to the moved-declaration case only (design + a new scenario bullet): the same-number race where the loser's base already declares the number never enters the arm. P3-3 corrected — this repository has no One thing I corrected that was not in the list: the doc-health impact numbers were measured against a baseline taken hours earlier, and this report ages by the calendar — three Local: @codex review Refs #664 |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Main advanced at 00:05Z with add-openspec-cli-pin (#667) while this branch's fix round was in flight, and the two README "Active changes:" rows collide at the same insertion point. A CONFLICTING pull request has no merge ref, so GitHub cannot compute the tree that `on: pull_request` workflows run against and simply does not fire them: after the 00:09 push only `merge-master-approval` and the Copilot review ran, and closing/reopening the PR did not help. That is the symptom this merge exists to clear, and it is worth naming — an absent check is easy to misread as a passing one. Resolution keeps BOTH README rows, this change's on top (newest first, matching the block's ordering). The corpus-sweep ledger auto-merged and re-reads consistent at 167 rows: #667 brought its own row and neither change is a co-modifier of the other's requirements. Refs #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
|
Lane: openxfactory-max001 — the fix round's checks did not run, and the reason is worth recording. After the Merged The PR is Refs #664 |
There was a problem hiding this comment.
🟡 Changes recommended
The workflow wiring test should also assert the job has no per-job name: to prevent silently changing the required status-check context token.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 12/12 changed files
- Comments generated: 1
- Review effort level: Lite
| body = _workflow_body() | ||
| assert "name: release-tag-gate" in body | ||
| assert " release-tag-gate:" in body | ||
| assert "scripts/validate-release-tag-gate.py" in body |
Copilot round 3 on the fix round's head. Four comments, all taken, one of them not at its own framing. Two were a real miss: the contract-v3.4 gap still read 68s in two test docstrings after the other five sites moved to 69s. Corrected. The other two held that the bundle name printed in the `::notice` is author-controlled — it comes from the pull request's own manifest and `parse_bundle` takes any non-whitespace token — and could carry `%0A::error::…`, which Actions decodes into a second, forged workflow command. `workflow_command_safe` now escapes `%`, CR and LF, `%` first so the newline escapes are not re-escaped. THE REACH IS CORRECTED RATHER THAN ACCEPTED. It is not reachable today, and a test claiming otherwise would be theatre: the `::error` prints only a refusal code and its meaning, both from this module's closed table and neither derived from the tree; and the `::notice` is reached only past `_at_or_above_floor`, whose `^contract-v<major>.<minor>$` grammar admits no `%`. A crafted name is refused as out of scope before it can be printed. Two tests pin the two facts separately — the crafted manifest producing no notice and no forged command (and still REFUSING, so the test cannot pass on a gate that fell silent), and the escaping asserted directly including the `%`-first ordering. The escaping is defence in depth and earns its place because the guard that makes it unreachable lives in another module, answering a different question. The crafted value does appear in the refusal's plain report text, which is harmless and asserted as such: Actions parses a command only where a line BEGINS with `::`, so the test collects command lines rather than substrings. Refs #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
|
Lane: openxfactory-max001 — Copilot round 3: four comments, all taken, one NOT at its own framing. Head Two were a real miss of mine. The Two said the bundle name printed in the But the reach is corrected rather than accepted, because a test claiming a live exploit would be theatre. Both emission sites are narrower than the review assumed: the
So it is defence in depth, and it earns its place because the guard that makes it unreachable lives in another module answering a different question: the enforcement floor is about which bundles the family may speak of, not about what is safe to print. A widened floor or a second emission site would restore the hazard silently. 24 gate tests green. Also on this head: the merge of Refs #664 |
There was a problem hiding this comment.
🔵 Needs a closer look
It introduces a new CI enforcement workflow and shifts release-process gating semantics, which warrants final human verification of operational integration (especially required-check/ruleset behavior).
Review details
- Files reviewed: 12/12 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: openxfactory-max001 — FROZEN at
Awaiting Brett, unchanged: ratification (tasks 1.1); the two flagged decisions D1 (the veto point — a cutting PR cannot be required to carry its own tag, so the obligation is recorded) and D2 ( Refs #664 |
…toed RATIFIED 2026-09-05 by Brett Heap (openxFactory operator authority), in session, verbatim: "ratify 668, land it when green". Issue #664's "do your recommendation" was the ORIGIN and the admission to the queue and is not this; ratification was a separate act. D1 AND D2 WERE THE VETO POINTS AND NEITHER WAS VETOED, so both are ratified KNOWINGLY rather than by silence. D1: a cutting pull request cannot be required to carry its own tag — the tag is published 6s/23s/44s/69s AFTER the merge commit for contract-v3.1 through v3.4 — so the gate passes the cut and RECORDS the owed tag, the family's own "declaring commit is still the published tip" scenario already answering the case. D2: `gate-version-reuse` stays, scoped to the moved-declaration case; tasks 1.3 keeps the deletion that would reverse it, marked NOT TAKEN, so the cost of reversal sits beside the decision. WHAT THE WORD DID NOT SETTLE, said in three places so it cannot be misread: the [OPERATOR] act adding release-tag-gate to ruleset 21538893 as a REQUIRED check gates ARCHIVE, not ratification, and until it is performed the obligation this packet moves out of pytest-suite is enforced by a workflow anyone can merge past. A ratified packet is not a discharged one. `proposal.md`, `design.md` and `tasks.md` take `Status: ratified` against EXACTLY ONE citation line each — front-matter `Ratified:` for the proposal, the `Ratified by:` header for the other two — which is the one-total rule ratified-provenance enforces across front-matter and body together. Two records under review/: the ratification (what was ratified, the two decisions with the framing they carried, the adversarial round P2-0..P3-9 and Copilot's three, the accepted release-inventory-drift defect, what is still owed) and the verification, both `Status: record`. RATIFICATION MOVES NO LEDGER ROW, and --ledger-diff is the evidence: a row's derived keys are state, class, declares, depth and prose, none of which reads a lifecycle status, so draft -> ratified is invisible to it by construction. Consistent at 167 rows, this change's row unmoved since PR #668 seeded it. Re-derived pre-capture on this tree, with BOTH record files present: openspec --all --strict 91/91; pytest tests/doc-health tests/sequenced_after 1738 passed; actionlint clean; doc-health --single-repo against a SAME-CLOCK control at the branch's own base 7499338 — base 6/5/30/13, branch 6/6/30/13, differing by exactly one line, the accepted policy-doc drift error. The base's own error count moved from 4 to 5 because of #667 and not because of this packet, which the record says rather than leaves to be inferred. Neither new record raises a finding and ratified-provenance does not fire. Refs #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
|
Lane: openxfactory-max001 — RATIFIED. Brett Heap, 2026-09-05, in session, verbatim: "ratify 668, land it when green". Issue #664's "do your recommendation" was the ORIGIN and the admission to the queue; this is the separate act. D1 and D2 were the veto points and NEITHER was vetoed — both are ratified knowingly, not by silence. D1: a cutting PR cannot be required to carry its own tag (published 6s/23s/44s/69s after the merge commit for What the word did NOT settle, and it is said in three places so it cannot be misread: the
RATIFICATION MOVES NO LEDGER ROW, and Re-derived PRE-CAPTURE on this tree, with BOTH record files present: PR is Refs #664 |
There was a problem hiding this comment.
🟡 Changes recommended
There are remaining consistency issues between declared ratification status in the committed change artifacts vs. the PR description and origin-record wording that should be aligned before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/changes/add-release-tag-gate/.openspec.yaml:36
- In the origin record’s
approved_byprose, the sentence says the packet carriesStatus: draftand owes a ratification citation. That’s now inconsistent with this PR’s change artifacts (proposal.md,design.md,tasks.md) which areStatus: ratifiedand include the ratification record. Suggest adjusting this to past tense (or explicitly “at admission”) so the origin record remains historically accurate without contradicting current status.
- Files reviewed: 14/14 changed files
- Comments generated: 1
- Review effort level: Lite
| - [add-release-tag-gate](openspec/changes/add-release-tag-gate/proposal.md) | ||
| — authored 2026-09-04, **`Status: ratified`** (2026-09-05, Brett Heap, | ||
| in-session, on the recorded word *"ratify 668, land it when green"*; record | ||
| `openspec/changes/add-release-tag-gate/review/ratification-2026-09-05.md`, |
|
LANDING — lane openxfactory-max001, session 5e783e4d, 2026-09-05T02:13:49Z, PR #668 into opensoft/openxFactory main (protocol Rule 6: other lanes hold merges into main until LANDED or 30 min). |
|
Lane: openxfactory-max001 (session 5e783e4d) Provenance for the admin merge of #668 (
🤖 Generated with Claude Code |
|
LANDED — lane openxfactory-max001, 2026-09-05T02:14:02Z, PR #668 → merge |
Brett Heap, 2026-09-05, in session: "ruleset updated, do the evidence and archive it", after his ratification the same day, "ratify 668, land it when green". Archived with `scripts/proposal-support.py . archive add-release-tag-gate --date 2026-09-05 --yes`, never a bare `openspec archive`, on the #660 (dda5bd3) and #654 (bc1bd4e) pattern. The ONE MODIFIED requirement — doc-health section "Release-tag publication" — is promoted into openspec/specs/doc-health/spec.md. THE PROMOTION IS DIFF-CLEAN AND THE SPEC COUNT DID NOT MOVE. The requirement as promoted is BYTE-IDENTICAL to the delta's MODIFIED block, compared programmatically rather than eyeballed: 503 lines, 30 scenarios, equal. Active changes 31 -> 30 and `openspec validate --all --strict` 90 -> 89 items, while openspec/specs/ holds the same 59 capability directories before and after, because this packet added no spec file. NO codexFactory FLOOR ADVANCE IS OWED, which is the property the packet was shaped around from its first commit. LEDGER: EXACTLY ONE ROW MOVED, `state: active -> archived`, class co-modifier HELD. Its two partners are archived already, so neither flips and NO MOVEMENT LOG ENTRY IS OWED — the diff states everything. 167 rows, --ledger-diff clean, and the retention gate passes across the rename (`--archive-gate <archived dir> --ratified-ref 35082aa`: "declaration unchanged since ratification"). DOC-HEALTH IS UNCHANGED AGAINST A SAME-CLOCK CONTROL: main at 9e869ac and this branch both read 6 critical / 6 error / 30 warning / 13 info, and a prefix-normalized line-by-line diff of the two reports is EMPTY. Note where the accepted release-inventory-drift error now sits: on MAIN, having landed with #668, and it persists until the next contract cut re-digests docs/contract-versioning-policy.md. An archive does not clear it and nothing here claims it does. pytest tests/doc-health tests/sequenced_after: 1738 passed. README's row moves from Active to Archived, carrying the gate evidence: ruleset 21538893 updated 04:36:49Z to four contexts, release-tag-gate also listed by rules/branches/main, no new ruleset created, and the first required green run 33945259576 on this pull request. tasks.md gains section 6, naming PR #672 as the landing act and recording the diff-clean promotion. Closes #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-max001
…ee0e73), required by ruleset 21538893 (#672) Lane: openxfactory-max001 Archive of add-release-tag-gate: ratified 2026-09-05 ("ratify 668, land it when green"), realized by #668 (7ee0e73), required by ruleset 21538893 (release-tag-gate added by Brett 2026-09-05T04:36:49Z; first green required run 33945259576). MODIFIED "Release-tag publication" promoted into openspec/specs/doc-health/spec.md byte-identical to the delta; no new spec file; one ledger row moved, no MOVEMENT LOG entry owed. Brett's word: "do the evidence and archive it" / "land it when green". Landed under Rule 6 on the five required contexts. Admin merge: self-authored PR (standing pattern B2). Closes #664 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
Lane: openxfactory-max001
Status: draft— ratification is a separate act and has not happened. Issue #664's "do your recommendation" admitted this packet to the queue; it did not ratify its content.The problem, measured
tests/doc-health/test_release_tag_publication.py::test_this_repository_reads_zero_and_the_probe_can_fireasserted, inside the requiredpytest-suite, that this repository reads ZEROrelease-tag-publicationfindings.The annotated tag for a new bundle is published after the cutting PR merges, at the merge commit, by a second actor holding tag rights — the versioning policy's own realization order puts the tag at step 5, after the landing at step 4:
contract-v3.119d00872(#616)contract-v3.29a773a31(#624)contract-v3.316b85614(#636)contract-v3.4807a4f47(#653)So the repository genuinely carries the finding for the length of that window — and the pin turned it into a failure of a required check on every open pull request. PR #628 declared
contract-v3.3untagged at 22:27Z on 2026-09-03; main and every lane failed on that one test until the tag landed after #636 and main went green at92e662cf(04:02Z). Five and a half hours, every lane, none of them the cause and none able to fix it.The shape (issue #664, option 2 of three)
release-tag-gateruns on every pull request (nopaths:filter — a required context that does not report is expected forever; not onpush: main, which would re-create the same red), short-circuits green unless the PR touchescontracts/manifest.yamlorcontracts/releases/**, and otherwise runs the same family over the PR's merge tree by overriding one seam method (remote_main_sha). One clock, not two (#614); the family's tip resolution read one step further (#639).The bar is exactly the one the pin held — no
error, nowarning— moved, not weakened.The hard part, and the packet's veto point (design D1)
A cutting PR cannot be required to carry its own tag. Read literally, the ruling's "FAIL when that tree declares a bundle whose tag is not published" makes the cutting PR unpassable. No new judgement was invented: the family's own promoted scenario The declaring commit is still the published tip already emits nothing for a bundle whose declaring commit is the tip — and on a merge tree the cutting commit IS the tip. The gate therefore passes and RECORDS the obligation (
TAG OWED: …in the check summary and as a::notice), with the nightly still reporting it and the next release-surface PR refused until the tag exists.If you want the tag required at the head before merge, that is a different packet — it changes the realization order itself, and the evidence says the estate does not work that way, four times out of four.
Second veto point (D2):
gate-version-reuse— a declaration moved onto a number whose tag is already published elsewhere; the one release defect the family cannot see. Not in the ruling; deleting it is oneifblock, two tests, one scenario (tasks 1.3).What is in here
## MODIFIEDrequirement (doc-health§ Release-tag publication) restated in full — all 24 promoted scenarios, byte-faithful — adding seven paragraphs and six scenarios. It drops no canon unit, so noRemoved from canon bymarker is owed. No file added underopenspec/specs/, so no codexFactory floor advance..github/workflows/release-tag-gate.yml,scripts/validate-release-tag-gate.py(refusals:gate-findings,gate-version-reuse,gate-unaskable,gate-unreadable-*; exit 0 or 2, never 1).tests/doc-health/test_release_tag_gate.py— 16 tests over real git repos with real origins.tests/doc-health/test_release_tag_publication.py— the pinned test keeps only its positive control.docs/contract-versioning-policy.md§ Bundle Realization Order, one paragraph.Verification
openspec validate add-release-tag-gate --strictand--all --strict(90 items) green.actionlintclean on the new workflow.validate-release-tag-gate.py . --head 807a4f47(thecontract-v3.4cut) exits 0.release-tag-gatemust report green while changing the machinery.--single-repobefore → after: 6 critical / 4 error / 27 warning / 13 info → 6 / 5 / 27 / 13. The one newerrorisrelease-inventory-driftondocs/contract-versioning-policy.md: a digested member of the publishedcontract-v3.4bundle and not one of the three editorial members, so the edit raises the designed transient that the next cut clears by re-digesting. Hand-editing a published bundle's inventory is forbidden. Disclosed as design D8 / tasks 3.5; precedent95c2cf6a(A fetch identity is a name, and a name is unique only inside the directory that issued it #622),2898b104.ls-remotecalls per suite run —test_release_tag_publication.pygoes 110s → 19s and the required suite gets more hermetic.Needs Brett
Tasks § 4 —
[OPERATOR]: makingrelease-tag-gatea REQUIRED status check onmainis a console act. It gates ARCHIVE, not ratification, with the ruleset id and one green run read back from the API as evidence (create-medxchart-overlay-boundary§ 5.3/5.4 precedent, ruleset22272824).Refs #664
🤖 Generated with Claude Code
https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv