Repository navigation
Propose OpenSpec amendment for chain-anchoring's dead MedxChain citation (#791, #792) - #998
Conversation
openxFactory #791: the four citations to the MedxChain notes in the promoted chain-anchoring spec point at a path that will never resolve inside this repository again (pull request #509 vendored the file in on 2026-08-31; pull request #785 then moved it out to MedxSoft/medXfactory@74bed502 on 2026-09-08, in the 2026-09-07 ideation-split ruling). #785 deliberately left the spec untouched, because editing promoted canon outside a governed OpenSpec change breaches the ratification boundary. This adds a small MODIFIED-requirement OpenSpec change, openspec/changes/repoint-chain-anchoring-medxchain-citation, that repoints the citation to its verified new home as historical provenance only; no normative SHALL/SHALL NOT obligation, scenario, or requirement title changes. Ratifying and archiving the delta onto the promoted spec is an operator follow-up (its tasks.md 1.2). openxFactory #792: the eight possibles_register entries naming departed ideation files are left untouched. The issue's own reasoning — echoed verbatim in ideation/README.md's existing "Resolve them through this section" note — is that rewriting provenance.document would falsify the record of a completed 2026-07-23 derive-possibles run. No register edit is made; the PR body quotes the relevant passages and reports this to the orchestrator rather than forcing a change the issue itself argues against. refs #791 · refs #792 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Reviewer's GuideThis PR proposes, but does not yet ratify, a citation-only OpenSpec amendment that updates four dead MedxChain provenance references in three chain-anchoring requirements to the verified MedxFactory location. It intentionally leaves the historical possibles register unchanged for #792, and includes validation and health-check evidence showing no new regressions. Flow diagram for the chain-anchoring citation amendmentflowchart LR
A[Promoted chain-anchoring spec] --> B[OpenSpec amendment]
B --> C[Repoint four provenance citations]
C --> D[Verified MedxFactory source]
B --> E[Preserve obligations, scenarios, and titles]
B --> F[Operator ratification and archive]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟡 Changes recommended
Add the required .openspec.yaml origin manifest before archival.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
This PR proposes an OpenSpec amendment to repoint four stale MedxChain provenance citations while preserving historical register records.
Changes:
- Adds provenance-only chain-anchoring specification updates.
- Documents scope and operator ratification follow-up.
- Leaves
possibles_registerunchanged.
File summaries
| File | Summary |
|---|---|
openspec/changes/repoint-chain-anchoring-medxchain-citation/tasks.md |
Tracks citation updates and ratification follow-up. |
openspec/changes/repoint-chain-anchoring-medxchain-citation/specs/chain-anchoring/spec.md |
Repoints four historical citations. |
openspec/changes/repoint-chain-anchoring-medxchain-citation/proposal.md |
Defines the amendment scope; missing the required .openspec.yaml origin manifest. |
Review details
Suppressed comments (2)
openspec/changes/repoint-chain-anchoring-medxchain-citation/proposal.md:15
- This adds an active OpenSpec packet but does not add it to README.md's
OpenSpec Records→Active changesindex (README.md:530-532). The constitution also requires new documents to be linked from the README document index (.specify/memory/constitution.md:66-70); add the proposal link and its current lifecycle state so the packet is discoverable and the index does not omit this change.
# Proposal: repoint-chain-anchoring-medxchain-citation
## Why
`openspec/specs/chain-anchoring/spec.md` is promoted canon. Four places across
openspec/changes/repoint-chain-anchoring-medxchain-citation/proposal.md:8
- Task 1.2 is still open, so this proposal is unratified, but the front matter has no lifecycle
Status:header. The repository lifecycle rule treats that as a current violation and the status-validity family reports it; addStatus: draftbefore the closing front-matter delimiter.
target_release: none — a citation-text-only spec amendment; nothing to release
or pin.
- Files reviewed: 3/3 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.
…its two pytest-suite regressions Adds the packet's missing .openspec.yaml origin manifest (kind: ad_hoc, citing openxFactory issues #791 and #792 and Brett Heap's multi-select pick "Doc-link repairs #791 + #792" recorded on issue #791 comment 5642768645 and issue #792 comment 5642768762 — issue #745 was checked in full and names neither issue, so it is not cited), which is what Copilot's review flagged as missing. Carries Status: draft into tasks.md alongside proposal.md. Fixes the two pytest-suite failures the required check reported on this branch: - tests/doc-health/test_modified_block_currency_self_gate.py::test_every_carriage_ledger_finding_over_the_real_tree_is_named now names this packet's three new carriage-ledger subjects (one per MODIFIED requirement the citation repoint touches). - tests/sequenced_after/test_sweep.py's four ledger-agreement tests now pass because tests/sequenced_after/corpus-ledger.yaml carries this packet's row and the flipped add-chain-anchoring class (seeded via scripts/validate-sequenced-after.py --seed-ledger --moved-by '#998'). Adds a README "Active changes" bullet for the packet, anchored after the amend-kill-switch-to-declared-test-companion entry rather than at the top of the list: a sibling check (gh pr diff 978) found open PR #978 anchors its own new bullet on the identical Active-changes-then-blank-line context the top of the list would otherwise share, so this keeps both pull requests' README hunks on disjoint lines. refs #791 · refs #792 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Two moderate issues remain in the amendment metadata and proposal, with related documentation inconsistencies to correct.
Review details
Suppressed comments (4)
openspec/changes/repoint-chain-anchoring-medxchain-citation/.openspec.yaml:30
- This packet says #792 is answered by making no
possibles_registeredit, but the governing #792 claim comment 5642768762 currently says the selected draft PR will “repoint the eight possibles_register entries' provenance documents.” That leaves the packet's declared scope and the issue's recorded instruction contradictory; please reconcile the issue/selection record with this no-edit decision, or include the required register disposition in the governed work before landing.
what this packet's chain-anchoring delta does. #792 is answered by making
NO possibles_register edit: the issue's own reasoning (rewriting
`provenance.document` would falsify the record of a completed
2026-07-23 derive-possibles run) already argues against the edit, echoed
verbatim in `ideation/README.md`; the proposal and this PR's body record
that decision rather than the register carrying a diff. No staging topic
openspec/changes/repoint-chain-anchoring-medxchain-citation/proposal.md:8
- The promoted
release-realizationcontract permitstarget_release: implementedor a named aggregation release, notnone(openspec/specs/release-realization/spec.md:23-29). This declaration is therefore invalid even though the CLI does not currently enforce that field; useimplementedfor this doc-only amendment and keep the no-bundle explanation in prose.
target_release: none — a citation-text-only spec amendment; nothing to release
or pin.
tests/doc-health/test_modified_block_currency_self_gate.py:820
- These three entries increase
_LEDGER_SUBJECTSto 12, buttest_every_carriage_ledger_finding_over_the_real_tree_is_namedstill documents an “EXACT SET of nine” (lines 1166–1167) and its current-count history still ends at “9 SINCE 2026-09-11” (line 1225). Please update those statements when adding the new subjects so the self-gate's documentation matches the expected set.
# ADDED 2026-09-12 BY `repoint-chain-anchoring-medxchain-citation`
# (openxFactory issue #791) — THREE ROWS, one per MODIFIED requirement,
# because the packet repoints four dead MedxChain-notes citations across
tests/sequenced_after/corpus-ledger.yaml:76
- The PR description's verification section says
git diff origin/main --statcontains only the three new files under this change directory, but this PR also modifies this ledger row (and the README and modified-block-currency self-gate). Please correct the verification record so the described review surface matches the actual diff.
add-chain-anchoring: {state: archived, class: co-modifier, declares: absent, prose: false, moved_by: "#998", moved_on: "2026-09-12"}
- Files reviewed: 7/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
…le self-gate prose Addresses Copilot's second review (commit 6cffc01), which suppressed four comments: - proposal.md: target_release: none is not a sanctioned value — release-realization's "Realization axis declaration" requirement permits only implemented or a named aggregation release. Changed to implemented, keeping the no-bundle explanation in prose. - .openspec.yaml: explicitly reconciles that issue #792's own CLAIMED comment (5642768762) named a possibles_register repoint as the plan, while this packet delivers no register edit — a considered call made during authoring (the issue's own reasoning argues against the repoint), not silent drift from the claim. - test_modified_block_currency_self_gate.py: the "EXACT SET of nine" docstring and the assertion message's history trail now continue through the twelve named subjects this packet's three new rows bring the ledger to. refs #791 · refs #792 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Two unresolved review comments remain, so final human review is needed before approval.
Review details
Suppressed comments (2)
README.md:616
- The PR description's current verification summary says
git diff origin/main --statshows six files, but this diff contains seven:README.md, four files under the new change directory, this test file, andtests/sequenced_after/corpus-ledger.yaml. Please correct that count so the merge-order and review record accurately describe the landed surface.
- [repoint-chain-anchoring-medxchain-citation](openspec/changes/repoint-chain-anchoring-medxchain-citation/proposal.md)
— filed 2026-09-12, lane `openxfactory-2` (display `openXfactory-2`),
**`Status: draft`**. A small `## MODIFIED Requirements` amendment to
openspec/changes/repoint-chain-anchoring-medxchain-citation/specs/chain-anchoring/spec.md:49
- This first citation still leaves the old openxFactory path as the only file path and gives only
MedxSoft/MedxFactory@74bed502for the destination. A commit locator alone does not identify the moved file in the other repository, so the amendment does not deliver the complete destination promised by its task/proposal (and the three later citations depend on this one). Mark the old path as historical and include the full<repo>@<commit> <path>locator here.
(`ideation/brainstorm/medxchain-blockchain-medical-records.md`, now at
`MedxSoft/MedxFactory@74bed502` — vendored into openxFactory by pull request
- Files reviewed: 7/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
…ain citation Copilot's third review (commit 9aaaa8c) noted the first of the four repointed citations named only MedxSoft/medXfactory@74bed502 (a commit locator) rather than the full <repo>@<commit> <path> the other provenance text in this packet already uses, and that the three later citations ("cited above") depend on this one being complete. Marks the openxFactory path as historical ("formerly ... in this repository") and states the destination as the same repository-relative path in MedxSoft/medXfactory@74bed502 ideation/brainstorm/medxchain-blockchain-medical-records.md, matching issue #791's own verified destination path. No SHALL/SHALL NOT text, scenario, or requirement title touched. refs #791 · refs #792 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
The final review identified a moderate archive-status inconsistency, along with provenance and wording corrections.
Review details
Suppressed comments (4)
openspec/changes/repoint-chain-anchoring-medxchain-citation/.openspec.yaml:17
- This provenance record uses
2026-09-12T02:09:4xZ, which is not a real timestamp and loses the distinct times of the two cited comments. The GitHub records show #791 comment 5642768645 at 02:09:41Z and #792 comment 5642768762 at 02:09:42Z; record those exact values instead so the origin evidence is auditable.
(both 2026-09-12T02:09:4xZ, lane openxfactory-2, session 3ea0262c), each
openspec/changes/repoint-chain-anchoring-medxchain-citation/.openspec.yaml:44
- The same invalid
4xtimestamp is repeated inproposed_by, so the machine-readable origin still contains a placeholder even if the earlier prose is corrected. Use the exact per-issue times from the cited GitHub comments here as well.
5642768762), both 2026-09-12T02:09:4xZ, lane openxfactory-2.
openspec/changes/repoint-chain-anchoring-medxchain-citation/proposal.md:13
- The front matter says this change “archives on landing,” but
tasks.md1.2 is still unchecked and is explicitly the operator act that ratifies, promotes, and archives the delta; the repository's archive wrapper refuses any packet with an unchecked task (scripts/proposal-support.py:3064-3066). This also conflicts with the README and task wording that make archive a follow-up, so state that no code-surface realization gate applies while archive still waits for task 1.2; the same claim is repeated at lines 5-6.
with `code_surface: none` archives on landing, per the same requirement's
default; there is no separate release bundle to cut or pin.
openspec/changes/repoint-chain-anchoring-medxchain-citation/specs/chain-anchoring/spec.md:58
- This says the citation is repeated in “the three other requirements below,” but the delta has only two other requirement blocks: the second carries two citation occurrences and the third carries one (the proposal correctly describes four places across three requirements). Change this count or use “the other requirements” so the promoted prose does not misstate its scope.
resolves inside this repository again — it is cited here, and in the three
other requirements below that share it, as HISTORICAL PROVENANCE ONLY**, said
- Files reviewed: 7/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
…wording, header-window placement Addresses Copilot's fourth review (commit f7443d5), which suppressed four comments, all fixed: - .openspec.yaml: the placeholder "2026-09-12T02:09:4xZ" (used in both the reason and proposed_by fields) is replaced with the exact per-comment timestamps read back from the GitHub API: issue #791 comment 5642768645 at 2026-09-12T02:09:41Z, issue #792 comment 5642768762 at 2026-09-12T02:09:42Z. - proposal.md: "archives on landing" was misleading — release-realization's archive gate has no code-surface realization step here (code_surface: none), but scripts/proposal-support.py's archive wrapper independently refuses any packet with an unchecked tasks.md line, and this packet's task 1.2 (the OPERATOR ratify-and-promote act) is unchecked. Both code_surface and target_release now say archiving is gated on task 1.2, not on this authoring pull request landing. - specs/chain-anchoring/spec.md: "the three other requirements below" overcounted — the delta modifies three requirements total (four citation occurrences across them), so there are only two OTHER requirements below the first. Changed to "the other requirements below", matching Copilot's suggested fix and the proposal's own accurate count. Also moves Status: draft to immediately follow proposal.md's opening `---` (previously pushed to line 20 by the expanded code_surface/target_release prose above it): doc-health's status-validity/ratified-provenance families read only the first 15 REAL lines (scripts/doc_health/corpus.py STATUS_SCAN_LINES = 15), so a Status: header past that window is invisible to the checker even though a human reading the file sees it. Verified with doc_health.corpus.parse_status against the edited file: reads "draft". refs #791 · refs #792 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
The packet lacks a governed disposition resolving issue #792.
Review details
Suppressed comments (1)
openspec/changes/repoint-chain-anchoring-medxchain-citation/.openspec.yaml:30
- This manifest treats #792 as reconciled by the no-edit outcome, but the packet has no governed disposition for that issue: its only task and spec delta address #791, while #792 remains open and its current CLAIMED comment explicitly commits to repointing the eight register entries. The existing
ideation/README.mdparagraph records the retention rationale but is not a disposition decision. Either remove #792 from this packet's scope/origin or add the operator-approved disposition/record that resolves it; otherwise the bundled scope is incomplete.
what this packet's chain-anchoring delta does. #792 IS RECONCILED HERE
RATHER THAN LEFT SILENT, because its own CLAIMED comment (issue #792
comment 5642768762) stated the plan as authoring "repoint the eight
possibles_register entries' provenance documents (merge-ordered against
bot PR #888...)" — a repoint — while this packet answers #792 by making
- Files reviewed: 7/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
…p's word Brett Heap ruled 2026-09-12 ~15:30Z, in session, multi-choice SELECTION "Retain the original provenance; close #792 by recorded disposition" (recorded on openxFactory #745). openxFactory issue #792 is now CLOSED by its own recorded comment (5646918211): the eight possibles_register entries keep their original provenance.document values, since rewriting them would falsify the record of the completed 2026-07-23 derive-possibles run that produced them -- the same reasoning this issue always set out, already recorded in ideation/README.md. That disposition supersedes this lane's earlier #792 CLAIMED comment (5642768762), which had promised a register repoint. This packet never touched the register (no file in it names ideation/cross-reference.yaml), but its .openspec.yaml origin and the README "Active changes" bullet both still described #792 as bundled into and reconciled BY this packet's authoring. Narrows both to #791 only: - .openspec.yaml: origin reason/proposed_by/related now scope to #791 only. #792 is named once as history -- the same pick also read "... + #792", and that half is disposed separately, not by this packet -- never as something this packet answers or reconciles. - README.md: the bullet drops the #792 comment citation, the "makes no edit to possibles_register for #792" paragraph, and #792 from Refs; keeps one pointer to #792's own closing disposition. proposal.md and tasks.md never named #792, so neither changes. The three MODIFIED requirements, the self-gate's twelve named ledger subjects, and the corpus-ledger.yaml row are unchanged. refs #791 · refs #792 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…eyword pattern
The previous commit's .openspec.yaml and README.md text quoted Brett Heap's
selection option verbatim, and that quote happened to place the word
"close" directly before a hash-792 issue reference -- an adjacency
GitHub's auto-close scanner reads regardless of quoting context. Both
files now describe the selection in reported speech ("disposing of issue
792 by that recorded closure") instead of quoting it, and point to
openxFactory issue 745 for the exact wording. No meaning changes: issue
792 is still disposed separately by retention, still not part of this
packet, and this packet still touches no register file.
refs #791 · refs #792
Lane: openxfactory-2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
The sole remaining finding is a minor wording nit; no blocking issues remain.
Review details
Suppressed comments (1)
openspec/changes/repoint-chain-anchoring-medxchain-citation/proposal.md:77
- This impact bullet overstates what this PR accomplishes: the promoted
openspec/specs/chain-anchoring/spec.mdstill contains the dead citation until the uncheckedtasks.md1.2 operator act ratifies, archives, and promotes this delta. Use prospective wording so the proposal remains consistent with the PR description and its own archive gate.
- Resolves the dead citation openxFactory #791 reports, closing the
provenance-text gap `#785`'s judgement call 2 flagged for a future amendment.
- Files reviewed: 7/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
There was a problem hiding this comment.
🟢 Approval recommended
Remaining findings are low-severity documentation nits and do not block approval.
Review details
Suppressed comments (4)
openspec/changes/repoint-chain-anchoring-medxchain-citation/specs/chain-anchoring/spec.md:153
- The old
vendored by pull request #509, IN FLIGHT at this revisionclause is removed here and replaced with new provenance wording, but no reserved marker names that deliberate removal. The carriage-ledger finding is not a substitute for the MODIFIED-block marker required bydocument-lifecycle; add a marker quoting the retired canonical clause (or retain it verbatim).
**THE CROSS-PLANE JOIN KEY IS THE DEFECT THIS REQUIREMENT CLOSES, AND IT IS A
CORRECTION TO THE SOURCE SKETCH RATHER THAN A RESTATEMENT OF IT.** The MedxChain
notes (cited above; now at `MedxSoft/MedxFactory@74bed502`, historical
provenance only) segregate three databases but carry ONE shared record digest
openspec/changes/repoint-chain-anchoring-medxchain-citation/specs/chain-anchoring/spec.md:245
- This removes the promoted
same in-flight MedxChain notes' appendixprovenance clause rather than carrying it, but the MODIFIED block has noRemoved from canon bydeclaration for that deliberate replacement. Add the reserved marker with the exact retired unit (or keep the old wording) so the archive act records the provenance-text change instead of relying only on the advisory carriage finding.
**AND THE LANE IS A NAMED CONSUMER RATHER THAN AN EMERGENT PROPERTY.**
Meta-analysis across the record and demographic planes is a first-class use case
of this capability, carried from the same MedxChain notes' appendix (cited
above; now at `MedxSoft/MedxFactory@74bed502`, historical provenance only),
openspec/changes/repoint-chain-anchoring-medxchain-citation/specs/chain-anchoring/spec.md:360
- The old
vendored by pull request #509, IN FLIGHT at this revisionmapping clause is deliberately replaced here, but no reserved deletion marker identifies it. Under the MODIFIED-block contract inopenspec/specs/document-lifecycle/spec.md:751-806, add a marker quoting that retired canon unit (or carry it unchanged) so the provenance-only edit is formally declared at archive time.
**THE MAPPING IS NAMED HERE AND AUTHORED ELSEWHERE.** MedxChain and HealthLinc
are MedxFactory's instantiations of this capability; LedgerLinc is
LedgerxFactory's. The MedxChain notes cited above — now at `MedxSoft/MedxFactory@74bed502`,
cited here as historical provenance only — read as an early, domain-specific
openspec/changes/repoint-chain-anchoring-medxchain-citation/specs/chain-anchoring/spec.md:50
- This replaces the promoted requirement's existing provenance paragraph, but the delta carries no reserved deletion marker for the retired unit.
openspec/specs/document-lifecycle/spec.md:751-806requires aRemoved from canon bymarker inside a MODIFIED block for a deliberate body-clause deletion; the new carriage-ledger row only records the omission and does not declare it. Add a marker quoting the exact retired canon paragraph (or carry it unchanged), and make the same declaration for the other three replaced citation clauses.
**THIS OBLIGATION IS CARRIED FROM A NAMED SOURCE, AND THE SOURCE HAS LEFT THIS
REPOSITORY FOR GOOD.** The MedxChain notes (formerly
`ideation/brainstorm/medxchain-blockchain-medical-records.md` in this
repository, now at the same repository-relative path in
`MedxSoft/MedxFactory@74bed502 ideation/brainstorm/medxchain-blockchain-medical-records.md`
- Files reviewed: 7/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
Copilot's fifth review flagged this proposal's Impact bullet as overstating what has happened: the promoted chain-anchoring spec still carries the dead citation until the unchecked tasks.md 1.2 operator act ratifies, archives and promotes this delta. Reworded to state the outcome as prospective and say plainly that the spec is unchanged until then. refs #791 · refs #792 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
There was a problem hiding this comment.
🔵 Needs a closer look
The proposal is missing the required sequencing relationship, and two provenance/indexing mismatches remain.
Review details
Suppressed comments (3)
README.md:631
- The active-change entry has the same narrowing mismatch: it still says the packet was filed on
Doc-link repairs #791 + #792and includes the full issue-792 disposition paragraph, while the PR description says the narrowing commits removed that reconciliation framing and kept only one pointer to issue 792's closure. Update this bullet or the description so the repository's active-change index reflects the claimed #791-only packet.
requirement title changes. Filed on Brett Heap's multi-select pick "Doc-link
repairs #791 + #792" (in session, 2026-09-12 ~01:55Z; recorded on
openxFactory #791 comment
[5642768645](https://github.com/opensoft/openxFactory/issues/791#issuecomment-5642768645)).
**Scoped to #791 only**: the same pick's other half, issue 792
openspec/changes/repoint-chain-anchoring-medxchain-citation/.openspec.yaml:11
- The PR description says the packet was narrowed to #791 and that
.openspec.yamlnow names only #791, but this manifest still records the two-issue origin pickDoc-link repairs #791 + #792. The later prose explains that #792 is out of scope, but the manifest still contradicts the stated narrowed provenance; either remove the #792 half from the origin/proposed-by record or update the PR description to say that the original bundle is intentionally retained as historical provenance.
Born from openxFactory issue #791 (chain-anchoring's four dead
MedxChain-notes citations), on Brett Heap's own SELECTION, not a typed
sentence: presented in session with a multi-choice pick, 2026-09-12
~01:55Z, he chose the option "Doc-link repairs #791 + #792" — a
two-issue bundle at the time of the pick. That pick is recorded verbatim
openspec/changes/repoint-chain-anchoring-medxchain-citation/proposal.md:14
- This packet's three
MODIFIEDblocks share all three requirement keys with archivedadd-chain-anchoring, so the ledger correctly classifies both changes asco-modifier. The ordered-delta contract says requirement amendments must be sequenced against their basis, and the prioramend-chain-anchoring-readiness-and-durabilitypacket usessequenced_after: [add-chain-anchoring]; omitting it here leavesdeclares: absentand makes this new amendment non-walkable for chain-consuming gates. Addsequenced_after: [add-chain-anchoring]and reseed the corresponding ledger row before ratification.
target_release: implemented — the affected repository's (openxFactory's) main
- Files reviewed: 7/7 changed files
- Comments generated: 0 new
- Review effort level: Lite
There was a problem hiding this comment.
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 2 days by commenting @sourcery-ai review. Upgrade to get a review now.
|
Lane: openxfactory-2 (openXfactory-2) |
|
Lane: openxfactory-2 (openXfactory-2) |
…pinned-capabilities: stay level for landing Main moved twice more after the first merge (#978, #998). README's Active-changes list auto-merged; the one conflict was tests/doc-health/test_modified_block_currency_self_gate.py, where both sides added rows to the carriage-ledger subject set: both are kept, main's three repoint-chain-anchoring rows and this packet's two, and the ledger narrative renumbers this packet's rows 10 and 11 to 13 and 14 behind main's twelve. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ition-reading-per-family Auto-merged clean: README.md's OpenSpec Records block took both rows (PR #998's new active row for repoint-chain-anchoring-medxchain-citation, inserted deliberately away from this branch's own edit point; this branch's archived row for decide-disposition-reading-per-family, untouched). No conflict. Citation-safety: git diff 45a98fa..b86716b --stat over scripts/doc_health/, openspec/specs/doc-health/, docs/doc-health.md, .specify/memory/constitution.md, scripts/proposal-support.py, scripts/validate-sequenced-after.py is empty; this archive's own measurements are unaffected. Lane: openxfactory-1 refs #966 Co-Authored-By: Claude Fable 5.1 <[email protected]>
… README mention Copilot flagged origin/main advanced again while this PR's checks were running (PR #998, repoint-chain-anchoring-medxchain-citation). README.md auto-merged clean; tests/sequenced_after/corpus-ledger.yaml conflicted on adjacent alphabetical rows (repoint-chain-anchoring-medxchain-citation / report-stale-grandfather- dispositions) — resolved by keeping both rows, in alphabetical order, each exactly as its own side authored it (validate-sequenced-after.py --ledger-diff confirms 207 rows consistent). Also takes Copilot's review-thread finding (PRRT_kwDOTAvnrs6hx_6v, posted after the previous merge push): this packet's own README.md entry still called PR #978 a "DRAFT PR" after #978 was ratified and merged. Fixed the wording in place (no reflow, no other edit) to say "since ratified and merged" instead. The one file PR #998 touched under tests/ (test_modified_block_currency_ self_gate.py) adds three ledger rows and updates one existing test's docstring/expected count (9 -> 12 named subjects); it adds no `def test_` function, so this packet's own net-new-test-function figures (tests/ doc-health 1742 vs 1725 control = +17; test_grandfather_dispositions.py 40 passed) are unaffected. refs #965 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Bookkeeping only. `origin/main` moved 5972c8f -> a72f0a7 (#978 decide-disposition-reading-per-family, #998 repoint-chain-anchoring-medxchain-citation, #1005 split-opendox tasks.md amendment). README `## OpenSpec Records` conflicted on the same one heading as before: main's new `decide-disposition-reading-per-family` row kept FIRST, verbatim, with this packet's row immediately after it; no other row touched and no reflow. `tests/sequenced_after/corpus-ledger.yaml` auto-merged with both sides' rows intact; `tests/doc-health/test_modified_block_currency_self_gate.py` and `split-opendox-two-layer-product/tasks.md` came in from main unmodified by this merge. The packet's own gate re-run on the merged tree: exit 0 — 44 active proposals, 44 declaring, 20 `implemented`, 3 a named release, 21 named by the register, 0 outside the vocabulary. Both changes main brought in declare a value inside the vocabulary, so D2's ruled sweep still has no further carrier to take at this head. `pytest tests/target_release -q` 84 passed, unchanged. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
… sentence to findings that reach root selection (#1052) Lane: openxfactory-2 (openXfactory-2) **An OpenSpec PROPOSAL packet, docs only — filed as a DRAFT on 2026-09-15 and NOW RATIFIED (see the RATIFIED note below: Brett Heap's word "ratify 1052 when green, then 1050", 2026-09-16, citation #1047 comment 5698480379; `tasks.md` § 1 TICKED at `376313b9`). Nothing is promoted or archived yet; `code_surface: none`, so the packet archives on landing.** The sections below describe the packet as filed; the round notes carry every review round since. ## What this is The successor packet openxFactory #1047 files. Promoted `document-lifecycle` canon (*Prose tagging marker hygiene*) obliges > EVERY finding the pinned arm emits SHALL NAME THE ROOT OR ROOTS it resolved against, or failed to and **two of the realized arm's fifteen findings are emitted BEFORE ANY ROOT IS SELECTED**, so they cannot obey it: | finding | measured at | names | why no root | | --- | --- | --- | --- | | lexically malformed pinned value | `scripts/doc_health/families.py:1573-1576`, refused at `:1572` | THE VALUE | the grammar check precedes `value.split("/", 1)` (`:1578`) and `_pin_roots(...)` (`:1580`) — canon's own order, at `:241-245` and in the scenario at `:587-590` | | no resolution root in the run | `:1587-1592`, reached at `:1580-1581` | THE REPOSITORY | `_pin_roots` returned an EMPTY LIST; the empty root set is the finding's whole subject | The other thirteen already name a root (`:1606-1611`, `:1618-1625`, `:1634-1638`, and all ten of `_judge_pinned_record` at `:1653-1736`). Surfaced by Copilot on the archive PR #1042 and **RULED STANDS** there — the sentence is ratified canon promoted byte-identical, which an archive act may not edit — so the remedy is a packet, not a patch. ## The delta **ONE `## MODIFIED` block over `document-lifecycle` *Prose tagging marker hygiene*, restating canon IN FULL, moving ONE sentence and adding ONE scenario.** - The root-naming obligation is scoped to findings that reach root selection, and the two that do not are named with what each names instead. The sentence's first half and its whole rationale clause are carried word for word. - One scenario added at the end of the block: *A finding emitted before root selection names what it judged*. - **GENERATED FROM CANON, NEVER TRANSCRIBED**: a script slices the promoted requirement whole, asserts the target sentence occurs exactly once, replaces it, appends the scenario. Verified two ways — a unified diff against canon's block (**TWO hunks, nothing else**) and a `derive_units` comparison through the modified-block-currency family's own derivation: **canon 209 units, block 215, ONE uncarried unit, seven new** (its successor, the scenario title, five bullets). All twenty-three promoted scenarios carried verbatim. *(superseded by fix round 1: the block now differs from canon by THREE hunks, 18 added / 5 removed, TWO uncarried units and eight new — see the round notes below and design.md Measurement for the reproducing commands)* - **No `Removed from canon` / `Merged into` marker is owed** — nothing is deleted; the uncarried sentence has a successor in the same paragraph saying MORE and never less. `code_surface: none` (measured — the realized arm already matches the clarified reading; no line of `scripts/doc_health/` is edited). `target_release: implemented` — canon's doc-only default; **`none` is NOT a sanctioned token** of the ratified vocabulary (`scripts/target_release.py:93,110,155`), the same reading the sibling packet `repoint-chain-anchoring-medxchain-citation` recorded on PR #998. `sequenced_after: []`, corroborated: no active change holds a MODIFIED block over this requirement; the only other active `document-lifecycle` delta (`prepare-openspec-1-12-readiness`) is an `## ADDED` requirement. ## The one bookkeeping edit outside the packet `tests/doc-health/test_modified_block_currency_self_gate.py` gains ONE named `_LEDGER_SUBJECTS` row with its narrative: this packet's active MODIFIED block opens one `info` carriage-ledger finding (14 → 15), and that gate compares the family's `info` population with `==` and never `<=`, so an unnamed row reds the required `pytest-suite` for every open pull request in this repository. **No assertion, predicate or threshold in that module moved.** The row retires when this packet archives and its block is promoted. ## Validation (run on this branch) | command | result | | --- | --- | | `OPENSPEC_TELEMETRY=0 openspec validate scope-pinned-arm-root-naming --strict` | **valid** (exit 0) | | `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` | **107 passed, 2 failed** — the same two pre-existing failures `origin/main` @ `8944758c` carries (`add-chain-attestation`, `add-composed-view-authoring`); baseline on the unmodified clone was 106 passed, 2 failed | | `python3 scripts/proposal-support.py . verify` | **proposal support verification ok** | | `python3 scripts/doc-health.py --single-repo . --as-of 2026-09-15 --family modified-block-currency` | carriage ledger **15** (`info`), the new row being this packet's block — `does not carry 1 of the 186 body units and scenario bullets` | | `pytest -q tests/doc-health -p no:cacheprovider` | **7 failed, 1816 passed, 1 skipped** — an IDENTICAL failure set to the baseline taken on the unmodified clone of `origin/main` before authoring (`test_ideation_readiness` ×3, `test_readiness_dispatch` ×1, `test_sentinel_vocabulary` ×2, `test_status_reader_real_lines` ×1 — pinned-validator harness and carve-leg unavailability in this container, none of them this packet's) | | `pytest -q tests/target_release tests/scope_globs tests/sequenced_after` | `target_release` and `scope_globs` green; 4 `tests/sequenced_after/test_sweep.py` failures on the authoring commit, **by construction**, and **286 passed** after the ledger seed of the second commit | | `python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1052'` | `215 rows, 1 moved by #1052` — **EXACTLY ONE ROW**, this packet's own (`{state: active, class: co-modifier, declares: [], depth: 0}`); no partner row moved, the only other writer of this requirement being the ARCHIVED predecessor, already `co-modifier` | | `python3 scripts/validate-sequenced-after.py . --ledger-diff` | **per-change sweep ledger consistent with the corpus (215 rows)** | | `python3 scripts/doc-health.py --single-repo .` over the WHOLE repository, diffed against the same run on a clone of `8944758c` | **100 findings → 101**, and the diff is exactly ONE line: this packet's own `info` carriage-ledger row. No other finding appears, disappears or changes severity anywhere in the corpus | ## What this pull request does NOT do - **It promotes nothing.** The block reaches `openspec/specs/document-lifecycle/spec.md` at the ARCHIVE act, on a separate word. - **It ratifies nothing.** `design.md` D-1/D-2/D-3 are put as one multiple choice at `proposal.md` § *The decision, put for a veto* (OQ-1) with the recommendation first — (a) scope the sentence as encoded, (b) widen the arm instead, (c) delete the sentence. `tasks.md` § 1 stays open. - **It changes no behaviour** and touches no `doc-health` requirement. - **It closes no issue** — openxFactory #1047 closes at the archive. **Fix round 1 (`8cfd05a8`, plus a small follow-up aligning the README bullet and the self-gate row comment)** — Copilot's two suppressed comments on `b2b89c58`, both RULED ACCEPT by the lane (`findings/fix1052-round1.md`): (R1) the Sequencing measurement "exactly two places" was false — the requirement title also occurs in the archived 2026-07-09 delta and in this packet's own; it now states the load-bearing fact (no ACTIVE change holds a `## MODIFIED` block over the requirement at `8944758c`) and the true count, three, naming both archived occurrences. (R2) the restated canon scenario *A pinned target names a pin no resolution root carries* was also true for a run with NO selected root, giving the empty-root case two outcomes; its WHEN gains one clause — ", and at least one resolution root was selected for the run" — a second, deliberate, one-clause delta recorded in proposal.md and design D-1 (block vs canon now 18/5 over 3 hunks; 2 uncarried / 8 new units). Validation: strict valid; `--all --strict` 107/2 (pre-existing); proposal-support ok; self-gate 19 passed; ledger consistent (215 rows). **Fix round 2 (`78610073`)** — Copilot's two suppressed comments on `48be2328`, both RULED ACCEPT (`findings/fix1052-round2.md`): the sequencing fact now reads "no OTHER active change holds a `## MODIFIED` block over the requirement" (this packet is itself an active change carrying one) in the README bullet, proposal.md and tasks.md § 2.3; design.md's Measurement section gives four literal, re-tested commands that reproduce the 18/5-over-3-hunks and 2-uncarried/8-new measurements from the committed files. Strict validate valid; proposal-support ok. **Fix round 3 (`8adc0263`)** — Copilot's two comments on `78610073`: the PR body's original validation table (one uncarried / seven new) is annotated as superseded by the round-1 measurement (three hunks, 18/5, two uncarried, eight new); the self-gate's failure narrative for this packet's row now names BOTH uncarried units (the body sentence and the sibling scenario's narrowed WHEN bullet). Self-gate 19 passed. **Fix round 4 (`92d3e0e2`)** — Copilot's two comments on `8adc0263`, RULED ACCEPT (`findings/fix1052-round4.md`): `.openspec.yaml`'s provenance now says proposal.md, design.md and tasks.md carry `Status: draft` (the spec delta carries no lifecycle header, per the archived predecessor's convention); design.md's reproduction commands use `mktemp -d` instead of host-absolute `/tmp` paths (constitution artifact discipline), re-run to confirm 18/5 over 3 hunks and 2 uncarried / 8 new. `yaml.safe_load`, strict validate and proposal-support all pass. **RATIFIED (`376313b9`)** — on Brett Heap's word "ratify 1052 when green, then 1050" (2026-09-16T13:43Z; THE ONE CITATION: [#1047 comment 5698480379](#1047 (comment))). Edits: tasks.md § 1 ticked with RATIFIED annotations; `.openspec.yaml` gains `approved_by`/`approved_on` beside the unmoved drafting pair; `Status: ratified` in proposal.md (both its front-matter and body `Status:` lines — `parse_status()` reads the first), design.md and tasks.md, with a `Ratified:` line; `review/ratification-2026-09-16.md` with exactly one citation line; README bullet → ratified. Validation: strict valid; `--all --strict` 107/2 (pre-existing); proposal-support ok; self-gate + proposal-support 218 passed; `ratified-provenance` resolves the citation. `code_surface: none`: this packet ARCHIVES ON LANDING (§ 3) — lands FIRST under Rule 6 on six green, per the word's order. **Fix round 5 + two prior corrections (`db03f283`, `2a613e88`, `7055e475`)** — Copilot on the ratified heads, all RULED ACCEPT (`fix1052-round5.md`): the reproduction command's `--as-of` pinned to the measured date; `Ratified by:` header lines after `Status:` in design.md and tasks.md (the lifecycle citation parser reads a header line); and at `7055e475` (i) the ratification record keeps its "as ratified at `92d3e0e2`" baseline as measured and gains an "AMENDED SINCE" pointer plus an "Addendum, 2026-09-16" listing every pre-landing conforming correction under the same word, modelled on `add-requirement-ref-resolution-integrity`'s 2026-09-01 record; (ii) the `## MODIFIED` block no longer carries canon's stale pointer `families.py:1317-1321` (that range is `_topic_outcome` now) — it names `_resolve_capability` and `_pin_roots`, declared in proposal.md as one mechanical citation refresh beside the single sentence change; (iii) the no-record scenario's WHEN is scoped to "at least one selected root whose boundary was successfully searched", because as filed it described a finding the arm never emits on a boundary-refused root. **Superseded by fix round 6 below: (iii) is REVERTED — ratified normative text is the ratifier's to amend.** Validation at `7055e475` (fresh clone): strict valid; `--all --strict` 107/2 (pre-existing); proposal-support ok; self-gate + proposal-support 218 passed; `ratified-provenance` identical to origin/main. MERGEABLE; six required running. **Fix round 6 (`d138a99d`)** — Copilot's open thread on the round-5 record was right: a packet cannot carry `Status: ratified` while its addendum calls a normative WHEN narrowing "open to veto". Ratified normative text is the ratifier's to amend (precedent: `add-requirement-ref-resolution-integrity`'s 2026-09-01 amendment, ruled by the ratifier with the contradiction before him). So the no-record scenario's WHEN is RESTORED byte-for-byte to its text as ratified at `92d3e0e2` ("…and at least one resolution root was selected for the run"), with proposal.md/design.md paraphrases reverted to match; the non-normative corrections stay (the `--as-of` pin, the `Ratified by:` headers, canon's stale `families.py:1317-1321` pointer named by function); the record's addendum now lists every pre-landing correction and states the narrowing was applied and reverted. The contradiction Copilot found — the scenario as ratified also covers a boundary-refused root, where the arm never emits that finding — is before Brett Heap as RULING NEEDED on #1047 (comment 5701322989: "apply the narrowing" → a follow-up amendment PR in the 2026-09-01 form; "leave it" → carried as a known inconsistency into the archive record). Copilot's five stale-measurement nits are folded: the block re-measured (canon 209 units, block 215, 3 uncarried — the root-naming sentence, the pointer-bearing sentence, the WHEN bullet uncarried against canon since round 1 — 9 new; 4 hunks, 21/8 lines) in README, tasks.md § 2.2 and the self-gate audit narrative. Validation at `d138a99d` (fresh clone): strict valid; `--all --strict` 107/2 (pre-existing); proposal-support ok; self-gate + proposal-support 218 passed; `ratified-provenance` identical to origin/main. 0 threads; MERGEABLE; six required running. This head lands FIRST on the standing word. **Landing ruling (`d138a99d`).** Copilot's pass on this head reopened the WHEN question (RULED: the scenario lands exactly as ratified; the decision is Brett Heap's, pending on #1047 comment 5701322989; thread replied and resolved) and left five suppressed history-labelling nits (round-1 measurements labelled "at filing" in README and tasks.md § 2.2; the round-1 WHEN edit attributed to the filing generator in proposal.md; "ALL FOUR ARE NON-NORMATIVE" in the record's addendum where round 5 was a temporary normative edit, reverted; the filing-task text on the approval pair). RULED: these STAND for landing — non-normative labels in secondary surfaces, with the true round history already in the record's addendum — and are folded into the ARCHIVE act, which edits README and tasks.md in any case. Six required green, 0 unresolved threads, MERGEABLE: landing FIRST under Rule 6 on the standing word. refs #1047 🤖 Generated with [Claude Code](https://claude.com/claude-code) ## Summary by Sourcery Clarify root naming for pinned-arm findings without changing runtime behavior, and record the ratified documentation-only amendment through the OpenSpec workflow. Enhancements: - Clarify the pinned-arm root-naming requirement so pre-root-selection findings identify the value or repository they judged, while findings after root selection continue to identify searched roots. - Add a scenario covering findings emitted before root selection and align the sibling no-record scenario with the clarified empty-root behavior. Documentation: - Add and ratify the OpenSpec proposal, design, decision record, task tracking, and active-change documentation for the document-lifecycle amendment. Tests: - Register the modified-block carriage-ledger subject and add its sequencing ledger entry without changing test predicates or thresholds. Chores: - Record the packet as ratified while leaving promotion and archival as separate follow-up acts.



Lane: openxfactory-2 (openXfactory-2)
What
Scope: openxFactory issue #791 only. This PR was originally filed to
cover both #791 and issue 792 (one Brett Heap pick named both). Issue 792
is now disposed SEPARATELY, by retention — Brett Heap, 2026-09-12 ~15:30Z,
selected the multi-choice option keeping the
possibles_register'soriginal provenance and closing that issue by recorded disposition (exact
option text on openxFactory #745). Issue 792 is CLOSED by its own recorded
comment
(5646918211),
which supersedes this lane's earlier CLAIMED comment there. This PR never
touched
ideation/cross-reference.yamlat any point, so nothing herechanges; the packet and this description are narrowed to #791 accordingly
(commits
cf8d035d,54bafe1c).chain-anchoring spec cites the MedxChain ideation notes that moved to MedxFactory (needs a governed amendment) #791 —
openspec/specs/chain-anchoring/spec.md(promoted canon) citesthe MedxChain design notes at a path that will never resolve inside
openxFactory again: pull request Vendor MedxChain notes into ideation/brainstorm #509 vendored the file in (merged
2026-08-31), then pull request ideation: remove the 24 domain files now received by codexFactory, MedxFactory and LedgerxFactory; delete the campaign-marketing stub; regenerate cross-reference (ideation split, half 2 of 2) #785 moved it back OUT to
MedxSoft/MedxFactory@74bed502 ideation/brainstorm/medxchain-blockchain-medical-records.md(merged 2026-09-08, 2026-09-07 ideation-split ruling). Verified present at
that path via
gh api repos/MedxSoft/MedxFactory/contents/ideation/brainstorm/medxchain-blockchain-medical-records.mdat authoring time (sha
14835326d655dcac7eb70d73742544f2396ec9a0).#785's own judgement call 2 explicitly refused to hand-edit this file:So this PR does not hand-edit the promoted spec. It adds a small
MODIFIED RequirementsOpenSpec change,openspec/changes/repoint-chain-anchoring-medxchain-citation/, thatrepoints all four citations (across the three requirements that carry them)
to the verified MedxFactory destination, framed as historical provenance
only — exactly
#791's "Suggested fix" option 2. No SHALL/SHALL NOTobligation, scenario, or requirement title is touched; the requirement text
itself already says "the obligation does not depend on the citation."
Ratifying and archiving this delta onto the promoted spec is an
(OPERATOR) follow-up (the change's
tasks.mdtask 1.2) — this PR onlyraises the governed amendment
#791asks for.Issue 792 — out of this PR's scope; disposed separately, by retention,
not by this packet. (History: this PR's
.openspec.yamland READMEbullet originally described this packet as reconciling that issue by
making no register edit. Brett Heap's own ruling of 2026-09-12 ~15:30Z —
see the note at the top of this section — settles it independently of
this PR, and the narrowing commits above drop the reconciliation framing
accordingly.
possibles_registerinideation/cross-reference.yamlwasnever touched by any commit in this PR.)
Sibling / merge-order checks
gh pr diff 978 -R opensoft/openxFactory --name-onlytouchesREADME.md,openspec/changes/decide-disposition-reading-per-family/*,tests/sequenced_after/corpus-ledger.yaml— disjoint from every file thisPR touches.
doc-health/derive-possibles) was checked against issue792's register entries at authoring time; moot now that issue 792 is
fully out of this PR's scope (disposed separately, above) — this PR makes
no
ideation/cross-reference.yamledit at all.Fix round (2026-09-12,
6cffc015)The required
pytest-suitecheck failed on the first push (fe1ca14e) withfive failures, and Copilot opened one thread. Both are addressed in
6cffc015:.openspec.yamlwas missing (Copilot thread, now resolved): added,with a complete
ad_hocorigin manifest citing#791/#792and BrettHeap's multi-select pick "Doc-link repairs chain-anchoring spec cites the MedxChain ideation notes that moved to MedxFactory (needs a governed amendment) #791 + possibles_register: 8 entries name ideation files that moved to DomainxFactories (run records, left intact by #785) #792" (recorded on
issue chain-anchoring spec cites the MedxChain ideation notes that moved to MedxFactory (needs a governed amendment) #791 comment 5642768645 and issue possibles_register: 8 entries name ideation files that moved to DomainxFactories (run records, left intact by #785) #792 comment 5642768762 — issue
Extend the merge-master low-risk envelope to the two floor bot lanes (§ 6.3 of add-floor-regeneration-automation / mirror-floor-regeneration-automation) — PROPOSAL #745 was checked in full and names neither issue, so it is not cited
there instead). Verified:
python3 scripts/proposal-support.py . verify repoint-chain-anchoring-medxchain-citation→proposal support verification ok.tests/doc-health/test_modified_block_currency_self_gate.py::test_every_carriage_ledger_finding_over_the_real_tree_is_namedfailed because the packet's three new MODIFIED-block carriage-ledger
findings (one per affected
chain-anchoringrequirement) were unnamed.Added the three
_LEDGER_SUBJECTSrows (nine → twelve) and updated thetest's own "nine"/history-trail prose to match, per its
quickstart.md§ WHEN THE GATE FAILS.
Four
tests/sequenced_after/test_sweep.pyledger-agreement testsfailed because the packet had no
tests/sequenced_after/corpus-ledger.yamlrow and
add-chain-anchoring's archived row was stale (sole→ liveco-modifier, since this packet's MODIFIED block now shares its threerequirement keys). Fixed via
python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#998'.Added a README "Active changes" bullet, anchored after the
amend-kill-switch-to-declared-test-companionentry rather than at thetop of the list:
gh pr diff 978showed open PR Propose decide-disposition-reading-per-family: decide per family what the aggregation dispositions file means (#966) #978 anchoring its ownnew bullet on the identical
Active changes:-then-blank-line context,so this keeps both PRs' README hunks on disjoint lines (verified:
git diff origin/main -- README.mdnow starts at@@ -611,6 +611,46 @@,clear of Propose decide-disposition-reading-per-family: decide per family what the aggregation dispositions file means (#966) #978's
@@ -531,6 +531,57 @@).Copilot's second review (
6cffc015) suppressed four further comments, alladdressed in
9aaaa8cf:target_release: noneis not a sanctioned valueper
release-realization's "Realization axis declaration" requirement(only
implementedor a named release is) — changed toimplemented;the
.openspec.yamlorigin now explicitly reconciles that issue possibles_register: 8 entries name ideation files that moved to DomainxFactories (run records, left intact by #785) #792'sown CLAIMED comment (5642768762) named a register repoint as the plan
while this packet delivers no register edit, and says why (a considered
call made during authoring, not silent drift); the self-gate test's
"EXACT SET of nine" docstring and history-trail prose now continue
through the twelve subjects this packet's rows bring the ledger to; and
the verification bullet below is corrected to match the actual diff.
Copilot's third review (
9aaaa8cf) noted two more (addressed inf7443d51): the "six files" count two bullets above was itself stalethe moment it was written (this diff was already seven files when that
edit landed) — corrected to seven, as below; and the first of the four
repointed citations
(
openspec/changes/repoint-chain-anchoring-medxchain-citation/specs/chain-anchoring/spec.md,the "Served verification..." requirement) named only
MedxSoft/MedxFactory@74bed502(a commit locator, not a file locator) —now states the destination as the same repository-relative path in
MedxSoft/MedxFactory@74bed502 ideation/brainstorm/medxchain-blockchain-medical-records.md,and marks the openxFactory path as historical, matching issue chain-anchoring spec cites the MedxChain ideation notes that moved to MedxFactory (needs a governed amendment) #791's own
verified destination path. The three later citations still read "cited
above," which now resolves to a complete locator. No SHALL/SHALL NOT
text, scenario, or requirement title touched by either fix.
Copilot's fourth review (
f7443d51) noted four more (addressed in9cafc17f):.openspec.yaml's placeholder timestamp2026-09-12T02:09:4xZ(both occurrences) is now the exact per-commenttime read back from the GitHub API (
5642768645at02:09:41Z,5642768762at02:09:42Z); proposal.md's "archives on landing" wasmisleading given
scripts/proposal-support.py's archive wrapper refusesany packet with an unchecked
tasks.mdline and this packet's task 1.2is unchecked by design (an (OPERATOR) act) — both
code_surfaceandtarget_releasenow say archiving is gated on task 1.2, not on this PRlanding; the delta's "the three other requirements below" overcounted
(three requirements total, so two others) — corrected to "the other
requirements below". Fixing the first two also pushed
Status: draftto proposal.md line 20, past doc-health's 15-real-line header window
(
STATUS_SCAN_LINES = 15) — moved to line 2 and verified withdoc_health.corpus.parse_statusdirectly against the file.Scope narrowed to #791 only (2026-09-12,
cf8d035d+54bafe1c).Brett Heap's ruling on issue 792 (see the top of "## What") SUPERSEDES
every "reconciles issue 792" / "answers issue 792" statement in the fix
rounds above:
.openspec.yaml'srelatednow names only #791, and its originreason/proposed_byquote Brett Heap's pick as it was made (a two-issuebundle) and then scope the packet to #791; the README bullet drops the
"makes no register edit for issue 792" paragraph and the issue-792 Refs
entry, keeping one scope paragraph with a single pointer to that issue's own
recorded disposition. A follow-up commit (
54bafe1c) alsorewords that pointer in both files away from a quoted "close #"
adjacency the narrowing commit's own message had accidentally introduced
— flagged for the record in case an automated commit-message guard checks
for it.
proposal.mdandtasks.mdnever named issue 792, so neitherchanged for the narrowing. The three MODIFIED requirements and the
self-gate's twelve named ledger subjects are unchanged by any of this.
Copilot's fifth and sixth reviews (
cf8d035d,54bafe1c) found thenarrowing clean (0 new comments each) and additionally flagged one more
wording nit, addressed in
8319bfb5: the Impact section's "Resolves thedead citation... closing the provenance-text gap" overstated the current
state — the promoted spec still carries the dead citation until task 1.2
(an (OPERATOR) act) ratifies, archives, and promotes this delta.
Reworded to prospective wording.
Copilot's sixth review (
54bafe1c) — theRemoved from canon bymarker ask — RULED by the lane, 2026-09-12 ~16:50Z, against the lifecycle text on origin/main (openspec/specs/document-lifecycle/spec.md, Requirement "A MODIFIED requirement block restates the requirement as canon currently states it"): no marker is owed. The requirement sorts a MODIFIED block's content three ways: scenarios and clauses the requirement keeps are carried; clauses the change "is not deliberately changing" are carried; and "any scenario or clause the change deliberately deletes SHALL be declared by a reserved marker". The four citation clauses fall under none of the three carry-or-mark cases — they are the clauses this change deliberately CHANGES. Each clause survives, with its locator repointed and its framing revised from "not in the tree yet / IN FLIGHT" to "historical provenance only"; that revision is the delta itself, not a deletion. The reserved forms name a deletion (Removed from canon by) and a scenario merge (Merged into); neither names a revision, and a reading under which every revised clause is a deletion would make every amending packet quote its own before-text. The modified-block-currency family records exactly this case as a carriage-ledgerinfofinding, and this packet's three findings are NAMED as deliberate intests/doc-health/test_modified_block_currency_self_gate.py(the twelve_LEDGER_SUBJECTS) — the form the corpus uses for a deliberate rewording. Corpus precedent agrees: on origin/main the marker appears in two archived changes (add-modified-block-currency-check, which introduced it, andgovern-sibling-added-modified-deltas), while the archivedamend-*MODIFIED packets that reword clauses carry none. Disposition recorded here; the packet is unchanged. The ratifier (task 1.2, an (OPERATOR) act) reads this ruling with the packet.Copilot's seventh review (
8319bfb5; three suppressed comments, no thread) — dispositions by the lane, 2026-09-12 ~16:50Z:README.md:631and.openspec.yaml:11(the origin pick still readsDoc-link repairs #791 + #792): INTENDED. The option text is a historical fact — Brett Heap's 2026-09-12 ~01:55Z selection WAS a two-issue bundle — and a provenance record quotes the pick as made; both files then state, in their own words, that this packet is scoped to chain-anchoring spec cites the MedxChain ideation notes that moved to MedxFactory (needs a governed amendment) #791 only and that issue 792 is disposed separately. The "Scope narrowed" paragraph above is corrected to say so: the narrowing commits removed the "this packet reconciles issue 792" framing and the register paragraph; they did not, and should not, rewrite the pick text.proposal.md:14(sequenced_after: [add-chain-anchoring]asked for): NOT OWED.release-realization's Requirement "Ordered deltas and branch vocabulary" binds a proposal modifying a requirement "already modified by an active ratified change" (or one such a change adds or renames to);add-chain-anchoringis ARCHIVED and no active change on origin/main writeschain-anchoring. The field is OPTIONAL by the ratified substrate's own text ("Existing changes that declare nosequenced_after:SHALL be grandfathered with NO migration pass, and the prose sequencing obligation SHALL remain sufficient"), and the ledger row'sdeclares: absentis the recorded reading, not a defect.amend-chain-anchoring-readiness-and-durabilitychose to declare; this packet does not, and says so here rather than re-seeding the ledger and restarting the suite for no obligation met.How verified
OPENSPEC_TELEMETRY=0 openspec validate repoint-chain-anchoring-medxchain-citation --strict→Change 'repoint-chain-anchoring-medxchain-citation' is valid.OPENSPEC_TELEMETRY=0 openspec validate --all --strict→Totals: 101 passed, 2 failed (103 items), failures = exactlydisposition-codexfactory-declared-renamesanddisposition-codexfactory-floor-relocation-retitle(origin/main's known CLI-gap set, unchanged).python3 scripts/doc-health.py --single-repo . --family ideation-routing(andproposal-origin,status-validity,ratified-provenance) → 0 lines naming this packet's files.python3 scripts/doc-health.py --single-repo .→New regressions vs previous report: 0.python3 scripts/validate-sequenced-after.py . --ledger-diff→per-change sweep ledger consistent with the corpus (204 rows).python3 -m pytest -q tests/doc-health/test_modified_block_currency_self_gate.py tests/proposal-support tests/header_contract_oracle.py tests/sequenced_after→433 passed, 68 subtests passed.git diff "$(git merge-base HEAD origin/main)" HEAD --stat(current,8319bfb5; origin/main has moved on independently since this branch wascut, so a raw tip-to-tip diff over-counts —
gh pr diff 998 --name-onlyagrees with this merge-base form) → seven files:
README.md; thischange's
.openspec.yaml,proposal.md,specs/chain-anchoring/spec.md,and
tasks.md(four files underopenspec/changes/repoint-chain-anchoring-medxchain-citation/);tests/doc-health/test_modified_block_currency_self_gate.py; andtests/sequenced_after/corpus-ledger.yaml.Commit-message note (2026-09-12). Commit
cf8d035dquotes Brett Heap's selection option verbatim, and that quote places a closing keyword directly before an issue number (issue 792). A message-only rewrite of that commit (tree byte-identical, verified) was prepared, but the repository's rules refuse non-fast-forward pushes, so the branch history stands as pushed. Nothing can turn on it: issue 792 is already closed by its own recorded disposition (5646918211), and the lane lands this PR by squash with an explicit subject and body, so no branch commit message reachesmain. The lane's landing guard now distinguishes a keyword naming a CLOSED issue (warn) from one naming an OPEN issue (refuse).refs #791 · refs #792
🤖 Generated with Claude Code
Summary by Sourcery
Propose a draft OpenSpec amendment to repair chain-anchoring’s dead MedxChain citations while preserving normative requirements and historical register provenance.
Bug Fixes:
Enhancements:
Documentation:
Tests: