Repository navigation
Archive govern-derived-pin-reachability: three rulings, a class declared, and four requirements reach canon - #428
Conversation
PR #424 merged 2026-08-27T17:51:07Z as `175682e2` — re-verified here an ancestor of origin/main and a real two-parent merge rather than read off the pull request page, which matters in a packet about what a rewriting landing owes — and ran green on the final head `b4cd8073`: pytest-suite 6933 passed / 20 skipped / 338 deselected / 28 subtests / 0 failed in 14m32s (run 33091394406, counts read out of the job log), wallet-validation pass. The implementation declares the class in `scripts/doc_health/pin_class.py` — 25 members, 20 current and 5 future, six exclusion rows each with a reason, one KNOWN_LOSSES row — and rides the existing readiness surface, adding NO check family with `families.py` at a zero diff asserted structurally rather than promised, which honours cleared OD-2 beside the still-active 21 to 22 enumeration change. The class-wide proof on the real repository: 63 pin sites across 20 members, 46 reachable through main, 3 through `refs/retention/pins/<full-sha>` and asserted NOT reachable from main because that is the intended end state, 13 cross-repository, 1 declared lost, and zero orphaned, uncovered or vanished — re-verified against advanced main `76a2ad27` before the merge with identical results. A third orphan turned up during realization and was retained the same day (`refs/retention/pins/74022ea5…`, inside an archived proposal-support manifest), so the namespace now advertises three refs, each at the commit its name states. No bundle was owed, measured by parsing all 38 release inventories into their 192 paths rather than by grep. Brett ruled three things at this archive, by a multi-choice put by the orchestrating session; no verbatim wording reached this session, so none is quoted — approver, date, mechanism and the option selected are stated instead. The merge-plus-archive sequence is APPROVED and this commit is its second half. The permanent loss of `66b14064` gets a COMMISSIONED superseding record plus disposition, filed in parallel as its own packet, so it crosses the archive IN FLIGHT: the KNOWN_LOSSES row and `fully_verified: FALSE` stand here untouched, because commissioned is not landed. And the sentinel-pin vocabulary is a NAMED FOLLOW-UP recorded beside § 5.1's `git_generation()` dirty-tree gap as one future packet — the proposal-support sentinels already do what § 5.1 asks ("uncommitted-worktree" six times, "not-applicable-ad-hoc" once, absent three times), so what the future packet decides is whether that vocabulary becomes shared and declared. Four requirements and sixteen scenarios reach canon whole across three capabilities, every diff purely additive at the tail and every promotion proved per capability by digest rather than by eye. ideation-cross-reference 14 to 16 requirements and 40 to 48 scenarios, +122 / -0 lines, delta body and canon block both 121 lines under sha256:289bf220a6930ffcb0f1179f40e4b997fc45028e46e873acef0164b999e72b6f. release-realization 6 to 7 and 14 to 18, +59 / -0, both 58 lines under sha256:c350e0f4db64127ee480de8cc5b54f88e437bd05672830452cbddce770b806b2. doc-health 33 to 34 and 141 to 145, +77 / -0, both 76 lines under sha256:a93ecae6df6d9c46055d6db2e691ddb4324cdef35730c85e13fdef9bd649a839. Zero deletions in all three, proved with cmp over the 19400, 6872 and 94237 pre-existing bytes of each file, so every pre-existing requirement is byte-identical after the act; nothing is MODIFIED anywhere, which is what made the archive order irrelevant. The known CLI hazard did not fire: openspec 1.2.0 MOVED `.openspec.yaml` rather than deleting it, blob `f77f14a4`, byte-identical to the ratifying commit `f57287c7` — so the origin declaration is unchanged from ratification and the retention gate passes with no restoration. The three rulings went into proposal-adjacent records, this file's § 4.3, § 5.1, § 5.5 and the README, never into the origin block, because a ruling is not provenance. Gates: openspec validate --all --strict 76 to 75 items, the packet having left the active set; proposal-support verify ok before and after; tests/doc-health 1163 passed / 0 failed / 0 skipped before and after under pipefail with the exit code read; single-repo doc-health identical at 5 critical / 7 error / 41 warning / 12 info with every family count unchanged and proposal-origin, promotion-fidelity, release-inventory-drift, family-enumeration and duplicate-packet all zero. The whole report diff is two lines of canon-share arithmetic, 31.1% to 31.4%, which is the promotion showing up in the ratio. Six follow-ups cross the archive unticked, every one by decision, and the archive claims nothing they leave open: § 2.5's non-tool reproduction half stays prose-only, § 2.8's landing obligation is stated not automated with discoverability implemented, § 5.6's preflight half is deliberately unwired, and the authored 9-pin inventory table stands corrected to 63 sites in § 2 with the original kept verbatim. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Archives the govern-derived-pin-reachability OpenSpec change after its realization merged and passed gates, and promotes the change’s spec deltas into canonical specifications while preserving the archived packet’s evidence trail and rulings.
Changes:
- Moves
govern-derived-pin-reachabilityfrom “Active changes” to “Archived changes” inREADME.md, with the archive evidence summary. - Promotes additive spec content into canon by appending new requirements/scenarios to
ideation-cross-reference,release-realization, anddoc-health. - Materializes the archived packet under
openspec/changes/archive/2026-08-27-govern-derived-pin-reachability/(proposal/design/tasks, plus per-capability spec deltas and archived origin).
Reviewed changes
Copilot reviewed 5 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Removes the change from the Active index and records it under Archived with archive/realization evidence. |
| openspec/specs/release-realization/spec.md | Appends the promoted requirement/scenarios defining landing obligations for history-rewriting landings. |
| openspec/specs/ideation-cross-reference/spec.md | Appends promoted requirements/scenarios governing derivation pin reachability and retention-based repair for records. |
| openspec/specs/doc-health/spec.md | Appends promoted requirement/scenarios extending reachability verification across a declared artifact class. |
| openspec/changes/archive/2026-08-27-govern-derived-pin-reachability/tasks.md | Updates the archived packet task ledger to reflect the archive act and rulings, including ticking the realization gate. |
| openspec/changes/archive/2026-08-27-govern-derived-pin-reachability/specs/release-realization/spec.md | Adds the archived delta file capturing the promoted release-realization addition. |
| openspec/changes/archive/2026-08-27-govern-derived-pin-reachability/specs/ideation-cross-reference/spec.md | Adds the archived delta file capturing the promoted ideation-cross-reference additions. |
| openspec/changes/archive/2026-08-27-govern-derived-pin-reachability/specs/doc-health/spec.md | Adds the archived delta file capturing the promoted doc-health addition. |
| openspec/changes/archive/2026-08-27-govern-derived-pin-reachability/proposal.md | Adds the archived proposal text, including recorded rulings and updated historical notes. |
| openspec/changes/archive/2026-08-27-govern-derived-pin-reachability/design.md | Adds the archived design rationale describing key decisions and rejected alternatives. |
| openspec/changes/archive/2026-08-27-govern-derived-pin-reachability/.openspec.yaml | Adds the archived packet’s origin declaration retained with the archive. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…sumed The promotion proof claimed the extra inserted line in each of the three canon files was a separator. It is the trailing blank line the append leaves behind: the appended region ends in a double newline in all three, and the block above it is the delta body exactly. Measured at the file rather than inferred from the line arithmetic. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 11 changed files in this pull request and generated no new comments.
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/specs/ideation-cross-reference/spec.md:389
- In this scenario, the condition “reachable from no ref, local or remote” conflicts with the requirement text immediately above (“reachability SHALL be judged against refs, not against a particular clone’s object store”). As written, a developer’s local ref could make the scenario not apply even though the pin is still non-conforming on the repository remote. Consider tightening the wording to define non-conformance in terms of the repository’s published ref set (e.g.,
mainplus the published retention namespace), not any local refs.
#### Scenario: The pin names a commit no ref reaches
- **WHEN** a committed artifact standing on `main` pins a commit that is reachable from no ref, local or remote
- **THEN** it MUST be reported as a defect in that artifact, naming the artifact and the pinned commit
…ion holds `govern-derived-pin-reachability` landed as pull request #428 while this packet stood open, promoting its three requirements into `ideation-cross-reference` and `doc-health`. Main is merged in, so this delta is now authored against canon as PROMOTED rather than as proposed — and the hazard argument in design.md § 1, which turned on a MODIFIED block over unpromoted text, becomes historical while its conclusion gets stronger: the promoted requirements say what the repair route is and what the verification covers, and none of them says what the verification does once the owed act lands. That is still the only thing this delta adds, still with no MODIFIED block and no restatement. Two totals moved for reasons worth recording rather than restating away. `openspec validate --all --strict` reads 76 where it read 77, one item fewer because a packet archived. `tests/doc-health` reads 1183 where it read 1168, fifteen tests arriving with #427 and #428. Both pairs are kept. The pin-class module alone is still 53 on the merged head, and the archived-changes count the delta-less argument rests on is 108 of 108 rather than 107 of 107. One README conflict, resolved the only way it could be: this packet's active entry kept, the archived packet's entry dropped, main having already dropped it. Co-Authored-By: Claude Fable 5 <[email protected]>
Archives
govern-derived-pin-reachabilityon merged-plus-green evidence, records Brett's three rulings, and promotes all three deltas into canon. Follows the2026-08-27-harden-ideation-readiness-checkprecedent (PR #404) throughout.The gate, checked rather than asserted
175682e2be82b5134448f19291c5bf35fad89f88, re-verified here an ancestor oforigin/main(git merge-base --is-ancestor, exit 0) rather than read off the pull request page, and confirmed a real two-parent merge (071dd025+b4cd8073) rather than a rewrite — which matters more in this packet than most, requirement 3 being about what a rewriting landing owes.b4cd80735f27cccae0ec95173d0c52b79705bbc1:pytest-suitesuccess 16:05:26Z → 16:20:25Z andwallet-validationsuccess 16:05:26Z → 16:06:53Z, read back from the check-runs API at this act. The suite line came out of the job log rather than a summary: 6933 passed, 20 skipped, 338 deselected, 28 subtests passed, 0 failed in 872.71s (14m32s), run 33091394406. The packet's own § 4.3 recorded the earlier headfb134232; the head moved twice after that, and both are kept.main, 3 throughrefs/retention/pins/<full-sha>and asserted NOT reachable frommainbecause that is the intended end state, 13 cross-repository, 1 declared LOST, and 0 orphaned, 0 uncovered, 0 vanished. Re-verified against advancedmain76a2ad27pre-merge with identical results.refs/retention/pins/74022ea57354ab252abb0efa68c22474e4a2eb88, a pin inside an archived proposal-support manifest. The namespace now advertises three refs and each is at the commit its name states; the act was within the retention route Brett had already ruled.contracts/releases/*.digests.yamlinventories into their 192 paths rather than bygrep(a naivegrep README.mdfalse-positives on 38 of them).Brett's three rulings, recorded in the packet
A multi-choice put by the orchestrating session, 2026-08-27. No verbatim wording reached the archiving session, so none is quoted anywhere — approver, date, mechanism and the option selected are recorded instead.
66b14064KNOWN_LOSSESrow andfully_verified: FALSEstand here untouched, neither resolved nor softenedgit_generation()dirty-tree gap as one future packetOn the loss: commissioned is not landed, and that distinction is why § 5.5 stays unticked. On the sentinels: the proposal-support generator already does what § 5.1 asks of
git_generation()—"uncommitted-worktree"×6,"not-applicable-ad-hoc"×1,source_revisionabsent ×3 — so what the future packet decides is whether that vocabulary becomes shared and declared across every generator that stamps a derivation.Promotion, proved per capability by digest
Four requirements and sixteen scenarios reach canon whole. Every diff is purely additive at the tail; for each capability the delta's requirement body (everything below
## ADDED Requirements) and canon's appended block share one digest withcmpreporting no difference.ideation-cross-reference289bf220a6930ffcb0f1179f40e4b997fc45028e46e873acef0164b999e72b6f(121 lines both sides)release-realizationc350e0f4db64127ee480de8cc5b54f88e437bd05672830452cbddce770b806b2(58 lines both sides)doc-healtha93ecae6df6d9c46055d6db2e691ddb4324cdef35730c85e13fdef9bd649a839(76 lines both sides)Those +2/+1/+1 requirements and +8/+4/+4 scenarios are the proposal's own declared counts, and canon's totals moved by exactly them — nothing dropped, nothing arrived that the delta did not carry. Zero deletions in all three, proved not eyeballed:
cmp -nis clean over the 19400, 6872 and 94237 pre-existing bytes of each file, so every pre-existing requirement is byte-identical after the act.## MODIFIED Requirementscount across all three deltas: zero — which is what made the archive order irrelevant, as § 1.4 measured. The three archivedspecs/<capability>/spec.mdfiles are byte-identical to the authored deltas (renames recorded at 100%).The known CLI hazard did not fire
Under openspec 1.2.0
.openspec.yamlMOVED with the packet rather than being deleted: present at the archive path, git records a rename at 100%, blobf77f14a4ba0f5c1f493c7836a8938207ec4fa990. No restoration was needed — the check was run anyway, by blob id.Origin retention passes: that blob is byte-identical to the blob at the ratifying commit
f57287c7, sokind,id,reason,approved_byandapproved_onare all unchanged from ratification. The three rulings above went intotasks.md§ 4.3 / § 5.1 / § 5.5 and the README — never into the origin block, because a ruling is not origin provenance andrelease-realization's own retention requirement makes rewriting a complete declaration a contested-class act.Gates
openspec validate --all --strictproposal-support verifypytest tests/doc-health(pipefail, exit read)Every family count is unchanged across the act (
staged-topic-template27,staged-candidate-aging14,modified-block-currency9,record-immutability5,status-validity4,location-conformance3,ideation-routing2,document-catalog1), andproposal-origin,promotion-fidelity,release-inventory-drift,family-enumerationandduplicate-packetare all 0 before and 0 after. The archive adds no finding.diffover the two whole reports is two lines, both canon-share arithmetic — 31.1% → 31.4%, promoted-spec words 146050 → 148998 — the promotion showing up in the corpus ratio, which is the one difference an honest archive should produce.The suite is 1163 rather than the 1125 the realization measured because
mainmoved under the packet; the zero skips are the point, this packet's whole forcing instance having been seven proofs that reported SKIPPED.openspec archivereportedTask status: 26/33and warned on seven incomplete tasks. That is correct: § 4.3 was the twenty-seventh, and § 5.1 through § 5.6 survive as named follow-ups. The mechanism wasopenspec archive --yes, notproposal-support archive, whose blanket- [ ]gate cannot tell a ruled-open follow-up from unfinished work; that wrapper's origin gate was run separately on both sides of the move.What this archive does not claim
Six follow-ups cross unticked, every one by decision: § 5.1
git_generation()on a dirty tree (now carrying the sentinel question), § 5.2 the cross-repository pin families, § 5.3 a recorded-measurement format for a re-pin, § 5.4 markdown not swept for coverage, § 5.5 the commissioned superseding record, § 5.6 the unwired preflight half. Stated plainly rather than left for a reader to assemble from four sections:repair_route()states the obligation, because no field, schema or convention exists anywhere in this repository for a named measurement to be recorded in.fix-release-reachability-race's own named open question by implementation, for every governed repository at once.tasks.md§ 2, with the authored table kept verbatim where it was authored — this packet's own measurement-preservation convention, the same one that keeps § 3's two-orphan heading history.🤖 Generated with Claude Code