Repository navigation
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
Conversation
…s hold them now
Half 2 of 2 of the ideation split ruled by Brett Heap 2026-09-07T22:21Z
("accept all [A]", Q4[A]): three receiving PRs copied these files at their
1:1 destination paths, and this removal PR takes them out of the neutral
corpus. Every destination copy was verified to exist BEFORE its source was
deleted — no file is deleted on trust:
14 CODEX -> opensoft/codexFactory @83c9c35a (PR #283), each path
re-verified at origin/main a8f133d2
9 MEDX -> MedxSoft/MedxFactory @74bed502 (PR #26 -> a6565761)
1 LEDGER -> ledgerXfactory/LedgerxFactory @6921aea3 (PR #33)
The corpus convention this discharges is `ideation/README.md`'s own: "Each
DomainxFactory keeps its own `ideation/` area for domain-scoped topics;
cross-factory and contract-level topics belong here in openxFactory." All 24
self-declare a domain owner in their mandatory `Repository context:` header,
which is the signal the split inventory classified on.
History stays here: these are cross-repo copies, not rewrites, so
`git log --follow` in openxFactory keeps the full authoring lineage of every
deleted file, and the destination copies carry a "moved from openxFactory@<sha>"
header line pointing back at it.
Two staging topic folders empty out and go with their files
(`codexfactory-domain-hermes-content/` with its four `openspec/` draft slices,
`medxfactory-domain-hermes-content/`); both were already `Status: superseded`
provenance closed 2026-08-28 by `settle-aging-staging-topics`, so nothing live
leaves the queue. Pointer, index and cross-reference repairs follow in this
same PR.
Lane: provenance-autonomous-merge
…admitted Q3[A] of the ideation-split ruling (Brett Heap, 2026-09-07T22:21Z, "accept all [A]"): delete as stale scaffolding. The file is a `TO WRITE` placeholder — `Summary: TO WRITE — campaign + marketing: what this topic delivers, in one sentence`, and a `## Possible feats` section whose one bullet is `TODO`. It was drafted 2026-08-10 from a lens selection of three documents and never written. It also resolves a real tree/index disagreement the split inventory surfaced: `ideation/staging/campaign-memory-fill-maintenance-mapping/` existed as a folder while `ideation/staging/INDEX.md` — which `ideation/README.md` names as "the kept-current inventory of every topic under `staging/`" — carried NO row or detail section for it. Deleting the folder makes the tree agree with the index rather than making the index agree with an empty stub. Nothing to update in INDEX.md: there was never a row to remove. The gate-action record that created it (`ideation/dashboard/gate-records/ideation-staging-campaign-memory-fill-maintenance-mapping-campaign-marketing/create-document-20260810T002818Z.gate-action.yaml`) is UNTOUCHED. It is an immutable console-action audit entry: it records that brettheap created a document at that path on 2026-08-10, and that remains true after the document is deleted. `validate-ideation-dashboard-contracts.py` does not require a record's `target.document` to still exist, and re-runs clean. Lane: provenance-autonomous-merge
… case the index never had `ideation/staging/INDEX.md`'s maintenance rule enumerated four ways a topic can change state — new topic, file added/removed, partial promotion, full promotion — plus demotion. All of them anticipate movement INTO an OpenSpec change. A topic can also leave SIDEWAYS, to the DomainxFactory that owns its subject, and that case had no written convention, so this commit adds it as a fifth bullet rather than improvising one silently: keep the row, UNLINK its topic name so no anchor dangles, replace the narrative with a one-line `MOVED <date> to <org>/<repo>@<sha> <path>` pointer, drop the detail section, and put the packet-level pointer in `ideation/README.md`. Verify the destination copy exists at the named commit before deleting the source. Applied to the two staged topics that left: `codexfactory-domain-hermes-content` and `medxfactory-domain-hermes-content`. Both were already CLOSED — all four exit changes ratified, realized and archived, both primary docs marked `superseded` 2026-08-28 by `settle-aging-staging-topics` — so what moved is provenance, not live queue work, and the rows now say so with their `Files` count at 0. 35 rows and 35 detail sections become 33 linked rows + 2 unlinked MOVED rows and 33 sections; anchors and sections verified in exact correspondence, no dangling anchor and no section without a row. `treatment-options-engine` (Q2[A]) is the one topic that SPLIT rather than moved, and it STAYS: its row and detail section now describe both halves. The neutral `governed-derived-model` remainder is the 253-line fragment here (three deltas, claims 1/2/5/6 as neutral rules, conflict 2, the neutral leg of Exit); the clinical half is at `MedxSoft/MedxFactory@74bed502` `ideation/staging/treatment-plan-generation/treatment-options-engine-clinical.md` (the measured corpus recon, claims 3/4/7, the six-step description, build order, idea notes 1-6, conflicts 1 and 3-6, ALL TEN open questions, the five Medx Related-work entries, the Medx leg of Exit). The three blockers travelled with the clinical half and STILL GATE the neutral change — Q7, Q8, Q9 — so the row names them where they are rather than dropping them; Q10 gates the Medx change only. The claim numbering keeps its gaps on purpose so claim-by-number citations resolve across both halves. `ideation/README.md` gains a "Moved to a DomainxFactory (2026-09-07)" section: the full 24-file inventory by destination with the commit each landed at, the ruling that sent them, and the note that history stays here because these are cross-repo copies. Its two packet-overview entries and its five active-list codexFactory entries — which linked directly at deleted files — collapse into MOVED pointers naming the destination. The `Hermes-Layer Persona Character Model` entry between them STAYS and the pointer says why: it asks how much character any Hermes decider carries, not what codexFactory's deciders decide. Sixteen retained brainstorms cited the departed files. Nine carried real markdown links that would 404 (the recursive-subject-establishment packet's Ledgerx and Medx profile links in four documents, `medical-domain-overview.md` from the avatar and worker-execution syntheses, `medical-omnigent-harness-adaptation.md` from the recursive-inference pilots, and `nightly-sweep-council-clearance-rule.md` from two practice-adoption docs); those become plain text naming the destination repository and commit. Seven more cited a filename in prose or in a header field (`Sibling of`, `Parent:`, `principle:`) — still-true citations of design history that a reader could no longer resolve; each gains the destination inline. A citation of design history stays true after the history moves house, so the citations are qualified, not deleted. Verified: every relative markdown link under `ideation/` resolves except the 14 that were already broken on `origin/main` (archived-change paths and one deliberate cross-repo path), none of them naming a file this split touched. NOT touched, on purpose: - `openspec/specs/chain-anchoring/spec.md` cites the MedxChain notes as the named source of three carried obligations. It is promoted canon, and editing it outside an OpenSpec change would both breach the ratification boundary and open promotion-fidelity drift against its own archived delta. The requirement already anticipates exactly this state in its own words — "THIS OBLIGATION IS CARRIED FROM A NAMED SOURCE, AND THE SOURCE IS NOT IN THE TREE YET ... The obligation does not depend on the citation" — so the citation returns to the dead-reference state the spec wrote itself to survive. The notes are at `MedxSoft/MedxFactory@74bed502` and in this repository's history. Flagged for a future amendment, not fixed here. - `openspec/changes/` in its entirety (no Rule 6 landing window for this PR). - `health/derive-possibles/2026-07-23/`, `ideation/dashboard/gate-records/` and `specs/027-spent-bundle-state/evidence/` name deleted paths inside immutable audit and evidence records. A record of what was true on a date stays true. Lane: provenance-autonomous-merge
…ther by files that left `ideation/cross-reference.yaml` is the source of truth and declares itself GENERATED; `ideation/cross-reference.md` is its deterministic projection. The split's 127-ish member entries across the departed files are now gone from `topic_entries`, which after this commit references NO deleted path — verified by resolving every member path against the tree: 0 missing of all members in 295 clusters. REGENERATED WITH THE READINESS LANE, NOT THE BOOTSTRAP. The header names the readiness scorer (`generator_version: ideation-xref-scorer-0.1.0`) as the producer, and `scripts/bootstrap-ideation-cross-reference.py` — the one-time 2026-07-14 seed — would have DOWNGRADED the file: its documented posture is `possibles_register: ABSENT`, so it would have destroyed 32 register entries carrying Brett's own dispositions and their evidence hashes. The lane's merge phase carries the register through unchanged by design (`scripts/doc_health/readiness_dispatch.py`: "a readiness re-score that dropped it would silently destroy merged possibles and their disposition audit trails"). Run as `scripts/ideation-readiness-nightly.py --phase merge --as-of 2026-09-08 --run-id ideation-split-domain-file-removal-20260908`, with no worker results collected, which is how the landed file's own tiers were already unscored; the immutable per-run evidence record rides in `health/ideation-readiness/2026-09-08/`, on the precedent of `brainstorm-packet-migration-final-20260824` (#322). WHICH LINES ARE THE SPLIT AND WHICH ARE ABSORBED STALENESS. The landed index was generated at `4e57009c` (2026-08-24) and the corpus has grown since, so a regeneration on `origin/main` ALONE — measured, in a throwaway worktree — already moves 1,747 insertions / 226 deletions and 290 clusters to 325. Of the total diff here, that pre-existing drift is the larger part; the split's own delta, measured as base-regeneration against this tree, is 30 clusters removed and 1,212 changed lines. 28 of those 30 were present in the landed index. They are clusters the multi-doc gate no longer forms because a departed file was one of only two members — `cl-agent-mixes`, `cl-agent-roster`, `cl-clinical-roster`, `cl-codexfactory-domain`, `cl-domain-memory`, `cl-domain-policy`, `cl-escalation-rules`, `cl-gate-rules-council`, `cl-ledgerx`, `cl-medical-domain`, `cl-memory-boundaries`, `cl-merge-readiness-council`, `cl-trait-framework` and the rest. A cross-reference index surfaces RECURRENCE across documents; one document is not a cross-reference, so the gate dropping them is the rule working, not information lost. The recurrence they recorded now recurs inside the destination repositories, whose own indexes will form it. Net against the landed file: 290 clusters to 295. Eight `possibles_register` documents still name a departed file, and they STAY. Each is a human-dispositioned record of what the 2026-07-23 derive-possibles run `DPOSS-71aecbb1422d` actually read — Brett's `outcome: accepted` with a `passage_sha256` beside it. Rewriting `provenance.document` would falsify the record of a run, which is the same trap this capability's own requirement "An orphaned pin on an immutable record is repaired by retention, never by editing the record" refuses for pins: "rewriting the pin would replace one defect with another and would additionally falsify the record, which exists to say what a run actually read." Nothing is orphaned either way — the bytes are reachable in this repository's history and at the destinations — and the schema's `document` is a free string with no cross-repo form to move them to. `ideation/README.md` says all of this where a reader will find it. FOUND EN ROUTE, NOT FIXED HERE: `persist()`'s internal `_render_markdown` in `scripts/doc_health/ideation_readiness.py` stamps the projection `Status: record`, while `scripts/render-ideation-cross-reference.py` stamps `Status: projection` — which is what the landed file carries and what `docs/document-lifecycle.md` requires ("A deterministic projection that a named generator rewrites in place from a declared source of truth carries `projection`, not `record`"). The `.md` here was re-rendered with the standalone renderer so it lands correct. The generator disagreement is a code defect in scripts/ and wants its own change. Validators unchanged from their pre-split output, byte for byte: validate-ideation-cross-reference (rc=1, the same 3 pre-existing errors, all in `tests/ideation-dashboard/fixtures/base-repo/`, none in the real index), validate-ideation-dashboard-contracts (0/0), validate-ideation-routing (0/0), validate-document-catalog (0/0). Lane: provenance-autonomous-merge
…hem anticipate movement into a proposal Lane: provenance-autonomous-merge
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
Cosmetic only: the MOVED pointers added in 50959c1 left one 180-column line in the treatment-options-engine section and six in the 90s. No wording change. Lane: provenance-autonomous-merge
There was a problem hiding this comment.
🟡 Changes recommended
ideation/README.md includes abbreviated “-foo.md” filename entries that are ambiguous/non-resolvable and should be corrected to the full destination filenames for clarity and accurate navigation.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Removes domain-owned ideation documents from openxFactory after they were copied into their owning DomainxFactory repos, deletes the stale campaign-marketing stub, and updates in-repo navigation/pointers to avoid dangling references while preserving immutable audit/evidence records.
Changes:
- Delete 24 domain-owned ideation files (plus associated staging-topic drafts) that now live in codexFactory / MedxFactory / LedgerxFactory.
- Replace internal markdown links that would now 404 with “MOVED …” pointers (notably in
ideation/README.mdand several brainstorm packet docs). - Add a committed ideation-readiness run record under
health/ideation-readiness/2026-09-08/.
File summaries
| File | Description |
|---|---|
| ideation/staging/medxfactory-domain-hermes-content/medxfactory-domain-hermes-content.md | Deleted staged MedxFactory domain topic (moved to MedxFactory). |
| ideation/staging/codexfactory-domain-hermes-content/openspec/tasks.md | Deleted draft slice for codexFactory staged topic (moved to codexFactory). |
| ideation/staging/codexfactory-domain-hermes-content/openspec/tasks-b.md | Deleted draft slice for codexFactory staged topic (moved to codexFactory). |
| ideation/staging/codexfactory-domain-hermes-content/openspec/proposal.md | Deleted draft slice for codexFactory staged topic (moved to codexFactory). |
| ideation/staging/codexfactory-domain-hermes-content/openspec/proposal-b.md | Deleted draft slice for codexFactory staged topic (moved to codexFactory). |
| ideation/staging/codexfactory-domain-hermes-content/codexfactory-domain-hermes-content.md | Deleted staged codexFactory domain topic (moved to codexFactory). |
| ideation/staging/campaign-memory-fill-maintenance-mapping/campaign-marketing.md | Deleted stale campaign-marketing stub. |
| ideation/README.md | Updated ideation navigation to mark moved packets and add a “Moved to a DomainxFactory” inventory. |
| ideation/brainstorm/worker-execution-synthesis-governed-lane.md | Replaced moved Medx link with a “MOVED …” pointer. |
| ideation/brainstorm/project-type-template-library-draft.md | Updated dependency citation to point to moved codexFactory doc. |
| ideation/brainstorm/practice-adoption-overview.md | Updated Nightly-Sweep Council Clearance reference to moved location. |
| ideation/brainstorm/practice-adoption-clearance-ledger.md | Updated Nightly-Sweep Council Clearance reference to moved location. |
| ideation/brainstorm/omnigent-core-domain-split.md | Updated citation to moved codexFactory domain-hermes content doc. |
| ideation/brainstorm/nightly-sweep-council-clearance-rule.md | Deleted (moved to codexFactory). |
| ideation/brainstorm/medxfactory-domain-roster-draft.md | Deleted (moved to MedxFactory). |
| ideation/brainstorm/medxchain-blockchain-medical-records.md | Deleted (moved to MedxFactory). |
| ideation/brainstorm/medical-omnigent-harness-adaptation.md | Deleted (moved to MedxFactory). |
| ideation/brainstorm/medical-domain-synthesis-clinical-execution.md | Deleted (moved to MedxFactory). |
| ideation/brainstorm/medical-domain-specialized-worker-envelope.md | Deleted (moved to MedxFactory). |
| ideation/brainstorm/medical-domain-overview.md | Deleted (moved to MedxFactory). |
| ideation/brainstorm/medical-domain-clinical-authority-boundary.md | Deleted (moved to MedxFactory). |
| ideation/brainstorm/hermes-retrieval-primitives-contract.md | Updated citation to moved codexFactory deliberation doc. |
| ideation/brainstorm/hermes-recursive-subject-establishment-synthesis-closure-and-domain-profiles.md | Updated moved-profile links (Ledgerx/Medx) to “MOVED …” pointers. |
| ideation/brainstorm/hermes-recursive-subject-establishment-overview.md | Updated moved-profile links (Ledgerx/Medx) to “MOVED …” pointers. |
| ideation/brainstorm/hermes-recursive-subject-establishment-multimodal-processing-and-specialist-routing.md | Updated moved-profile links (Ledgerx/Medx) to “MOVED …” pointers. |
| ideation/brainstorm/hermes-recursive-subject-establishment-coverage-gaps-and-readiness.md | Updated moved-profile links (Ledgerx/Medx) to “MOVED …” pointers. |
| ideation/brainstorm/hermes-recursive-subject-establishment-medx-patient-intake-profile.md | Deleted (moved to MedxFactory). |
| ideation/brainstorm/hermes-recursive-subject-establishment-ledgerx-company-intake-profile.md | Deleted (moved to LedgerxFactory). |
| ideation/brainstorm/hermes-persona-character-model.md | Updated sibling/related citations to moved codexFactory docs. |
| ideation/brainstorm/hermes-legal-compliance-model.md | Updated principle citation to moved codexFactory policy-model doc. |
| ideation/brainstorm/hermes-layer-content-seeding.md | Updated citations to moved codexFactory docs. |
| ideation/brainstorm/governed-recursive-inference-domain-pilots.md | Updated Medical Omnigent Harness Adaptation reference to moved location. |
| ideation/brainstorm/cost-accountability-and-efficiency-model.md | Updated sibling citation to moved codexFactory roster doc. |
| ideation/brainstorm/avatar-live-voice-synthesis-brokered-path.md | Updated Medical Domain packet reference to moved location. |
| ideation/brainstorm/codexfactory-domain-synthesis-policy-and-memory.md | Deleted (moved to codexFactory). |
| ideation/brainstorm/codexfactory-domain-synthesis-authority-and-deliberation.md | Deleted (moved to codexFactory). |
| ideation/brainstorm/codexfactory-domain-roster-draft.md | Deleted (moved to codexFactory). |
| ideation/brainstorm/codexfactory-domain-policy-model.md | Deleted (moved to codexFactory). |
| ideation/brainstorm/codexfactory-domain-overview.md | Deleted (moved to codexFactory). |
| ideation/brainstorm/codexfactory-domain-memory-and-practices.md | Deleted (moved to codexFactory). |
| ideation/brainstorm/codexfactory-domain-hermes-content.md | Deleted (moved to codexFactory). |
| ideation/brainstorm/codexfactory-domain-deliberation.md | Deleted (moved to codexFactory). |
| health/ideation-readiness/2026-09-08/ideation-split-domain-file-removal-20260908.yaml | Added readiness run record for the regeneration associated with this split. |
Review details
- Files reviewed: 44/46 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.
| `ideation/brainstorm/` filenames — `codexfactory-domain-overview.md`, | ||
| `-hermes-content.md`, `-roster-draft.md`, `-policy-model.md`, | ||
| `-deliberation.md`, `-memory-and-practices.md`, | ||
| `-synthesis-authority-and-deliberation.md`, | ||
| `-synthesis-policy-and-memory.md` — plus |
Lane: provenance-autonomous-merge
There was a problem hiding this comment.
🔵 Needs a closer look
The change set is dominated by large-scale content removal and cross-document pointer rewrites, where a final human pass is warranted to confirm navigation integrity and regenerated-index correctness end-to-end.
Review details
- Files reviewed: 44/46 changed files
- Comments generated: 0 new
- Review effort level: Lite
…etained rather than rewritten Two doc-health tests caught the regeneration, both correctly, and both are discharged the way their own design says to discharge them. **`test_the_pin_counts_did_not_move_and_no_site_is_classified_twice`: 70 -> 71.** Persisting the readiness lane's `ideation_readiness_run` evidence record beside the regenerated index adds a `source_revision` site. That is the SECOND mechanism that moves this census by design — the full-promotion `supporting-docs/manifest.yaml` above it is the first — and unlike that one it fires whenever the readiness lane's merge phase runs and commits, which the nightly does on `main` and a packet does on a branch. It joins the EXISTING `ideation-readiness-run` member, whose two 2026-08-24 records are already counted, so the member count does NOT move and holds at 24. Enumerated with `pin_class.verify()` on the committed tree — 71 results, 24 members, `lost` 1, `uncovered` / `vanished` / `arrived` all empty — never by adding one, per the test's own standing instruction. The step is recorded in the comment block the test asks every mover to extend, so the next reader sees which packet moved it and by which mechanism. **`test_every_declared_repo_local_pin_in_this_repository_resolves`: retention, not a rewrite.** The regenerated index and its evidence record pin `50959c1831362d1f36dcc6bad19642bb5af5149f`, this branch's own commit, which `main` does not yet contain — so `pin_class` correctly called all three sites orphans. The nightly never hits this: it generates on `main`, so its pin is main's own tip and resolves as an ancestor. Making the pin resolve by moving it to a commit already on `main` is refused twice over — it would falsify what the run read, and `test_the_landed_index_reproduces_from_the_corpus_at_its_own_pin` would fail, because main's corpus still holds the 24 departed files and the index would not reproduce from it. So the repair is the one `ideation-cross-reference` names: "An orphaned pin on an immutable record is repaired by retention, never by editing the record." `refs/retention/pins/50959c1831362d1f36dcc6bad19642bb5af5149f` is published on `origin`, computed from the pin rather than chosen, joining the three refs already there — two of which are exactly how the 2026-08-24 readiness records resolve today, which is the practice this follows rather than invents. It is also insurance the ancestry alone would not give: a squash merge would strand the commit, and the retention ref survives that. `tests/doc-health/test_pin_reachability.py` + `test_sentinel_vocabulary.py`: 101 passed, 0 failed (2 failed before this commit). Lane: provenance-autonomous-merge
There was a problem hiding this comment.
🟢 Approval recommended
The changes consistently replace now-invalid in-repo links with explicit MOVED pointers, remove the relocated domain docs, and correctly update the pin-site test to reflect the newly committed readiness evidence record.
Review details
- Files reviewed: 45/47 changed files
- Comments generated: 0 new
- Review effort level: Lite
…e rule from freezing the estate G1 (MAJOR) — "a family that declares no re-derivation rule has not earned a pin: the edit MUST be refused" would have refused EVERY pinned-target edit in the estate on the day this change archives. Measured: NO family anywhere has a declared rule. The consent family's is PROPOSED only — the schema still reads contract_schema_version: 2, carries no custody_rederivations property, contracts/manifest.yaml still declares contract-v3.4, and all 46 boxes of add-consent-custody-rederivation-record are unticked. The register home models/content-address-families.yaml exists neither on OpsxFactory main nor on the branch that proposes it, where authoring it is task 2.1. And code_surface: none means this change archives ON LANDING with nothing to sequence behind. So the requirement now REPORTS an edit whose family has declared no rule — naming the family, the target and the home that owes it — and becomes a REFUSAL for that family the day it declares. The measurement is in § Impact, the clause and a new scenario pair are in the delta, and the refuse-outright reading is recorded in design D-7 as Brett Heap's veto point at task 1.2, with its cost stated: it stops the corrective work this rule exists to govern, the routine lifecycle-header discharge and the F.1/F.2 repairs included. G2 — proposal.md cited the OpsxFactory register at its ARCHIVE path as fact. That archive is in flight (#273 still OPEN), so both paths are now named: the live path at that repository's main today, and the archive path it files at on merge. A citation of an archive path written before the archive lands is a claim about a file that does not yet exist, which is the class of defect the citing repository's own gate exists to refuse. G3 — moved_by "#785" is now ideation/remove-moved-domain-files, another lane's OPEN pull request; the second time this trap has sprung on this lane after #757. Task 0.1 says so and is mandatory: re-stamp AT PR-OPEN, exactly one row moves, the seeder is otherwise a no-op. G4 — trailers. The earlier merge commit 5e69fa0 carried none; it is pushed and is not rewritten, because the branch does not force-push. Every commit from here, merge commits included, carries the three trailers. G5 — "7,139 characters" labelled the DELTA block as though it were the size of the change. Canon's block is 5,815. Re-measured after G7 and the line-one hoist below: delta 7,150, inserted 1,335, canon lines removed 0. Relabelled in the proposal, design, tasks and the README row, with the slice method stated so the number is checkable. G6 — a family's rule may be declared in the declaring repository's content-address register OR in the neutral contract that owns the family. Not a hedge: the consent family's rule is a property of the instrument schema and belongs in the contract wherever the instrument is held, while a repository-local family has no contract to live in. Naming only the register made the estate's one nearly-ready rule homeless. G7 — "needing nothing further from it" overstated the discharge; a header backfill is within the bookkeeping class AND still takes the route's recorded ruling. G8 — "the same day" is true in UTC only. Both timestamps are now named with their clock: govern-openspec-corpus-membership's archive commit 01ff343 at 2026-08-23T23:06:12-04:00 = 2026-08-24T03:06:12Z, against 57fd9fd2 at 2026-08-24T04:08:48-04:00 = 2026-08-24T08:08:48Z — five hours apart, same UTC date, one calendar day apart in the authoring clock. AND ONE FIND OF MY OWN, from running the twin's F1 check over this delta rather than assuming it was local: this half's second ADDED requirement had the SAME line-one defect — SHALL sat on line two, and the parser reads only line one. Hoisted here as it was there. Recorded in design, because a finding against one half of a matched pair is a hypothesis about the other half until measured. Box count 23 -> 24 (new task 1.2; 1.2-1.4 renumbered to 1.3-1.5). Gates at this head: pinned 1.12.0 --change strict 1 passed / 0 failed and --all --strict 99 passed / 2 failed with 0 UNDISPOSITIONED (main's two standing dispositions); validate-sequenced-after clean, --ledger-diff consistent (184 rows), validate-scope-globs clean, validate-manifest-digests 188 verify; pytest tests/sequenced_after tests/proposal-support tests/scope_globs 330 passed. Lane: opsXfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01SdF4BiCNseq3B2HFzkN3SJ
…ere, and a neutral minimum for the note J1 — the transition clause landed in the requirement body and a scenario, but the REFUSAL posture survived in four other places and contradicted it. All four are fixed. spec.md's "an edit that cannot re-derive its dependents may not land" listed "the rule is undeclared" as a refusal ground; it is struck from that list and named as deliberately not in it — an undeclared rule is an ABSENT OBLIGATION, not a failed re-derivation. tasks.md said the requirement "REFUSES an edit where none is declared"; it now reports and converts on declaration. design.md D-7's heading and Decision still read "refused until one is"; the heading is now "an undeclared family is REPORTED until it declares" and the decision states the transition, with the refusal reading kept as the recorded veto below. And D-7's rejected-alternatives line rejected "a warning where the rule is undeclared", which this packet's own report could be mistaken for — the line now draws the distinction: a warning names nothing, is recorded nowhere and expires with the terminal buffer, while the report NAMES the family, the target and the owing home, lands as a gate finding, and CONVERTS to a refusal on declaration. J2 — task 0.1's re-stamp procedure was measurably wrong, and I re-measured it rather than taking it on report. `--seed-ledger --moved-by '#999'` at this head printed "184 rows, 0 moved by #999" and produced a ZERO-LINE diff, leaving moved_by "#785" in place: the seeder preserves provenance for rows whose derived keys did not move, and this row's are already correct. Task 0.1 is now a DIRECT one-field edit of moved_by followed by --ledger-diff, which I also measured with the field edited by hand: "per-change sweep ledger consistent with the corpus (184 rows)". Legitimate because the ledger's own doctrine makes moved_by author-supplied and unverified, shape-checked only. J3 — .openspec.yaml cited the OpsxFactory register at its ARCHIVE path and said "archived 2026-09-07", while PR #273 is still OPEN and that path does not exist on that repository's main. Both places now hedge exactly as the proposal and the README row already did: live path today, archive path on #273's merge, "archive in flight". J4 — the requirement required "the bookkeeping note the editing repository's own archived-packet convention already requires", and openxFactory — the repository this capability is promoted in — HAS NO SUCH CONVENTION. Only OpsxFactory has written one down, so the delegation left the note obligation absent in the loosest repository in the estate, and the packet named only OpsxFactory and "every other DomainxFactory" as owing anything. The requirement now states a NEUTRAL MINIMUM: a dated `Edited (bookkeeping): <UTC date> by <change-id> — <edit class>` line in the edited file's OWN lifecycle-header block, the one part of an archived file this rule already permits the edit to touch — so recording the edit cannot itself be an edit the rule forbids. A local convention may be stricter and must not be absent. New scenario for the no-convention case, new task 3.4 adopting the minimum in openxFactory's own docs/document-lifecycle.md, and openxFactory is now named explicitly in § Impact and in the README row as owing an act of its own. J5 — "F.1 … discharged by add-consent-custody-rederivation-record" contradicted this packet's own measurement two sections later: that packet is a ratified PROPOSAL with 46/46 unticked, the three pins are still broken and the contract still reads contract_schema_version 2. Now "ADDRESSED BY — not discharged by", in the proposal and the README row, with the reason stated. J6 — a scenario bullet carried the dated fact "no family in the estate having declared one when this requirement was written", which promotes into undated canon. The scenario now states the condition undated — an absent obligation is a different fact from a failed re-derivation — and the dated measurement stays in § Impact and design where it belongs. Block re-measured after these edits: canon 5,815, delta 7,186, 1,371 inserted, 0 canon lines removed; relabelled in all four places. Box count 24 -> 25 (new task 3.4; the DomainxFactory sweep becomes 3.5). Gates at this head: pinned 1.12.0 --change strict 1/0 and --all --strict 99 passed / 2 failed with 0 UNDISPOSITIONED; validate-sequenced-after clean, --ledger-diff consistent (184 rows), scope-globs clean, manifest-digests 188 verify; doc-health finding set diff-identical to main (92/92, 0 either way); pytest tests/sequenced_after tests/proposal-support tests/scope_globs 330 passed. Lane: opsXfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01SdF4BiCNseq3B2HFzkN3SJ
PR #788 is open (openxfactory[bot], head 97d1e7f), so the provisional pointer can be made true. `moved_by` moves from "#785" to "#788" by a DIRECT one-field edit — one line, one key, nothing else in the file — which is what task 0.1 prescribes after the seeder was measured to be a no-op here: it re-derives the corpus and stamps provenance only on rows whose DERIVED keys moved, and this row's were already correct, so `--seed-ledger` leaves the old value in place. `--ledger-diff` reports "per-change sweep ledger consistent with the corpus (184 rows)". `moved_on` is deliberately NOT re-stamped. It records when the row's derived keys moved — 2026-09-08 — not when its provenance pointer was corrected, and the reference packet's row carries the same shape (`moved_by: "#774"` beside `moved_on: "2026-09-07"`). THE BOX STAYS UNTICKED, and the reason is the packet's convention rather than an oversight. This file's preamble holds that every box is unticked while the packet is a proposal, and it is `Status: draft` awaiting ratification at task 1.1. The precedent is exact: `add-consent-custody-rederivation-record` is `Status: ratified`, its ledger row carries the REAL pull request `#774`, and its tasks.md has ZERO ticked boxes. A true number in the ledger and an unticked box are not in tension — the row is bookkeeping the branch carries, the box is a claim about the packet having begun. The act is recorded instead as a dated PERFORMED note inside 0.1. One defect fixed in the same box while executing it: the pre-J2 instruction "Re-run … --seed-ledger --moved-by '#<real PR>'" had survived directly above "DO NOT RE-RUN THE SEEDER FOR THIS", so the box told a reader to do and not do the same thing in consecutive sentences. The stale lead-in is removed. No merge from main. The spec delta is untouched. Gates at this head: pinned 1.12.0 --change strict 1 passed / 0 failed; sequenced_after validation passed (41 active, 7 declaring); --ledger-diff consistent (184 rows); pytest tests/sequenced_after green; tasks 28 boxes, 0 ticked. Lane: opsXfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01SdF4BiCNseq3B2HFzkN3SJ
…` to the real pull request `#845` THE ACT TASK 0.1 DESCRIBES, PERFORMED AT PULL-REQUEST-OPEN. openxFactory PR [#845](#845) was opened by `openxfactory[bot]` on head `f7ed5956`, so the number this row's provenance pointer needs now exists. The number was RESOLVED BEFORE IT WAS WRITTEN rather than assumed: `gh api repos/opensoft/openxFactory/pulls/845` returns `state=open`, `head_sha=f7ed5956afb126fb520271794cb6ba67789396db` — this branch's exact head — `head_ref=change/archive-govern-archived-record-edits-2` and `base=main`. That check is the whole point of the box: `moved_by` is AUTHOR-SUPPLIED AND UNVERIFIED under the ledger's doctrine, only its `#<digits>` shape ever checked, so nothing downstream will catch a wrong number and a reader following the pointer is the only one who ever will. A DIRECT ONE-FIELD EDIT, AND THE SEEDER IS DELIBERATELY NOT RUN. `--seed-ledger` stamps provenance only on rows whose DERIVED keys moved; this row's derived keys were made correct by the archive commit and have not moved since, so the documented recipe would report a re-seed and change nothing — task 0.1 measured exactly that ("`184 rows, 0 moved by #999`", a ZERO-LINE diff) and concluded that a provenance-only correction is a hand edit. This is that hand edit: ONE field on ONE line, `moved_by: "#0"` -> `"#845"`. `git diff --numstat` reports `1 1` and nothing else in the file moves. `moved_on` IS NOT RE-STAMPED, and that is the same distinction task 0.1 drew when this row was last corrected. It records the date the row's DERIVED keys moved — `state` active -> archived, which happened today at the archive commit — not the date its provenance pointer was fixed. Both are 2026-09-09 here, so the field would not visibly change; it is left alone on the principle rather than on the coincidence. THE ARCHIVED `tasks.md` CANNOT RECORD THIS AND IS NOT ASKED TO. Task 0.1's own text anticipates the re-stamp and says the landing lane performs it, but that file is now at `openspec/changes/archive/2026-09-09-govern-archived-record-edits/tasks.md` and the requirement this very packet promoted — *An archived record is edited only as a bookkeeping correction under a recorded ruling* — refuses an edit to "a task record or its tick state" there. Ticking or annotating 0.1 to note the re-stamp would be precisely the edit the rule forbids, on the first packet it binds. SO THE RECORD LIVES HERE, in the commit that makes the change, which is where a `git log -- tests/sequenced_after/corpus-ledger.yaml` reader looks anyway. The packet is frozen as captured; the ledger is a live file and carries its own history. `#0` WAS CHOSEN SO THAT THIS MOMENT WOULD BE SAFE. GitHub numbers pull requests from 1, so the placeholder could never be mistaken for a real pointer in the window between the archive commit and this one — unlike the `#785` and `#757` guesses task 0.1 records, each of which became another lane's open pull request while its packet was in review. GATES. `scripts/validate-sequenced-after.py .` rc 0 — `archive-date agreement passed (no archived row's moved_on predates its directory)` and `archive-date-vs-commit agreement passed`. `--ledger-diff` rc 0 — `per-change sweep ledger consistent with the corpus (189 rows)`. Refs #845 Lane: opsXfactory-1 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01SaFpsA8fXdGedCp8kcyK9a
Both paths render the real index in ONE process and must come out byte-identical, so drift goes red here rather than months later in a repository whose pin happens to be stale. A deliberately stale renderer — PR #785's condition, reconstructed — is held to the declared status through _render_markdown and through persist() on disk, and proven to change nothing else about the projection. refs #793 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
… shared place (#985) * Declare the projection's Status once, where neither generator can disagree with it The ideation cross-reference `.md` must carry `Status: projection` (docs/document-lifecycle.md; declare-generated-projection-status, 2026-08-28). Two paths produce that file and each declared the value independently: the standalone renderer typed the literal, while doc_health's persist() does not render at all — it delegates to whichever copy of that renderer OPENXFACTORY_ROOT or the ancestor walk resolves, so a consuming repository pinned before fc78882 still emitted `Status: record`. The value now lives once, in scripts/projection_header.py beside output_boundary.py: the renderer appends STATUS_LINE, and the delegating path stamps STATUS_LINE onto whatever the resolved renderer returned. Neither can emit another value, whichever snapshot is reachable. refs #793 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Hold the two generators to the one declaration, and to each other Both paths render the real index in ONE process and must come out byte-identical, so drift goes red here rather than months later in a repository whose pin happens to be stale. A deliberately stale renderer — PR #785's condition, reconstructed — is held to the declared status through _render_markdown and through persist() on disk, and proven to change nothing else about the projection. refs #793 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Ask the syntax tree which literals the renderer evaluates, not the source text A substring scan for `Status:` over a whole file is answered by prose, and by prose that is true and should stay: a renderer explaining which status it emits will name it. The forbidden thing is a second EXECUTABLE copy of the value, so the check now reads string constants out of the tree with docstrings excluded — the same parsed-not-grepped instrument test_import_direction.py uses, and for the same reason. The declaration itself is held to composing its line from PROJECTION_STATUS. refs #793 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> * A vendored tree with scripts off sys.path must stamp, not raise doc_health is vendored, so the bare import of the declaration is the ordinary route but not a guaranteed one. _projection_stamp() falls back to reading the sibling file beside THIS module's own tree — never the renderer's, which is resolved from OPENXFACTORY_ROOT and may be any vintage, that being the defect itself. The suite's conftest puts this checkout's scripts/ on the path, which is what would mask the case, so the new test closes that route with a None entry in sys.modules and holds the stamp over a deliberately stale renderer regardless. refs #793 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
…ion (#791, #792) (#998) 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`'s original provenance and closing that issue by recorded disposition (exact option text on openxFactory #745). Issue 792 is CLOSED by its own recorded comment ([5646918211](#792 (comment))), which supersedes this lane's earlier CLAIMED comment there. This PR never touched `ideation/cross-reference.yaml` at any point, so nothing here changes; the packet and this description are narrowed to #791 accordingly (commits `cf8d035d`, `54bafe1c`). - **#791** — `openspec/specs/chain-anchoring/spec.md` (promoted canon) cites the MedxChain design notes at a path that will never resolve inside openxFactory again: pull request #509 vendored the file in (merged 2026-08-31), then pull request #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.md` at authoring time (sha `14835326d655dcac7eb70d73742544f2396ec9a0`). `#785`'s own judgement call 2 explicitly refused to hand-edit this file: > It is promoted canon; editing it outside an OpenSpec change would breach > the ratification boundary and open promotion-fidelity drift against its > own archived delta ... Flagged for a future amendment. So this PR does **not** hand-edit the promoted spec. It adds a small `MODIFIED Requirements` OpenSpec change, `openspec/changes/repoint-chain-anchoring-medxchain-citation/`, that repoints 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 NOT obligation, 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.md` task 1.2) — this PR only raises the governed amendment `#791` asks for. - **Issue 792 — out of this PR's scope; disposed separately, by retention, not by this packet.** (History: this PR's `.openspec.yaml` and README bullet 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_register` in `ideation/cross-reference.yaml` was never touched by any commit in this PR.) ## Sibling / merge-order checks - `gh pr diff 978 -R opensoft/openxFactory --name-only` touches `README.md`, `openspec/changes/decide-disposition-reading-per-family/*`, `tests/sequenced_after/corpus-ledger.yaml` — disjoint from every file this PR touches. - Bot PR **#888** (`doc-health/derive-possibles`) was checked against issue 792'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.yaml` edit at all. ## Fix round (2026-09-12, `6cffc015`) The required `pytest-suite` check failed on the first push (`fe1ca14e`) with five failures, and Copilot opened one thread. Both are addressed in `6cffc015`: - **`.openspec.yaml` was missing** (Copilot thread, now resolved): added, with a complete `ad_hoc` origin manifest citing `#791`/`#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 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_named`** failed because the packet's three new MODIFIED-block carriage-ledger findings (one per affected `chain-anchoring` requirement) were unnamed. Added the three `_LEDGER_SUBJECTS` rows (nine → twelve) and updated the test's own "nine"/history-trail prose to match, per its `quickstart.md` § WHEN THE GATE FAILS. - **Four `tests/sequenced_after/test_sweep.py` ledger-agreement tests** failed because the packet had no `tests/sequenced_after/corpus-ledger.yaml` row and `add-chain-anchoring`'s archived row was stale (`sole` → live `co-modifier`, since this packet's MODIFIED block now shares its three requirement 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-companion` entry rather than at the top of the list: `gh pr diff 978` showed open PR #978 anchoring its own new 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.md` now starts at `@@ -611,6 +611,46 @@`, clear of #978's `@@ -531,6 +531,57 @@`). - Copilot's second review (`6cffc015`) suppressed four further comments, all addressed in `9aaaa8cf`: `target_release: none` is not a sanctioned value per `release-realization`'s "Realization axis declaration" requirement (only `implemented` or a named release is) — changed to `implemented`; the `.openspec.yaml` origin now explicitly reconciles that issue #792's own 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 in `f7443d51`): the "six files" count two bullets above was itself stale the 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 #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 in `9cafc17f`): `.openspec.yaml`'s placeholder timestamp `2026-09-12T02:09:4xZ` (both occurrences) is now the exact per-comment time read back from the GitHub API (`5642768645` at `02:09:41Z`, `5642768762` at `02:09:42Z`); proposal.md's "archives on landing" was misleading given `scripts/proposal-support.py`'s archive wrapper refuses any packet with an unchecked `tasks.md` line and this packet's task 1.2 is unchecked by design (an **(OPERATOR)** act) — both `code_surface` and `target_release` now say archiving is gated on task 1.2, not on this PR landing; 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: draft` to proposal.md line 20, past doc-health's 15-real-line header window (`STATUS_SCAN_LINES = 15`) — moved to line 2 and verified with `doc_health.corpus.parse_status` directly 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`'s `related` now names only #791, and its origin `reason`/`proposed_by` quote Brett Heap's pick as it was made (a two-issue bundle) 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`) also rewords that pointer in both files away from a quoted "close #<number>" 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.md` and `tasks.md` never named issue 792, so neither changed 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 the narrowing clean (0 new comments each) and additionally flagged one more wording nit, addressed in `8319bfb5`: the Impact section's "Resolves the dead 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`) — the `Removed from canon by` marker 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-ledger `info` finding, and this packet's three findings are NAMED as deliberate in `tests/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, and `govern-sibling-added-modified-deltas`), while the archived `amend-*` 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:631` and `.openspec.yaml:11` (the origin pick still reads `Doc-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 #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-anchoring` is ARCHIVED and no active change on origin/main writes `chain-anchoring`. The field is OPTIONAL by the ratified substrate's own text ("Existing changes that declare no `sequenced_after:` SHALL be grandfathered with NO migration pass, and the prose sequencing obligation SHALL remain sufficient"), and the ledger row's `declares: absent` is the recorded reading, not a defect. `amend-chain-anchoring-readiness-and-durability` chose 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 = exactly `disposition-codexfactory-declared-renames` and `disposition-codexfactory-floor-relocation-retitle` (origin/main's known CLI-gap set, unchanged). - `python3 scripts/doc-health.py --single-repo . --family ideation-routing` (and `proposal-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 was cut, so a raw tip-to-tip diff over-counts — `gh pr diff 998 --name-only` agrees with this merge-base form) → seven files: `README.md`; this change's `.openspec.yaml`, `proposal.md`, `specs/chain-anchoring/spec.md`, and `tasks.md` (four files under `openspec/changes/repoint-chain-anchoring-medxchain-citation/`); `tests/doc-health/test_modified_block_currency_self_gate.py`; and `tests/sequenced_after/corpus-ledger.yaml`. **Commit-message note (2026-09-12).** Commit `cf8d035d` quotes 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 reaches `main`. 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](https://claude.com/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: - Propose a governed amendment that replaces four dead MedxChain provenance citations in the promoted chain-anchoring specification with the source document’s verified MedxFactory location. Enhancements: - Record issue #792 as separately disposed without modifying the historical possibles register provenance. - Add the amendment to the active changes index and update repository ledgers for its active co-modifier status. Documentation: - Document the amendment’s scope, provenance-only impact, operator-gated ratification, and decision to preserve the possibles register as an immutable historical run record. Tests: - Register the amendment’s three modified requirements with the currency self-gate and update the sequenced-after corpus ledger. - Update related self-gate expectations and history for the newly tracked modified blocks.
…hot (#1159) (#1184) Repairs the three snapshot-dangling-cluster-ref findings to cl-plane-1 that made the real corpus snapshot fail contract validation and stopped the nightly dashboard refresh at the parent's precheck. The cluster was never renamed or removed; the snapshot generator reads only the first Topics: line within the first 15 header lines, and b75d7ee (PR #785) removed the only three documents that declared plane-1 inside that window, so the snapshot could no longer derive the cluster the three possibles claim. This reflows the Plane-1 roster's Summary (whitespace only, same bytes, same first Summary line) so its existing Topics: line sits back on line 15; the index needs no regeneration and the derive records stay as written. Real seal: precheck validated, 400 documents, returncode 0; product validator 0 errors. Landed on Brett Heap's word of 2026-09-27, verbatim "land #1159 and #1182 when green". Follow-ups noted in the PR body, not in scope: a real-corpus regression gate, the wider divergence between the generator's and the scorer's header readers in openXdox, and the now-idle #1159 row in KNOWN_STRICT_FINDINGS. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: provenance-autonomous-merge
Half 2 of 2 of the ideation split. Three receiving pull requests copied 24 domain-owned ideation files into the DomainxFactory that owns their subject; this removes them from the neutral corpus, deletes one stale stub, and repairs every live pointer and generated index that named them.
The ruling
Brett Heap, 2026-09-07T22:21Z, verbatim "accept all [A]", on the decision sheet
~/session-prompts/ideation-split-decision-2026-09-07.md(Q1[A] redact the two sensitive files · Q2[A] editorial split oftreatment-options-engine· Q3[A] delete thecampaign-marketingstub · Q4[A] three receiving PRs plus one openxFactory removal PR that also re-runs the cross-reference and updates README/INDEX pointers, with a NotebookLM sync across all three repositories after landing). The same ruling is recorded on the governed side as OQ-3 ofadopt-codexfactory-repository-identity(review/ratification-2026-09-07.md), where publication is accepted gated on these moves landing first.The corpus rule being discharged is
ideation/README.md's own: "Each DomainxFactory keeps its ownideation/area for domain-scoped topics; cross-factory and contract-level topics belong here in openxFactory." All 24 files already named their domain owner in their mandatoryRepository context:header.Destination verification — every copy confirmed BEFORE its source was deleted
No file was deleted on trust. Each destination path was resolved with
git cat-file -e <ref>:<path>against a freshly fetched read-only sibling checkout, or withgh api .../contents/<path>?ref=<sha>where the checkout'soriginwas stale.opensoft/codexFactory(PR #283)83c9c35aandorigin/maina8f133d2git cat-file -einxFactories/codexFactory(fetched read-only)MedxSoft/MedxFactory(PR #26 →a6565761)74bed502git cat-file -einxFactories/MedxFactory(fetched read-only)ledgerXfactory/LedgerxFactory(PR #33)6921aea3gh api repos/ledgerXfactory/LedgerxFactory/contents/…?ref=6921aea3— the local checkout still pointsoriginatopensoft/LedgerxFactory, whichghconfirms is the SAME repository (id1281785307) after an org transfer6c4f452a, 5,632 bytes)MedxSoft/MedxFactory— the Q2 clinical half74bed502git cat-file -eideation/staging/treatment-plan-generation/treatment-options-engine-clinical.mdpresentEvery destination path is the SAME repository-relative path the file had here. Also re-verified as already landed on
main: #771 (addresses redacted — no hit for any of the three addresses anywhere underideation/) and #772 (treatment-options-engine.mdreduced to the neutral remainder, 253 lines, with a## Moved to MedxFactorysection).Nothing needs a follow-up: all 25 deletions verified. No file was held back.
The 25 deletions
14 → codexFactory —
ideation/brainstorm/codexfactory-domain-{overview,hermes-content,roster-draft,policy-model,deliberation,memory-and-practices,synthesis-authority-and-deliberation,synthesis-policy-and-memory}.md,ideation/brainstorm/nightly-sweep-council-clearance-rule.md, andideation/staging/codexfactory-domain-hermes-content/(primary fragment +openspec/{proposal,proposal-b,tasks,tasks-b}.md).9 → MedxFactory —
ideation/brainstorm/medical-domain-{overview,clinical-authority-boundary,specialized-worker-envelope,synthesis-clinical-execution}.md,medical-omnigent-harness-adaptation.md,medxchain-blockchain-medical-records.md,medxfactory-domain-roster-draft.md,hermes-recursive-subject-establishment-medx-patient-intake-profile.md, andideation/staging/medxfactory-domain-hermes-content/.1 → LedgerxFactory —
ideation/brainstorm/hermes-recursive-subject-establishment-ledgerx-company-intake-profile.md.1 stub deleted (Q3[A]) —
ideation/staging/campaign-memory-fill-maintenance-mapping/campaign-marketing.md:Summary: TO WRITE …, body## Possible feats/- TODO, drafted 2026-08-10 from a lens selection and never written. It also settles a real tree/index disagreement the inventory surfaced — the folder existed whilestaging/INDEX.md, the kept-current inventory of every staged topic, carried no row for it. So there was no INDEX row to remove. Its gate-action record underideation/dashboard/gate-records/is untouched: it is an immutable audit entry saying brettheap created a document that day, and that stays true.History stays in openxFactory — these are cross-repo copies, so
git log --followkeeps each file's full authoring lineage here, and each destination copy carries amoved from openxFactory@<sha>header line back to it.INDEX.md, README and cross-reference repairs
ideation/staging/INDEX.mdgained the case it never had. Its maintenance rule enumerated new-topic / file-added-or-removed / partial-promotion / full-promotion / demotion — all of them movement INTO an OpenSpec change. A topic can also leave SIDEWAYS to the repository that owns its subject, and that had no written convention, so a fifth bullet is added rather than a convention improvised silently: keep the row, UNLINK the topic name so no anchor dangles, replace the narrative with a one-lineMOVED <date> to <org>/<repo>@<sha> <path>pointer, drop the detail section, put the packet-level pointer inideation/README.md, and verify the destination copy exists at the named commit before deleting the source.Applied to
codexfactory-domain-hermes-contentandmedxfactory-domain-hermes-content. Both were already CLOSED — all four exit changes ratified, realized and archived, both primary docs markedsuperseded2026-08-28 bysettle-aging-staging-topics— so what moved is provenance, not live queue work, and both rows now carryFiles: 0. 35 rows / 35 sections → 33 linked rows + 2 unlinked MOVED rows / 33 sections, with anchors and sections verified in exact correspondence (no dangling anchor, no section without a row).treatment-options-engineSPLIT and STAYS (Q2[A]). Row and detail section now describe both halves: the neutralgoverned-derived-modelremainder here (253 lines — three deltas, claims 1/2/5/6 as neutral rules, conflict 2, the neutral leg of Exit); the clinical half atMedxSoft/MedxFactory@74bed502ideation/staging/treatment-plan-generation/treatment-options-engine-clinical.md(the measured corpus recon and its four shape corrections, claims 3/4/7, the six-step capability description, build order, idea notes 1–6, conflicts 1 and 3–6, all ten open questions, the five MedxRelated workentries, the Medx leg of Exit). The three blockers travelled with the clinical half and still gate the neutral change — Q7, Q8, Q9 — so the row names them where they now live rather than dropping them; Q10 gates the Medx change only. The claim numbering keeps its gaps on purpose so claim-by-number citations resolve across both halves.ideation/README.mdgains a## Moved to a DomainxFactory (2026-09-07)section: the full 24-file inventory by destination with the commit each landed at, the ruling, and the note that history stays here. Its two packet-overview entries and its five active-list codexFactory entries — all of which linked directly at deleted files — collapse into MOVED pointers naming the destination. TheHermes-Layer Persona Character Modelentry between them stays, and the pointer says why: it asks how much character any Hermes decider carries, not what codexFactory's deciders decide.Sixteen retained brainstorms cited the departed files. Nine carried real markdown links that would 404 (the recursive-subject-establishment packet's Ledgerx and Medx profile links across four documents;
medical-domain-overview.mdfrom the avatar and worker-execution syntheses;medical-omnigent-harness-adaptation.mdfrom the recursive-inference pilots;nightly-sweep-council-clearance-rule.mdfrom two practice-adoption docs) — now plain text naming the destination repository and commit. Seven more cited a filename in prose or in a header field (Sibling of,Parent:,principle:) — still-true citations of design history that a reader could no longer resolve; each gains the destination inline. Verified: every relative markdown link underideation/resolves except the 14 already broken onorigin/main, none of which names a file this split touched.Cross-reference regenerated with the readiness lane, NOT the bootstrap.
ideation/cross-reference.yaml's header names the readiness scorer as its producer (generator_version: ideation-xref-scorer-0.1.0), andscripts/bootstrap-ideation-cross-reference.py— the one-time 2026-07-14 seed the task named — would have downgraded the file: its documented posture ispossibles_register: ABSENT, so it would have destroyed 32 register entries carrying Brett's own dispositions and their evidence hashes.scripts/doc_health/readiness_dispatch.pycarries the register through unchanged by design ("a readiness re-score that dropped it would silently destroy merged possibles and their disposition audit trails"). Run asscripts/ideation-readiness-nightly.py --phase merge --as-of 2026-09-08 --run-id ideation-split-domain-file-removal-20260908, with no worker results collected — which is how the landed file's tiers were already unscored — and the immutable per-run evidence record rides inhealth/ideation-readiness/2026-09-08/, on the precedent ofbrainstorm-packet-migration-final-20260824(#322).topic_entriesnow references NO deleted path, verified by resolving every member path in all 295 clusters against the tree: 0 missing.Which lines are the split and which are absorbed staleness. The landed index was generated at
4e57009c(2026-08-24) and the corpus grew since, so a regeneration onorigin/mainALONE — measured in a throwaway worktree — already moves 1,747 insertions / 226 deletions and 290 → 325 clusters. The split's own delta, measured as base-regeneration against this tree, is 30 clusters removed and 1,212 changed lines; 28 of the 30 were in the landed index. They are clusters the multi-doc gate no longer forms because a departed file was one of only two members (cl-agent-mixes,cl-agent-roster,cl-clinical-roster,cl-codexfactory-domain,cl-domain-memory,cl-domain-policy,cl-escalation-rules,cl-gate-rules-council,cl-ledgerx,cl-medical-domain,cl-memory-boundaries,cl-merge-readiness-council,cl-trait-frameworkand the rest). A cross-reference index surfaces RECURRENCE across documents; one document is not a cross-reference, so the gate dropping them is the rule working. Net against the landed file: 290 → 295 clusters.The regeneration moves the pin census, and its branch-side pin is RETAINED, not rewritten
Two doc-health tests caught the regeneration. Both were right, and both are discharged the way their own design says to.
tests/doc-health/test_sentinel_vocabulary.py::test_the_pin_counts_did_not_move_and_no_site_is_classified_twice: 70 → 71. Persisting the readiness lane'sideation_readiness_runevidence record beside the regenerated index adds asource_revisionpin site. This is the SECOND mechanism that moves that census by design — the full-promotionsupporting-docs/manifest.yamlis the first — and unlike that one it fires whenever the readiness lane's merge phase runs and commits, which the nightly does onmainand a packet does on a branch. It joins the EXISTINGideation-readiness-runmember (whose two 2026-08-24 records are already counted), so the member count does NOT move and holds at 24. Enumerated withpin_class.verify()on the committed tree — 71 results, 24 members,lost1,uncovered/vanished/arrivedempty — never by adding one, per the test's own standing instruction, and the step is recorded in the comment block the test asks every mover to extend.tests/doc-health/test_pin_reachability.py::test_every_declared_repo_local_pin_in_this_repository_resolves: repaired by retention. The regenerated index, its.mdprojection and its evidence record pin50959c1831362d1f36dcc6bad19642bb5af5149f— this branch's own commit, whichmaindoes not yet contain — sopin_classcorrectly called all three sites orphans. The nightly never hits this: it generates onmain, so its pin is main's own tip and resolves as an ancestor. Moving the pin to a commit already onmainis refused twice over — it would falsify what the run read, andtest_the_landed_index_reproduces_from_the_corpus_at_its_own_pinwould then fail, because main's corpus still holds the 24 departed files and the index would not reproduce from it.So the repair is the one
ideation-cross-referencenames: "An orphaned pin on an immutable record is repaired by retention, never by editing the record."refs/retention/pins/50959c1831362d1f36dcc6bad19642bb5af5149fis published onorigin— computed from the pin rather than chosen — joining the three refs already in that namespace, two of which are exactly how the 2026-08-24 readiness records resolve today. It is also insurance the merge ancestry alone would not give: a squash merge would strand the commit, and the retention ref survives that.Both files green after the discharge: 101 passed, 0 failed (2 failed before).
Judgement calls, stated
possibles_registerdocuments still name a departed file, and they stay. Each is a human-dispositioned record of what the 2026-07-23 derive-possibles runDPOSS-71aecbb1422dactually read — Brett'soutcome: acceptedbeside apassage_sha256. Rewritingprovenance.documentwould falsify the record of a run, the same trap this capability's own requirement "An orphaned pin on an immutable record is repaired by retention, never by editing the record" refuses for pins. Nothing is orphaned either way (the bytes are reachable in this repository's history and at the destinations), and the schema'sdocumentis a free string with no cross-repo form to move them to. Recorded inideation/README.mdwhere a reader will find it.openspec/specs/chain-anchoring/spec.mdNOT edited. It cites the MedxChain notes as the named source of three carried obligations. It is promoted canon; editing it outside an OpenSpec change would breach the ratification boundary and open promotion-fidelity drift against its own archived delta. The requirement already anticipates exactly this state in its own words — "THIS OBLIGATION IS CARRIED FROM A NAMED SOURCE, AND THE SOURCE IS NOT IN THE TREE YET … The obligation does not depend on the citation" — so the citation returns to the dead-reference state the spec wrote itself to survive. Flagged for a future amendment. The notes are atMedxSoft/MedxFactory@74bed502and in this repository's history.health/derive-possibles/2026-07-23/,ideation/dashboard/gate-records/,specs/027-spent-bundle-state/evidence/doc-health-rows-{base,head}.txt,openspec/changes/add-chain-attestation/review/(also an active change — untouchable here), and everything underopenspec/changes/archive/. A record of what was true on a date stays true.persist()'s internal_render_markdowninscripts/doc_health/ideation_readiness.pystamps the projectionStatus: record, whilescripts/render-ideation-cross-reference.pystampsStatus: projection— which is what the landed file carries and whatdocs/document-lifecycle.mdrequires. The.mdhere was re-rendered with the standalone renderer so it lands correct; the generator disagreement is a code defect inscripts/and wants its own change.docs/,config/orexamples/enumerates ideation files —sync-notebooklm-books.pywalks each repository'sideation/tree fresh and deletes stale sources by title, so book membership self-heals on the next--apply.Validation
OPENSPEC_TELEMETRY=0 openspec validate --all --strict—Totals: 100 passed, 1 failed (101 items). The one failure ischange/disposition-codexfactory-declared-renames, identical to the pre-change baseline measured on this tree. No failure added.git diff --stat origin/main...HEAD -- openspec/changes/— EMPTY.-- openspec/is empty too: this PR touches nothing underopenspec/at all, so no Rule 6 landing window is owed.scripts/doc-health.py --skip-family release-tag-publication; that one family blocks on a network call in a local run) — 91 → 87 findings. Four pre-existing ideation findings DROPPED:staged-topic-templateoncampaign-marketing.md, oncodexfactory-domain-hermes-content.mdand onmedxfactory-domain-hermes-content.md, plusstaged-candidate-aging"staged topic untouched 30 days" oncampaign-memory-fill-maintenance-mapping. The single row that differs in the other direction is the samestaged-candidate-agingtrend-data line re-measured (n=75→n=71,severity=info,class=contested, "trend data — no action required") — the same finding with a new number, not a new defect. No new finding attributable to this PR.validate-ideation-cross-reference(rc=1, byte-identical — the same 3 pre-existing errors, all intests/ideation-dashboard/fixtures/base-repo/, none in the real index),validate-ideation-routing(0/0, byte-identical),validate-document-catalog(0/0, byte-identical),validate-ideation-dashboard-contracts(0/0; its one output difference is the committed-manifest guard's file count, 2128 → 2129 tracked YAML files, because this PR adds the readiness evidence record — a count, not a finding).python3 -m pytest tests/ -q -m "not postgres"— the fulltests/tree is 10,043 collected items (338 deselected) and runs past the time budget for a single local pass, so per the fallback: the ideation- and doc-health-owning modules ran green —tests/doc-health/test_{ideation_readiness,readiness_dispatch,readiness_proof_resolution,derive_possibles,lifecycle_scan_set,inventory,status_reader_real_lines}.py,tests/notebooklm,tests/ideation_routing,tests/corpus-adapter,tests/document_catalog,tests/sequenced_after— 744 passed, 37 subtests passed, 0 failed in 55s. A widerpytest tests/ -xpass got through 678 passed before stopping on a PRE-EXISTING environment error intests/clearing/test_origin_signature.pythat is unrelated to this change and reproduces identically on a cleanorigin/mainworktree (15 errors there):SystemExit: validate-clearing-dispatch: the pinned openXwallet reader is not at …/openXwallet/scripts/validate-openxwallet.py. Run \git submodule update --init openXwallet`— a git worktree does not materialize submodules. CI runs the suite with submodules initialized and is the authority on the full count — **and it is green:pytest-suitePASSES atdc41786**, alongsidelane-line,openspec-cli-pin,clearing-dispatch-gate,merge-master-approval,openreposhape-pin,release-tag-gate,signed-execution-chain-gateandwallet-validation`. Every required check on this pull request is passing.git grepfor each of the 25 deleted paths — remaining hits are only: this PR's own MOVED pointers (ideation/README.md,ideation/staging/INDEX.md, four brainstorms), the eightpossibles_registerprovenance entries (judgement call 1), the immutable records of judgement call 3, andopenspec/specs/chain-anchoring/spec.md(judgement call 2). No live navigational pointer is left dangling.Not for merge without Brett's word. Does not touch
openspec/changes/(no Rule 6). NotebookLM sync for openxFactory, MedxFactory and codexFactory follows landing.