Repository navigation
Archive add-doxbench-editing-phase-b: the doxBench editing sprint completes - #264
Conversation
…pletes Archived on Brett's explicit word, through proposal-support.py's archive verb (never bare openspec -- the standing rule), following the Phase A precedent at openspec/changes/archive/2026-08-21-add-doxbench-editing-phase-a. PROMOTED, AND VERIFIED BYTE-FOR-BYTE rather than trusted: ideation-dashboard +9 ADDED, ~8 MODIFIED 78 -> 87 requirements memory-gateway +1 ADDED 21 -> 22 requirements All 18 delta requirements compare byte-for-byte identical to their promoted text; every ADDED title was absent before and every MODIFIED title present; and the 91 requirements the deltas do not name show ZERO drift. The archived copies of both spec deltas are byte-identical to their pre-archive bytes. Supporting-docs packaged as supporting-docs.tar.gz (3 files: the doxbench-editing-model fragment, its manifest, and the source-snapshots copy) beside supporting-docs.manifest.yaml with per-file sha256. TWO STALE REFERENCES the archive created, both fixed here: * ideation/staging/INDEX.md linked the fragment at its pre-archive path, which now resolves to nothing. De-linked and NAMED instead, with the bundle path and the file's sha256 -- exactly the form the INDEX already uses for add-staged-topic-outline-template's 2026-08-21 archive. * gate_routes.py cited the change's tasks.md by its active path; repointed. README's OpenSpec Records row moves from the active list to the archived convention Phase A uses, carrying the realization evidence, the promotion numbers and the follow-up issue. FRESH-EYES FINDING, recorded before the packet became immutable history: issue #263 -- a whitespace-only reduced_reason passes all five posture gates (released schema, delegated validator, ContextPacket, serve derivation, browser adopter), rendering "reduced context: " with nothing readable. Unreachable from this repository's producer (the reasons are pinned constants); real for a third-party producer against the published contract. The issue also folds in F5, the last str() coercion on the posture path. Three comment corrections ride along (no contract bytes, no behaviour): F2 doxbench-chat.js listed "a turn in the air" among the null cases, which S4 made false by design; F3 doxbench-chat-model.js's header claimed every bound measures UTF-8 bytes, but the posture ceiling counts code points; F4 a stale pre-S4 harness comment sat directly above a probe asserting its opposite. No contract byte moves: verify-commit still resolves contract-v1.40's inventory. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
…oted The archive's promotion added a 22nd requirement to the memory-gateway capability -- `Subject-Free Local Consumers Declare Their Inapplicable Rails`, the one THIS change added to describe what this surface does -- and `test_the_roster_is_exactly_the_promoted_capabilitys_requirements` failed, exactly as its docstring says it should: "Read from the promoted spec, so a requirement added upstream fails here rather than becoming a silent gap in the declaration." The test working, not a regression. The roster grows by one at TIER_UNTIERED (the spec's tier block does not tier it -- checked against the block, not assumed), and the declaration dispositions it REALIZED, because this declaration IS the act that requirement describes. The untiered pin stays an EXACT list rather than relaxing to a membership check: an untiered requirement is a fact about the spec, so a third one appearing should fail and be looked at. The archived tasks.md still says "21-requirement roster". That was true when it was written and the archive is history; it is not edited. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
There was a problem hiding this comment.
Pull request overview
Archives the add-doxbench-editing-phase-b OpenSpec change into the dated archive location and updates downstream references/rosters to reflect the promotion effects (notably the additional memory-gateway requirement) while preserving byte-identical spec deltas and packaging supporting documents into a deterministic bundle.
Changes:
- Move
add-doxbench-editing-phase-bintoopenspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/and add the archived packet artifacts (proposal/design/spec copies, verification findings, supporting-docs manifest). - Promote the new
memory-gatewayrequirement into the main spec and update thedoxbench_memory_gatewayconformance roster + tests accordingly. - Fix/refresh stale references and explanatory comments in ideation-dashboard UI/tests and documentation that referenced the pre-archive path or outdated behavior notes.
Reviewed changes
Copilot reviewed 13 out of 21 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/ideation-dashboard/test_doxbench_memory_gateway.py | Expands the expected untiered requirement list to include the newly promoted memory-gateway requirement. |
| tests/ideation-dashboard/test_doxbench_chat_view.py | Updates an inline comment to match the tested behavior around “flight starting” and reduced-context note retention. |
| scripts/ideation_dashboard/web/views/doxbench-chat.js | Corrects documentation about when reduced-context disclosure should be null (removes “turn in the air” claim). |
| scripts/ideation_dashboard/web/views/doxbench-chat-model.js | Clarifies which bounds are measured in UTF-8 bytes vs code points (schema maxLength parity for reduced_reason). |
| scripts/ideation_dashboard/gate_routes.py | Repoints a doc reference from active change path to the archived change path. |
| scripts/ideation_dashboard/doxbench_memory_gateway.py | Adds the promoted requirement to CAPABILITY_REQUIREMENTS and declares its conformance disposition. |
| README.md | Updates the active-changes list entry to point at the archived change and records archive details. |
| openspec/specs/memory-gateway/spec.md | Adds the promoted requirement “Subject-Free Local Consumers Declare Their Inapplicable Rails” to the capability spec. |
| openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/verification-findings.md | New archived evidence record for verification findings supporting the change. |
| openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/supporting-docs.manifest.yaml | Records deterministic bundle metadata (bundle path + sha256) and per-file sha256s for archived supporting docs. |
| openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/specs/memory-gateway/spec.md | New archived delta copy for the memory-gateway spec change. |
| openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/specs/ideation-dashboard/spec.md | New archived delta copy for ideation-dashboard spec changes. |
| openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/proposal.md | New archived proposal content for the change packet. |
| openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/design.md | New archived design content for the change packet. |
| openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/.openspec.yaml | New archived change metadata describing origin/sequencing. |
| openspec/changes/add-doxbench-editing-phase-b/supporting-docs/source-snapshots/doxbench-editing-model.md | Removed from the active change location (now packaged into the archive bundle). |
| openspec/changes/add-doxbench-editing-phase-b/supporting-docs/doxbench-editing-model.md | Removed from the active change location (now packaged into the archive bundle). |
| ideation/staging/INDEX.md | Updates the staged-topic index entry to describe the archive-bundled supporting-docs location. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| `supporting-docs/` folder was packaged into a deterministic bundle beside the | ||
| archived change, per `document-lifecycle`'s `Supporting-document archive | ||
| retention`, so the fragment is no longer a linkable file: it lives inside | ||
| `openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/supporting-docs.tar.gz` | ||
| (sha256 `16761d875d5603b75bfe4ab142669ccb435ba2a1b83b1988894e257830a6cd10`), with its per-file sha256 readable outside the | ||
| bundle in the sibling `supporting-docs.manifest.yaml`. Named rather than |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bbb5602536
ℹ️ 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".
| — **ARCHIVED 2026-08-22** on Brett's explicit word, the doxBench editing | ||
| sprint complete. Realization evidence at the gate: §3 verify list PR #206 / |
There was a problem hiding this comment.
Mark the archived proposal as ratified
When this archive occurs on Brett's explicit approval, the moved proposal still says Status: draft, even though .openspec.yaml records approved_by and approved_on. The repository lifecycle defines draft as unratified and its discrepancy register identifies carrying that status through archival as a defect, so this leaves the authoritative archive record contradicting the approval and promoted specs; change the header to ratified and add the required ratification citation as part of the archive.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
| `openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/supporting-docs.tar.gz` | ||
| (sha256 `16761d875d5603b75bfe4ab142669ccb435ba2a1b83b1988894e257830a6cd10`), with its per-file sha256 readable outside the |
There was a problem hiding this comment.
Publish the bundle's actual checksum
The SHA labeled as belonging to supporting-docs.tar.gz is actually the digest of the doxbench-editing-model.md member. The external manifest and sha256sum identify the bundle as 3d3db064b9b2a9127dd3a92802591780277a6bff140052d5a936ec6a77d9bfa6, so anyone using this index to verify the retained archive will always get a mismatch; replace this value with the bundle digest.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
Both real, and both bots flagged the sha. Copilot + Codex, INDEX.md: I labelled the sha as the bundle's when it is the per-file digest of doxbench-editing-model.md -- my own script pulled the file entry from the manifest and the prose then attributed it to the tar.gz sitting one line above. Both are now named and correctly labelled: bundle 3d3db064..., fragment 16761d87..., with the manifest still cited as where per-file digests live outside the bundle. Codex, the archived proposal: it still said `Status: draft`. Phase A -- the precedent this archive was told to follow exactly -- says `Status: ratified`, as do the other recent archives; a change whose spec deltas have PROMOTED is ratified by construction. (One other 2026-08-22 archive is also sitting on draft; that is its lane's to fix, not something to copy.) Co-Authored-By: Claude Fable 5 <[email protected]>
|
Both findings fixed at The sha (Copilot and Codex, same finding). Mine: the script pulled the per-file entry from the manifest and the prose then attributed it to the The archived proposal's Re-gated after: doc-health zero-new, |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 14 out of 21 changed files in this pull request and generated no new comments.
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
README.md:501
- This entry is marked ARCHIVED but it remains under the README’s “Active changes:” section. To keep the README structure consistent (there is a separate “Archived changes:” section later), move this bullet into the Archived section (or remove it from Active changes) so readers don’t treat an archived change as still active.
- [add-doxbench-editing-phase-b](openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b/proposal.md)
— **ARCHIVED 2026-08-22** on Brett's explicit word, the doxBench editing
sprint complete. Realization evidence at the gate: §3 verify list PR #206 /
`e7e7a84`; §4–§9 core PR #207 / `a4a6f6e`; §13 contract release PR #210 /
… Brett's explicit word This was the one archived proposal among forty-four carrying `Status: ratified` with no ratification citation. The promoted rule in `openspec/specs/document-lifecycle/spec.md` makes a bare uncited `ratified` header a violation whatever else the document says, and `sanction-ratified-record-spelling` parked this record at its tasks.md 5.2 as out of scope, routed through a citing change. This is that change. THE RATIFICATION FACT, DERIVED FROM THE RECORD RATHER THAN ASSUMED. Three points on this change's own record name it: * The archive commit `02a71d6` (PR #264, 2026-08-22): "Archived on Brett's explicit word, through proposal-support.py's archive verb". PR #264's body opens "Brett's word given." * Task 13.8, written before the archive: "`proposal-support.py archive` is the sanctioned path and it is Brett's act on his explicit word, not a consequence of this box being checked." * The commit inside PR #264 that actually WROTE the `ratified` value -- `bdd09c2`, "Bot round on the archive: a mislabelled sha and a stale proposal Status" -- recording why: "a change whose spec deltas have PROMOTED is ratified by construction." So the ratification is the archive act and the promotion it performed, Brett Heap, 2026-08-22 -- an approver, a date, and a resolvable record, all three axes of the record-citing form's floor. THE HEADER'S HISTORY IS NOT WHAT A READER WOULD ASSUME, and it was checked commit by commit. The proposal read `Status: draft` from its proposing commit `d3d7f58` (2026-08-18, PR #205) through EVERY realization slice -- `e7e7a84`, `a4a6f6e`, `5daa173`, `ece236a`, `4926b7c`, `08c5aa9`, `0f50b35`, `671a690` -- and `ratified` was written only at the archive, on a Codex review finding. THE ORIGIN PAIR IS DELIBERATELY NOT CITED. `.openspec.yaml` carries `approved_by: Brett Heap (live-UI annotations and in-session rulings ...)` and `approved_on: 2026-08-18`, but those fields are nested under `origin:` and approve the staged topic's EXIT and this change's authoring. Citing them is the error `docs/archive-record-discrepancies.md` C2 names: "Reading them as ratification would date each change's ratification to the day it was proposed." B1's phase-a citation, which did cite an `.openspec.yaml` pair, is not a precedent -- the register states its condition, "its `approved_on` coincided with the ratification", and that fails here by four days. PRs #206 and #207 do call this a "ratified change" in prose, but that is builder prose written against a header still reading `draft`, and no ratification act distinct from the origin approval is recorded on 2026-08-18; it is reported, not cited. `Ratified:` is the correct spelling, verified rather than assumed: no approving OpenSpec change exists. The only other changes naming this one are Phase A, its two citers, and `sanction-ratified-record-spelling`, which found this defect. THE ORIGINAL RECORD STANDS WORD FOR WORD -- the diff is 96 insertions and zero deletions, so unlike Phase A's own bookkeeping correction (which had to overwrite the `Status:` value) the 2026-08-10 append ruling is honoured literally. Reasoning recorded in phase-b's tasks.md "Bookkeeping correction"; 5.2's phase-b half discharged inline with a dated suffix, its roster-device half left open and the box left unticked. Gates: `openspec validate --all --strict` 68 passed / 0 failed (main moved from 67 while this was authored); `tests/doc-health` 724 passed, unmoved before and after; `tests/ideation-dashboard -k workbench` 140 passed. Census re-measured the way the sanction authoring did: 88 archived proposals, 44 `Status: ratified`, 44 carrying exactly one citation, 0 missing. The line was also driven through the real checker helpers -- `fam_ratified_provenance`'s count is 1 and all three floor axes read True, with three resolvable record paths. Co-Authored-By: Claude Fable 5 <[email protected]>
Archive
add-doxbench-editing-phase-bBrett's word given. Archived through
proposal-support.py's archive verb — never bareopenspec, per the standing rule — following the Phase A precedent atopenspec/changes/archive/2026-08-21-add-doxbench-editing-phase-a.The change moves to
openspec/changes/archive/2026-08-22-add-doxbench-editing-phase-b. Nothing else is archived, no tag is cut (no contract bytes move), and no xFactory pin is touched.What promoted, verified byte-for-byte
The archive verb reported
+10 added, ~8 modified. That was checked rather than trusted, per capability:ideation-dashboardmemory-gatewayVerification run over the pre-archive delta text against the promoted spec:
ADDEDtitle was absent from the target before; everyMODIFIEDtitle was present.ideation-dashboard, 21 inmemory-gateway).Supporting-docs packaged as
supporting-docs.tar.gz— 3 files (thedoxbench-editing-modelfragment, its manifest, and thesource-snapshots/copy) — besidesupporting-docs.manifest.yamlcarrying per-file sha256.One test caught the promotion, exactly as designed
test_the_roster_is_exactly_the_promoted_capabilitys_requirementsfailed after the archive, because promotion added a 22nd requirement tomemory-gateway—Subject-Free Local Consumers Declare Their Inapplicable Rails, the very requirement this change added to describe what the doxBench surface does. Its docstring says why that is the point: "Read from the promoted spec, so a requirement added upstream fails here rather than becoming a silent gap in the declaration."Fixed by growing the declaration, not by relaxing the test: the roster gains the requirement at
TIER_UNTIERED(the spec's tier block does not tier it — checked against the block), and the declaration dispositions itREALIZED, because this declaration is the act that requirement describes. The untiered pin stays an exact list rather than becoming a membership check.Two stale references the archive created, both fixed
ideation/staging/INDEX.mdlinked the fragment at its pre-archive path, which now resolves to nothing. De-linked and named instead, with the bundle path and the file's sha256 — the exact form the INDEX already uses foradd-staged-topic-outline-template's 2026-08-21 archive.gate_routes.pycited the change'stasks.mdby its active path; repointed at the archive.Fresh-eyes follow-up, recorded before the packet froze
#263 — a whitespace-only
reduced_reasonpasses all five posture gates (released schema, delegated validator,ContextPacket, serve derivation, browser adopter), rendering"reduced context: "with nothing readable — the "degradation wearing a badge" the adopter's own comment forbids. Reproduced across nine blank classes. Unreachable from this repository's producer (the reasons are pinned constants); real for a third-party producer against the published contract. NotablyContextPacketalready refuses blanks onrefandprovider_idtwo fields away. The issue folds in F5, the laststr()coercion on the posture path.Filed as an issue rather than in the change packet, because that packet becomes immutable history in this PR.
Three comment corrections (no contract bytes, no behaviour)
doxbench-chat.jslisted "a turn in the air" among the null cases — made false by design in S4, where the note deliberately survives a flight and a test asserts it.doxbench-chat-model.js's header claimed every bound measures exact UTF-8 bytes; the posture ceiling counts code points, mirroringmaxLength. Claim scoped, exception named.Gates
🤖 Generated with Claude Code