Skip to content

Reach the session, and see what already exists before you write - #160

Merged
brettheap merged 2 commits into
mainfrom
fix/reach-the-session-and-see-what-exists
Aug 10, 2026
Merged

brettheap merged 2 commits into
mainfrom
fix/reach-the-session-and-see-what-exists

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Three asks from Brett on 2026-08-10, all one theme: the dashboard knew things it
was not telling him.

"how do I get to the rest of the workbench on this doc?"
"we need to have all existing docs listed in the main lens screen"
"if same keywords, then we want to list it in the doxBench too. so the user
knows he now has two of this topic"

A LIVE SESSION IS ADDRESSABLE. The repo filter now lists each repository's live
session branches under it — ⎇ draft/<topic> · LIVE SESSION — and selecting one
keys the whole dashboard to that branch. The serving index has advertised a
session as an ordinary (repository, ref) row all along (FR-014), so this asks
the server nothing new; what was missing was a way to NAME it.

My first reading of this was WRONG and the truth is worse. I said a session was
unreachable from the UI. It was reachable — by accident, under the wrong name:
projectFilterRows took the FIRST roster option for a repository, and the index
lists a repository's refs sorted, so draft/… sorts before main. Clicking
openxFactory keyed the dashboard to whichever branch sorted first, a session
the human had never chosen and could not see they were on. A repository row is
now main deliberately.

Second half of the same defect: the selector re-derived its roster only on the
five-minute index poll (poll even shadowed roster with a local), so a session
opened mid-page was absent from the one control that could address it for the
page's whole life. The poll now re-renders the filter, and a create nudges it, so
the branch appears at once.

THE LENS OPENS ON THE CORPUS. With no keyword checked the matrix lists every
document in the view, ring —. evaluateRecipe is untouched and the RADAR still
draws nothing: its rings mean "how many of the checked keywords does this carry",
so it genuinely has nothing to say yet. But the matrix is a LIST and it opened
EMPTY over hundreds of documents, saying "no documents match the checked
keywords" — and the document ticks that build a staging seed live on those rows,
so the seed could not be started at all. One checked keyword returns the matrix
to the recipe's membership.

THE DRAFT SAYS WHAT YOU ALREADY HAVE. Above the body editor, doxBench lists the
existing documents declaring any of the seed's shared terms, with the ones
already in the folder this create aims at FIRST and marked same folder —
because those are exactly the ones a create refuses create-only. A NOTICE, not a
block: a second document on a shared topic is ordinary, and the panel says so.
Every create-only refusal on 2026-08-10 was this same fact arriving from the
engine AFTER the press.

RUNBOOK §4 REWRITTEN. It told the reader to "switch the header's repository
selector to <repository> @ <branch>" — a control the project-first header had
already replaced. A doc that names a control which does not exist is worse than
silence, so the correction and how it went stale are both recorded, plus §0
entries for all three behaviours.

PROVEN IN A REAL BROWSER against a SCRATCH checkout (runbook §7), driving lens ->
select -> draft seed -> doxBench -> write -> save, with a project register beside
the checkout so the header renders its filter:

the draft names the documents already on this topic — 2 existing documents…
the repo filter offers the live session branch — ['⎇ draft/convergence']
selecting it keys the dashboard to that branch — openxFactory @ draft/convergence
exactly one create, and it landed — [200]
the body was written through the governed Save — [200]
17/17 checks passed, zero page errors

Suites: tests/ideation-dashboard + tests/ideation_dashboard — 2839 passed,
19 skipped (exit 0). doc-health exit 0.

ALSO IN THIS PR, as its own revertable commit: origin/main was RED before this
branch touched it. split-ideation-book-per-repo changed
sync-notebooklm-books.scan() to return a pair and split the shared ideation
book into a per-repository family, and
test_session_worktrees_never_reach_a_lifecycle_book still unpacked the
pre-split dict. Repaired without changing what it claims — see that commit.

Suites after both commits: 2879 passed, 19 skipped (exit 0). Browser proofs
re-run: the draft path 17/17 and the stranded-page repair 10/10, zero page
errors each.

🤖 Generated with Claude Code

brettheap and others added 2 commits August 10, 2026 04:53
Three asks from Brett on 2026-08-10, all one theme: the dashboard knew things it
was not telling him.

  "how do I get to the rest of the workbench on this doc?"
  "we need to have all existing docs listed in the main lens screen"
  "if same keywords, then we want to list it in the doxBench too. so the user
   knows he now has two of this topic"

A LIVE SESSION IS ADDRESSABLE. The repo filter now lists each repository's live
session branches under it — `⎇ draft/<topic> · LIVE SESSION` — and selecting one
keys the whole dashboard to that branch. The serving index has advertised a
session as an ordinary `(repository, ref)` row all along (FR-014), so this asks
the server nothing new; what was missing was a way to NAME it.

My first reading of this was WRONG and the truth is worse. I said a session was
unreachable from the UI. It was reachable — by accident, under the wrong name:
`projectFilterRows` took the FIRST roster option for a repository, and the index
lists a repository's refs sorted, so `draft/…` sorts before `main`. Clicking
`openxFactory` keyed the dashboard to whichever branch sorted first, a session
the human had never chosen and could not see they were on. A repository row is
now `main` deliberately.

Second half of the same defect: the selector re-derived its roster only on the
five-minute index poll (`poll` even shadowed `roster` with a local), so a session
opened mid-page was absent from the one control that could address it for the
page's whole life. The poll now re-renders the filter, and a create nudges it, so
the branch appears at once.

THE LENS OPENS ON THE CORPUS. With no keyword checked the matrix lists every
document in the view, ring `—`. `evaluateRecipe` is untouched and the RADAR still
draws nothing: its rings mean "how many of the checked keywords does this carry",
so it genuinely has nothing to say yet. But the matrix is a LIST and it opened
EMPTY over hundreds of documents, saying "no documents match the checked
keywords" — and the document ticks that build a staging seed live on those rows,
so the seed could not be started at all. One checked keyword returns the matrix
to the recipe's membership.

THE DRAFT SAYS WHAT YOU ALREADY HAVE. Above the body editor, doxBench lists the
existing documents declaring any of the seed's shared terms, with the ones
already in the folder this create aims at FIRST and marked `same folder` —
because those are exactly the ones a create refuses create-only. A NOTICE, not a
block: a second document on a shared topic is ordinary, and the panel says so.
Every create-only refusal on 2026-08-10 was this same fact arriving from the
engine AFTER the press.

RUNBOOK §4 REWRITTEN. It told the reader to "switch the header's repository
selector to `<repository> @ <branch>`" — a control the project-first header had
already replaced. A doc that names a control which does not exist is worse than
silence, so the correction and how it went stale are both recorded, plus §0
entries for all three behaviours.

PROVEN IN A REAL BROWSER against a SCRATCH checkout (runbook §7), driving lens ->
select -> draft seed -> doxBench -> write -> save, with a project register beside
the checkout so the header renders its filter:

  the draft names the documents already on this topic — 2 existing documents…
  the repo filter offers the live session branch — ['⎇ draft/convergence']
  selecting it keys the dashboard to that branch — openxFactory @ draft/convergence
  exactly one create, and it landed — [200]
  the body was written through the governed Save — [200]
  17/17 checks passed, zero page errors

Suites: tests/ideation-dashboard + tests/ideation_dashboard — 2839 passed,
19 skipped (exit 0). doc-health exit 0.
`split-ideation-book-per-repo` (merged 2026-08-10) changed
`sync-notebooklm-books.scan()` to return `(desired, specs)` and split the shared
`ideation` book into a PER-REPOSITORY family keyed `ideation-<repo>`.
`test_session_worktrees_never_reach_a_lifecycle_book` still unpacked the
pre-split dict, so it failed on every run with `'tuple' object has no attribute
'items'` — origin/main was red before this branch touched it, and this commit
carries nothing else so it can be reverted on its own.

TWO REPAIRS, NEITHER CHANGING WHAT THE TEST CLAIMS:

  * unpack the pair;
  * the control assertion — "the governed and openxFactory documents DID
    project, so the worktree assertion is not passing on an empty scan" — read
    `desired["ideation"]`, a key that no longer exists. It now unions the whole
    `IDEATION_KEY_PREFIX` family, which proves exactly what it always proved
    without this test taking a position on how that family is keyed. Deciding
    the per-repo semantics is the owning change's business, not this repair's.

The claim under test — a session worktree never reaches a lifecycle book
(FR-005) — is untouched.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings August 10, 2026 09:07

@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 ✨

@brettheap
brettheap merged commit c9177a2 into main Aug 10, 2026
@brettheap
brettheap deleted the fix/reach-the-session-and-see-what-exists branch August 10, 2026 09:07

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 makes previously “implicit” dashboard state explicit in the UI: live session branches become directly addressable in the repo filter, the lens matrix defaults to listing the full corpus when nothing is checked, and the draft screen surfaces existing on-topic documents before save.

Changes:

  • Repo selector: always resolve repository rows to main, and add explicit “live session” rows for non-main refs; refresh filter roster on poll / after session creation.
  • Lens: when no keywords are checked, show the full corpus in the matrix (with ring —) while keeping the radar empty; improve empty-state messaging.
  • Draft workbench: add an “existing on topic” notice above the editor, listing documents sharing any seed terms and prioritizing same-folder collisions; update styling and runbook guidance.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/ideation-dashboard/test_staging_workbench.py Adds coverage for existingOnTopic() derivation and draft panel placement/copy expectations.
tests/ideation-dashboard/test_session_harness.py Updates test to match sync.scan() returning a tuple and ideation book family keying.
tests/ideation-dashboard/test_repo_selector.py Extends header-model expectations to include resolved ref and adds regression test for session-row behavior.
tests/ideation-dashboard/test_lens.py Adds regression test ensuring unchecked lens matrix lists the whole corpus and radar remains empty.
scripts/ideation_dashboard/web/views/staging-workbench.js Renders the new “existing on topic” panel above the body editor in the draft view.
scripts/ideation_dashboard/web/views/staging-workbench-model.js Introduces existingOnTopic() to compute existing-doc rows (folder collisions first, then shared-term strength).
scripts/ideation_dashboard/web/views/repo-selector.js Adds session rows to the filter UI and rerenders filter on index poll / session creation nudge.
scripts/ideation_dashboard/web/views/repo-selector-model.js Changes project filter derivation to pin repo rows to main and emit per-session rows for other refs.
scripts/ideation_dashboard/web/views/lens.js Improves empty-state message to distinguish empty corpus vs “no matches”.
scripts/ideation_dashboard/web/views/lens-model.js Adds corpus-first matrix behavior when checked.length === 0 and uses ring —.
scripts/ideation_dashboard/web/styles.css Styles session rows in the filter and the new draft “existing” notice panel.
scripts/ideation_dashboard/web/app.js Holds a repo selector handle so session creation can nudge a poll and re-render filter rows mid-page.
docs/ideation-dashboard-session-runbook.md Updates runbook to reflect the new session-row affordance and the lens/draft behavior.

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

Comment on lines +1659 to +1666
box.appendChild(el("div", "swb-draftexistinghead", collides.length
? "⚠ " + collides.length + " document"
+ (collides.length === 1 ? "" : "s")
+ " already in " + seed.area
+ " — saving a new one under the same name is refused"
: already.length + " existing document"
+ (already.length === 1 ? "" : "s") + " already carry"
+ (already.length === 1 ? "" : "") + " these keywords"));
Comment on lines +786 to +793
const wanted = new Set(uniqueStrings(topics));
const folder = asId(area);
const rows = [];
for (const doc of snapshot?.documents || []) {
const path = asId(doc?.path || doc?.id);
if (!path) continue;
const shared = (doc.topics || []).filter((t) => wanted.has(asId(t)));
const inFolder = !!folder && path.startsWith(folder);
brettheap added a commit that referenced this pull request Sep 22, 2026
…is qualified, the pin-shape ruling is recorded at the box that owns the direct pins, and STEP 2's openXdox target is corrected (#1135)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Refs #656 (stays OPEN).

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #11 — a small pre-archive amendment: one registered citation qualified, one ruling recorded at the box that owns its object, and one figure corrected where two boxes of amendment #10 disagreed.**

Branched from the landed `main` at **`6b298a1e`**. **Ledger 67 `[x]` / 3 `[ ]` / 2 `[~]` of 72 BEFORE and AFTER — ZERO marker changes**, verified rather than asserted: the file's `^- \[.\]` lines are **byte-identical to `main`'s in text and in order** (`diff` empty). One file, **+133 / −2**; the two deletions are the two lines the § 8.4 citation is repaired in. The three still open are §§ **5.6, 8.4, 8.9**; §§ 7.3 and 7.4 hold their `[~]`. Rule 6 applies.

> **Nothing here ticks anything, and that is the shape of the act.** Two of the three items were REGISTERED at amendment #10's head and deliberately not pushed; this is the amendment that carries them, which is the half of "register it" that makes registering honest.

## § 8.4 — the `assert_landed_pin` citation is qualified IN PLACE (`#656` `5768299637`)

Copilot's finding at amendment #10's head `525fe5b2` — LOW, *"Unresolvable citation path for assert_landed_pin"* — **was correct**. § 8.4 cited `specs_floor_block.py::assert_landed_pin` bare, and **no file of that name exists anywhere in `openxFactory`**: the function is codexFactory's, and this same document already qualifies it properly at § 5.6.

Folded **verbatim in the words Brett Heap wrote out for this amendment**: codexFactory's `scripts/merge_master/specs_floor_block.py::assert_landed_pin`.

**It is repaired in place rather than kept-and-superseded, and the rule is the packet's own**: a bookkeeping amendment fixes stale or under-qualified **COORDINATES** — § 7.3's locator took exactly this treatment at amendment #10 — and does not re-word what ratification was over. *The rule's words are unchanged; only the path that finds it is.*

**Why it waited one amendment, written into the box so the delay does not read as neglect**: the finding under-qualifies a citation in a box that **does not tick** — § 8.4 is one of the three still `[ ]` — so it falsified no tick and no evidence line, and this lane moves a reviewed head only for a finding showing that a **tick is wrong**. Six pushes had already re-run that gate. *The cost of that rule is exactly this: a true finding waits one amendment, and it is carried in writing so that waiting cannot become losing.*

## § 5.1 — the PIN SHAPE is ruled, and it lands at the box that owns the direct pins (`#656` `5768144952`)

**RULED 2026-09-21T22:03:33Z by Brett Heap, verbatim *"(b) for the pin shape, keep going"***, answering the RULING NEEDED at `5768088579`.

**`files:` and `pinned_by_commit_only:` stay DEFERRED in BOTH direct pins**, on the ONE-LINK-UP precedent this chain already runs on and which `scripts/verify-openxdox-pin.py` reached first: the whole-tree `sorted-ls-tree-r-v1` digest addresses **every byte** of the pinned root, so no member can be undeclared and none can be added or altered without changing the referent. It discharges the completeness obligation those two lists exist to serve, and discharges it **more strongly** than an enumeration; the legs the digested artifacts sit in are themselves pinned by commit **and** digest by their assembly root. *An enumeration here would add a second, weaker statement of one fact — and a second statement is a thing that can drift.*

**The trigger the header set for itself DID fire, and the ruling answers it rather than avoids it.** The revisit condition is the first commit whose pinned manifest carries a non-empty `entries:` row:

| measured | |
| --- | --- |
| commit | openDox **`dc7aa08f`** (the commit `dox-v1.0` tags), 2026-09-21 |
| manifest | `contract_bundle_version: dox-v1.0`, **3** entries |
| the three | `xfactory-workbench-chat-turn`, `xfactory-workbench-model-catalog`, `ideation-workbench` |
| where they live | `contracts/schemas/…` in `opensoft/openDox-spec` at **`8fe8c4c7`**, digested per file |

So **the revisit is recorded DONE with the digest reading as its resolution**, and the trigger sentence — *"that artifact then moves into a `files:` list here"* — is **amended rather than left standing contradicted**. *Two recorded readings in this family disagreed, and a ruling that leaves both in the tree leaves the next reader to pick one; that is why the amendment is written into the pin FILE, beside the sentence it supersedes, and not only onto the issue.*

**Why § 5.1 and not § 4.2**: the ruling is about the shape of a **DIRECT** pin, and the two direct pins `openxFactory` declares — `contracts/openxdox-pin.yaml` and, since RULED **Q7**, `contracts/opendox-pin.yaml` — are § 5.1's own object, with the two gitlinks they move with. § 4.2 owns openXdox's pin of openDox, one link further down the same chain, and takes its own record.

**The marker does not move.** § 5.1 is `[x]` on `#917` → `edf0e24f`, and a later advance of a pin it already ticked on does not re-open it.

## § 4.2 — the judgment stands and its FIRST REASON does not

The recorded hand-act judgment — that the per-file `sha256` and `pinned_by_commit_only:` lists are both empty — rested on **two** reasons, and the first has expired: openDox's manifest no longer reads `contract_bundle_version: none` with `entries: []`. The same ruling **keeps the judgment on its second reason**, the whole-tree digest.

**What this box now OWES, registered and not discharged**: `openXdox/contracts/opendox-pin.yaml` still carries the **un-amended trigger sentence** at openXdox `main` **`646f1dc0`**. The identical header amendment the `openxFactory` side takes inside STEP 2's own pull request is owed here in a small follow-up by the same actor after STEP 3. *Named at the box that owns the FILE, because an obligation recorded only where it was ruled is an obligation the file's next reader never meets — and the ruling's own words state the gap (the claim posted as `5767868394` was an earlier draft that lacked this finding) rather than closing it quietly.*

**The tick is undisturbed**: § 4.2 ticked on the file's **fields** at openXdox root `eca0b597` — product, source repository, an assembly-root `commit:`, `revision_kind`, the `sorted-ls-tree-r-v1` digest and the RULED ASK-1 migration triple — and a later advance of the `commit:` removes none of them. *A pin that moves is a pin that works.*

## § 8.7 — STEP 2's openXdox target is corrected, `2073e3a9` → `646f1dc0`

Amendment #10's AGGREGATION-SIDE RECORD A2 wrote step 2 as *"`openDox` → `dc7aa08f`, `openXdox` → `2073e3a9`"*, while **§ 4.6 of the same amendment wrote `646f1dc0`**. `646f1dc0` is right, and the gap between the two commits is the whole of STEP 1:

- `2073e3a9` is the commit **`xdox-v1.0`** tags, and its `contracts/opendox-pin.yaml` still pins openDox at `c4c5014d`;
- `openxFactory`'s `scripts/verify-opendox-pin.py` enforces a **LOCKSTEP** — its own direct openDox `commit:` must equal the `commit:` read from `openXdox/contracts/opendox-pin.yaml` at the pinned gitlink — so pinning `dox-v1.0` and `2073e3a9` together is **REFUSED**;
- `openXdox` **`#15` → `646f1dc0`** is the act that makes step 2 possible, and `openxFactory` **#1134** moves the `openXdox` gitlink to `646f1dc0` exactly.

**The sentence above the correction is kept**, because it is the reading the claim was written under. *The forced order at `#656` `5767733963` names its own openXdox target as **X**, a variable step 1 resolves; that record resolved it from the TAG instead of from the LANDING, which is the one substitution the order forbids.*

## STEP 2 and STEP 3 are recorded as POSITIONS, not landings

| step | state, measured at the forge | recorded at |
| --- | --- | --- |
| **2** — `openxFactory`'s nested leg-advance | **#1134**, `change/advance-nested-opendox-openxdox-legs`, head **`ca2c8a82`**, DRAFT, base `main`. **Six files**: both pin files (`commit:` + `digests.tree_sha256`), the `openDox` gitlink `c4c5014d → dc7aa08f`, the `openXdox` gitlink `88a1047e → 646f1dc0`, and both verifiers' tests. It carries the `openxFactory` half of the pin-shape amendment **in the same landing as the pin it amends**. | § 5.1 |
| **3** — the aggregation three-pointer sync (claim `5767572080`) | **has not opened**: `opensoft/xFactory`'s five open pull requests at 00:40Z are #396, #160, #22, #21, #5, none a pointer sync. | § 8.7 |

**Amendment #12 carries both shas.** This amendment records the act, its object and its head, and refuses to record a merge that has not happened — the same standard §§ 3.8/4.6 held to for their tags.

## What is deliberately NOT in this amendment

**The landings of 2026-09-21 that arrived after amendment #10's head are already in the file** — checked against `origin/main` rather than assumed: `openXdox` **#15 → `646f1dc0`** is recorded at § 4.6 (`#656` `5768022822`) and the **fourth MIGRATION_PIN ceremony**, `xFactory` **#475 → `c88d1fdd`**, at § 5.6 with its four gates (`#656` `5768064136`). Amendment #10 carried both; re-recording them would be a duplicate, not a record.

**#1131's own landing is carried by the ledger count alone** — this amendment IS that record.

## Copilot round 1 — TWO FACT findings, both right, both taken as fixes (head `22b9af23`)

**Finding `r4067623184` (MEDIUM) — *"Empty pin resolution omits required per-file hashes"* — is right in the delta, and the amendment's prose was wrong to read as settled.** Measured in this packet's OWN ratified `neutral-product-pin` MODIFIED requirement:

| `specs/neutral-product-pin/spec.md` | what it says |
| --- | --- |
| **`:87-100`** | the **SOURCE-TREE** clause: the pin *"SHALL carry the product's COMMIT, its `revision_kind`, a per-file `sha256` for every artifact the product's own manifest digests per file, and `pinned_by_commit_only:` for every artifact the product content-addresses by commit alone"* |
| **`:102-121`** | the one-digest-addresses-every-byte reasoning **is in the requirement** — and it is scoped to *"WHERE THE PRODUCT IS DISTRIBUTED AS A PUBLISHED, CONTENT-ADDRESSED ARTIFACT RATHER THAN AS A SOURCE TREE"* |
| **`:123-138`** | the runtime clause **this packet itself added**: the deployment declaration *"SHALL NOT be read as permission to skip the digests — commit and per-file `sha256` remain the trusted referent exactly as for a file-read pin"* |

**openDox is pinned as a SOURCE TREE, by commit**, so `dc7aa08f`'s three per-file entries make that obligation **non-vacuous for the first time** — exactly what the pin header's own trigger anticipated.

**SETTLED and NOT SETTLED are now stated separately in the box.** Settled: what the two pin FILES carry today — Brett's word at `5768144952`, already executed. Not settled: whether the source-tree clause is discharged by a whole-tree digest — **normative text**, therefore a spec-delta-class act, on the disposition RULED `5700622683` gave § 7.1's scenario-4 defect and § 7.3 records for its own ratified trigger phrase: registered, owed from an act that CLAIMS the delta, never repaired by a bookkeeping amendment.

> **RULING NEEDED** (registered in the box, not left on a pull request): **(a)** both direct pins carry the three per-file `sha256` entries plus an explicit `pinned_by_commit_only: []`, the deferral narrowing to the SHAPE of the lists rather than their existence; **(b)** the source-tree clause is amended to admit a whole-tree `sorted-ls-tree-r-v1` digest as an EQUIVALENT discharge — the reading the ruling already applies one medium over; **(c)** the ruling stands as a recorded EXCEPTION, named at the box and at the delta. **REC (b)**, because it leaves ONE rule in the corpus instead of a rule and an exception.

§ 4.2 carries a pointer to the same tension, so the actor taking that file's follow-up meets it **before** editing the header rather than after.

**Finding 2 (Copilot's overview — the intervening `6df0a030`) is also right.** § 8.7's correction said the two commits are *"one commit apart"*. **Measured on the root's own history they are two**, and only the second is STEP 1:

`2073e3a9` (#13, release surface, 20:56:18Z) → **`6df0a030`** (#14, CHANGELOG `draft` → `standard`, 21:39:17Z, **touching no pin**) → **`646f1dc0`** (#15, 21:51:39Z, the pin advance that IS step 1).

*A reader counting back one from `646f1dc0` lands on a CHANGELOG edit rather than on the tag — the off-by-one locator class this packet has already spent three amendments on. Fixed rather than tidied away, and the correction-of-a-correction is left on the page.*

**Markers are still untouched after both fixes**: `67 [x] / 3 [ ] / 2 [~] of 72`, and the `^- \[.\]` lines remain byte-identical to `main`'s in text and in order.


### Copilot round 2 — one LOW finding, right, taken as a fix (head `439843f6`)

**`r4067646318` — *"Pin-file trigger amendments remain incomplete"*.** § 5.1 wrote that the trigger sentence *"is AMENDED"*, which reads as a landed fact, while the same box's execution paragraph two below records the `openxFactory` half as **in flight** in `#1134` and the openXdox half as **owed**. One box stated a thing as done and, further down, as pending.

It now reads **"is RULED AMENDED"**, with a paragraph stating the split in terms: **as this amendment is written, NEITHER pin file carries the amended header on a landed commit** — the `openxFactory` side is in flight inside STEP 2's pull request, the openXdox side is not yet authored. *What is DONE is the ruling and the revisit it answers; what is PENDING is the execution, in two pull requests.*

**The finding's reasoning about the archive is why it earned a head**: a ledger that reads *"amended"* where it means *"ruled to be amended"* is how an archive comes to treat outstanding work as closed. This packet has refused that at § 3.7 (three candidate heads), § 4.5a (an abbreviated command) and §§ 3.8/4.6 (a live read of a tag ref), each time by recording nothing but a landed sha as landed — and neither STEP 2 nor STEP 3 is recorded as landed anywhere in this amendment.

**Three findings across two rounds, all three FACT-class on this amendment's own prose, all three taken as fixes; zero registered.** Markers untouched throughout.


## Round 3 — STEP 2 has LANDED, and three of its handed figures are corrected

**`openxFactory` #1134 → `aaddda666165655a60abc1720f271e2e967e3bdc`, `mergedAt` 2026-09-22T01:12:58Z** — the STEP 2 nested leg advance. Six files; both gitlinks at **`dc7aa08f`** and **`646f1dc0`** exactly. **The in-flight sentences are SUPERSEDED and KEPT with their clock** (measured 00:36Z, landed thirty-six minutes later), which is this packet's standing treatment of a position overtaken by an act.

| handed | measured | why it is recorded |
| --- | --- | --- |
| `mergedAt` 01:13:04Z | **`mergedAt` 01:12:58Z**, commit date **01:12:57Z** | the seconds change no gate — **the FIELD does**, which is why this packet names the field beside every clock |
| (unstated) | **a SQUASH**: ONE parent, subject ending `(#1134)` | not the two-parent MERGE COMMIT the two assembly-root pin landings took |
| head `ca2c8a82` (measured 00:36Z) | **`a28d68a6`** is `#1134`'s final PR head — the **source ref** that was squashed; **`aaddda66`** is the commit on `main` | three shas, none of them each other: a head is a MOVING reference until a landing fixes a different sha. *Corrected on Copilot finding `r4067741174`, which caught an earlier round writing "the head that landed" — the one error class this packet is built to catch, since it ticks on landed shas and nothing else.* |

**One narrative defect in `#1134`'s own body is REGISTERED and not fixed** (another actor's text; no sha turns on it): it says the openXdox target is *"one commit past `xdox-v1.0`"*, and **measured it is two**. **That is the identical off-by-one this amendment corrected at § 8.7**, reached independently on the other side of the same landing — the argument for recording defect CLASSES and not only defects.

**§ 8.7 — STEP 3 re-measured at 01:17Z, after step 2 landed: still not opened.** `opensoft/xFactory` now carries six open pull requests; the new one is **#477**, the ceremony-history DOCS follow-up § 5.6 already registered, **not** the sync.

**§ 3.6 — the openDox-code hygiene arc has landed twice, at the box that already carries its register**, and neither landing moves it: **#33 → `1d4ac83c`** (2026-09-19T02:29:06Z) and **#34 → `f8a1eced`** (2026-09-22T01:07:19Z, a squash). The triple is **measured, not reported** — `1114 / 1111 / 3` at `.github/workflows/validate.yml`:2128 with `MIN_SELECTED`/`MIN_PASSED` at :2136-2137, where #33 read `1109/1106/3` and the root-pinned `d816cf06` reads `1099/1096/3`. **And the reason neither touches an obligation is verified rather than asserted**: the `openDox` assembly root still pins `code` at `d816cf06`, and `f8a1eced` is **ahead_by 2, behind_by 0** of it. *(Clock correction owed to the report: #34 was handed as 01:07:26Z; both fields that exist read 01:07:19Z.)*

**`origin/main` `aaddda66` is merged into this branch**, and the markers are re-verified against it: `67 [x] / 3 [ ] / 2 [~] of 72`, `^- \[.\]` lines byte-identical in text and order.


### Round 5 — the last head-moving round: *"direct pins"* named two different pairs

Copilot's round-4 overview reported **Findings: None** with the headline *"the pin-trigger evidence must be attributed to the correct direct and transitive pin files"*. No thread, nothing to register — and the headline is right about the prose: § 5.1 used **"direct pins"** for **two different pairs**, four paragraphs apart, and only ONE file belongs to both.

| the phrase | the pair | |
| --- | --- | --- |
| the **ruling's** — *"both direct pins"* | `openxFactory`'s `contracts/opendox-pin.yaml` + `openXdox`'s file of the same name | each DIRECT from its own consumer's position; the second is TRANSITIVE as seen from `openxFactory` |
| **this box's own** | `contracts/openxdox-pin.yaml` + `contracts/opendox-pin.yaml` | the two pins `openxFactory` DECLARES — what RULED **Q7** made two |

The deferral sentence now **names its two files** instead of saying *"both direct pins"*, and a **PHRASE COLLISION** paragraph flags the ambiguity once — on the same treatment the `R-5` collision gets at § 5.6: every mention names its files and **neither phrase is renamed**, because renaming a ruling's label in a ledger breaks every record that cites it.

**This is the final head-moving round on this amendment.** Anything further is registered for #12.


## Round 6 — a FOLD, not a review round: STEP 3 lands and the forced order is COMPLETE

**`opensoft/xFactory` #478 → `1385f380117f54f1e266e239a9e467e730ce3f29`, `mergedAt` 2026-09-22T01:33:07Z, a MERGE COMMIT (two parents).** The three pointers are read **at that commit**, not from its title: `openxFactory` → **`aaddda66`**, `openDox` → **`dc7aa08f`**, `openXdox` → **`646f1dc0`**. The equality § 8.7's own line checks holds again for **both** legs — STEP 1 broke it by design and STEP 3 restores it, which is what makes the order *forced* rather than preferred.

| the forced order, `#656` `5767733963` | landing | UTC |
| --- | --- | --- |
| **STEP 1** `openXdox` #15 | `646f1dc0` | 2026-09-21T21:51:39Z |
| **STEP 2** `openxFactory` #1134 | `aaddda66` (squash) | 01:12:58Z |
| **STEP 3** `xFactory` #478 | `1385f380` (merge commit) | 01:33:07Z |

**Four files is not a breach of #474's two-file invariant — it is a different sync.** #474 was the openxFactory-**pointer** sync (that gitlink plus `.github/clearing/openxfactory/PIN.yaml`); this is the **three-pointer** sync, so its shape is three gitlinks plus that same clearing PIN, and #474's pair moves here too for #474's own reason: the nightly runs its scripts from the `openxFactory` gitlink.

**§§ 5.1 and 4.2 — both halves of the header amendment have landed**, so round 2's *"NEITHER pin file carries the amended header on a landed commit"* is superseded and kept with its clock. The openXdox half is **`openXdox` #16 → `7194c06ca456d1675e32e890b4acf640b14bfc60`**, `mergedAt` 01:33:20Z, a squash, one file. **Measured in the landed bytes rather than taken from the title**: it cites the ruling `5768144952` **twice**, the trigger sentence *"that artifact then moves into a `files:` list here"* **no longer occurs in it at all**, and `commit:` still reads `dc7aa08f` — the header moved, the referent did not. **§ 4.2's obligation was registered as owed at 00:45Z and discharged at 01:33Z**, inside one amendment, and both are recorded: *a ledger that records only what is still outstanding cannot be used to check what was.*

> **A clock pattern worth more than its four figures.** #1134 handed 01:13:04Z / measured **01:12:58Z**; `openDox-code` #34 handed 01:07:26Z / **01:07:19Z**; #478 handed 01:33:14Z / **01:33:07Z**; `openXdox` #16 handed 01:33:28Z / **01:33:20Z**. **Four reports, every one six to eight seconds fast** — a systematic offset in whatever field the reports read, not four slips. It changes no gate; this packet names the FIELD beside every clock precisely so an offset like that is visible instead of invisible.

**The Copilot finding budget stays closed at round 5.** This round folds landings the holder sent while the amendment was open.


### Round 7 — round 6's fold left its own plan standing as live, and the marker goes in the same round

**`r4067822689` (MEDIUM) is right.** Round 6 recorded `openXdox` #16 as landed and § 4.2's obligation as discharged, and left § 5.1's *"EXECUTION IN TWO HALVES, AND THE SECOND IS OWED"* standing beneath it with no superseded timestamp and no discharge reference — one box saying both halves landed and, four paragraphs down, scheduling the second as future work. **The same defect class round 2 corrected, re-created by a later fold in the same section.**

The plan is **kept** — this packet keeps superseded readings in the present tense of their own act — and it is now **marked** *SUPERSEDED 2026-09-22T01:33:20Z*, naming `openXdox` #16 → `7194c06c` as the discharge and § 4.2 as the other place it is recorded. **The general lesson is written into the marker, not merely applied**: a fold that lands an obligation must mark every plan that schedules it, in the same round as the fold, or the contradiction outlives the round that made it.


### Round 8 — the mirror, found in the review BODY rather than in a thread

Copilot's round-7 review reported **Findings: None** open and **0 unresolved threads**, and carried a **"Previously missed"** finding in its body, in text round 7 did not touch: § 4.2's heading *"WHAT THIS BOX OWES, REGISTERED AND NOT DISCHARGED HERE"* still presented the obligation as live with its own discharge in the very next paragraph.

**It is right, and it is the exact mirror of what round 7 fixed at § 5.1**, so it takes the identical treatment: the reading is **kept** in the present tense of its own act and **marked** *SUPERSEDED 2026-09-22T01:33:20Z*, naming `openXdox` #16 → `7194c06c`. **The marker rule now stands at both boxes rather than only at the one that was reported.**

*Recorded because of where it was visible: a zero-unresolved-threads count is not evidence, and this lane's gate reads the review BODY for exactly this block.*


## Gates

`openspec validate split-opendox-two-layer-product --strict` **valid** · `proposal-support.py . verify` **ok** · `validate-sequenced-after.py . --ledger-diff` **clean (222 rows)**.

`openspec validate --all --strict` → **106 passed, 1 failed** — and **the one is not this branch's**: `add-chain-attestation`'s `signed-execution-chain` MODIFIED block omits *"a tranche-two link does not exist yet"*. **Measured identical at this branch's own base `6b298a1e` AND at `main` `aaddda66` after the merge**, so it is inherited `main`-red; it is asked of lane **`openxfactory-1`** by name at `#656` comment `5767267092`, and it is § 8.9's registered residue (vi).


Lane: openxfactory-4
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