Repository navigation
Doxchat rail annotations round 2: outline-only reservation (Amendment 2), working-subject affordance - #237
Merged
Conversation
…king subject is Two browser annotations Brett left on the doxBench canvas and chat rail on 2026-08-21, second round. B1, on `button.doxbench-unload` while the selected buffer was the tile's own BACKED reserved `document` slot: "if I do the workflow to edit a document, and then cancel instead of save, then try to unload, the unload button is stippled. It should allow the document to unload. only the outline can never unload. we always want that to be loaded. If saved or canceled so the document is in neutral position, then we can unload it." Recorded as Amendment 2 on `add-doxbench-editing-phase-b` (the sole live carrier of Amendment 1; the archived Phase A is untouched). The reserved set narrows to the OUTLINE ALONE, which is the number the controller's `unloadDocument` and the state module's `unloadDocumentBuffer` already used -- so the UI moves to meet them rather than overruling them, and Amendment 1's recorded asymmetry is largely dissolved rather than merely re-described. Both asymmetry notes are updated in place with a pointer to the ruling. The claim that justified the withholding was checked before it was removed. It was the ONE-DOCUMENT FLOOR (`request_v2.buffers` `minItems: 2`, and the server's `require_outline_and_documents`), and both statements of it are untouched here. What was measured, end to end through the real composition: the unload is clean, the ratified selector empty state renders and names the load verb, and a turn still BUILDS and reaches the transport binding to `outline` -- so the floor is enforced by an explicit refusal AT SEND with the composer preserved, not by making a clean document permanently unremovable. The N3 wedge that motivated the withholding (the v1 builder reading an absent buffer, so the rail said "still settling" forever) retired with that envelope. The reachability rule is now ONE predicate shared by the render and the click path: not the outline, held, and naming a document. The UNBACKED create slot stays inert for want of a SUBJECT rather than by reservation, and its sentence changed with its reason -- "the reserved buffer a turn falls back on, and is never unloaded" is no longer true of anything under that key. Tests: the N3 assertion is replaced rather than deleted, driven as Brett reported it (edit, cancel, unload) with the reversal reasoned in its docstring; edit-save-unload added beside it; the unbacked slot's inert posture and the outline's surviving reservation pinned at the canvas module. Three mutations die -- restoring the two-key withholding, dropping the outline's reservation, and dropping the unbacked-slot term. B2, on `input.doxchat-subject`: "what is the box used for? i do not know how to use it." It was a bare text box with an `aria-label` and nothing a sighted human could read. Affordance only, no behaviour change: a placeholder naming the field on the house "<name> - e.g. <value>" idiom, and a title saying what the value does -- it rides every turn as standing framing for the model, edits nothing, is browser-local, and may be left empty. Co-Authored-By: Claude Fable 5 <[email protected]>
…s recorded in Amendment 2 The reviewer's L1: the placeholder-idiom sentence named the create form as a second precedent it is not (grep finds exactly one prior instance of the "<name> — e.g. <value>" form, the canvas id field) — same overclaim class as the em-dash finding last round, corrected in both the code comment and the test docstring. L2: the two measured follow-ups (the generic one-buffer refusal message; the unrealized tile-title default for the working subject) now live in Amendment 2 as recorded work rather than a docstring parenthetical. 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 ✨
There was a problem hiding this comment.
Pull request overview
Updates doxBench’s unload and working-subject UX to reflect Brett’s 2026-08-21 “Amendment 2” browser annotation round, aligning the canvas/rail behavior, test coverage, and spec text around (1) outline-only permanent reservation and (2) self-explanatory working-subject affordances.
Changes:
- Narrowed Unload’s permanent reservation to the outline only; backed
documentbuffers in a clean (“neutral”) state can now unload, while the unbacked create slot remains inert because it has no loaded-set membership. - Added working-subject placeholder + title affordances (keeping
aria-labelunchanged) and pinned them with an accessibility test. - Expanded end-to-end tests and updated OpenSpec artifacts to codify Amendment 2 scenarios (cancel-then-unload, save-then-unload, unbacked-slot inertness).
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/ideation-dashboard/test_doxbench_view.py | Adds coverage for the unbacked create slot being inert and outline-only reservation behavior via the canvas/controller surfaces. |
| tests/ideation-dashboard/test_doxbench_composition.py | Replaces prior “reserved doc never unloads” assertions with Amendment 2 end-to-end flows (cancel/save → unload → send) and validates the post-unload session behavior. |
| tests/ideation-dashboard/test_doxbench_accessibility.py | Pins the new working-subject affordances (placeholder + title) while verifying the accessible name remains via aria-label. |
| scripts/ideation_dashboard/web/views/doxbench-editor.js | Implements the single Unload reachability predicate (outline refused; must be held + backed) and updates inert-reason text for the unbacked slot. |
| scripts/ideation_dashboard/web/views/doxbench-chat.js | Introduces working-subject placeholder/title constants and applies them to the subject input. |
| openspec/changes/add-doxbench-editing-phase-b/specs/ideation-dashboard/spec.md | Updates the normative requirement text and scenarios to match Amendment 2 (outline-only reservation; backed reserved-slot unloadable when clean; unbacked slot inert by lack of subject). |
| openspec/changes/add-doxbench-editing-phase-b/proposal.md | Records Amendment 2 rationale and follow-ups, and updates prior amendment notes to reflect the resolved asymmetry. |
Suppressed comments (1)
scripts/ideation_dashboard/web/views/doxbench-editor.js:1425
- After Amendment 2, the unload control can now successfully unload a backed buffer under the reserved
documentkey. In that case the transient event line will read "unloaded document from the loaded set", which is less specific than the button title (it doesn’t name the actual path). Reuse the samenamedlogic used for the title so the event always names the document being unloaded.
// `unloadDocument` owns the whole tail: it announces its own refusals, moves
// the selection to the outline, and re-syncs the panel through
// `syncBufferDom`. Only the SUCCESS line is this control's to add.
const outcome = unloadDocument(key);
if (outcome && outcome.ok === true) {
stateEvent("unloaded " + key + " from the loaded set");
}
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Sep 7, 2026
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements Brett's second round of browser annotations (2026-08-21), reviewed MERGEABLE by the adversarial pass with every relayed claim fact-checked.
B1 — the reserved set narrows to the outline alone (Amendment 2 to phase-b, Brett's ruling via annotation, quoted verbatim). A backed reserved-slot document in the neutral position (saved or canceled) unloads like any other document — the annotation's exact reported flow (edit → cancel → unload) is a driven end-to-end test. The unbacked create slot stays inert for the true reason (it names no document, so there is no loaded-set membership to end) with an accurate reason note. The turn floor was verified honestly on both halves: unloading the last document is clean and renders the ratified empty state, and a one-buffer turn is refused at send by the released wire shape (
buffers.minItems: 2) in the v2 failure envelope with the composer preserved — proven against the real released validators over a real HTTP server. The old controller/UI asymmetry notes are updated: the UI moved to meet the method; the residual is one of subject, not authority.B2 — the working-subject box explains itself. Placeholder + title, affordance-only (verified: nothing reads those attributes;
aria-labeluntouched). The relayed facts were each verified against code: the value rides every turn as aWorking subject:prompt line, is sessionStorage-local by ratified requirement, 512-byte refused-never-truncated on both sides, and send is never gated on it.Recorded follow-ups (Amendment 2 carries them): the generic "malformed" refusal message doesn't name the missing document (a published-envelope change); the ratified tile-title default for the working subject is unrealized (
createChatStateseeds empty; spec line 1082).Mutations: restore-two-key-withholding, drop-outline-reservation, drop-unbacked-term, and the reviewer's unload-while-dirty — all die. Gates:
tests/ideation-dashboard3747 passed; doc-health exactly the four known location artifacts;openspec validate --all --strict64/64. Archive untouched.🤖 Generated with Claude Code