Skip to content

Propose add-doxbench-editing-phase-a: Editor/Preview right panel, Save/Cancel, chat-on-active-buffer - #186

Merged
brettheap merged 1 commit into
mainfrom
change/add-doxbench-editing-phase-a
Aug 15, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/add-doxbench-editing-phase-a

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Phase A of the doxbench-editing-model staged topic — sequenced FIRST of Brett's four 2026-08-15 staging topics, and split into two phases by that same ruling.

The ruled model

Brett's 2026-08-15 direction is one sentence: left selects, center chat works, right shows the result with Save and Cancel. The staged topic carries it as seven claims. Phase A is the half of that model that fits the existing two-buffer machinery with no invariant break; Phase B is the half that requires re-cutting three runtime contracts at once.

The four ratified dispositions this change exits

All four were dispositioned accepted-as-recommended by Brett on 2026-08-15 (commit aa29c42), and each is realized here as written:

  • Q2 — Save/Cancel semantics. Save = commit-per-gate-action on the session's draft branch (the existing branch-session substrate), with PR-as-save (open-pr) remaining the promotion act exactly as already ratified; Cancel = discard the active buffer back to its base_content, reusing discardBuffer unchanged.
  • Q4 — chat-context binding. The chat binds to the ACTIVE left-panel selection; switching switches the working context immediately, with no confirm step; every turn record names the exact buffer (path) it acted on, generalizing today's active_document_path revalidation rather than replacing it.
  • Q5 — Editor/Preview default and sync. Preview is the default tab, with a live re-render on every switch INTO Preview, reusing the existing debounced-preview machinery.
  • Q6 — concurrent-edit safety. The existing content-hash generation guard is kept exactly as designed, applied per buffer — a turn or a Save against a moved identity refuses, as applyProposalToBuffer and the turn-assembly revalidation already do.

Q1 (numbered tabs / overflow) and Q3 (dirty-tile signalling) remain open. The topic stays STAGED carrying them.

What the delta says

One ideation-dashboard delta — 1 MODIFIED + 5 ADDED:

Requirement What it settles
MODIFIED doxBench scoped view The canvas presents exactly ONE buffer — the ACTIVE one — and the CONTEXT REGION chooses it: the outline selection tab activates the outline buffer, a scoped docs selection activates the document buffer. The canvas renders no second buffer-selection tablist. Editing plus live preview is now the Editor/Preview view-tab pair rather than a side-by-side split.
ADDED The doxBench canvas presents Editor and Preview view tabs Two view tabs over the active buffer, raw Markdown and large rendered preview, never side by side; Preview selected at mount; switching INTO Preview flushes the render; one rendering path, one debounce, no second sanitizer or raw-markup sink; view tabs may never select a buffer.
ADDED One Save and one Cancel govern the doxBench canvas Exactly one of each, outside both view tabs. Save's semantics, ordering, authority and per-buffer verdict reporting are UNCHANGED — only the button count. Cancel discards the ACTIVE buffer only. Neither control gains a force path, a bypass, or a second write route.
ADDED The doxBench chat binds to the active buffer selection Working context IS the active buffer; the switch is immediate with no confirm step; the outline selection tab puts the chat in outline-editing context; every turn record names the buffer it was bound to; the existing active-path revalidation is preserved; binding governs what the chat works ON, never what the turn is grounded on.
ADDED The canvas controls stay inside the per-buffer staleness guard Consolidating controls onto the panel creates no path around the guard. Save refuses a moved identity; Apply refuses stale; a mismatched hash refuses before any provider call; Cancel fires the settled-identity notification; a second Save and a mid-flight edit are refused, never queued.
ADDED The canvas view surface is expressed over the buffer set, not over two names View tabs, Save, Cancel, and the binding read the buffer enumeration and the active key rather than hard-coding outline/document. Explicitly does NOT widen the buffer set — the exactly-two rule stands unchanged, so Phase B changes the buffer contract and nothing on this surface.

What the code reading changed versus the topic as staged

The staging topic's Conflicts section recorded the per-buffer-Save-vs-panel-level-Save reconciliation as unresolved design work. Reading doxbench-editor.js settles it:

save() is already whole-canvas. It takes no argument, computes BUFFER_KINDS.filter((kind) => state.buffers[kind].dirty), and hands the entire changed set to the seam in ONE call; both rendered Save buttons invoke that same function. There are not two Saves — there is one Save drawn twice. So Claim 6 asks for a button count change and no Save semantics change at all. Discard is the genuinely per-buffer control, and Q2 names the ACTIVE buffer as Cancel's target — hence the deliberate asymmetry (Save broad because it has a cross-buffer ordering dependency and a governed act behind it; Cancel narrow because discard destroys unsaved human work and has none).

This is also the same call Brett already made on 2026-08-10 for the draft-seed surface, recorded verbatim in staging-workbench.js: "keep the tabs, put ONE save on both", with the action in chrome outside both panes "so save and the answer it gets are on screen whichever tab the human is standing on." The canvas now follows the surface beside it instead of contradicting it.

The naming collisions, closed

  • "tab" now has three levels in two panels. Resolved as selection tab (context region: docs/lens/outline), view tab (canvas: Editor/Preview, new DOXBENCH_VIEW_TABS / doxbench-viewtab), and buffer — never called a "tab" again. DOXBENCH_BUFFER_TABS retires as a rendered control; BUFFER_KINDS stays the single enumeration authority.
  • "edit" named three different acts. Resolved: edit-document/edit-apply are MACHINE KEYS and are never renamed; the bare word in doxBench copy is reserved for editing INSIDE the app; viewer.js's ✎ edit escape hatch is relabelled to name the EXTERNAL editor. Closing this with two claimants is cheaper than closing it after Phase B adds a third.

Explicitly deferred to Phase B

Each is out because it needs the N-buffer generalization Phase A deliberately does not perform:

  • Numbered per-document left-panel tabs (Claim 1) and their overflow policy — Q1 still open.
  • The docs-wheel edit verb (Claim 3) — it opens a document as a new numbered tab, which Phase A has nowhere to put.
  • The dirty-tile wheel marker (Claim 4) — Q3 still open; only meaningful once more than one document can be open.
  • The N-buffer generalization itself: BUFFER_KINDS + validatedDoxBenchState's exactly-two-keys throw, require_outline_and_document + PROPOSAL_TARGETS, and SAVE_BUFFER_ORDER with its outline-establishes-session-ancestry dependency.
  • Retiring the canvas document picker (design D3) — removing a working keyboard-reachable control is a separate argument from adding a route beside it.

Validation

OPENSPEC_TELEMETRY=0 openspec validate add-doxbench-editing-phase-a --strict
  → Change 'add-doxbench-editing-phase-a' is valid

OPENSPEC_TELEMETRY=0 openspec validate --all --strict
  → Totals: 59 passed, 0 failed (59 items)

Doc-health (scripts/doc-health.py --single-repo ., before/after with --previous-report):

  • Baseline: 3 critical, 6 error, 39 warning, 3 info
  • After: 3 critical, 6 error, 39 warning, 3 info — identical
  • --new-findings-out → [] (zero new findings)

The first post-change run did raise one new proposal-origin warning ("proposal carries no origin declaration"); it was closed properly by adding .openspec.yaml declaring origin.kind: staged against openxFactory:staging:doxbench-editing-model, not suppressed. The only remaining before/after diff is the corpus word count from the INDEX.md note.

Bookkeeping

  • target_release: none — no schema change, no new artifact kind, no new gate verb.
  • README "OpenSpec Records" active block gains the entry.
  • The staging topic's "Last proposal attempt" slot is deliberately NOT filled — per the template that slot fills on DEMOTE only. The INDEX detail section notes that Phase A was raised.

Do not merge — Brett ratifies by reading.

🤖 Generated with Claude Code

…e/Cancel, chat-on-active-buffer

Phase A of the doxbench-editing-model staged topic, sequenced first of Brett's
four 2026-08-15 topics. Delivers the four dispositioned Phase-A answers on the
EXISTING two-buffer machinery, with no invariant break:

- the authoring canvas presents the ACTIVE buffer, chosen by the context region
  rather than by a second tablist of its own
- an Editor/Preview VIEW-TAB pair replaces the side-by-side textarea+preview
  split, Preview default, flushed on every switch into it (Q5)
- one Save and one Cancel replace the duplicated per-buffer toolbar pair: Save
  keeps its ratified branch-session semantics unchanged, Cancel discards the
  ACTIVE buffer to base_content (Q2)
- the chat binds to the active buffer immediately with no confirm step, and
  every turn record names the buffer path it acted on (Q4)
- the per-buffer staleness guard is asserted to survive the consolidation (Q6)

Reading the code settled the Conflicts section's open reconciliation: save() is
already whole-canvas (BUFFER_KINDS.filter(dirty), one seam call) and merely
drawn twice, so Claim 6 changes the button count and no Save semantics; Discard
is the genuinely per-buffer control. Also resolves the "tab" (selection / view /
buffer) and "edit" (gate verb / in-app / external escape hatch) naming
collisions before Phase B can widen them.

Phase B is explicitly out of scope: numbered multi-document tabs, the docs-wheel
edit verb, the dirty-tile marker, and the N-buffer generalization of
BUFFER_KINDS / require_outline_and_document / SAVE_BUFFER_ORDER. Topic stays
staged with Q1 and Q3 open.

One ideation-dashboard delta: 1 MODIFIED + 5 ADDED requirements. No contract
release. openspec validate --strict and --all --strict both green; doc-health
zero new findings.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 15, 2026 14:21

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new OpenSpec change proposal, add-doxbench-editing-phase-a, documenting Phase A of the staged doxbench-editing-model for the ideation dashboard’s doxBench editing interaction model (active buffer, Editor/Preview view tabs, single Save/Cancel, and chat bound to the active buffer), and records it in the repository’s OpenSpec indexes.

Changes:

  • Adds the Phase A proposal package (proposal, design, tasks, spec delta, and origin metadata) under openspec/changes/add-doxbench-editing-phase-a/.
  • Updates OpenSpec record-keeping to list the new active change in README.md and to note the proposal raise in ideation/staging/INDEX.md.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Adds the new active OpenSpec change entry for add-doxbench-editing-phase-a.
ideation/staging/INDEX.md Records that the Phase A proposal was raised and summarizes scope boundaries vs Phase B.
openspec/changes/add-doxbench-editing-phase-a/tasks.md Adds the Phase A task checklist (contract, UI behavior, binding, staleness guard, tests, records).
openspec/changes/add-doxbench-editing-phase-a/specs/ideation-dashboard/spec.md Defines the ideation-dashboard delta: 1 modified requirement and 5 added requirements for Phase A.
openspec/changes/add-doxbench-editing-phase-a/proposal.md Adds the proposal narrative and scope/impact statement (Status: draft, target_release: none).
openspec/changes/add-doxbench-editing-phase-a/design.md Captures the design rationale and vocabulary resolutions (selection tab vs view tab vs buffer; “edit” disambiguation).
openspec/changes/add-doxbench-editing-phase-a/.openspec.yaml Declares change metadata and staged-topic origin linkage for proposal provenance.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@brettheap
brettheap merged commit 119d94f into main Aug 15, 2026
1 check passed
@brettheap
brettheap deleted the change/add-doxbench-editing-phase-a branch August 15, 2026 14:24
brettheap pushed a commit that referenced this pull request Sep 3, 2026
… the two-packet collision

THE OPENXFACTORY HALF OF THE FLOOR REPAIR THIS PACKET'S OWN PROMOTION FORCED,
TAKEN A SECOND TIME AND FOR A REASON THAT IS NOT A CORRECTION OF THE FIRST.

TWO openxFactory packets each promoted a NEW capability on 2026-09-03, and
codexFactory's `repository_gate_floor` for this repository is REGENERATED BY
ENUMERATING A TREE rather than by editing a list. `add-project-repo-schema`
(PR #616, merged 20:49Z as `19d00872`) landed first and codexFactory PR #183
(`605d48ac`) regenerated for it. codexFactory PR #184 (`8cb17373`) then
regenerated for THIS packet at `c9928846` — PR #615's PRE-MERGE branch head,
which did not yet carry #616's promotion — so its block went 54 -> 54 rather
than 54 -> 55 and SILENTLY DROPPED `openspec/specs/project-repo-schema/spec.md`,
the entry #183 had just landed.

NEITHER EARLIER PULL REQUEST IS DEFECTIVE. Each regenerated at a real tree,
exactly as CSC-C7 requires. This is the failure mode a two-lander collision
HAS, and the pinned core's `docs/repository-gate-floor-repair-runbook.md`
already answers it by making the SECOND LANDER regenerate once at its OWN
POST-MAIN-MERGE head.

AND `main` WAS NEVER BROKEN IN THE INTERVAL — stated so nobody hunts an
incident that did not happen. `main`'s pin named `605d48ac`, whose 58-entry
floor covers `main`'s 54-spec tree INCLUDING `project-repo-schema`. The gap
becomes reachable only when THIS packet's fifty-fifth spec lands, which is the
moment this advance exists to serve.

CODEXFACTORY'S HALF LANDED: PR #186, MERGE COMMIT (not squash)
`8f770afbf86043ee0f5494ded0f12f51c2a9b45e`, 2026-09-03T21:55:35Z, regenerated
at openxFactory `8d893a0f` — this branch's merge of `main` `19d00872`, and the
FIRST COMMIT ANYWHERE carrying fifty-five tracked paths under
`openspec/specs` — restoring `project-repo-schema` BESIDE
`standards-body-registry`. codexFactory `main` was re-verified at that same
commit by `git ls-remote` immediately before this advance rather than assumed.

FIVE SITES MOVE, IN ONE LOGICAL CHANGE, because the tests fail if any of them
disagree:

  contracts/review-lane-pin.yaml               core_commit  605d48ac -> 8f770afb
  .github/workflows/merge-master-approval.yml  PINNED_CORE_COMMIT (same)
  .github/workflows/merge-master-approval.yml  core checkout ref: (same)
  .github/workflows/pytest-suite.yml           core checkout ref: (same)
  contracts/review-lane-floor-snapshot.yaml    re-copied at the new commit

and the snapshot's declared witnesses move with it: `entry_count` 58 -> 63,
`sha256` 6ab79400… -> b8f95136916fc58d297a8319408bebbffaf327790fd2885a677e22de193f41f8.

THIS PIN NEVER NAMED `8cb17373`, AND THAT IS RECORDED RATHER THAN TIDIED AWAY.
Commit `0d17d1be` on this branch DID advance onto it at 16:24, and the later
catch-up merge of `main` — which carried PR #616's own advance to `605d48ac` —
resolved the pin sites to `main`'s side, so the intermediate 58-entry state
`8cb17373` describes was never the state this branch shipped. A reader
comparing this file's history to codexFactory's will see #184 land and this pin
skip it; that is the collision, not a lost edit.

THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED (CSC-C7). It is a byte copy
fetched from the pinned core at `8f770afb` and verified THREE independent ways:
sha256 as above over 12492 bytes; GIT'S OWN CONTENT ADDRESSING —
`git hash-object` of the vendored file equals the blob sha codexFactory's tree
carries at that path and commit, `351c47fb5bfad13697dc6c777b9bb17a147e8e45`;
and `cmp` against a REAL shallow checkout of codexFactory at that commit. The
freshness comparison in `test_floor_snapshot.py` — which SKIPS when the core is
absent — was additionally run WITH that core on disk
(`PINNED_CORE_CHECKOUT=…`): 56 passed, ZERO skipped, so the byte-for-byte
assertion CI performs actually ran and passed here.

THE FLOOR GREW BY FIVE, AND ONLY ONE OF THEM IS A SPEC. Measured on the merged
tree, not inferred from the proposal.

  * THE SPEC: `openspec/specs/standards-body-registry/spec.md`. The generated
    block goes 54 -> 55 tracked paths. Coverage over this branch's merged tree:
    all 55 tracked paths under `openspec/specs` are floored, 0 uncovered, and 0
    floored spec paths are dead. Both `project-repo-schema` and
    `standards-body-registry` are present.
  * THE OTHER FOUR ARE CHOKEPOINTS, NOT SPECS, and they arrive here for the
    first time: codexFactory PR #182 (merge `e5534552`, 20:51:52Z — AUTHORED
    BEFORE #183/#184 BUT MERGED AFTER BOTH, which is why they surface at an
    advance whose stated object is a spec) floored the sibling
    FACTORY-IDENTITY REGISTER FAMILY BY NAME —
    `governance/factory-identity/register.yaml` and the wallet, grant and
    custody attestation beside it — realizing THIS repository's own ratified
    `add-cpc-clearing-boundary` task 2.7. By name is FORCED, not preferred:
    `_parse_exact_path` refuses wildcards and trailing slashes, so the
    directory cannot be floored as a prefix. All four exist on this tree,
    verified path by path, so the advisory lane gains four reachable floor
    paths and no dead entry. The document's hand-reasoned chokepoints go
    4 -> 8, and its own self-description moves with it: 4 + 1 becomes 8 + 1.

LOCKSTEP RE-MEASURED RATHER THAN CARRIED OVER: both xFactory judging surfaces
still name `f4702f64` (read directly off xFactory `main` 2026-09-03 — the two
`ref:` literals in `merge-master-approval.yml` and
`council-convening-lane.yml`), so `lockstep.status` stays `diverged` and the
obligation to converge at a future re-point ceremony stands. THE GAP WIDENED BY
FIVE ENTRIES, NOT BY A NEW KIND OF DIVERGENCE: the cause is unchanged from
2026-09-01 and is still forced by the feature.

Also takes a FIFTH catch-up merge of `origin/main` (`9a773a31`, the
`contract-v3.2` cut) — merged, never rebased — and files the archived packet's
tasks.md §5.7 forward with the completed repair. The squash SHA is deliberately
NOT invented there: it is filled in at landing by the merge-provenance comment.

Validated: tests/review_lane_pin + tests/sequenced_after +
tests/test_standards_body_registry.py = 190 passed, 1 skipped, 18 subtests
passed (that one skip being the freshness comparison, separately exercised
green with the core present); tests/doc-health = 1500 passed;
`openspec validate --all --strict` = 86 passed, 0 failed;
`scripts/validate-omnigent-contracts.py` = all checks passed;
`import cryptography` = 41.0.7.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Dt5nEtqzRNgf3Z5fEAQZtF
brettheap added a commit that referenced this pull request Sep 3, 2026
…03, realized by #593 (3c237cd), green on main (run 33717394896) (#615)

* Archive update-standards-body-current-publications: ratified 2026-09-03, realized by #593 (3c237cd), green on main (run 33717394896)

Brett's word: "archive it". Finishes work an Opus agent left on disk,
uncommitted, after being killed twice by provider errors — verified
rather than redone: the 8-file move to
openspec/changes/archive/2026-09-03-update-standards-body-current-publications/,
the byte-identical promotion to
openspec/specs/standards-body-registry/spec.md (real Purpose section,
requirements diff-clean against the delta), and the README "OpenSpec
Records" entry.

Took a catch-up merge of origin/main first: declare-spent-bundle-state's
own archive (PR #611, squash 7af2725) landed on main after this
branch was cut from 6da1e1f, so every gate and pin below is
re-measured against 7af2725 rather than the stale base. Corrected the
sequenced_after live pin accordingly in the same commit as the corpus
move (its own protocol): active_sole - 1 falls 12 -> 11 (this archive,
a SOLE modifier); active_co_modified already held at 20 from the
sibling archive this branch merged, not from this one. Ran
`python3 scripts/validate-sequenced-after.py . --sweep` on both trees
to confirm: 32 active + 126 archived = 158, 108, 50, 20 / 12.

Also added tasks.md 5.7 naming this PR as the landing act for the
archive that ran uncommitted in the isolated clone.

Gate evidence: PR #593 squash 3c237cd
on main; pytest-suite run 33717394896 (2026-09-03T05:26Z) and
signed-execution-chain-gate both success on that commit.

Validated: openspec validate --all --strict 86 -> 86 passed (33
active + 53 specs -> 32 active + 54 specs); pytest tests/doc-health
1500 passed either side; pytest tests/test_standards_body_registry.py
17 passed; pytest tests/sequenced_after 118 passed;
scripts/validate-omnigent-contracts.py all checks passed; doc-health.py
--single-repo . 6 critical / 6 error / 29 warning / 13 info either
side, 0 new regressions, and --family promotion-fidelity /
duplicate-packet / status-validity all zero findings either side.

Lane: openxfactory-f2

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w

* README: re-measure the archive entry's gates against the second catch-up merge

origin/main moved 5 more commits (#603 #599 #601 #614 #602, tip
1c3e744) while this PR was being finished. None touch this packet's
files, so the archive act itself is unaffected, but the doc-health.py
--single-repo info count and the base commit cited in the entry were
stale. Re-measured back-to-back on 1c3e744 (before) and the merged
tree (after): 6 critical, 6 error, 29 warning, 14 info, 0 new
regressions, unchanged by this act. Also records the one transient
pytest tests/doc-health network-read failure
(test_this_repository_can_consult_the_retention_namespace) that a
clean rerun did not reproduce.

Lane: openxfactory-f2

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w

* tasks.md: name PR #615 as the landing act

Fills the placeholder §5.7 left after PR creation.

Lane: openxfactory-f2

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w

* tasks.md: stop claiming PR #615 already landed on main

Copilot review round 1, taken: 5.7 said "LANDED ON main" while the PR
is still open. Corrected to state the PR exists and is open, not
merged; a follow-up line records the squash SHA once it actually
merges.

Lane: openxfactory-f2

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w

* tasks.md: name the third catch-up merge (#604)

A fourth commit landed on origin/main after the round-1 fix; §5.7 said
"TWO catch-up merges" when a third had since happened.

Lane: openxfactory-f2

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w

* Fix two Markdown rendering defects Copilot flagged

Round 2/3: an inline-code span split across two lines in tasks.md
(inline spans can't contain a newline) and a stray line break in
README.md that orphaned "with" on its own line. Cosmetic only, no
claims changed.

Lane: openxfactory-f2

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GSRxesWQMRgFKUjoJiDd1w

* Advance the review-lane pin onto codexFactory's regenerated 58-entry floor

THE OPENXFACTORY HALF OF A TWO-REPOSITORY REPAIR THIS PR'S OWN PROMOTION
FORCED. Promoting `standards-body-registry` adds a path under
`openspec/specs/`, and codexFactory's `repository_gate_floor` for this
repository ENUMERATES that surface exactly — so the new spec arrived OFF the
floor and `tests/review_lane_pin/test_floor_snapshot.py`'s LQ-A7 coverage
assertion reddened the REQUIRED `pytest-suite`. That is the guard working: a
spec the floor does not carry is a spec the floor does not protect.

THE ORDER IS FORCED AND IS THE RUNBOOK'S
(`docs/repository-gate-floor-repair-runbook.md` in the pinned core, and the
ordered repair the assertion prints on failure): codexFactory regenerates the
block at an openxFactory commit that ALREADY carries the new path, and only
then may this pin advance onto it — a pin cannot name a document that does
not yet exist.

CODEXFACTORY'S HALF LANDED FIRST: PR #184, merge
`8cb173738ebecd773eadd1b77b11d29029b37382` (2026-09-03T19:53:55Z),
regenerated by `scripts/merge_master/generate_specs_floor_block.py` at
openxFactory `c9928846` — this branch's own head, the only tree carrying the
new path.

FIVE SITES MOVE, IN ONE LOGICAL CHANGE, because the tests fail if any of them
disagree:

  contracts/review-lane-pin.yaml          core_commit  db157dbb -> 8cb17373
  .github/workflows/merge-master-approval.yml  PINNED_CORE_COMMIT (same)
  .github/workflows/merge-master-approval.yml  core checkout ref: (same)
  .github/workflows/pytest-suite.yml           core checkout ref: (same)
  contracts/review-lane-floor-snapshot.yaml    re-copied at the new commit

and the snapshot's declared witnesses move with it:
`entry_count` 57 -> 58, `sha256` bf7a6b69… ->
22993960b31ff7853df719a701b0f53cd62c420ed7fe25b2da1ba6646bf16f7b.

THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED. It is a byte copy fetched
from the pinned core at `8cb17373` and verified two independent ways: sha256
as above over 9219 bytes, and GIT'S OWN content addressing —
`git hash-object` of the vendored file equals the blob sha codexFactory's
tree carries at that path and commit, `cdb08cd603a0d10c44f3c843e024d73bd1d6e1ce`.
The freshness comparison in `test_floor_snapshot.py` — which SKIPS when the
core is absent — was additionally run WITH the core on disk
(`PINNED_CORE_CHECKOUT=…`): 56 passed, ZERO skipped, so the byte-for-byte
assertion CI performs actually ran and passed here.

MEASURED, NOT ASSUMED. The new floor is the old floor plus exactly
`openspec/specs/standards-body-registry/spec.md` — nothing removed, no dead
entry introduced. 58 entries = the same 4 hand-reasoned chokepoints + 54 spec
paths (was 53). Coverage over the merged tree: all 54 tracked paths under
`openspec/specs/` are floored, 0 uncovered, and 0 floored spec paths are dead.
`project-repo-schema` has NOT landed, so 54 is the correct surface.

LOCKSTEP RE-MEASURED RATHER THAN CARRIED OVER: xFactory's two judging surfaces
still name `f4702f64` (read from xFactory main 2026-09-03), so
`lockstep.status` stays `diverged` and the obligation to converge at a future
re-point ceremony stands. The gap widened by ONE ENTRY, not by a new kind of
divergence — the cause is unchanged from 2026-09-01 and still forced by the
feature.

Also files forward the archived packet's tasks.md §5.7 with the floor repair.
The squash SHA is deliberately NOT invented there: it is filled in at landing
by the merge-provenance comment.

Validated: tests/review_lane_pin + tests/sequenced_after +
tests/test_standards_body_registry.py = 190 passed, 1 skipped (that skip being
the freshness comparison, separately exercised green with the core present);
tests/doc-health = 1500 passed; `openspec validate --all --strict` = 86 passed
0 failed; `scripts/validate-omnigent-contracts.py` = all checks passed.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Dt5nEtqzRNgf3Z5fEAQZtF

* Anchor §5.7's not-yet-merged claim to its writing instant, not the present tense

TAKEN FROM COPILOT's review of `0d17d1be` ("Needs a closer look"): the §5.7
prose asserts landed state in the PRESENT TENSE — "still not merged", "`main`
does not carry this archive" — and this packet is ARCHIVED, so that wording
goes FALSE the instant the pull request merges and leaves a permanent stale
claim inside a record.

The finding is right about the shape and this commit takes it FOR THE HALF THIS
LANE AUTHORED. The claim is now ANCHORED TO AN INSTANT — "as of this note's
writing, 2026-09-03, branch head `0d17d1be`, this packet had not merged" — so
it stays TRUE after the merge instead of decaying, and it points a reader
wanting the LANDED state at the merge-provenance comment rather than at a line
that speaks only for the moment it was written. No fact changes; the tense
does.

WHAT THIS COMMIT DOES NOT TOUCH, AND WHY. Copilot also flagged lines 172 and
184-189 — the PRIOR session's §5.7 prose, not this lane's. Those are left
alone on two grounds: this lane's scope is to APPEND a dated note to §5.7, not
to rewrite another lane's record text; and the phrasing there is the
repository's deliberate doctrine, stated in its own voice ("NOT YET TRUE, AND
NAMED SO IT STAYS FALSE UNTIL IT ISN'T"), which exists to stop a packet
claiming landed state before it lands — the archive-gate rule in
`docs/release-realization-flow.md` § The Archive Gate, and the
claim-outrunning-machinery lesson family. Rewriting it as a bare "TBD" would
weaken a guard rather than fix a defect. That text also already commits to
completing the provenance at landing, which is the act that retires the
staleness.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Dt5nEtqzRNgf3Z5fEAQZtF

* Advance the review-lane pin onto the 63-entry floor: second lander of the two-packet collision

THE OPENXFACTORY HALF OF THE FLOOR REPAIR THIS PACKET'S OWN PROMOTION FORCED,
TAKEN A SECOND TIME AND FOR A REASON THAT IS NOT A CORRECTION OF THE FIRST.

TWO openxFactory packets each promoted a NEW capability on 2026-09-03, and
codexFactory's `repository_gate_floor` for this repository is REGENERATED BY
ENUMERATING A TREE rather than by editing a list. `add-project-repo-schema`
(PR #616, merged 20:49Z as `19d00872`) landed first and codexFactory PR #183
(`605d48ac`) regenerated for it. codexFactory PR #184 (`8cb17373`) then
regenerated for THIS packet at `c9928846` — PR #615's PRE-MERGE branch head,
which did not yet carry #616's promotion — so its block went 54 -> 54 rather
than 54 -> 55 and SILENTLY DROPPED `openspec/specs/project-repo-schema/spec.md`,
the entry #183 had just landed.

NEITHER EARLIER PULL REQUEST IS DEFECTIVE. Each regenerated at a real tree,
exactly as CSC-C7 requires. This is the failure mode a two-lander collision
HAS, and the pinned core's `docs/repository-gate-floor-repair-runbook.md`
already answers it by making the SECOND LANDER regenerate once at its OWN
POST-MAIN-MERGE head.

AND `main` WAS NEVER BROKEN IN THE INTERVAL — stated so nobody hunts an
incident that did not happen. `main`'s pin named `605d48ac`, whose 58-entry
floor covers `main`'s 54-spec tree INCLUDING `project-repo-schema`. The gap
becomes reachable only when THIS packet's fifty-fifth spec lands, which is the
moment this advance exists to serve.

CODEXFACTORY'S HALF LANDED: PR #186, MERGE COMMIT (not squash)
`8f770afbf86043ee0f5494ded0f12f51c2a9b45e`, 2026-09-03T21:55:35Z, regenerated
at openxFactory `8d893a0f` — this branch's merge of `main` `19d00872`, and the
FIRST COMMIT ANYWHERE carrying fifty-five tracked paths under
`openspec/specs` — restoring `project-repo-schema` BESIDE
`standards-body-registry`. codexFactory `main` was re-verified at that same
commit by `git ls-remote` immediately before this advance rather than assumed.

FIVE SITES MOVE, IN ONE LOGICAL CHANGE, because the tests fail if any of them
disagree:

  contracts/review-lane-pin.yaml               core_commit  605d48ac -> 8f770afb
  .github/workflows/merge-master-approval.yml  PINNED_CORE_COMMIT (same)
  .github/workflows/merge-master-approval.yml  core checkout ref: (same)
  .github/workflows/pytest-suite.yml           core checkout ref: (same)
  contracts/review-lane-floor-snapshot.yaml    re-copied at the new commit

and the snapshot's declared witnesses move with it: `entry_count` 58 -> 63,
`sha256` 6ab79400… -> b8f95136916fc58d297a8319408bebbffaf327790fd2885a677e22de193f41f8.

THIS PIN NEVER NAMED `8cb17373`, AND THAT IS RECORDED RATHER THAN TIDIED AWAY.
Commit `0d17d1be` on this branch DID advance onto it at 16:24, and the later
catch-up merge of `main` — which carried PR #616's own advance to `605d48ac` —
resolved the pin sites to `main`'s side, so the intermediate 58-entry state
`8cb17373` describes was never the state this branch shipped. A reader
comparing this file's history to codexFactory's will see #184 land and this pin
skip it; that is the collision, not a lost edit.

THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED (CSC-C7). It is a byte copy
fetched from the pinned core at `8f770afb` and verified THREE independent ways:
sha256 as above over 12492 bytes; GIT'S OWN CONTENT ADDRESSING —
`git hash-object` of the vendored file equals the blob sha codexFactory's tree
carries at that path and commit, `351c47fb5bfad13697dc6c777b9bb17a147e8e45`;
and `cmp` against a REAL shallow checkout of codexFactory at that commit. The
freshness comparison in `test_floor_snapshot.py` — which SKIPS when the core is
absent — was additionally run WITH that core on disk
(`PINNED_CORE_CHECKOUT=…`): 56 passed, ZERO skipped, so the byte-for-byte
assertion CI performs actually ran and passed here.

THE FLOOR GREW BY FIVE, AND ONLY ONE OF THEM IS A SPEC. Measured on the merged
tree, not inferred from the proposal.

  * THE SPEC: `openspec/specs/standards-body-registry/spec.md`. The generated
    block goes 54 -> 55 tracked paths. Coverage over this branch's merged tree:
    all 55 tracked paths under `openspec/specs` are floored, 0 uncovered, and 0
    floored spec paths are dead. Both `project-repo-schema` and
    `standards-body-registry` are present.
  * THE OTHER FOUR ARE CHOKEPOINTS, NOT SPECS, and they arrive here for the
    first time: codexFactory PR #182 (merge `e5534552`, 20:51:52Z — AUTHORED
    BEFORE #183/#184 BUT MERGED AFTER BOTH, which is why they surface at an
    advance whose stated object is a spec) floored the sibling
    FACTORY-IDENTITY REGISTER FAMILY BY NAME —
    `governance/factory-identity/register.yaml` and the wallet, grant and
    custody attestation beside it — realizing THIS repository's own ratified
    `add-cpc-clearing-boundary` task 2.7. By name is FORCED, not preferred:
    `_parse_exact_path` refuses wildcards and trailing slashes, so the
    directory cannot be floored as a prefix. All four exist on this tree,
    verified path by path, so the advisory lane gains four reachable floor
    paths and no dead entry. The document's hand-reasoned chokepoints go
    4 -> 8, and its own self-description moves with it: 4 + 1 becomes 8 + 1.

LOCKSTEP RE-MEASURED RATHER THAN CARRIED OVER: both xFactory judging surfaces
still name `f4702f64` (read directly off xFactory `main` 2026-09-03 — the two
`ref:` literals in `merge-master-approval.yml` and
`council-convening-lane.yml`), so `lockstep.status` stays `diverged` and the
obligation to converge at a future re-point ceremony stands. THE GAP WIDENED BY
FIVE ENTRIES, NOT BY A NEW KIND OF DIVERGENCE: the cause is unchanged from
2026-09-01 and is still forced by the feature.

Also takes a FIFTH catch-up merge of `origin/main` (`9a773a31`, the
`contract-v3.2` cut) — merged, never rebased — and files the archived packet's
tasks.md §5.7 forward with the completed repair. The squash SHA is deliberately
NOT invented there: it is filled in at landing by the merge-provenance comment.

Validated: tests/review_lane_pin + tests/sequenced_after +
tests/test_standards_body_registry.py = 190 passed, 1 skipped, 18 subtests
passed (that one skip being the freshness comparison, separately exercised
green with the core present); tests/doc-health = 1500 passed;
`openspec validate --all --strict` = 86 passed, 0 failed;
`scripts/validate-omnigent-contracts.py` = all checks passed;
`import cryptography` = 41.0.7.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Dt5nEtqzRNgf3Z5fEAQZtF

---------

Co-authored-by: openRepoShape CI <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
Co-authored-by: Brett Heap <[email protected]>
brettheap added a commit that referenced this pull request Sep 4, 2026
…bject-establishment (63 -> 64)

STEP (2) OF A TWO-REPOSITORY ACT THIS PACKET'S OWN PROMOTION FORCED.
Archiving `add-subject-establishment` promotes
`openspec/specs/subject-establishment/spec.md`, and codexFactory's
`repository_gate_floor` for this repository ENUMERATES that surface exactly, so
the new spec arrived OFF the floor and
`tests/review_lane_pin/test_floor_snapshot.py`'s LQ-A7 coverage assertion
reddened the REQUIRED `pytest-suite` in three places. That is the guard
working: a spec the floor does not carry is a spec the floor does not protect.

THE ORDER IS FORCED AND IT IS THE RUNBOOK'S
(`docs/repository-gate-floor-repair-runbook.md` in the pinned core): codexFactory
regenerates the block at an openxFactory commit that ALREADY carries the new
path, and only then may this pin advance onto it — a pin cannot name a document
that does not yet exist. codexFactory's half landed as PR #195, MERGE COMMIT
(not squash) `79198ac4b076b7e7902f22b9af7ade052c5ec207`, 2026-09-04T12:25:19Z,
regenerated by `scripts/merge_master/generate_specs_floor_block.py` at
openxFactory `c236c6b1` — THIS branch's own head, the only tree carrying the new
path. codexFactory `main` was re-verified at that same commit by `git ls-remote`
immediately before this advance rather than assumed.

FIVE SITES MOVE, IN ONE LOGICAL CHANGE, because the tests fail if any of them
disagree:

  contracts/review-lane-pin.yaml               core_commit  8f770afb -> 79198ac4
  .github/workflows/merge-master-approval.yml  PINNED_CORE_COMMIT (same)
  .github/workflows/merge-master-approval.yml  core checkout ref: (same)
  .github/workflows/pytest-suite.yml           core checkout ref: (same)
  contracts/review-lane-floor-snapshot.yaml    re-copied at the new commit

and the snapshot's declared witnesses move with it: `entry_count` 63 -> 64,
`sha256` b8f95136... ->
07e9f64dd2e7b4eb618101ff65e746d6cec1d963dd6b77a44b485f5f1c3ac305.

THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED (CSC-C7). It is a byte copy
of the floor at the pinned core, and BYTE IDENTITY WAS GATED, not asserted:
the completion script REFUSES unless (a) `79198ac4` is an ancestor of
codexFactory `origin/main` and (b) `git show <sha>:scripts/merge_master/openxfactory-review-authority-floor.yaml`
is `cmp`-identical to the vendored copy AND re-digests to the recorded value.
Both gates passed. Verified three independent ways: sha256 as above over 12543
bytes; GIT'S OWN CONTENT ADDRESSING — `git hash-object` of the vendored file
equals the blob sha codexFactory's tree carries at that path and commit,
`38a2bfec2165ba2241e5c3b0ce9fe6a9d778b8cf`; and `cmp` against the floor
extracted from the codexFactory clone at that commit. The freshness comparison
in `test_floor_snapshot.py` — which SKIPS when the core is absent — was
additionally run WITH the core on disk (`PINNED_CORE_CHECKOUT=...`): 56 passed,
ZERO skipped, so the byte-for-byte assertion CI performs actually ran here.

THE FLOOR GREW BY EXACTLY ONE AND IT IS THE SPEC. No chokepoint arrives with
it, unlike the 2026-09-03 advance. The whole diff against `8f770afb`: one added
entry line, the generated block's three regeneration fields (`generated_at` and
its `--ref` `8d893a0f` -> `c236c6b1`, `entry_count` 55 -> 56), and the
document's two "8 + 1" self-descriptions moving 63 -> 64. The EIGHT
hand-reasoned chokepoints are untouched and all eight remain reachable on this
tree, verified path by path. Coverage MEASURED on this branch's tree: 56 tracked
paths under `openspec/specs`, all 56 floored, 0 uncovered, 0 dead.

NO COLLISION THIS TIME, MEASURED. `main` (`471d3361`) carries 55 tracked spec
paths and this branch 56 — main's set is a PROPER SUBSET, so no spec exists on
main that `c236c6b1` failed to enumerate. The one commit main gained since this
branch last merged it (PR #548, an amendment to an ACTIVE change) promotes no
capability and adds no spec, so it cannot shorten the floor. One regeneration at
one tree is sufficient and the second-lander remedy is not engaged.

HISTORICAL PROSE PRESERVED. The four live literals moved; every remaining
`8f770afb` in these files is history describing the 2026-09-03 advance (PR #186,
the collision, the previous referent, this advance's diff base) and was left
standing. The prior notes gained a forward pointer rather than a rewrite.

LIVE CLAIMS RE-MEASURED, NOT CARRIED OVER — the same discipline the 2026-09-03
advance applied, and codexFactory PR #195's own Copilot round 1 ("move the two
live self-descriptions the count advance left behind") shows what skipping it
costs. So the divergence paragraph's count (sixty-three -> sixty-four,
fifty-five -> fifty-six spec paths), the `pinned_members` counts (SIXTY-THREE ->
SIXTY-FOUR, FIFTY-FIVE -> FIFTY-SIX), and the snapshot's `generated_at`
non-member note (`8d893a0f` -> `c236c6b1`) all move with the pin. Historical
sentences do not.

LOCKSTEP RE-MEASURED RATHER THAN CARRIED OVER: both xFactory judging surfaces
still name `f4702f64`, read 2026-09-04 directly off xFactory `main` (the `ref:`
literals in `merge-master-approval.yml` and `council-convening-lane.yml`), so
`lockstep.status` stays `diverged` and the obligation to converge at a future
re-point ceremony stands undischarged. THE GAP WIDENED BY ONE ENTRY, not by a
new kind of divergence: the cause is unchanged from 2026-09-01 and still forced
by the feature.

Validated: `pytest tests/review_lane_pin` = 55 passed, 1 skipped, 18 subtests
(that one skip being the freshness comparison, separately exercised green with
the core present: 56 passed, 0 skipped); `pytest tests/doc-health` = 1542
passed; `openspec validate --all --strict` = 88 passed, 0 failed;
`scripts/validate-sequenced-after.py . --ledger-diff` = ledger consistent with
the corpus, 163 rows (32 active + 131 archived);
`scripts/validate-omnigent-contracts.py` = all checks passed; all three YAML
files re-parse.

Lane: openxfactory-1d

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 4, 2026
…), promoted — the start-of-life pipeline is canon (#647)

* Archive add-subject-establishment: ratified (#491 9ef151a), promoted — the start-of-life pipeline is canon

Brett Heap ordered the archive 2026-09-04 in session, verbatim "archive
subject-establishment", after the ruling round that OD-6 made this packet's own
archive gate: merge PLUS green PLUS the round. All three legs are read off
`main` and none is assumed.

- MERGED: PR #491, squash `9ef151ad` (2026-09-04T04:36Z).
- RULED AND RATIFIED: Brett Heap in session, recorded on PR #491, verbatim
  "accept all, recommendations stand" — OD-1 … OD-6 accepted as proposed
  (OD-1 with the PR #479 counter-precedent disclosed and deliberately not
  followed), OQ1 … OQ6 recommendations standing. Record
  `review/ratification-2026-09-04.md`, archived with the packet.
- GREEN: `main` `pytest-suite` run `33838718587`, `success`, head `73b1b3c1` —
  a commit with `9ef151ad` as an ancestor (`git merge-base --is-ancestor`,
  exit 0). `9ef151ad`'s own run `33837475299` was CANCELLED by the next push
  rather than failing, so the gate is satisfied by the first COMPLETED green
  run on a descendant, which is what "green where it landed" means when pushes
  overtake each other.

## Archive method — the recorded escape, disclosed in the packet

`python3 scripts/proposal-support.py . archive add-subject-establishment` was
tried FIRST and REFUSED: exit 1, "change has incomplete tasks". Its gate is
`re.search(r"^- \[ \]", tasks.read_text(), re.M)` (scripts/proposal-support.py
:1080) — unconditional on WHICH box. All seven open boxes are § Open's O.1 …
O.7 and every one records OWED SUCCESSOR OR CROSS-REPOSITORY WORK: the named
successor `add-subject-establishment-contracts`, OQ1's measurement pass
travelling with it, a LedgerxFactory act over ARCHIVED records this repository
holds no authority to edit, the codexFactory and OpsxFactory consumer
instantiations, DTN-015's loop before it leaves `seed`, and MedxFactory as
third consumer. None is undone work of this change, and ticking one to satisfy
the wrapper would be writing a false completion past a gate that cannot tell
"open by omission" from "open by design" apart.

`OPENSPEC_TELEMETRY=0 openspec archive add-subject-establishment --yes` was run
instead, following `declare-spent-bundle-state` § 5.1 (PR #611, `7af2725c`),
itself following `govern-sibling-added-modified-deltas` (PR #571, `3bcde7e2`).
It reported `Task status: 22/29 tasks`, `Warning: 7 incomplete task(s) found.
Continuing due to --yes flag.`, created the spec (`+ 11 added, ~ 0, - 0`), and
moved the packet. The disclosure is written into the archived tasks.md § Open,
naming the one difference from #611: there the open box named a FUTURE EVENT
the act could not discharge; here they name owed work owned elsewhere.

## The promotion was byte-checked, not trusted

`openspec/specs/subject-establishment/spec.md` NEW. Both sides extracted from
their first `### Requirement:` line and diffed: IDENTICAL but for one trailing
blank line the archiver emits. ELEVEN requirements / 37 SCENARIOS on both
sides. `git status --porcelain -uall openspec/specs/` names that one file and
nothing else, so no promoted requirement in any other capability moved a word.
The packet-side move is R100 on eight of nine files; tasks.md is R087 and the
whole delta is the disclosure above.

## Bookkeeping

- README "OpenSpec Records": the active entry (32 lines) removed, an archived
  entry added at the head of `Archived changes:`.
- `docs/domain-neutralization-candidate-register.md`: DTN-017 `openspec` →
  `implemented`, the value the register's own lifecycle glosses as
  "implemented/promoted" and the step tasks.md B.3 held back at filing
  precisely because nothing was promoted until this archive. NOT `adopted` —
  that asks for domain re-pin and local-copy retirement and no domain has
  instantiated the capability yet. Detail section gains the dated act; its two
  links repointed to the archived packet, one of which (the staged-topic link)
  had been dangling since the topic's folder left `ideation/staging/` at the
  full promotion.
- `ideation/README.md`: the promoted-from-staging pointer follows its packet to
  the archive path, with an ARCHIVED lead in the shape
  `2026-09-03-add-project-repo-schema` set.
- `ideation/staging/INDEX.md`: NO EDIT OWED — verified, the topic's row and
  detail section left it at the full promotion.

The corpus-ledger row and the pin-site comment follow in the next commit, the
ledger's `moved_by` needing this pull request's own number.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Move the one ledger row the archive moves, and record that the pin site travelled with its packet

Both edits are machine-derived and neither is a re-baseline to make a check pass.

## The corpus-ledger row — moved by the tool, never by hand

`python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#647'
--moved-on 2026-09-04` → `wrote tests/sequenced_after/corpus-ledger.yaml (163
rows, 1 moved by #647)`, and the row it names is `add-subject-establishment`.

    -  add-subject-establishment: {state: active,   ... moved_by: "#491", ...}
    +  add-subject-establishment: {state: archived, ... moved_by: "#647", ...}

ONE LINE. `class: sole`, `declares: absent` and `prose: false` are unchanged and
NO PARTNER FLIPPED, so **no MOVEMENT LOG entry is owed** — `add-per-change-sweep
-ledger`'s restated rule reserves an entry for a move the row diff does NOT
state, and this move is entirely stated by the row diff. `--ledger-diff` had
reported the staleness in advance and named its whole extent: one stale row plus
the three derived totals that follow from it (active 34→33, archived 129→130,
active_sole 12→11). It now reads `per-change sweep ledger consistent with the
corpus (163 rows)`, exit 0.

## The pin site — 70 -> 70, and the standing number is why it is recorded

`tests/doc-health/test_sentinel_vocabulary.py`'s exact-count assertions are
UNTOUCHED at 70 sites / 24 members. What changed is a comment path: the packet's
`supporting-docs/manifest.yaml` travelled INTO the archive with it, and the
`proposal-support-manifest` member globs
`openspec/changes/archive/*/supporting-docs/*manifest.yaml` alongside the active
form, so it is the SAME site under a new path. RE-ENUMERATED WITH
`pin_class.verify()` ON THE COMMITTED TREE rather than reasoned about: 70 sites,
24 members, the site resolving `pass` under `proposal-support-manifest` at its
archived path, with `lost` 1 / `lost_awaiting_record` 0 / `uncovered` () all
unmoved. A path in a comment going stale while its assertion stayed true is
exactly what a later reader mis-diagnoses as an unrecorded step, so the comment
records the move instead of leaving it to be found.

`tests/doc-health/test_sentinel_vocabulary.py` — 42 passed.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Copilot round 1: quote the real gate condition, and two legibility fixes

Three findings, all on prose. One is a real accuracy defect in an EVIDENCE
RECORD and is taken outright; two are legibility and are taken while the claim
behind one of them is measured and found wrong.

**TAKEN — the gate expression was a paraphrase, in a record whose whole job is
to be re-auditable.** The disclosure quoted `re.search(r"^- \[ \]", tasks.md)`,
which is `declare-spent-bundle-state` § 5.1's shorthand carried across rather
than the condition this repository actually runs. `tasks.md` reads as a value,
and the multiline flag — the very thing that makes the gate match ANY box on ANY
line — was missing. Now quoted exactly, with the line range so a re-audit lands
on it:

    tasks.is_file() and re.search(r"^- \[ \]", tasks.read_text(), re.M)
    (scripts/proposal-support.py:1079-1081)

Verified by reading those three lines, not by memory. The commit message of the
archive act already carried the correct form, which is what makes this a
transcription defect in one place rather than a misunderstanding.

**TAKEN, AND THE REASON GIVEN FOR IT IS WRONG.** Copilot reported the
`Warning: 7 incomplete task(s) found …` span as broken because "inline code
can't contain a line break". CommonMark § 6.1 says the opposite: line endings
inside a code span are converted to spaces, so the span rendered correctly as
written. The rewrap is taken anyway — one span per line reads better and cannot
be misread by the next tool — but the stated defect did not exist, and recording
that keeps the next round's bar where it belongs.

**TAKEN — "mis-diagnose" -> "misdiagnose"**, the standard form.

`tests/doc-health/test_sentinel_vocabulary.py` 42 passed;
`openspec validate --all --strict` 89 passed, 0 failed. No assertion, count or
promoted byte moved in this round.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Re-pin the decision core at codexFactory #195: the floor now names subject-establishment (63 -> 64)

STEP (2) OF A TWO-REPOSITORY ACT THIS PACKET'S OWN PROMOTION FORCED.
Archiving `add-subject-establishment` promotes
`openspec/specs/subject-establishment/spec.md`, and codexFactory's
`repository_gate_floor` for this repository ENUMERATES that surface exactly, so
the new spec arrived OFF the floor and
`tests/review_lane_pin/test_floor_snapshot.py`'s LQ-A7 coverage assertion
reddened the REQUIRED `pytest-suite` in three places. That is the guard
working: a spec the floor does not carry is a spec the floor does not protect.

THE ORDER IS FORCED AND IT IS THE RUNBOOK'S
(`docs/repository-gate-floor-repair-runbook.md` in the pinned core): codexFactory
regenerates the block at an openxFactory commit that ALREADY carries the new
path, and only then may this pin advance onto it — a pin cannot name a document
that does not yet exist. codexFactory's half landed as PR #195, MERGE COMMIT
(not squash) `79198ac4b076b7e7902f22b9af7ade052c5ec207`, 2026-09-04T12:25:19Z,
regenerated by `scripts/merge_master/generate_specs_floor_block.py` at
openxFactory `c236c6b1` — THIS branch's own head, the only tree carrying the new
path. codexFactory `main` was re-verified at that same commit by `git ls-remote`
immediately before this advance rather than assumed.

FIVE SITES MOVE, IN ONE LOGICAL CHANGE, because the tests fail if any of them
disagree:

  contracts/review-lane-pin.yaml               core_commit  8f770afb -> 79198ac4
  .github/workflows/merge-master-approval.yml  PINNED_CORE_COMMIT (same)
  .github/workflows/merge-master-approval.yml  core checkout ref: (same)
  .github/workflows/pytest-suite.yml           core checkout ref: (same)
  contracts/review-lane-floor-snapshot.yaml    re-copied at the new commit

and the snapshot's declared witnesses move with it: `entry_count` 63 -> 64,
`sha256` b8f95136... ->
07e9f64dd2e7b4eb618101ff65e746d6cec1d963dd6b77a44b485f5f1c3ac305.

THE SNAPSHOT IS A WITNESS AND WAS NOT HAND-EDITED (CSC-C7). It is a byte copy
of the floor at the pinned core, and BYTE IDENTITY WAS GATED, not asserted:
the completion script REFUSES unless (a) `79198ac4` is an ancestor of
codexFactory `origin/main` and (b) `git show <sha>:scripts/merge_master/openxfactory-review-authority-floor.yaml`
is `cmp`-identical to the vendored copy AND re-digests to the recorded value.
Both gates passed. Verified three independent ways: sha256 as above over 12543
bytes; GIT'S OWN CONTENT ADDRESSING — `git hash-object` of the vendored file
equals the blob sha codexFactory's tree carries at that path and commit,
`38a2bfec2165ba2241e5c3b0ce9fe6a9d778b8cf`; and `cmp` against the floor
extracted from the codexFactory clone at that commit. The freshness comparison
in `test_floor_snapshot.py` — which SKIPS when the core is absent — was
additionally run WITH the core on disk (`PINNED_CORE_CHECKOUT=...`): 56 passed,
ZERO skipped, so the byte-for-byte assertion CI performs actually ran here.

THE FLOOR GREW BY EXACTLY ONE AND IT IS THE SPEC. No chokepoint arrives with
it, unlike the 2026-09-03 advance. The whole diff against `8f770afb`: one added
entry line, the generated block's three regeneration fields (`generated_at` and
its `--ref` `8d893a0f` -> `c236c6b1`, `entry_count` 55 -> 56), and the
document's two "8 + 1" self-descriptions moving 63 -> 64. The EIGHT
hand-reasoned chokepoints are untouched and all eight remain reachable on this
tree, verified path by path. Coverage MEASURED on this branch's tree: 56 tracked
paths under `openspec/specs`, all 56 floored, 0 uncovered, 0 dead.

NO COLLISION THIS TIME, MEASURED. `main` (`471d3361`) carries 55 tracked spec
paths and this branch 56 — main's set is a PROPER SUBSET, so no spec exists on
main that `c236c6b1` failed to enumerate. The one commit main gained since this
branch last merged it (PR #548, an amendment to an ACTIVE change) promotes no
capability and adds no spec, so it cannot shorten the floor. One regeneration at
one tree is sufficient and the second-lander remedy is not engaged.

HISTORICAL PROSE PRESERVED. The four live literals moved; every remaining
`8f770afb` in these files is history describing the 2026-09-03 advance (PR #186,
the collision, the previous referent, this advance's diff base) and was left
standing. The prior notes gained a forward pointer rather than a rewrite.

LIVE CLAIMS RE-MEASURED, NOT CARRIED OVER — the same discipline the 2026-09-03
advance applied, and codexFactory PR #195's own Copilot round 1 ("move the two
live self-descriptions the count advance left behind") shows what skipping it
costs. So the divergence paragraph's count (sixty-three -> sixty-four,
fifty-five -> fifty-six spec paths), the `pinned_members` counts (SIXTY-THREE ->
SIXTY-FOUR, FIFTY-FIVE -> FIFTY-SIX), and the snapshot's `generated_at`
non-member note (`8d893a0f` -> `c236c6b1`) all move with the pin. Historical
sentences do not.

LOCKSTEP RE-MEASURED RATHER THAN CARRIED OVER: both xFactory judging surfaces
still name `f4702f64`, read 2026-09-04 directly off xFactory `main` (the `ref:`
literals in `merge-master-approval.yml` and `council-convening-lane.yml`), so
`lockstep.status` stays `diverged` and the obligation to converge at a future
re-point ceremony stands undischarged. THE GAP WIDENED BY ONE ENTRY, not by a
new kind of divergence: the cause is unchanged from 2026-09-01 and still forced
by the feature.

Validated: `pytest tests/review_lane_pin` = 55 passed, 1 skipped, 18 subtests
(that one skip being the freshness comparison, separately exercised green with
the core present: 56 passed, 0 skipped); `pytest tests/doc-health` = 1542
passed; `openspec validate --all --strict` = 88 passed, 0 failed;
`scripts/validate-sequenced-after.py . --ledger-diff` = ledger consistent with
the corpus, 163 rows (32 active + 131 archived);
`scripts/validate-omnigent-contracts.py` = all checks passed; all three YAML
files re-parse.

Lane: openxfactory-1d

Co-Authored-By: Claude Fable 5.1 <[email protected]>

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants