Skip to content

Land doxbench Phase B wave 2: archive Phase A, exit the staged topic, record realization evidence - #228

Merged
brettheap merged 8 commits into
mainfrom
change/doxbench-b-landing
Aug 21, 2026
Merged

brettheap merged 8 commits into
mainfrom
change/doxbench-b-landing

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Wave-2 landing for add-doxbench-editing-phase-b. Governance only — one small
code fix to proposal-support.py, no runtime behaviour change.

What landed

Phase A task 9.1 + archive. Realization evidence derived from git log over
the change directory, not recollection — and one correction fell out: PR #207
did NOT realize any part of Phase A
; it realized Phase B's core and touched no
file there. The true evidence is PR #196 / 6ac42ed plus Phase A's own
annotation round at #199 / 224bf22 and #201 / 96975c1. Green at the gate:
Phase A's own five pinned files 487 passed exit 0. Archived via
proposal-support.py as 2026-08-21-add-doxbench-editing-phase-a, promoting
+5 ADDED / ~2 MODIFIED.

13.7 — the archive-order hazard, verified against the promoted text. All
three Phase-A-relative names are present to amend. The promoted Phase A text
says the bound-buffer record "is DEFERRED and MUST NOT be claimed by this
capability"; Phase B's MODIFIED block replaces exactly that sentence with
"SHALL now be CARRIED rather than deferred". Reverse the order and the promoted
spec would carry the DEFERRED sentence with contract-v1.34 already shipped.
The hazard was real.

13.6 — the staged topic exited. All seven questions dispositioned (checked:
zero Disposition status: open). proposal-support.py transition moved the
fragment into Phase B's supporting-docs/; the .openspec.yaml origin block is
byte-identical before and after (diffed, because a mutated origin is rejected at
the archive gate). The two parked items are dispositioned to live code that
cannot be flipped by prose — Headroom's five gates in
doxbench_packet.WATCH_LISTED_CANDIDATES (whose constructor raises on
adopted=True), and the graph graduation trigger in
doxbench_knowledge.RESERVED_REFUSAL. Neither adopted, neither dropped.

13.8 — evidence recorded, task left OPEN. See the adjudication.

proposal-support.py: archive a change with no supporting documents

The wrapper called package() unconditionally and died on "supporting-docs
folder not found", so a staged-origin change that legitimately never took its
topic with it could not archive through the sanctioned path at all. The promoted
rule scopes packaging to a change with supporting documents, verify()
already reads it that way on both sides, and fifteen archived staged-origin
changes already have that shape
. Two tests added; revert-tested.

The §12 adjudication — Phase B was NOT archived

Phase B stays ACTIVE. Recorded in full against task 12.6:

  1. release-realization's gate is written over the whole code surface — and
    Phase B's code_surface: names session_pr.py/gate_routes.py share-session,
    which is not built. The gate has no proportion in it.
  2. Archiving would promote the ADDED requirement "Share-session hands a live
    session to a colleague"
    — a page of SHALLs about a verb that does not exist.
    That is precisely the invariant the gate names.
  3. No trailing-realization mechanism exists in the record. The corpus states
    the opposite pattern repeatedly: defer by carving a successor change.

Mechanically the sanctioned path already refuses (archive_change raises on any
open task). Two exits, both Brett's call: realize §12 as its own slice, or carve
§12 out and narrow this change's code_surface: by recorded ruling (a
contested-class amendment).

Gates

tests/ideation-dashboard  3699 passed, 15 skipped     tests/ideation_dashboard  63 passed
tests/doc-health           691 passed                 tests/proposal-support    31 passed
openspec --all --strict   61 passed, 0 failed  (62 at origin/main 0a4b63a; -1 = Phase A leaving)
contracts validator       0 errors / 4 warnings (by-design v1 deprecation)
doc-health, same-clock baseline at 0a4b63a vs HEAD:
  3 critical, 8 error, 74 warning, 3 info  both sides;  new findings: []
  finding-by-finding diff EMPTY — nothing moved despite the archive relocating a
  change directory and the transition moving a fragment

🤖 Generated with Claude Code

brettheap and others added 4 commits August 21, 2026 10:11
Derived from git log over the change directory, not from recollection: the
realization is PR #196 / 6ac42ed plus this change's own annotation round at
#199 / 224bf22 and #201 / 96975c1. PR #207 realized Phase B's core and touched
no file here — named in the block only to say so. Green at landing: this
change's own five pinned files 487 passed exit 0; tests/ideation-dashboard
3699 passed / 15 skipped. The block also states what Phase B has since done to
the surface, so the archived spec is not read as current two-buffer truth.

Co-Authored-By: Claude Fable 5 <[email protected]>
The promoted rule scopes packaging to a change WITH supporting documents, and
verify() already reads it that way on both sides — but archive_change called
package() unconditionally, so a staged-origin change that legitimately never
took its topic with it could not archive through the sanctioned path at all.
Fifteen archived staged-origin changes already have that shape, so the wrapper
was the only thing that could not produce it, which is precisely what pushes an
operator toward a bare 'openspec archive' and around the gate.

Found archiving add-doxbench-editing-phase-a, whose task 9.2 deliberately kept
the topic staged for Phase B. --final-import-complete with no bundle is now
refused rather than silently ignored.

Co-Authored-By: Claude Fable 5 <[email protected]>
… record realization evidence

Phase A archived via proposal-support as 2026-08-21-add-doxbench-editing-phase-a
(+5 ADDED, ~2 MODIFIED promoted). 13.7 verified against the promoted text, not
assumed: the three Phase-A-relative names are present to amend, and the promoted
F2 deferral sentence is the one Phase B's MODIFIED block replaces — the hazard
was real. 13.6 exits the staged topic into Phase B's supporting-docs with the
origin byte-identical, and dispositions the two parked items (Headroom's five
gates, the graph graduation trigger) to live code that refuses adoption.
13.8 records the evidence and stays OPEN: the gate is written over the whole
code surface and share-session is not built. §12 adjudication recorded against
12.6 — Phase B stays ACTIVE, NOT archived; the call between realizing §12 and
carving it out is Brett's.

Co-Authored-By: Claude Fable 5 <[email protected]>
The README's active-block entry linked a directory that no longer exists;
it now points at the archive, records the realization evidence and the
discharged F2 obligation, and drops the 'archive gate still needs 9.1'
sentence that has stopped being true. add-staged-topic-outline-template's
cross-change citation is repointed too — the finding it cites is unchanged,
only its location is.

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

@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

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 34c4d7bce2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/proposal-support.py Outdated
Comment on lines +919 to +922
if (directory / "supporting-docs").is_dir():
package(root, change, packaged_at, archived=False,
final_import_complete=final_import_complete, apply=True)
elif final_import_complete:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Reject bundleless archives for staged origins

When a staged-origin change has no supporting-docs/ directory, this branch skips packaging and proceeds to openspec archive, leaving no readable manifest against which the immutable origin can be checked. This contradicts openspec/specs/release-realization/spec.md:105-107, which requires every archived staged-origin packet and its readable support manifest to carry identical origin IDs and paths; the bundleless exception at lines 109-111 is explicitly limited to ad-hoc origins. Limit this bypass to ad_hoc changes or otherwise retain the required manifest for staged origins.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reproduced and adjudicated from the record — refuted, with one real point acknowledged and recorded as a follow-up.

1. The bundle mandate is antecedent-scoped, and the antecedent is not met here. The governing normative sentence is openspec/specs/release-realization/spec.md:81:

An OpenSpec change with proposal supporting documents SHALL NOT archive until … the supporting folder has been converted into a deterministic bundle with a readable, verifiable manifest.

A change with no supporting documents never enters that requirement's scope. add-doxbench-editing-phase-a has none by design: its own task 9.2 deliberately kept the staged topic for Phase B rather than transitioning it, so there is no folder to bundle and no material at risk of being lost.

2. verify() has always been the gate's symmetric executable reading. Long before this PR, proposal-support.py verify checks an active change's support only if (directory / "supporting-docs").exists(), and an archived change's bundle only when a manifest or bundle is present — falling through to the origin check alone otherwise. archive_change was the sole asymmetric reader. It now matches. Phase A passes verify clean both before and after archiving, and origin_errors(strict=True) still runs on every path, so origin retention is enforced exactly as before — via .openspec.yaml, which is the artifact that actually carries the immutable origin.

3. The bundleless shape is the majority of staged origins, not an ad-hoc exception. Audited the archive: partitioning archived changes whose .openspec.yaml says kind: staged on the presence of supporting-docs.tar.gz gives 16 without a bundle against 15 with — add-ideation-dashboard, add-workbench-branch-sessions, add-openxwallet, add-repository-lens, add-session-notebook-reconciliation, and eleven more. Limiting the bypass to ad_hoc as proposed would re-close the sanctioned path for the more common staged-origin shape, which is precisely what pushes an operator to a bare openspec archive and around the gate entirely — the failure this repository has a standing rule against.

4. What Codex did find, and it is real. The scenario cited at spec.md:105-107 reads unconditionally —

THEN the archived .openspec.yaml and the readable support manifest MUST carry the identical origin id and path

— which is more absolute than the requirement it illustrates, and is what makes this finding a reasonable read of the text as written. The scenario should say "and, where a support bundle exists, the readable support manifest". That is a spec-text change and needs its own OpenSpec change, so it is recorded rather than silently edited here: docs/support-bundle-scope-open-item.md (linked in the README doc index), as finding F2.

Also addressed from Copilot's overlapping comment on the same line: the predicate is now .exists() rather than .is_dir(), matching verify()'s spelling so the two readers of "does this change have supporting documents" cannot disagree. The deleted-supporting-docs surface Copilot points at is recorded in the same doc as F3.

No code change to the bypass. Commit c76fb5b carries the predicate alignment and the corrected precedent count.

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 lands the governance wave-2 updates for the doxBench editing Phase B change series: archiving Phase A, exiting the staged doxbench-editing-model topic into Phase B supporting docs, and recording realization/landing evidence—plus a small functional fix to scripts/proposal-support.py so the sanctioned archive wrapper can handle staged-origin changes that legitimately have no supporting-docs/.

Changes:

  • Update proposal-support.py archive_change to only package when supporting-docs/ exists, and add tests covering bundleless archive + --final-import-complete refusal without a bundle.
  • Archive Phase A into openspec/changes/archive/... and promote/record the corresponding evidence and artifacts.
  • Update OpenSpec corpus docs (README, ideation-dashboard spec, staged INDEX, Phase B tasks/proposal/supporting-docs) to reflect the archive, staged-topic exit, and adjudication/evidence record.

Reviewed changes

Copilot reviewed 12 out of 16 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/proposal-support/test_proposal_support.py Adds regression tests ensuring the archive wrapper supports changes with no supporting-docs/ and refuses --final-import-complete without a bundle.
scripts/proposal-support.py Adjusts archive wrapper behavior to skip packaging when no supporting docs are present; adds explicit refusal for --final-import-complete without docs.
README.md Repoints Phase A references to the archived location and records archive/evidence notes.
openspec/specs/ideation-dashboard/spec.md Updates/extends doxBench requirements text to align the promoted spec with the realized Phase A surface and constraints.
openspec/changes/archive/2026-08-21-add-doxbench-editing-phase-a/tasks.md Marks and expands realization evidence records for the archived Phase A change.
openspec/changes/archive/2026-08-21-add-doxbench-editing-phase-a/specs/ideation-dashboard/spec.md Adds the archived snapshot of Phase A’s ideation-dashboard spec delta content.
openspec/changes/archive/2026-08-21-add-doxbench-editing-phase-a/proposal.md Records “realized and archived” evidence block and clarifies Phase A vs Phase B scope/history.
openspec/changes/archive/2026-08-21-add-doxbench-editing-phase-a/design.md Adds archived design write-up capturing Phase A decisions and annotation rounds.
openspec/changes/archive/2026-08-21-add-doxbench-editing-phase-a/.openspec.yaml Adds archived origin metadata for the Phase A change.
openspec/changes/add-staged-topic-outline-template/tasks.md Updates citations to point at the archived Phase A task file path after archiving.
openspec/changes/add-doxbench-editing-phase-b/tasks.md Records the §12 adjudication and staged-topic exit evidence; updates task statuses accordingly.
openspec/changes/add-doxbench-editing-phase-b/supporting-docs/source-snapshots/doxbench-editing-model.md Adds the byte-preserved source snapshot of the staged topic at transition time.
openspec/changes/add-doxbench-editing-phase-b/supporting-docs/manifest.yaml Adds the transitioned supporting-docs manifest capturing provenance and checksums.
openspec/changes/add-doxbench-editing-phase-b/supporting-docs/doxbench-editing-model.md Adds the transitioned staged-topic content (now Status: draft, Proposed by: recorded).
openspec/changes/add-doxbench-editing-phase-b/proposal.md Adds an explicit “realization evidence” block while keeping Phase B active per §12 adjudication.
ideation/staging/INDEX.md Updates the staged topic row to reflect staging exit and where the material now lives.

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

Comment thread scripts/proposal-support.py Outdated
Comment on lines +919 to +928
if (directory / "supporting-docs").is_dir():
package(root, change, packaged_at, archived=False,
final_import_complete=final_import_complete, apply=True)
elif final_import_complete:
raise SupportError(
"--final-import-complete records a NotebookLM source import for a "
"support bundle, and this change has no supporting-docs folder")
else:
print(f"NO SUPPORTING DOCS {directory} (origin retained, nothing to "
"package)")
brettheap and others added 2 commits August 21, 2026 10:46
…the F4 test bite

F1 the comment said fifteen; sixteen archived staged-origin changes had the
bundle-less shape before this one, and fifteen is the count of the complement.
Corrected, with the recount method stated so it cannot be miscounted again.
F3 .exists() rather than .is_dir(), so this predicate is the same one verify()
applies and the two readers cannot disagree.
F4 the final-import-complete test asserted a bare SupportError, which the
PRE-fix path also raised — tightened to assertRaisesRegex on the message.

Co-Authored-By: Claude Fable 5 <[email protected]>
F5 the recorded exit note named §12 alone, which would have put a partial
ledger in front of the ruling. Nine tasks are open across three families —
10.7 and 11.7 each need a contract release, 12.1-12.6 need a realization slice,
13.8 follows whichever lands last — so carving §12 out narrows the blocking set
from three families to two rather than clearing it.

F2/F3 recorded in docs/support-bundle-scope-open-item.md and linked in the
README doc index: the staged-origin scenario reads more absolutely than the
requirement it illustrates (the fix is a spec-text change, not authorized here),
and the deleted-supporting-docs surface stays open with its predicate half
already closed. Status is 'record' per the controlled taxonomy — the
open-item doc I modelled it on uses a free-form status that doc-health flags.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 21, 2026 14:49
…ding

# Conflicts:
#	ideation/staging/INDEX.md

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

Copilot reviewed 13 out of 17 changed files in this pull request and generated 1 comment.

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

openspec/changes/add-doxbench-editing-phase-b/supporting-docs/doxbench-editing-model.md:624

  • The quoted annotation uses the misspelling "imersive". If this is intentionally preserved as a verbatim quote, adding “[sic]” avoids readers interpreting it as an accidental typo in the document itself.
tile directly on the live UI, verbatim: "add a load button. read will still

wrapper called `package()` unconditionally and died on
"supporting-docs folder not found", which is the one thing that pushes
an operator toward a bare `openspec archive` and around the gate.
Fifteen archived staged-origin changes already have this shape."""
…e doxbench topic exit

The merge of origin/main brought add-staged-topic-outline-template's gate
records onto the same branch that exits doxbench-editing-model from staging,
so two of its recorded claims now describe a corpus that moved under them.
Neither is wrong; both would rot silently if left alone.

6.3 cited the handoff note at its staging path. The note is unchanged and
still present -- it rode with the fragment into Phase B's support bundle, so
the citation is repointed and the reasoning noted as strengthened, not
weakened: the note existed so "Phase B inherits it" and now sits inside Phase B.

5.3's sha-pinned enumeration is unaffected in substance: doxbench-editing-model
is not one of its 29 findings (it carries both required headings), and a
doc-health run on the merged tree is byte-identical to its base at the new main
tip -- 3/8/76/3, new findings [], empty finding-by-finding diff. What moved is
the corpus size, so the real post-exit figures are recorded for the next re-run
rather than leaving the pin to be discovered stale.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 21, 2026 15:05
@brettheap
brettheap merged commit 4926b7c into main Aug 21, 2026
1 check passed

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

Copilot reviewed 13 out of 17 changed files in this pull request and generated no new comments.

Suppressed comments (1)

tests/proposal-support/test_proposal_support.py:322

  • The docstring here says there are "Fifteen archived staged-origin changes" with this bundle-less shape, but the explanatory comment added to archive_change() (and the new open-item doc) says the count is sixteen. Keeping these references consistent will avoid confusion when someone re-validates the evidence later.
        Fifteen archived staged-origin changes already have this shape."""

brettheap pushed a commit that referenced this pull request Aug 21, 2026
Follow-up to the merge of origin/main. The merge itself reported no
textual conflicts, but it renamed `add-doxbench-editing-phase-a` into
`archive/2026-08-21-...` (main archived it in #228) and carried this
branch's Amendment 1 edits along with the rename. That is the one thing
the merge got semantically wrong, and it is reverted here.

WHY IT WAS WRONG. Main archived Phase A carrying its ORIGINAL
control-count wording, so that is what the archival promoted into
`openspec/specs/ideation-dashboard/spec.md` — "exactly ONE Save control
and exactly ONE Cancel control", with a scenario requiring both present at
mount. An archive amended after the fact would have claimed Phase A
ratified a conditional slot while the spec its own archival produced said
otherwise: a falsified record, and the same rule
`add-staged-topic-outline-template`'s Amendment 1 applies to its
supporting-docs copies. The archived change is therefore restored
byte-exact to main's version.

NOTHING IS LOST. Phase B declares this requirement under
`## MODIFIED Requirements` and already carries the full amended text and
the full Amendment 1 reasoning, so Phase B's delta is now the SOLE carrier
of the correction and supersedes the promoted wording when Phase B
archives. Until then the promoted spec describes Phase A's shipped posture
and this delta describes the amended one — which is what a MODIFIED delta
is for. A new paragraph in Phase B's Amendment 1 records exactly that,
so a reader who finds the promoted text first is not left thinking the
code disagrees with the spec by accident.

COPILOT, acted on: the save-in-flight scenario used fixed
`setTimeout(..., 5)` delays. A wall-clock sleep is a guess about scheduler
load, and what the scenario measures — which controls are on screen
mid-flight — is exactly what a slow machine would race. Reworked to
bounded polls on the specific transitions (Save reports itself disabled;
the saved buffers rebase clean), using the same `settle`/`until` idiom the
later harnesses in this file already carry, spelled locally because this
harness had no waiter of its own.

COPILOT, recorded rather than fixed: the public
`unloadDocument(key, …)` hard-refuses only the OUTLINE key while every UI
path withholds BOTH reserved keys. The asymmetry PRE-DATES this branch —
the retired rail control withheld the same two keys at the same layer — so
the reachable surface was and is correct. Noted at the controller refusal
and in Phase B's amendment as known looseness deliberately not widened
here; tightening a public method is a contract change, not a UI amendment.

Main touched none of this branch's four source files
(`doxbench-editor.js`, `doxbench-chat.js`, `staging-workbench.js`,
`styles.css`) — verified by diffing merge-base against origin/main — so
the code side of the merge was trivial and both annotation removals
survive intact.

All ten mutations re-run on the merged tree and all still die (M1 7
failures, M2 3, M3 2, M4 1, M5 2, M6 1, M8 1, N1/N2/N3 1 each). Checksum
discipline earned its keep during that run: the N-mutation reverter uses
`git checkout --`, which restored the committed file and silently wiped
the then-uncommitted controller comment. Caught by comparing the hash
against the expected one, and restored — a merge really is where a pin
vanishes quietly.

Gates: `pytest tests/ideation-dashboard -q` exit 0 (3743 passed, 14
skipped — up from 3709 with main's incoming tests); `pytest tests/doc-health
-q` exit 1 with exactly the four known client-identity location artifacts;
`openspec validate add-doxbench-editing-phase-b --strict` exit 0 and
`--all --strict` exit 0 at 63/63 (main added one item; phase-a no longer
validates by that id, having been archived).

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap pushed a commit that referenced this pull request Aug 21, 2026
Follow-up to the merge of origin/main. The merge itself reported no
textual conflicts, but it renamed `add-doxbench-editing-phase-a` into
`archive/2026-08-21-...` (main archived it in #228) and carried this
branch's Amendment 1 edits along with the rename. That is the one thing
the merge got semantically wrong, and it is reverted here.

WHY IT WAS WRONG. Main archived Phase A carrying its ORIGINAL
control-count wording, so that is what the archival promoted into
`openspec/specs/ideation-dashboard/spec.md` — "exactly ONE Save control
and exactly ONE Cancel control", with a scenario requiring both present at
mount. An archive amended after the fact would have claimed Phase A
ratified a conditional slot while the spec its own archival produced said
otherwise: a falsified record, and the same rule
`add-staged-topic-outline-template`'s Amendment 1 applies to its
supporting-docs copies. The archived change is therefore restored
byte-exact to main's version.

NOTHING IS LOST. Phase B declares this requirement under
`## MODIFIED Requirements` and already carries the full amended text and
the full Amendment 1 reasoning, so Phase B's delta is now the SOLE carrier
of the correction and supersedes the promoted wording when Phase B
archives. Until then the promoted spec describes Phase A's shipped posture
and this delta describes the amended one — which is what a MODIFIED delta
is for. A new paragraph in Phase B's Amendment 1 records exactly that,
so a reader who finds the promoted text first is not left thinking the
code disagrees with the spec by accident.

COPILOT, acted on: the save-in-flight scenario used fixed
`setTimeout(..., 5)` delays. A wall-clock sleep is a guess about scheduler
load, and what the scenario measures — which controls are on screen
mid-flight — is exactly what a slow machine would race. Reworked to
bounded polls on the specific transitions (Save reports itself disabled;
the saved buffers rebase clean), using the same `settle`/`until` idiom the
later harnesses in this file already carry, spelled locally because this
harness had no waiter of its own.

COPILOT, recorded rather than fixed: the public
`unloadDocument(key, …)` hard-refuses only the OUTLINE key while every UI
path withholds BOTH reserved keys. The asymmetry PRE-DATES this branch —
the retired rail control withheld the same two keys at the same layer — so
the reachable surface was and is correct. Noted at the controller refusal
and in Phase B's amendment as known looseness deliberately not widened
here; tightening a public method is a contract change, not a UI amendment.

Main touched none of this branch's four source files
(`doxbench-editor.js`, `doxbench-chat.js`, `staging-workbench.js`,
`styles.css`) — verified by diffing merge-base against origin/main — so
the code side of the merge was trivial and both annotation removals
survive intact.

All ten mutations re-run on the merged tree and all still die (M1 7
failures, M2 3, M3 2, M4 1, M5 2, M6 1, M8 1, N1/N2/N3 1 each). Checksum
discipline earned its keep during that run: the N-mutation reverter uses
`git checkout --`, which restored the committed file and silently wiped
the then-uncommitted controller comment. Caught by comparing the hash
against the expected one, and restored — a merge really is where a pin
vanishes quietly.

Gates: `pytest tests/ideation-dashboard -q` exit 0 (3743 passed, 14
skipped — up from 3709 with main's incoming tests); `pytest tests/doc-health
-q` exit 1 with exactly the four known client-identity location artifacts;
`openspec validate add-doxbench-editing-phase-b --strict` exit 0 and
`--all --strict` exit 0 at 63/63 (main added one item; phase-a no longer
validates by that id, having been archived).

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap pushed a commit that referenced this pull request Aug 21, 2026
The README row and the PR description disagreed about which PRs realized this
change. Neither list was right, so neither was adopted: the answer was
re-derived mechanically from gh pr view --json files, asking of every
candidate whether it edits a file under
openspec/changes/add-staged-topic-outline-template/.

Eight PRs pass that test and are this change's own chain: #193, #195, #198,
#208, #211, #217, #224, #227. The PR description omitted the first three -
they predate the session handoff it was written from - and wrongly claimed
#215, #221 and #222, which fail the test: each touches only its own change's
documents and code, so each belongs to align-demote-to-round-trip-rule,
refine-demote-round-trip-mechanics and align-status-reader-to-real-lines
respectively, all three of which already have archive records carrying their
own evidence. What #217 contributes here is task 4.2 and the archiving of the
first of them, not the fix.

The README row, the proposal banner and the tasks.md evidence section now
state the two categories explicitly and name the test, so the chain can be
re-derived rather than trusted. One exception is recorded rather than left to
surprise a reader: #228 also edited this change's tasks.md, to repoint 5.3 and
6.3 after the doxbench topic exited staging - a cross-change bookkeeping
repoint that discharges no task here.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap pushed a commit that referenced this pull request Aug 21, 2026
The README row and the PR description disagreed about which PRs realized this
change. Neither list was right, so neither was adopted: the answer was
re-derived mechanically from gh pr view --json files, asking of every
candidate whether it edits a file under
openspec/changes/add-staged-topic-outline-template/.

Eight PRs pass that test and are this change's own chain: #193, #195, #198,
#208, #211, #217, #224, #227. The PR description omitted the first three -
they predate the session handoff it was written from - and wrongly claimed
#215, #221 and #222, which fail the test: each touches only its own change's
documents and code, so each belongs to align-demote-to-round-trip-rule,
refine-demote-round-trip-mechanics and align-status-reader-to-real-lines
respectively, all three of which already have archive records carrying their
own evidence. What #217 contributes here is task 4.2 and the archiving of the
first of them, not the fix.

The README row, the proposal banner and the tasks.md evidence section now
state the two categories explicitly and name the test, so the chain can be
re-derived rather than trusted. One exception is recorded rather than left to
surprise a reader: #228 also edited this change's tasks.md, to repoint 5.3 and
6.3 after the doxbench topic exited staging - a cross-change bookkeeping
repoint that discharges no task here.

Co-Authored-By: Claude Fable 5 <[email protected]>
@brettheap
brettheap deleted the change/doxbench-b-landing branch August 21, 2026 23:57
brettheap added a commit that referenced this pull request Sep 5, 2026
Records the landed consumer re-pins from Brett Heap's "merge 268 then 228
then 17" and "merge 696 when green": xFactory PR #268 (squash 2f767ac8,
sibling gitmodule entry + four workflow comments), OpsxFactory PR #228
(merge commit 6a0d9467, code-surface-repositories entry, landed after
#268 per the aggregation-gitmodules re-derivation), and CloudPC-Install
PR #17 (squash bba9da8a, find_worker_root() re-pin + doc re-pointing).
4.6 is discharged by finding (installs/* excluded from the NotebookLM
projection by design). Notes in §2.3 that the App-repository-access
half remains Brett's web act, unchanged.

Lane: openxfactory-3 (openXfactory-3)


Claude-Session: https://claude.ai/code/session_01B7ZwWcHyLsSXntxMe4trbW

Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 8, 2026
…apped, consumers re-pinned, retirement landed (#213) (#803)

* Tick implement-omniworker-install-repo's twelve archive-gate boxes on evidence and five named successors

On Brett Heap's word of 2026-09-08 ~12:2xZ, in session, verbatim "archive
implement-omniworker-install-repo", recorded on openxFactory #591; and under his
ruling of 2026-09-06, verbatim "Tick on the recording".

Twelve of the fifteen boxes that were open at that word close here, and each one
NAMES ITS KIND rather than leaving a reader to infer it.

ON THE EVIDENCE, verified with gh/git on 2026-09-08 and not copied from earlier
notes. 1.2 and 7.4: docs/omniworker-naming.md has read `Status: ratified` since
this change's own landing squash 76434aa, unchanged by the two 2026-09-08
amendment passes (#784 6c9e362, #789 9581ed9). 7.1: OmniWorker-Install created
2026-09-05T16:15:48Z, private, main, seed c5d0f1f6; suites green at the new
location (#1 eb0c9675, #2 d617e68e) and main green through #3 33eed467, #5
54daeb3c, #6 322ee4da, #7 187d75b6; the boundary validator's planted-secret
cases all caught, plus #2's control that the same bytes outside an exempt path
are still flagged. 7.2: xFactory #268 2f767ac8, OpsxFactory #228 6a0d9467,
CloudPC-Install #17 bba9da8a all MERGED, with 4.5 and 4.6 called out as
discharged WITHOUT an edit rather than counted silently. 8.1: xFactory #274
648c8bd3, the governed admission record, separate from the pin as the requirement
demands. 8.2: OpsxFactory #233 83a91c58 ratified by #235 3e4cd248.

ANSWERED BY THE ACT, which is 1.3's and 7.5's substance: OQ-2 (the seam accepted
and mechanized through ${OMNIWORKER_ROOT}, Omnigent-Install #217 4f82cbd8),
OQ-3 (the host still checks out the orchestrator, CloudPC-Install #17), OQ-4
(root schemas/, forced by hard-coded consumer paths), OQ-8 (the archive stays
whole, recorded verbatim in Omnigent-Install's docs/omniworker-split.md), OQ-10
(PRIVATE, verified live). OQ-6 and OQ-7 were already RULED and are cited to
design § D5's dated amendments.

ON NAMED SUCCESSORS, five issues filed at this archive, all UNCLAIMED: #794
(OQ-1 — the execution-lane-enablement runbook stayed with the orchestrator BY
DEFAULT, not by decision), #795 (OQ-5 / § 8.3, the runner label), #796 (OQ-9 /
§ 8.4, the three enumerations), opensoft/xFactory #346 and
opensoft/CloudPC-Install #19 (the two halves of § 6.3, which cannot run until
Part 2 lands). 6.3's note carries the measurement that made them necessary: no
post-retirement run of any of the four lanes exists, ideation-organizer-worker
has NEVER run, and the cataloger's red is PRE-EXISTING.

7.6 ticks as what it is — the archive's own gate statement — with the
merged-plus-green evidence summarized per repository, and with what the gate
does NOT claim stated in the same breath: two successor-named operator acts and
§ 5.2's DISPOSED clause.

NOT DONE HERE. No box's ratified requirement sentence is rewritten; the state
changes and the note is appended, which is this packet's own in-place amendment
convention (#704, #773). 6.1, 7.3 and 8.5 are LEFT OPEN deliberately — they turn
on opensoft/Omnigent-Install #213, which is not yet merged — so
`proposal-support archive` still refuses this tree with "change has incomplete
tasks", by design. No archive is performed by this commit, no spec delta is
promoted, no README row moves and the sweep ledger is untouched. Task 2.3 stays
[~]: its owed half is Brett Heap's web act, already named twice in the packet,
and it does not block the archive gate.

Refs #591, #680

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

* Close the last four boxes on Omnigent-Install #213's landing and one named successor (2.3)

On Brett Heap's word of 2026-09-08 ~12:2xZ, "archive implement-omniworker-install-repo",
and his word of ~12:10Z, "merge 213" — both recorded on openxFactory #591. Taken as a
separate commit from the archive so proposal-support's output is the only thing in that
one, which is the precedent 26c2661/3c06bf75 set.

6.1 CLOSED. Part 1 was Omnigent-Install #235 bbba916d (2026-09-07T12:12:15Z); Part 2
LANDED as Omnigent-Install #213 -> merge commit 9c9c9355 (2026-09-08T13:05:48Z, from head
6feafc2d) under a Rule 6 window, because it re-homed
openspec/changes/add-worker-enrollment-broker-integration/ out of that repository. The
OQ-6 hold recorded in the ratified text is SUPERSEDED by Brett's word, and the
supersession is stated rather than glossed: add-worker-acr-push was byte-identical to main
at the merge (tree 7bb94b12) so nothing was re-homed by side effect in that directory, but
two of its four declared code_surface paths no longer exist in the repository that hosts
it. The code_surface: amendment that leaves owed is design § D5's named cost of sequence
(a); it is recorded on the PR and in that repository's docs/omniworker-split.md, and this
packet neither performs nor discharges it.

7.3 MET ON ONE HALF, SUCCESSOR-NAMED ON THE OTHER, and the note refuses to conflate them.
The retirement is merged in full (#235 + #213). The post-retirement re-run is NOT green
because it has not run and could not have: § 6.3 sequences it after Part 2, which landed
today. It closes on xFactory #346 and CloudPC-Install #19.

8.5 PERFORMED, and on the act that actually performed it rather than the one this box
guessed. Read live at Omnigent-Install@main: the four scope items are gone and a paragraph
names, links and quotes the boundary for OmniWorker-Install, doc index included. That
landed in #235 bbba916d with Part 1 — a day before #213 completed the retirement — so the
"if retirement is deferred" contingency never fired.

2.3 moves [~] -> [x] AS A RECORDING, NOT A DISCHARGE, on the coordinator's instruction and
the tick-on-the-recording rule. Successor: #800. Its two existing OWED notes are left
exactly as they stand. Three clauses of four were always done (ruleset 22342039, the two
App secrets, the session-open-pr.yml mirror — that repository's only workflow). The fourth
is measured in BOTH directions: the installation is repository_selection: all and a
down-scoped `repositories: OmniWorker-Install` / `contents: read` token was really minted
in CI (run 34041914618, re-proved 34042785728) — but authoring needs contents: write plus
pull_requests: write, no run has asked for either, and all six OmniWorker-Install pull
requests are authored by brettheap. Six PRs in, the route has never been exercised, which
is the exact failure mode the box's last sentence names.

Every one of the 40 boxes is now [x]; `openspec validate implement-omniworker-install-repo
--strict` is clean through the pinned CLI. No ratified requirement sentence is rewritten
anywhere in this commit.

Refs #591, opensoft/Omnigent-Install#213

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

* Archive implement-omniworker-install-repo: the OmniWorker install boundary promoted into repo-boundary-governance canon

On Brett Heap's separate word of 2026-09-08 ~12:2xZ, in session, verbatim "archive
implement-omniworker-install-repo", recorded and claimed on openxFactory #591.

THE EVIDENCE, CITED RATHER THAN ASSERTED. The packet's front matter declares
target_release: repository-bootstrap and a code surface spanning FIVE repositories, two of
them operator estates, and says what that means: under release-realization it archives on
merged-plus-green realization evidence and never on landing. Ratified 2026-09-05, "ratify
680 and merge 16", PR #680 at head 9186661; ratifying commit 76434aa. Per repository:
OmniWorker-Install created 2026-09-05T16:15:48Z private/main/seed c5d0f1f6, copy-first in
#1 eb0c9675 and #2 d617e68e, suites and boundary validator green, main green through #3
33eed467 / #5 54daeb3c / #6 322ee4da / #7 187d75b6; Omnigent-Install pinned it across
twelve groups (#214 544c6319 .. #235 bbba916d), archived that packet (#237 07bdc9c3),
re-pinned routinely (#246 16963099) and retired in two parts, Part 1 bbba916d and Part 2
#213 -> 9c9c9355 on Brett's "merge 213"; xFactory #268 2f767ac8 (pin) and #274 648c8bd3
(the governed admission record, a separate act as the requirement demands); OpsxFactory
#228 6a0d9467 and the fleet re-attestation #233 83a91c58 ratified by #235 3e4cd248;
CloudPC-Install #17 bba9da8a and #18 349d539d.

PERFORMED THROUGH THE PINNED CLI, never a bare openspec archive:
python3 scripts/proposal-support.py . archive implement-omniworker-install-repo --date
2026-09-08 --yes, resolving @fission-ai/[email protected] from the content-addressed pin
cache, integrity verified, no registry fetch. Archived as
openspec/changes/archive/2026-09-08-implement-omniworker-install-repo/. ORIGIN RETAINED
fired inside the archive (declaration unchanged since the ratifying commit 76434aa)
and the retention arm passed against the archived path. NO SUPPORTING DOCS: the change has
no supporting-docs folder, so nothing was packaged and nothing needed to be.

WHAT WAS PROMOTED, COMPARED RATHER THAN EYEBALLED. One ADDED requirement, "OmniWorker
install repository boundary", appended to
openspec/specs/repo-boundary-governance/spec.md: 6,391 bytes, sha256
ad04308bd63ca30de4c1566f5b0a983d2a3ef274af1ff80370b62b9a844ca80a, extracted
programmatically from delta and canon and hashed identical on both sides. 90 added, 0
removed; git diff --numstat and git diff -w --numstat are identical, so 0 lines changed by
whitespace and no existing requirement is touched -- in particular "Install repository
scope" is left alone, which is this capability's established collision-avoidance. The
capability goes 9 -> 10 requirements. No file is added under openspec/specs/, so no
codexFactory floor advance is owed.

THE FROZEN FILES ARE PURE RENAMES. git diff -M reports 100% similarity and 0 changed lines
on .openspec.yaml, design.md, proposal.md, tasks.md and
specs/repo-boundary-governance/spec.md; tasks.md's two lawful tick commits (071dbe0,
2b9625c) land BEFORE this one so they are separable from the serializer's output.

The README OpenSpec Records row moves active -> archived; proposal-support does not move
it.

WHAT THE ARCHIVE ADMITS RATHER THAN SMOOTHS. Section 6.3's post-retirement re-run has NOT
run and cannot have -- the packet sequences it after a Part 2 that landed the same day --
so 7.3 says so and it closes on xFactory #346 and CloudPC-Install #19. Section 2.3 moved
[~] -> [x] as a RECORDING, not a discharge (#800). Section 5.2's pre-act
emptiness confirmation stays DISPOSED, not discharged. And the OQ-6 hold was SUPERSEDED,
not satisfied: add-worker-acr-push was still active in Omnigent-Install when #213 landed
-- byte-identical to main at the merge, tree 7bb94b12, so nothing was re-homed by side
effect -- and its code_surface: amendment is owed in that repository, not here.

NOT DONE HERE: no register is edited (contracts/manifest.yaml, contracts/README.md,
contracts/releases/** untouched), no release is cut, no version is allocated or reserved,
no tag is pushed, no scripts/ or tests/ code moves, and the per-change sweep ledger is
seeded in a FOLLOWING commit because the real pull request number does not exist until the
pull request does.

Refs #680, #591, opensoft/Omnigent-Install#213

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

* Seed the sweep-ledger row for implement-omniworker-install-repo (moved by #803)

Taken AFTER the pull request existed, because the real number does not exist until it
does, and on the tree that already carries the merge from origin/main, so main's own new
row (adopt-configured-notebook-hosting-identity, #783) is carried and only this change's
row moves.

  before the seed: per-change sweep ledger STALE (4 findings) — this change's row plus its
                   three derived totals (active 40 != 39, archived 143 != 144,
                   active_sole 18 != 17)
  after the seed:  per-change sweep ledger consistent with the corpus (184 rows)
  the write:       "184 rows, 1 moved by #803" — one row, state active -> archived,
                   moved_by #680 -> #803, moved_on 2026-09-05 -> 2026-09-08; no other
                   row's provenance is touched, and `class: sole` is unchanged because
                   the promoted requirement is shared with nothing
  pytest tests/sequenced_after tests/proposal-support -q -m "not postgres": 245 passed,
                   2 subtests passed

Refs #591

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

* The archive preface counts six successors, and names the one 8.5 actually ticks on

Copilot finding, taken: the § 1 archive-amendment preface said "Five issues were filed at
this archive" while the same file later records a SIXTH (#800, for task 2.3). The count is
now SIX, #800 is listed, and 2.3 is named in the successor kind it belongs to — with its
"recording, not a discharge" qualifier carried into the preface so the summary cannot read
as a claim the App-authorship route was proved.

A SECOND inconsistency of my own, in the same sentence, fixed while here: the preface
grouped 8.5 with 6.1 and 7.3 as ticking on Omnigent-Install #213's merge. It does not.
8.5 ticks on #235 bbba916d — § 6.2 performed the scope link with Part 1, a day before Part
2 completed the retirement — which is what 8.5's own note says and what the live
Omnigent-Install README shows. The preface now says so, and says that this corrects the
box's ratified "as part of retirement" guess by note rather than by carrying it.

No box's state changes and no ratified requirement sentence is touched; this is the
preface's own prose. openspec validate --all --strict unchanged at 97 passed / 2 failed,
the two pre-existing accepted exceptions.

Refs #591

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

---------

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