Repository navigation
Carve leg 1 (re-cut): openDox-code receives its 123 rows at opendox-carve-0 (split-opendox § 3.2, RULED Q-L4) - #6
Conversation
Provenance: adopted from codexFactory main@e4caa03bf48655b54bc96fc5450d9ad5bddf4886 (copy, no history graft — D1). 114 files / ~31k LOC: scripts/doc_health/ (minus the two CloudPC readiness evaluators, which ride tranche D to the aggregation repo — D3), doc-health.py, sync-notebooklm-books.py, tests/doc-health/, tests/notebooklm/, doc-health-reusable.yml, and the suites' pytest infrastructure (pytest.ini anchor, hermeticity conftest). Scoped rider: ideation_dashboard/__init__.py + boundary.py (the lanes' write-boundary import; tranche B overwrites byte-identically). Path hygiene: SYNC_SCRIPT and 9 workflow entrypoints now openxFactory-rooted; ownership prose updated incl. the emitted cross-reference _YAML_HEADER. Neutral citations made truthful: catalog-snapshot schema x2, validate-document-catalog x5, cross-reference.yaml producer, lifecycle-notebook workspaces managed_by x3, doc-health.md + lifecycle-notebook-projection.md prose/paths. The active add-cross-factory-ideation-routing ownership requirement amended pre-promotion (D5) with a dated note in its ledger. Gates: 551 passed + 3 tranche-B probe skips; existing suites unaffected (45 + 146); 11/14 doc-health families match the 2026-08-02 nightly exactly, 3 diffs are corpus drift (documented in tasks 1.5 evidence); openspec --all --strict 54/54. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Provenance: adopted from codexFactory main@e4caa03bf48655b54bc96fc5450d9ad5bddf4886 (copy, no history graft — D1). 168 files / ~98k LOC: scripts/ideation_dashboard/ (package incl. web/ at scripts/ideation_dashboard/web/), the three nightly entrypoints, the session runbook, tests/ideation-dashboard/. kickoff.py, serve.py, and all web assets byte-identical to the pin (D4 held at byte level); the two tranche-A riders overwrote byte-identically (sha256-verified); exactly 14 files differ from the pin, all deliberate and ledgered. D3 refinement (dated note in design.md, flagged for Brett): readiness.py IS CloudPC CI-host code and still rides tranche D to the aggregation repo; readiness_dispatch.py is the ideation-readiness LANE dispatch (docstring + imports quoted in the note) and comes home with its 13-test suite plus the restored cross-lane register-carry test — tranche A's repointed workflow lines are now live unedited. Gates: tests/ideation-dashboard 2522 passed / 23 env-conditional skips; doc-health+notebooklm 610 passed 0 skipped (all three tranche-B probes flipped to passes); existing suites green (ideation_dashboard 45, catalog+routing+avatar 146, avatar_runtime 97, hermes CLI 21); snapshot shape identical to the published openxFactory snapshot with corpus-drift deltas only; serve smoke HTTP 200; openspec --all --strict 54/54. Open items ledgered in tasks 2.x evidence: doxbench publisher-side stack-pin ruling (serve's two doxbench routes fail closed from a publisher checkout), six tombstoned cross-repo pins for tranche C/D, the HGR conftest exemption, check_repo_tree tests/ exclusion. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…un F8 drift) nlm 0.5.26 rejects --json on notebook create (it keeps it on list/get/source list), so every at-open session notebook create degraded — the drift the 2026-08-04 T092 re-run hit live (codexFactory specs/007 t092-rerun-2026-08-04 evidence). The create is spoken in ONE place (_create_titled); it now speaks the plain form, reads the id from either answer shape (JSON object, or the 0.5.26 'ID: <uuid>' line via _created_notebook_id), and a create that echoes no readable id still resolves through _ensure_notebook's fresh-list fallback. The 0.5.26-shaped regression test FAILS on the pre-fix code (fake raises on --json exactly like typer); proved by stashing the workbench.py hunk and re-running. Full tests/ideation-dashboard: 2527 passed, 20 skipped. Live probe through the real CLI: create parsed id a861d174-…, delete cleaned up. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Speak nlm notebook create in the plain form 0.5.26 accepts (F8 drift)
T104 F5–F10 wave, slice 1, realizing the reviewer's binding ruling of 2026-08-02 (R-12, FR-038). The defect was in the comparison, not the field: `_require_buffer_binding` compared ref NAMES, conflating "same ref name" with "same base bytes", so after a partial Save every buffer the Save did not land was permanently refused. The guard now accepts a buffer whose base names the ref the session branched FROM at the session's own recorded base revision — acceptance on the REVISION, never the name alone — and still refuses once the session has diverged past that base for the buffer's own document, byte-precise against the session's current text read through the same lens the client hashes (`doxbench_hash.served_text`). `base_ref` keeps its provenance meaning and `rekeyDoxBenchState`'s byte-identity pin stands untouched. The base is recorded where it is known and nowhere later: the OPEN stamps `(base_ref, base_revision)` on the registry entry and durably in the owner marker; it is sticky across snapshot regenerates (the same rule the owner rides), and the bootstrap recovers marker-first, then from git's own fork point. None degrades to the original name-equality binding — advisory, never a refusal. Guards, per the ruling: the post-partial-Save turn SUCCEEDS for the un-landed buffer; the diverged session still refuses; a session with no recorded base keeps the old refusal; the original pin is re-purposed as the provenance record. FR-038 moves PARTIAL → EVIDENCED in the archived change's realization mapping. Full dashboard suite at this tree: 2542 passed / 19 skipped (baseline 2527/18). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…les and tests T104 F5–F10 wave, slice 2: family F9 (styles / markup / accessibility) and F8 (a test that passed with the behaviour removed). F9: both authoring textareas and both previews derive text direction from content (dir="auto", FR-045's direction clause — the chat rail's idiom, extended; status and heading stay unset because their text is the fixed vocabulary, never content); the textarea and document picker disable autofill (FR-044); the later .doxbench-picker-label block declares flex-direction: row and flex: none so the surviving flex-direction: column from the earlier append wave no longer stretches the picker to half the pane; a narrow-viewport override (equal specificity, later source) finally beats the has-rail thirds rule under 900px, with .doxbench-rail included this time; the dead .doxbench-tab-active rule AND its classList.toggle are removed — one spelling of selection state, aria-selected, remains. F8: test_app_js_documents_the_remaining_tasks_for_the_absent_seams iterated an empty tuple and asserted nothing; it is now parametrized over the roster (empty ⇒ one explicit skip, never a vacuous green) with a companion pin that derives the consumed seam set from staging-workbench.js's own doxbench?.* reads and requires each key in app.js's doxbenchSeams literal. Named suites 165 → 169 passed + 1 skipped (+5 pins; the vacuous pass became the explicit skip). Full dashboard suite at the combined tree: 2542 passed / 19 skipped. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… honest verb roster T104 F5–F10 wave, slice 3: the server-side F10 singletons. The FR-032 base revalidation now reads the document through the SAME lens the client hashed (`doxbench_hash.served_text`: verbatim bytes, strict UTF-8, one leading BOM dropped — what `Response.text()` does) instead of `Path.read_text`'s universal-newline translation, so a CRLF document's honest Save is no longer refused as stale forever. The two governed document writes (`create_document`, `rewrite_session_document`) pin `newline=""` so the landed bytes are exactly the replacement the buffer's identity describes on every platform (FR-045's byte-exactness clause, write leg). `first-edit` joins `EXECUTING_VERBS`: it joined the dispatch if-chain and SESSION_BEARING_VERBS when the governed Save landed, and the lagging declaration made the roster — and serve.py's logging justification that cites it — lie about the executable set. Guards: a CRLF document edited from its served bytes is no refusal (reverse-RED shown against the old read_text lens); the declared-and-dispatched pin now names first-edit. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…eing T104 F5–F10 wave, slice 4, both halves of family F5. Server: a lone UTF-16 surrogate anywhere in a turn (buffer content, message, working subject, transcript) is refused as the fixed invalid_turn_request instead of killing the handler with no response — ContentEncodingError is caught at all three route sites, including the step-9 re-verification so a reserved slot finalizes through the normal envelope. The governed Save (`first-edit`, alone among gate verbs) reads its body through the widened bounded reader: a full 400,000-byte buffer now fits the transport and a genuinely oversize body gets the honest measured 413 instead of "a JSON object body is required". And the tiny reader now DRAINS a refused over-cap body before answering — the carried "65kb test" flake closed at its root: refusing with every byte unread let the kernel's reset destroy the queued 400 while the client was still mid-body. Client: `firstEditVerdict` carries the server's resolved verb on the SUCCESS branch (where readVerdict consumes it) and stops dereferencing a null payload; the transcript display never evicts the newest pair while a separate wire window enforces the 64,000-byte request bound; a refused Apply records a visible, announced, non-echoing failure; a persisted model id is adopted only if the catalog vouches for it (and re-validated when the catalog arrives), so Send can never arm behind the placeholder; and an offered rail with no selectable model states the unavailable posture itself instead of contradicting the shell's note. +31 pins across routes/request-handling/turns/transport/chat-view/save, all RED-first. Full dashboard suite at the combined tree: 2573 passed / 19 skipped. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… refuses visibly T104 F5–F10 wave, slice 5: family F6 plus the FR-045 round-trip's client half. onIdentitySettled now fires from EVERY transition that moves a buffer's identity — Discard, a document switch, and each buffer a Save actually landed (refused buffers deliberately excluded) — so the rail's proposal cards can never keep claiming `current` against text that moved. Before the initial load settles (and permanently after a load/hash failure) the editing surfaces refuse VISIBLY: textareas mount disabled with the fixed loading line, every entry point states its refusal through the existing "refused --" status idiom instead of throwing an unhandled TypeError and silently overwriting the keystrokes, and an oversized document mounts to a stated size failure — byte counts, never content — with `ready` resolving instead of dead-lettering. The textarea's forced-LF projection stops rewriting documents: the buffer keeps the document's real line endings (flavor named by the first line break in the loaded base), the display holds the LF projection the browser imposes anyway, read-back re-applies the real flavor before hashing, and the sync comparison settles in the display domain. A CRLF document now loads clean, edits to its own bytes, and saves what the identity describes — completing commit c2f432c's server-side lens. The absent-outline Save pin now drives savePlanState with the real seam request shape end to end instead of discarding an empty plan. +11 pins, RED-first (the harness probe recorded for the test-only finding). The byte-identical rekey pin (test_doxbench_state.py:454) stands untouched. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…claimed to T104 F5–F10 wave, slice 6. `viewState()` was exported with no production caller and nothing ever wrote selection or scroll back: hiding a pane drops its layout box, and the browser's scroll offset with it, so every tab switch landed the human at the top of the buffer while the FR-010 tests passed against a shim that kept scrollTop for free. `applyTabVisibility` now captures each pane's view as it goes hidden and re-applies it on return — scroll last, so focus()'s scroll-into-view never wins over the human's place — and the shim models the layout-box loss (hiding drops descendants' scrollTop; selection, being DOM state, survives), which turns the existing tab round-trip pin into a real one: it fails with the write-back neutered (reverse-RED shown). FR-010 and FR-045 move PARTIAL → EVIDENCED in the archived change's realization mapping (FR-045's two residuals — dir="auto" and the CRLF round-trip — closed earlier in this wave), leaving FR-041/SC-010's operator-gated screen-reader legs as the change's one open row. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ailure posture T104 F5–F10 wave, slice 7, closing the finding families. Persistence/restore (F7): the composition root reads sessionStorage through a guard, so a browser blocking site data degrades to the documented no-persistence posture instead of replacing the dashboard with a false snapshot error; the FR-039 session-end clear finally passes the injected storage seam (the shell-harness record now really disappears); a proposal Apply/Reject restores keyboard focus to the REBUILT control by identity — terminal cards fall back to the composer, where the named continuation starts — and the two pins that passed with the behaviour removed (a restoreFocus substring grep and a finally count) are behavioural now, mutation-proven. Viewer images (F7/F6): the click-to-load replacement keeps the derived label as alt text, a failed load restores a labeled retry placeholder and revokes consent (a dead URL never auto-retries per keystroke), and an image the human explicitly loaded survives the preview's per-keystroke rebuild — consent is per container per src; a new src still asks. Honest failure posture (F10): the catalog loader distinguishes a stale console token (the R-3 recoverable reload sentence) from an unreadable catalog (its own fixed line) instead of collapsing every failure into "no approved model is configured" — with matching posture-ladder rungs — and an over-bound composer or subject paste is refused VISIBLY through the aria-live failure note, naming the bound and never the text. +26 pins, RED-first. Full dashboard suite at the agent's tree: 2611 passed / 19 skipped. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Wave re-review fix-first (reviewer disposition, 2026-08-05). The F5-8 fix guarded three sites and missed the one live unguarded one: the canonical-digest statement. json.dumps(..., ensure_ascii=False) passes a lone surrogate through, so the raise happens at the encode inside sha256_hex — and base_ref/base_revision are the two request fields that reach the digest with no earlier measurement or hash gate, both released-schema-valid surrogate carriers. A conforming client posting one got a dropped connection instead of any envelope. The digest now refuses through the same fixed invalid_turn_request as the other sites. Two route pins, RED-first (both reproduced the dropped connection). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Wave re-review fix-first. The mutation round proved two silent regressions were possible: the R-12 route reader could revert to read_text (every fixture was LF-only, where the two lenses coincide) and served_text's one-leading-BOM rule could break in either direction (never-strip / strip-all), all with the suite green. Pins: a route-level R-12 case whose session document carries a BOM and CRLF — the two lenses disagree, so the read_text regression refuses a correctly-based buffer (reverse-RED shown) — and a served_text unit pin with one clause per mutation class: exactly one leading BOM dropped, a doubled BOM keeps the second, a non-leading BOM is content, CR/CRLF survive, malformed bytes raise strictly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Wave re-review fix-first. The F5 drain closed the refusal-transport race for one reader and one band, and without any socket timeout it traded an instant 400 for an UNBOUNDED block: a client declaring an over-cap body and going silent pinned a handler thread and its connection for the life of the process — strictly worse than the pre-drain posture for that class (W-5). And the bounded reader — the chat-turn route and the very first-edit route the wave widened — still abandoned the refused remainder on the socket, leaving the measured 413 exposed to the same close-with-unread reset (W-6). One posture now: `DashboardHandler.timeout` bounds every socket operation (network silence, never request duration — a slow model dispatch performs no socket read while it waits), and both readers drain a refused body through the shared `_drain_refused_body` — chunked, and bounded by `_MAX_REFUSED_DRAIN_BYTES`, sized past the largest body a real client can legally compose (a maximal buffer JSON-escapes to under 2.5 MiB) so every honest refusal survives while a flood still closes with bytes unread. Pins: the bounded reader's drain (reverse-RED shown against the old max_bytes+1 read), the shared flood ceiling on both readers, and a real-socket stalled-body test proving the connection ends promptly under a shrunken timeout instead of parking a thread in read(). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…troke Wave re-review fix-first. applyProposal handed the model's text to edit() verbatim — only the HUMAN input path routed through the F10-3 lens — so an LF-spelled proposal into a CRLF document made the buffer pure LF (a Save then committed an every-line-ending rewrite of a reviewed one-paragraph change), and the next keystroke flipped the whole file back to the base's flavor: two byte-level outcomes for one proposal, neither stated anywhere, re-opening through the other content door the silent-mass-rewrite class this wave closed for typing. The proposal's content is now projected into the display domain and re-flavored exactly like read-back, so the buffer stays uniformly in the document's own line-ending discipline whichever door text arrives through. Pins (reverse-RED shown): an LF proposal into a CRLF document lands CRLF with the identity hashed over the real bytes; an LF document's proposal stays LF verbatim. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… click-time snapshot
Wave re-review fix-first. `adopt(await proposalActions.apply(state, …))`
derived the outcome from the state captured at click time, so every
adopt that landed during the seam's await was clobbered: follow-up
typing during a slow Apply was silently destroyed, and an Apply
spanning a turn settlement re-adopted the in-flight snapshot — phase
back to "in_flight" with nothing in the air, the settled answer and its
proposals gone, Send wedged at "Sending…" for the life of the mount
(rail.abort() has no production caller). The wave built exactly this
defense on the send path (the R1 liveState + abandoned-flight check)
and did not extend it to the card handlers it was rewriting.
The actions now take the rail's live-state getter and settle against
it. A refusal records the visible failure on the live state; a landed
swap marks the proposal applied only when the live record is
field-identical to the record the seam actually swapped — a set the
turn replaced mid-await is never marked, and the live truth wins. The
one widening this needs is `markProposalAppliedAfterSwap` ("stale" here
can only be the apply's own re-score, since the swap moved the buffer
identity before its promise resolved); every other stale record keeps
refusing through the current-only rule.
Pins, RED-first (the wedge reproduced exactly: phase 'in_flight' ==
'idle' failed): typing during a slow Apply survives in state and DOM
with the proposal still landing applied; an Apply spanning a turn
settlement keeps the settled turn's transcript, an idle phase, and a
Send that does not read "Sending…".
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…lias Wave re-review fix-first. R-12's acceptance demanded revision EQUALITY with the recorded merge-base — but a real client's base_revision is the serving projection's source_revision, the checkout HEAD at snapshot GENERATION time (the browser never receives a per-file revision), while the branch point is the OPEN-time HEAD. Any main movement between snapshot bake and session open made the two differ forever, silently reverting R-12 to the refusal it closed — executed in the re-review, both directions, on real git over HTTP. The OPEN now records the serving snapshot's revision beside the merge-base as an accepted ALIAS: on the entry (`session_base_aliases`, sticky across regenerates like the base itself), durably in the owner marker, and read back verbatim by the bootstrap — never re-derived later, because the snapshot regenerates and its current revision proves nothing about what clients of that session hold. The guard accepts a listed revision; the ref-name and base-bytes clauses are untouched, so an alias never weakens staleness detection. Pins, RED-first: the unit alias acceptance (with byte-clause and unlisted-revision refusals in the same breath); the recording test drives the exact reverting window — main moves after the snapshot is baked, the session opens, and the alias equals the baked revision, surviving into the next process via the marker; the route twin grounds a turn declaring the snapshot revision end to end. Full dashboard suite: 2623 passed / 19 skipped. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…er lies
Wave re-review fix-first, round 3.
W-8: the guard's Save arm awaits a Save whose onSaveLanded hand-off
remounts this canvas when the key moves — and the corpse kept going:
switchDocument mutated state, persisted under the rekeyed session key
AFTER destroy() had written its own record (a reload in that window
resurrected the wrong active document), and fired a late
onIdentitySettled into the torn-down composition. The arm re-checks
destroyed after the awaited Save, and switchDocument refuses on a
corpse at entry and again after its own awaited loads.
W-9: a picker change during the loading window is refused by the F6-2
posture, but the handler reverted the DISPLAYED value only on
"blocked" — the picker then showed a choice that never landed, forever,
lying about which document edits land in and turns ground on, with the
refusal itself invisible. The picker now reverts on every non-switched
outcome and a refusal is stated through the same "refused --" status
idiom every other refusal uses ("blocked" stays silent: the guard IS
its statement).
Pins, RED-first: the guard-save-into-remount scenario proves the
resolve refuses, exactly one identity notification fires (the Save's
own), and the persisted record is destroy()'s pre-switch document; the
picker probe proves the revert and the stated refusal during the load
and the agreement after it.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ehind Wave re-review fix-first, round 3. markProposalApplied never touched lastFailure and the only clearers were a settled turn and a rekey, so a refused-then-successful Apply rendered two live regions asserting opposite facts about the same proposal: the applied announcement beside the still-visible "no longer matches the buffer" note — permanent in the editor-only posture, where no turn can ever settle to clear it. A landed apply now clears the local failure channel through the pure clearLocalFailure (narrow: only lastFailure moves); a refusal still records it. Pin, RED-first: refuse-then-land shows the refusal note, then the applied status with a hidden note and no lingering error. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…crolling Wave re-review fix-first, round 3. The F9-5 narrow flex:none block ties the is-expanded geometry on specificity and, later in source, beat it: under 900px with the rail the per-pane expand controls toggled aria-pressed and moved nothing. Worse, with all three regions at natural height inside .swb-panel's overflow:hidden, a tall transcript pushed the canvas below the fold with no scrollbar anywhere — the thirds split this wave replaced had at least kept every region bounded. In the stacked column, expansion now means HEIGHT: a later-in-source narrow block gives the expanded pane the column's share and compresses the other panes to bounded, still-scrollable 20vh strips, and .swb-regions.has-rail owns its own vertical scrolling so nothing is ever unreachable. Pin, RED-first: the scroll owner, the re-declared expansion, its position after the flex:none block (source order is the whole contest), and the compressed strips. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Wave re-review fix-first, round 3. The F10-1 shell threading was pinned only by a source-grep whose docstring claimed the onState comparison "re-renders when the FAILURE changes (not only the count)" while its assertions checked substring counts — deleting the failure half of the comparison left the whole repo green, and in the shipped zero-adapter posture (count 0 before and after every failed fetch) the shell's note would then never leave "no approved model is configured" on a stale console token. The pin now drives a failing catalog through the REAL mounted shell and reads the rendered posture note. Mutation-proven: dropping `|| failure !== railCatalogFailure` fails exactly this test; restored, the module is green. No production change — the threading was correct; its guard was not. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…alid restores Wave re-review batch tail (reviewer disposition, 2026-08-05), the client's eleven items: EOL-only dirtiness is STATED (a mixed-EOL document whose display is byte-identical to the loaded text says "line endings only" instead of presenting invisible dirtiness); the loading and failed-load postures disable the Save/Discard/picker controls whose clicks were silently dropped; proposals adopted from an in-flight turn are re-scored against the live editor identities at settle (a buffer that moved mid-flight renders stale, never current); an in-bound edit clears ITS OWN over-bound note — the note is a present-tense claim that goes false the moment the text is shortened (the pinned lifecycle updated, with why); restoreChatState drops malformed transcript turns instead of fabricating "undefined", and adopts subject/composer only within their byte bounds (dropped whole, never truncated); send focus follows INTENT (success → composer, failure → the re-enabled control) instead of a captured node that disabling had dropped to <body>; the mount-to-catalog window says "checking the model catalog…" instead of claiming a configuration fact not yet known; a detached image's late error no longer revokes the live container's consent; an edit settling after destroy() leaves storage untouched (the FR-039 clear survives); plus the wire-window and catalog-loader comment corrections (turns vs pairs; the considered-and-rejected salvage case; the unreadable posture). +10 pins, RED-first; the per-keystroke re-request of consented images is recorded as designed (browser cache owns it). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…efusals
Wave re-review batch tail, the server's seven items:
The undecodable-base refusal names only the exception CLASS — the old
{exc} interpolation leaked the offending byte value and offset from the
file being edited — with the strict-decode asymmetry recorded as
deliberate (the browser hashes U+FFFD-replaced text; the server refuses
to fabricate an identity, so a non-UTF-8 file is honestly unsaveable).
A lone surrogate in first-edit content refuses 400 with the
transaction's own fixed sentence instead of escaping the boundary write
into the unwind as a 500 action_failed. The gate_console writers stop
translating line endings — the demote move copies BYTES (no decode at
all on the move arm), the status flip preserves each line's own ending,
the README append and both redline legs read and write without
translation — closing the F10 corpus-integrity class arriving through a
different verb: on Linux today these rewrote CRLF documents as LF,
invalidating open buffers' base identities.
Guards: the carve-out's one-verb pin is parametrized across four gate
verbs (mutation-proven: widening the branch fails create-document); a
transcript-ROLE surrogate is pinned as covered by W-1's digest catch
(differentially proven against a re-raising mutation); the boundary's
newline="" spelling gets a textual pin that states why no behavioral
test can go red on this platform; and the 413 comments say "declared",
which is what the refusal is actually based on.
+11 pins, RED-first throughout.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…yte clause, honest harness
Wave re-review batch tail, the R-12 machinery items.
The arms that JUST created (or re-materialized) a session branch now
prefer git's own fork point over the owner marker: a marker there can
only be crash residue from a previous session of the same deterministic
name, and reading it first resurrected a dead session's base and
re-persisted it — self-healing never occurred. The JOIN and bootstrap
arms stay marker-first (the marker is the one source that remembers a
non-default base), and marker ALIASES are trusted only when the
marker's base agrees with the recovered one — one rule, so a stale
marker cannot smuggle its aliases past a prefer-git override. The
register heals the marker with the derived truth.
The binding guard's byte clause fails closed twice over: a reader
failure yields None and None never grounds anything — including a
direct caller's base_hash=None, which once satisfied None == None and
was accepted on the very failure that should refuse it.
And the shell harness stops modeling a client capability that does not
exist: the fake source loader returned a per-file revision production
never sends, exercising a dead arm of baseRevisionOf and masking W-4's
whole mechanism. It now returns the production {content, ref} shape,
the session scenarios run through the true projection-fallback path,
and the wire base_revision is pinned to the projection's
source_revision.
Pins RED-first: the orphaned-marker fresh open (base healed, stale
aliases refused) and the hashless-buffer reader failure.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Wave re-review batch tail, the vocabulary split. Every refusal an Apply could meet — a settling identity, a Save in flight, a loading canvas, a thrown seam — collapsed into "this proposal no longer matches the buffer — ask again in a new turn", false in both halves for everything but genuine staleness (the proposal matched, and a moment's wait was the recovery; a persistently-throwing seam looped the false advice forever, and the dominant real path to the sentence was never staleness at all, since currency interception disables Apply first). The editor's applyProposal now carries a fixed CODE per refusal class (stale / unsettled / unavailable — codes, never free text), and the rail maps them through a WHITELIST: stale keeps the new-turn sentence, unsettled is advised a moment, and everything else — including a throw, a null, or an unknown code — gets the generic "the apply failed — the proposal stays reviewable; try again". The seam's own error text stays dropped unread. Pins: the unsettled and throwing cases (reverse-RED shown against the one-sentence mapping), the editor's own codes at its boundary, and the existing staleness pins re-keyed to the stale-coded seam. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Reviewer ruling, 2026-08-06, closing the wave re-review's last open item. "Continues to refuse once the session has DIVERGED past that base" is a CONTENT reading: the guard hashes the session's current text, so a session that moved this document and moved it back byte-identically accepts the pre-session buffer again. Every acceptance is content-safe — the buffer's base bytes provably equal the session's current text, so no stale envelope can result; consulting history would refuse turns whose grounding is provably coherent. No behavior change: the docstring now cites the ruling, and the executable record pins both halves against one worktree — refused while the document is moved, grounding again once it is restored. The full ruling addendum lives with the R-12 ruling record (doxbench-r12-ruling.md). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ject-scoped selection
Ratified by Brett 2026-08-06 ("ratify exit 1 and realize it") and
realized the same day, tasks 1.1-1.3, 2.1-2.4, 3.1-3.3, 4.1-4.2.
Contracts: gate-intent + gate-action-record grow create-project /
project_id additively (verb+action enums, target field, per-verb
conditional, workflow-job companion), with packaged examples and a
conformance test group; no contract_schema_version bump.
Engine: kickoff.create_project() — the commission mechanic one register
over. The target id is orchestration-slugged from the name (D-a);
guards in ruled order (human gate, name/member shape, register
reachability via upward discovery, id collision, single-parent, roster
membership, duplicate via the shared (verb, target) index); descriptor
carries the proposed name + deduped members; the aggregation-owned
register is NEVER written here (D2). GateConsole delegate, executing
route (roster = the session registry's own reachable set), and the CLI
twin `gate create-project <name> --repo ...`.
Surface: serve.py gains read-only GET /project-register.json (the
snapshot index is a locator and carries no grouping, so the picker
reads the register projection; absent register or static image -> 404
-> the picker hides). repo-selector grows buildProjects/scopeRoster in
the pure model, the project picker (scope survives reload via
sessionStorage, membership-checked on the way back in), and the
create-project affordance under the gate capability with textContent
refusals and honest empty-candidate handling.
Verification: engine+wire test group (14), node model tests for
scoping, conformance group (6); the renderer fetch-inventory pins
widened by the declared arithmetic (repo-selector.js 2 -> 4, both new
routes individually named). Full dashboard suites 2598 passed / 0
failed; openspec --all --strict 52/52; live browser check green both
planes (picker + affordance gate-on, affordance absent gate-off, zero
page errors; wire probe returned the single-parent refusal).
Remaining: 1.4 bundle registration at the next additive cut; 4.3
Brett's first real commission + fulfilment.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
One conflict, EXECUTING_VERBS: main's add-project-scoped-selection appended create-project while this branch appended first-edit (T104 F10) — both kept. The resolved tree is byte-identical to the rebase this branch's protection rules would not accept (7ae6ca66f4; full dashboard suite 2674 passed / 19 skipped at exactly this tree). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
doxBench T104 F5–F10 wave: R-12 closed per the ruling, 28 findings fixed test-first
…ts (D8) Brett's 2026-08-06 realization-day ruling on add-project-scoped-selection (design D-d; topic decision D8, the D22 post-ratification precedent): a project is a named VIEW over repositories, not an owner. Contracts: the register schema's validator-side rules rewritten — repository->project membership is multi-parent, project->group stays single-parent; the snapshot schema gains the additive `projects` list (full membership in register order) beside the singular `project`, which survives as the first-declaring PRIMARY so grouped roll-ups keep one heading per repository. The register validator drops its project-multi-parent-repo error; the packaged negative example converts to a positive multi-parent example. The change's delta gains the MODIFIED "Project grouping hierarchy" requirement and the create-project requirement's single-parent scenario becomes a second-membership acceptance. Runtime: ProjectRegisterAdapter.projects_of() (primary first); the generator stamps `projects`; the create-project single-parent guard is dropped (roster guard unchanged); the affordance offers all roster repositories as candidates. Tests: owned-member acceptance engine + wire, adapter primary/full-list resolution, shared-membership validity; full dashboard suites 2600 passed / 0 failed; openspec --all --strict 52/52. The D8 register content (MedxFactory joins medx-clinical, staying primary in domains) landed in the aggregation repo as 01ace7e; tasks section 5 records the realization. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…o the neutral module (split § 2.1) (#724) split-opendox-two-layer-product tasks § 2.1: the OutputBoundary write guard (whole 377-line module, moved byte-for-byte by git mv) now lives at scripts/output_boundary.py, a plain module both packages import; scripts/ideation_dashboard/boundary.py stays as an explicit 17-name re-export so every existing import keeps working (identity-tested); scripts/doc_health/derive_possibles.py and ideation_readiness.py repoint their lazy house-guard imports; tests/doc-health/test_import_direction.py parses ASTs and proves scripts/doc_health imports nothing from ideation_dashboard, with a negative control. The packet fixed no path: the choice (scripts/, not named boundary because tests/avatar_runtime/boundary already occupies that top-level name in a full pytest run) is recorded in the PR body with its design § D2 basis. ideation-dashboard and doc-health suites green; doc-health delta zero; three verifiers passed. Landed on Brett Heap's word, 2026-09-06, verbatim "merge 724 when green" (#656). Admin squash because brettheap-authored PRs cannot self-clear the code-owner review. Refs #656 Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WoVQPAyEUXZf9S779gRVbo
…efused chips and refusal panel from the inbox plus the committed-intent feed (#718)
add-ideation-intent-plane task 4.4, first pull request (Path A, Brett Heap's rulings D-1..D-6 on #656): the actions.intent capability (not loopback → intent emission; exactly one of gate/intent is ever true); the hosted dispose tray emits a gate-intent by same-origin POST /intents with {verb, target, snapshot_rev_seen (full 40-hex, refused client-side otherwise), args} and no body-claimed actor (D16); the read-only committed-intent feed at /committed-intents.json served from ideation/dashboard/intents/ (RULING D-1; stdlib parser, size- and count-capped before any read, symlink-escape-proof, malformed files skipped); pending/applied/refused chips joining the inbox with the corpus feed (a committed entry's status wins; applied only from the corpus, never from a POST success); a refusal panel for inbox and lane refusals plus stalled/error states; local mode untouched. Verified across two rounds: design conformance, tests with mutation checks, live behavior against a fake inbox, and security; four Copilot threads taken. Records and ticks come in PR-5.
Landed on Brett Heap's word, 2026-09-06, verbatim "merge 718 when green" (#656). Admin squash because brettheap-authored PRs cannot self-clear the code-owner review.
Refs #656
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WoVQPAyEUXZf9S779gRVbo
…sify (split § 2.3) (#728) split-opendox-two-layer-product tasks § 2.3: authoring.py's REQUIRED_HEADER_FIELDS is no longer a constant co-authoritative with doc_health.corpus.STATUS_SCAN_LINES — the dashboard's gate stages a proposal as a corpus of one and asks the landed corpus adapter's classify (through home_corpus(), the interface's only door) for required and missing fields; the field block moved to the adapter's home layout data, so the adapter package no longer imports ideation_dashboard.authoring and authoring.py no longer imports doc_health; REQUIRED_HEADER_FIELDS survives only as a lazily resolved alias with every production consumer migrated; obliged_prefixes pinned to authoring.IDEATION_PREFIX; parity against a frozen pre-§2.3 oracle over 679 governed documents with zero divergence; mutations bite (7 tests). Verified adversarially; advisory: per-call latency ~1 ms at the single per-submission site. Landed on Brett Heap's words, 2026-09-06, verbatim "merge 727 and 728 when green" (#656). Admin squash because brettheap-authored PRs cannot self-clear the code-owner review. Refs #656 Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MDVAo41VtZqJQpuawwJeYC
….py (split § 2.4, PR 1 of 4: scaffolding, zero behavior change) (#736) split-opendox-two-layer-product § 2.4 PR-1 of 4: route extension point (scripts/route_extension.py, RouteExtension/RouteBinding dispatched by handler name against the live DashboardHandler) and subcommand extension point (scripts/subcommand_extension.py), wired into build_server()/build_parser() with empty-tuple defaults; zero behaviour change (help golden byte-identical, dispatch arms pinned). Verify rounds: neutrality/closure/gating/mutations + golden parity/suites/CI delta/design conformance; fix rounds: non-callable handlers refused at build time, GET/HEAD collision slot shared with an accurate refusal message, docstring no longer overclaims gating. Landed on Brett Heap's word "merge 736 when green" (2026-09-07). Refs #656. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CHAHvr9zFHRd4kWVnZLK9k
…(#741)
split-opendox-two-layer-product § 2.4 OQ-1 (ruled as recommended): doxbench_packet.py keeps every public name with no doc_health import; the Status:-header exemption rail moves to scripts/ideation_dashboard/doxbench_status_exemption.py (openxFactory-adapter column) keeping its direct doc_health import — the classify() route is unavailable without widening the closed Classification (RULING OQ-2), fallback ACCEPTED by Brett Heap 2026-09-07 ("accept the 741 fallback"). Three adversarial verifier lenses; 6 findings fixed; re-verify pass. Landed on Brett Heap's word "merge 741 when green". Refs #656.
Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019sa33gYhfLF1F1MkS7Xrd6
split-opendox-two-layer-product § 2.4 PR-2 of 4: the openDox column leaves serve.py as mixins — serve_workbench.py (WorkbenchRoutes: doxBench surface, chat turn, model intake/approval, abstract, thread), serve_project.py (ProjectRoutes: project register, notebook + edit actions) and serve_wire.py (shared wire vocabulary, re-exported by serve.py) — fixed core routes, dispatch tables and build_server() byte-stable; CAPABILITIES_ROUTE handling and _session_repository stay in core on test evidence. Nine test repoints under RULING (a), each disclosed and mutation-proved. Three adversarial lenses + re-verify pass; four Copilot threads fixed. Landed on Brett Heap's word "merge 748 when green" (2026-09-07). Refs #656. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UyynFBwGMQNeNU8D8qhQBW
…(#742) split-opendox-two-layer-product § 2.4 PR-4 of 4: cli.py split by column behind the subcommand extension point — cli_gate.py (openXdox, 19 gate verbs + the gate subparser tree, registered through SubcommandExtension), cli_project.py and cli_model_binding.py (openDox, fixed core), profile_openxfactory.py naming the in-tree SUBCOMMAND_EXTENSIONS; the 31-entry --help golden byte-identical; the __main__ bootstrap re-dispatches to the package module and the columns resolve the core relative to their own package spelling, so script, -m and scripts.-prefixed imports all bind one module object (identity-tested); bypass-flag and HumanGate closed-world sweeps re-stated at landed strength over the whole CLI surface. Three ruling-(a) test repoints, disclosed. Three adversarial lenses over four fix rounds; final gating re-verify pass. The branch history carries #736 commits already landed as fe73a28; this squash is the authoritative diff. Landed on Brett Heap's word "merge 742 when green" (2026-09-07). Refs #656. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UyynFBwGMQNeNU8D8qhQBW
split-opendox-two-layer-product § 2.4 PR-3 of 4: the openXdox and openxFactory columns leave serve.py through the route extension point — serve_gate.py (gate verbs under ACTIONS_GATE_PREFIX), serve_projection.py (snapshot-index, /source, /source/), serve_openxfactory_lanes.py (refresh, dtn-seed, staging-seed, apply-register-edits, committed-intents; the doc_health imports travel with it) — registered by profile_openxfactory.py ROUTE_EXTENSIONS, which build_server() composes unconditionally and additively; the fixed _route/do_POST tables shrink by exactly the moved arms; 42 moved bodies byte-identical; the CLI half of the profile resolves lazily so the hosted image loads no PyYAML. RULING A (Brett Heap, 2026-09-07): route_extension.collect_bindings refuses any pattern under an already-declared prefix, either order, method-aware, so no caller extension can sit under a contributed prefix. Parity + gating + scope lenses, two re-verifies, 270-response refusal parity battery, mutation-proved. Landed on Brett Heap's word "merge 761 when green". Refs #656. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q8CkMMAdcUZCqAUTgNjsPy
…-3, § 3.1) (#835) Pre-carve split S-3 of split-opendox-two-layer-product § 3.1 (scout memo 2026-09-08 § 4), on Brett Heap's word. Mechanical relocation inside openxFactory; no behaviour, signature or public-name change. - `hosted_index` (47 lines, byte-identical, sha256 9a826204…82e41) moves from `scripts/ideation_dashboard/serve_wire.py` to `serve_projection.py` (openXdox column), discharging the obligation serve_wire's own docstring recorded; no re-export is left in serve_wire, so the module's definitions are all openDox. - `serve.py` re-exports `hosted_index` from its new home; the four `test_session_confinement.py` tests run unmodified. New `test_serve_column_split.py` (2 tests) guards the split. - Cross-module edges: BEFORE == AFTER on every column pair (S-3 removes in-file column mixing, not an edge). `serve_openxfactory_lanes.py`'s four other serve_wire names untouched (OQ-B, unruled). - Independent verification (own worktrees) PASS WITH NOTES, 12/12; one Copilot round + one verifier-note round (docstring sentences). doc-health finding set identical to main; CI green. Refs #656 (stays OPEN). Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0139swz8Tq3FjNveDRR2SNPv
…ion.py (pre-carve S-2, § 3.1) (#836) Pre-carve split S-2 of split-opendox-two-layer-product § 3.1 (scout memo 2026-09-08 § 4), on Brett Heap's word. Mechanical relocation inside openxFactory; no behaviour or signature change; the import path of `add_as_cluster` changes and every in-tree importer is repointed. - `AddAsClusterResult` + `add_as_cluster` (55 lines incl. the `@dataclass` line, byte-identical, sha256 7c12c6df…4223) move from `scripts/ideation_dashboard/lens.py` to new `lens_submission.py` (openxFactory adapter column) together with their `human_seen` reach; `lens.py` (openDox column) no longer imports `human_seen` — the one openDox→openxFactory edge the memo named is gone. No re-export (it would restore the edge). - Repointed: `gate_routes.execute_lens_add_as_cluster` and four `test_lens.py` call sites. New `test_lens_column_split.py` (3 tests: AST direction scan over all three import spellings, non-vacuity control, no-re-export). - New adapter→core edges, declared for the manifest: `lens_submission` → `workbench` (unavoidable) and → `lens` for `PENDING_PROPOSAL_NOTE` (kept beside its JS twin under the shared byte-identity test); OQ-B's set grows from three edges to four. OQ-B's existing edges untouched. - Independent verification (own worktrees) PASS WITH NOTES, 12/12; two Copilot rounds + one verifier-note round. doc-health finding set identical to main; CI green. Refs #656 (stays OPEN). Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0139swz8Tq3FjNveDRR2SNPv
…re-carve S-1, § 3.1) (#837) Pre-carve split S-1 of split-opendox-two-layer-product § 3.1 (scout memo 2026-09-08 § 4), on Brett Heap's word. Mechanical relocation inside openxFactory; no behaviour, signature or public-name change (`doxbench_scope` re-exports every moved name). - `ScopeConfinementError`, `ScopeKey`, `ScopeDocument`, `ScopeSection`, `ScopeProjection` (86 lines, byte-identical, sha256 b6c99693…7e157e3d) move from `scripts/ideation_dashboard/doxbench_scope.py` to new `doxbench_scope_types.py` (openDox column). `SCOPE_KINDS` travels with them because `ScopeKey.__post_init__` validates against it — DISCLOSED: the memo's assignment of that tuple to openXdox was right (funnel-stage vocabulary); landed as-is on the verifier's recommendation, successor #838 filed to move the domain back to the authority. - Repointed openDox modules: `doxbench_packet`, `doxbench_telemetry`, `doxbench_turns` — openDox→openXdox edges −3 (the memo's fourth, `serve_workbench`, is genuinely mixed and stays). Dead `dataclass` import removed from doxbench_scope. New `test_scope_column_split.py` (6 tests). - Owed after the three splits land: one line-citation refresh (six prose citations staled by the line shift). - Independent verification (own worktrees) PASS WITH NOTES, 12/12 mechanics; three Copilot rounds + one verifier-note round. doc-health finding set identical to main; CI green. Refs #656 (stays OPEN). Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0139swz8Tq3FjNveDRR2SNPv
…ntent_apply_lane reaches sessions through the openXdox surface (split-opendox § 3.1) (#843) OQ-B pre-carve re-plumb, part 1 of 2 (B-1 + B-3), realizing Brett Heap's ruling "rule all OQs as recommended" (2026-09-09), on his word "merge 843 when green". Mechanical, inside openxFactory; no behaviour, signature or public-name change. - B-1: the slug family (`MAX_SLUG_CHARS`, `_SLUG_KEY_SEPARATOR`, `_SLUG_KEY_DIGEST_CHARS`, `_slug_key_digest`, `slug` — 66 lines, byte-identical, sha256 ac32a122…) moves from `scripts/ideation_dashboard/workbench.py` to the new neutral module `scripts/path_slug.py` beside `output_boundary.py` (`not_moved / replicated_at_destination` at the carve, RULED OQ-A/OQ-C); `workbench.py` re-exports the same objects; `human_seen.py` (adapter column) reads `slug` from the neutral module — the ruled edge is gone. - B-3: new `scripts/ideation_dashboard/openxdox_surface.py` (openXdox column) is a named re-export of `branch_session.bootstrap_sessions` and nothing else; `intent_apply_lane.py` reaches sessions through it — at the carve the lane's import becomes a package-path rewrite. - Edges (AST, five spellings): openxFactory→openDox 8 → 6; no new forbidden-direction edge. Remaining six are the `boundary` shim reaches, B-2 (`serve_openxfactory_lanes → serve_wire`, its own PR), and `lens_submission`'s two (OQ-B's fourth item, `import rewrites` at the carve). - `tests/notebooklm/` DEFERRED by measurement (22 distinct names / 65 reaches over four openDox modules, all as namespace imports, one private): recommended `import rewrites at the carve`, like `lens_submission` — recorded on #656. - Tests: new `tests/ideation-dashboard/test_oqb_replumb.py` (7) + a `path_slug` neutrality test in `tests/doc-health/test_import_direction.py`; Copilot round 1 taken; independent verification PASS WITH NOTES (10/10) on the PR, its one should-fix taken in a second round (a source-level assertion that workbench re-exports rather than redefines the slug family). Landed after the estate freeze lifted: the required `pytest-suite` had been red on every openxFactory PR since the codexFactory org transfer (pinned-core token) until #801 repointed it; the advisory `merge-master-approval` red of the same cause is disclosed, not a finding against this change. Refs #656 (stays OPEN). Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…S-1/S-3, and true-up lens_submission's docstring after B-1; B-2's relocation measured and held for a ruling (split-opendox § 3.1) (#848) The owed line-citation refresh after the § 3.1 pre-carve splits, sequenced before the carve manifest because every manifest row carries a sha256 — on Brett Heap's word "merge 848 when green" (2026-09-09). Prose only; every changed file's AST (docstrings stripped) is identical to main. - Eight citation numbers across four files (`scripts/ideation_dashboard/serve_wire.py`, `tests/ideation-dashboard/test_doxbench_abstract_route.py`, `test_doxbench_scope.py`, `test_doxbench_turns.py`) refreshed to the symbols' locations after S-1 (#837, −71 lines in `doxbench_scope.py`) and S-3 (#835); one historical S-3 citation and three archived-change hits correctly left; the `staging-workbench-model.js` citation family is out of scope. - `lens_submission.py:36-38`'s docstring trued up after OQ-B B-1 (#843: `human_seen` reads `slug` from the neutral `scripts/path_slug.py`). - B-2's relocation was measured and HELD for a ruling, not performed: `hosted_ref_refused` reaches `snapshot_registry` (openXdox) and cannot be neutral; the recommended home (i′) is `serve_projection.py` beside `hosted_index`, which keeps the serve-surface location pin green with no test edits (verified). The three string constants take the neutral module when B-2 is ruled. - Independent verification PASS WITH NOTES (8/8 citations exact by three instruments); body corrections taken. Landed after the estate freeze lifted (required `pytest-suite` red on every openxFactory PR since the codexFactory org transfer until #801 repointed the pinned-core token); the advisory `merge-master-approval` red of the same cause is disclosed, not a finding against this change. Refs #656 (stays OPEN). Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ection beside hosted_index; the three wire strings to a neutral module (split-opendox § 3.1) (#852) OQ-B pre-carve re-plumb, part 2, realizing Brett Heap's ruling "rule B-2 (i′)" (2026-09-09), on his word. Mechanical, inside openxFactory; no behaviour, signature or public-name change. - `hosted_ref_refused` (35 lines, byte-identical, sha256 1f0257cd…) moves from `scripts/ideation_dashboard/serve_wire.py` (openDox column) to `serve_projection.py` (openXdox) beside `hosted_index` — S-3's precedent; the module already imports `snapshot_registry`, where the predicate's one dependency lives. `serve_wire` keeps no definition and no re-export; its `snapshot_registry` import, dead once the predicate left, goes too (an openDox→openXdox edge removed). `serve.py`'s existing re-export of the name follows it (+1/−1; a `serve_wire` re-export would be a circular import). - The three wire strings (`JSON_CTYPE`, `JSON_OBJECT_BODY_REQUIRED`, `HOSTED_SESSION_REFUSAL`; byte-identical) move to the new neutral `scripts/wire_messages.py` beside `output_boundary` (`not_moved / replicated_at_destination` at the carve); `serve_wire` re-imports them; `serve_openxfactory_lanes.py` (adapter column) reads the predicate from `serve_projection` and the strings from `wire_messages` — it imports nothing from `serve_wire` any more. - Edges (AST, five spellings): adapter→openDox 8 → 7; openDox→openXdox 33 → 32; no new forbidden-direction edge. The serve-surface location pin (`test_session_snapshot.py`) stays green untouched. Two prose refreshes (`serve_wire.py` header; `conftest.py` comment, prose only). New `tests/ideation-dashboard/test_oqb_replumb_2.py` (13 guards, mutation-proven). - Independent verification PASS WITH NOTES (10/10, no should-fix); one Copilot thread resolved; CI green on its own result. Refs #656 (stays OPEN). Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…e-identical) The 123 rows the § 3.1 manifest gives destination `opendox_code`, placed at their declared `destination_path` by history-preserving `git filter-repo` (RULED OQ-H) out of a fresh `--mirror` clone of `opensoft/openxFactory` at carve_commit `b075fd91dc8fced8e1373825ba80220c33536bae` — tag `opendox-carve-0`, which is a LABEL beside that commit and never the referent. Every blob is the carve commit's: 123/123 rows' `sha256` AND `git_mode` equal the manifest's, recomputed independently against the filtered ref before anything was fetched from it. NO declared edit is in this commit — the edits are commit B — so the arrival is provable at PHASE A, the strongest statement available (openDox cutover runbook § 5.5). Two roots, deliberately: the scaffold's `main` is neither rewritten nor force-pushed, so the filtered history is joined to it with `git merge --allow-unrelated-histories` and lands as a pull-request branch (runbook § 5.0). filter-repo's rename directives apply to all history, so a path that did not exist at its carve-commit spelling carries partial blame continuity; RULED OQ-1 already declared bisectability unavailable here. THE RE-CUT (RULED Q-L4, #656 comment 5611834121). This is the same carve as #4's Commit A `828e00a4`, rebuilt from a fresh mirror onto the post-levelling-round-2 base `da2391e0`. The path file regenerated from the AMENDED manifest is byte-identical to the first cut's (sha256 48ebf0bf26afb3a2a8acd78662e8d81609fa3f699283d885c8301a047a100fc9) — Q-L1's two new rows are `replicated_at_destination` and carry no `destination` key, so none of the 123 selections moved — and the arrived content inside this leg's declared roots (`src/opendox`, `tests`) is byte-for-byte the first cut's. Refs opensoft/openXfactory#656 Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
There are confirmed correctness/safety issues in changed code paths (notably explorer.js dynamic innerHTML construction and smoke_signals.observations() key-collision behavior) that should be fixed before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR brings in a substantial tranche of the openDox dashboard + doxBench surfaces (and their hermetic test harnesses), including new UI controls (settings + account menu), a local-backend “Open in NotebookLM” action, and a strengthened Playwright-smoke signal oracle validated purely in Python.
Changes:
- Add/expand UI view modules for dashboard controls and projections (settings panel, account menu, explorer overlay, grouping/board/lineage model+renderers).
- Introduce/strengthen local-backend actions and safety boundaries (NotebookLM action, action error catalog, provider-boundary enforcement).
- Add extensive new tests and fixtures (node-driven JS probes, provider boundary sweep, smoke-signal oracle tests, doxBench hashing parity vectors, fake
ompRPC child).
File summaries
| File | Description |
|---|---|
| tests/test_subcommand_extension.py | Tests for CLI subcommand extension point neutrality/dispatch behavior. |
| tests/test_smoke_signals.py | Unit tests for Playwright smoke “signals oracle” logic without a browser. |
| tests/test_provider_boundary.py | Package-wide enforcement of narrowed provider/HTTP-client boundary. |
| tests/test_doxbench_proposals.py | Node-harness test for proposal review/apply/staleness invariants. |
| tests/test_doxbench_privacy.py | Privacy sentinels over doxBench client source + node harness behavioral probes. |
| tests/test_doxbench_hash.py | Cross-runtime hash parity tests + served-text lens behavior. |
| tests/test_doxbench_entrypoint.py | Ensures model-provider port is declared at real entrypoint and memoized. |
| tests/test_account_menu_dom.py | Node-driven DOM shim tests for account-menu popover behavior. |
| tests/smoke_signals.py | Reworked oracle: declarations include URL+status+count; reporting based on observations. |
| tests/fixtures/fake_omp_child.py | Updated fake omp child fixture transcribed from real captured frames. |
| tests/fixtures/doxbench_hash_vectors.json | Shared hash vectors + byte-limit fixture for parity tests. |
| src/opendox/web/views/settings.js | Settings popover backed by localStorage + URL precedence + change event. |
| src/opendox/web/views/notebook.js | Frontend capability probe + POST action wiring for NotebookLM. |
| src/opendox/web/views/model.js | Snapshot→funnel view-model derivation + edge visibility helpers. |
| src/opendox/web/views/lineage.js | Stats strip + lineage/readiness rendering changes. |
| src/opendox/web/views/helpers.js | Shared DOM/text helpers enforcing textContent-first construction. |
| src/opendox/web/views/grouping.js | Group/project/repo roll-up model + renderer for multi-snapshot aggregation. |
| src/opendox/web/views/gate.js | Gate console descriptor generation + ratify execution upgrade. |
| src/opendox/web/views/explorer.js | Explorer overlay: resolve target folders + file listing + viewer seam. |
| src/opendox/web/views/edit.js | Select-to-edit action wrapper for local backend. |
| src/opendox/web/views/docs.js | Doc list filters/sort/search + optional open-in-viewer affordance. |
| src/opendox/web/views/canvas-model.js | Pure cluster-canvas model derivation + draft-plan helpers. |
| src/opendox/web/views/board.js | Pipeline board view rendering + filter/search + “everything else” footer. |
| src/opendox/web/views/account-menu.js | Account popover: identity/access derived from /capabilities, logout in hosted mode. |
| src/opendox/web/vendor/.gitkeep | Keeps vendor directory present. |
| src/opendox/web/index.html | Adds account button; wires header control scaffolding. |
| src/opendox/notebook_action.py | Server-side NotebookLM action orchestration with fixed refusal catalog. |
| src/opendox/lens.py | Lens recipe semantics + evaluation/rerun/workbench assembly; submission split note. |
| src/opendox/fixtures.py | Worked-example possible-feats detection + register→snapshot projection guard. |
| src/opendox/doxbench_scope_types.py | Extracted frozen doxBench scope types for cross-column boundary. |
| src/opendox/doxbench_hash.py | Exact UTF-8 hashing + strict served-text lens + size/encoding errors. |
| src/opendox/cli_project.py | Project verbs (generate/create/edit) separated with late-bound core access. |
| src/opendox/cli_model_binding.py | CLI for model-provider bindings + stdin credential handoff. |
| src/opendox/canvas_drafts.py | Cluster-canvas draft YAML builders + boundary write path helpers. |
| src/opendox/boundary.py | Re-export of OutputBoundary from neutral output_boundary module. |
| src/opendox/action_errors.py | Dependency-light error catalog for action routes. |
| src/opendox/init.py | Package header + generator version constant. |
Review details
- Files reviewed: 30/123 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…s; RULED Q-L1/Q-L4)
`opendox_code`'s 62 `moved_with_declared_edit` rows declare 250 lines in the
AMENDED manifest (openxFactory#889, RULED Q-L1), in three classes: 186 `import
rewrites`, 52 `path constants`, 12 `adapter calls`. This commit changes 225 of
those lines and nothing else — 220 rewritten, 5 deleted, across 61 of the 62
rows. One row stays byte-identical and 25 declared lines are left alone, each
for a reason recorded below and enumerated line by line in the pull request: a
declared line is PERMISSION to edit that line, never an instruction to invent
an edit.
APPLIED, mechanically and by the runbook's own rule (§ 5.5,
`ideation_dashboard.X` -> `opendox.X` / `openxdox.X`):
* `import rewrites`, 174 lines — to `opendox.<module>` where the module is
one of this leg's own 123 rows, and to `openxdox.<module>` where the
manifest sends it to `openxdox_code` (`gate_console`, `gate_routes`,
`generator`, `register`, `kickoff`, `snapshot`, `snapshot_registry`,
`corpus_root`, `cli_gate`, `serve_gate`, `serve_projection`,
`doxbench_scope`). A relative spelling whose target travels here is
already correct and is untouched; a relative spelling whose target lands
in openXdox becomes `openxdox.X`.
Inside that count, the three RULED OQ-A neutral modules and the OQ-Q
corpus-adapter interface become package-internal: `from output_boundary
import` -> `from .output_boundary import`, and likewise `path_slug`,
`wire_messages`, `corpus_adapter`.
* `path constants`, 45 lines — the package directory
`scripts/ideation_dashboard/` -> `src/opendox/`, in the `Path` segment
form (`REPO_ROOT / "src" / "opendox" / "web"`) and the string form
(`"python3 src/opendox/cli.py"`, `web/views/gate.js`'s `CLI`).
* `adapter calls`, 1 line — `authoring.py:317`'s `from corpus_adapter import
DocumentId`, which is the interface RULING Q4 gives openDox and which
arrives here as a declared replica.
* DELETED, 5 lines — `serve.py:109-111`, the dead `sys.path.insert(0,
_SCRIPTS_DIR)` shim the runbook names by number (it exists only because
`scripts/` is not a package, and all three of its lines are declared); and
`cli.py:104` + `serve.py:1371`, the two imports of `profile_openxfactory`,
which is `not_moved / deleted_at_carve` and has no post-carve home at all.
THE ELEVEN LINES RULING Q-L1 ADDED, which the first cut (#4) reported as
SHORT CITATIONS it could not express inside the fence and left byte-identical:
* `tests/test_boundary.py:14` — a BARE `import output_boundary`, rewritten to
the destination-local `from opendox import output_boundary` the row's own
amended note names, the replica landing package-internally.
* the `"scripts"` / `"ideation_dashboard"` CONTINUATION SEGMENTS of four
multi-line `Path` expressions — `test_doxbench_hash.py:32-33`,
`test_doxbench_state.py:23-24`, `test_doxbench_view.py:16-17, 291-292` —
now `/ "src"` and `/ "opendox"`. Their bare `/ "web"` siblings (`:34`,
`:25`, `:18`, `:293`) need no change once the segments above are right.
* `test_provider_boundary.py:56` — `PACKAGE = REPO_ROOT / "scripts" /
"ideation_dashboard"` -> `REPO_ROOT / "src" / "opendox"`, which makes
`:57`'s derived `WEB = PACKAGE / "web"` correct as written.
* `test_subcommand_extension.py:43` — `MODULE = REPO_ROOT / "scripts" /
"subcommand_extension.py"` -> `REPO_ROOT / "src" /
"subcommand_extension.py"`, the replica's placed path, exactly as that
row's note directs. Its `:38` bare `import subcommand_extension` stays
undeclared and needs no edit under that placement.
No settled disposition moved: the first cut's 239 lines keep their EDIT /
DELETE / LEAVE decisions unchanged, and the plan diff is additions only.
LEFT — 25 lines, and why:
* 11 `adapter calls` — every `doc_health` reach (`serve.py:618`,
`workbench.py:745, 1406-1408`), the `corpus_adapter_openxfactory` reach
(`authoring.py:318`), the corpus-shaped `WORKBENCH_DIR` / `ORGANIZE_DIR`
literals (`workbench.py:82-83`), and `doxbench_scope_types.py:50, 69, 71`'s
`SCOPE_KINDS`, whose successor #838 is OPEN at the carve — which is why
that row exists at all, and why it is this commit's one byte-identical row.
D2's `resolve` is the answer and this leg has no resolver binding to reach
it through: that is § 3.5's, the BUILD arc (RULED OQ-N). Filing any of them
as a path constant would ship openxFactory's tree shape as a literal, which
`corpus-adapter-seam` requirement 4 refuses by name.
* 7 `import rewrites` — three lines naming a module that lands at NO
destination (`serve_openxfactory_lanes` twice in `serve.py`,
`doxbench_contracts` in `serve_wire.py`, `doxbench_status_exemption` in
`doxbench_packet.py`): there is no package path to rewrite to, and the
statements cannot go either, because their uses sit on UNDECLARED lines.
`cli.py:26` and `doxbench_mcp.py:61` are the same dead-shim family as
`serve.py:109-111`, but their `if` / `sys.path.insert` siblings are
undeclared, so the block cannot be removed inside the fence; harmless
here, since they insert `src/`, which this leg's import root already does.
`test_model_provider_broker.py:1135` is repointed by its own note onto
"the destination suite's own harness": this leg has none yet, and
`FORBIDDEN_PORT_MEMBERS` is a 20-name set — writing one is not a carve act.
* 7 `path constants` — `cli.py:106` and `serve.py:1661` are already
package-relative (`Path(__file__).resolve().parent / "web"` resolves to
`src/opendox/web` unchanged). The other five are the `/ "web"` and
`WEB = PACKAGE / "web"` siblings named above: correct as written once
Q-L1's newly declared segments are rewritten, and no longer the first
cut's short citations.
THE TEN COPIES WITH NO PLACEMENT ROW (RULED OQ-A / OQ-C — the manifest declares
what LEAVES, never what a destination assembles), each declared to the arrival
verifier with `--replica-at` so its presence AND its bytes are checkable, and
each byte-identical to `carve_commit`: `output_boundary.py`, `path_slug.py`,
`wire_messages.py`, `corpus_adapter.py` into `src/opendox/`; `hermeticity.py`,
`import_scan.py`, `staging_shapes.py` and `tests/ideation-dashboard/conftest.py`
into `tests/`; and RULING Q-L1's two new § 2.4 extension-point seams,
`route_extension.py` and `subcommand_extension.py`, onto the `src/` IMPORT ROOT
BESIDE the package — `src/route_extension.py` and `src/subcommand_extension.py`,
NOT inside `src/opendox/` — because their three arrived importers
(`src/opendox/serve.py:117`, `src/opendox/cli.py:65`,
`tests/test_subcommand_extension.py:38`) are bare top-level imports on lines no
row declares, so a copy inside the package would need an import rewrite this
manifest does not authorize while a copy on the import root resolves unedited.
That is the placement both new rows RECOMMEND by name, and it mirrors
`scripts/*.py` sitting beside `scripts/ideation_dashboard/` at the source.
Every one is imported BY NAME by an arrived row — measured over the carved
tree, not assumed. The `tests/corpus-adapter/` conformance corpus is NOT
placed: § 3.7's run needs an adapter IMPLEMENTATION this leg does not have yet,
and `test_conformance.py` must be rewritten per destination by design.
`verify-carve-arrival.py --phase B` -> OK: 123 row(s) arrived, 61 digest(s)
verified, 61 declared-edit row(s) within their lines, 1 unapplied; 10 of 10
declared replica(s) byte-identical; 132 file(s) with none undeclared.
Refs opensoft/openXfactory#656
Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
There was a problem hiding this comment.
🔵 Needs a closer look
The change set is large and still has at least one correctness bug plus a misleading docstring that should be fixed before it’s safe to approve.
Review details
- Files reviewed: 33/133 changed files
- Comments generated: 1
- Review effort level: Lite




Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Refs opensoft/openXfactory#656
This is the RE-CUT of carve leg 1, RULED Q-L4, superseding
#4 (branch
carve/opendox-code-leg-1, headcfabe3c4,now CLOSED). Two commits, same shape as the first cut: A places the 123
rows byte-identically, B applies the declared edits and places the declared
replicas. Nothing else.
Why there is a re-cut at all
The first cut proved the carve end to end and was stopped before landing
because the required
validatecheck was red for four STRUCTURAL reasonsoutside the leg's declared-line fence. Brett Heap ruled on all four
(openxFactory#656, comment
5611834121,verbatim "rule Q-L1 approve, Q-L2 approve, Q-L3 (b), Q-L4 re-cut"):
as
replicated_at_destinationrows and declares the eleven short-citationlines the leg could not express. Landed as openxFactory#889 →
15ebb37d483b4bfd0665844967d2699a7be3df33.package install in
validate, and a disclosedcollect_ignorelist.Landed as openDox-code#5 →
da2391e0d3a3f9182bad7dd657d629367e409e3c,which is this branch's base.
fresh two-commit PR (A: placement, identical procedure; B: declared edits +
the now-10 declared replicas), verified independently, and lands under the
standing word 'merge leg 1 when green'; Carve leg 1: openDox-code receives its 123 rows at opendox-carve-0 (split-opendox § 3.2) #4 is closed pointing at its
successor."
Both prerequisites were confirmed MERGED to
mainbefore anything wascloned. The design finding stays on record for the BUILD arc, not this leg: the
carved openDox column imports
openxdox.*, the reverse of the pin direction,which § 2.4's extension points exist to invert. This leg carries that
faithfully rather than fixing it.
Commit A — placement, PROVEN identical to the first cut
8e8983d5dc03027da4f3dcb9746a3d1969ae7b10. The 123 rows the § 3.1 manifestgives destination
opendox_code, placed at their declareddestination_pathby history-preserving
git filter-repo(RULED OQ-H) out of a--mirrorcloneof
opensoft/openxFactoryat carve_commitb075fd91dc8fced8e1373825ba80220c33536bae— tagopendox-carve-0, which is aLABEL beside that commit and never the referent.
Manifest control at that commit, § 5.2:
Arrival check, phase A, verbatim:
Independent recount, not the verifier's: 123/123 rows'
sha256ANDgit_modeequal the manifest's.Tree identity against the first cut. The merge sha necessarily differs (a
different destination parent — this branch is based on
da2391e0, postlevelling-round-2, where #4 was based on the pre-round-2 scaffold tip), but the
carved content must not. Scoped to the declared roots this leg receives:
EMPTY — the two carves agree byte for byte over
src/opendoxandtests.The unscoped diff is not empty, and is expected not to be: it shows exactly
levelling-round-2's three scaffold files riding along on the new base, and
nothing else —
— which is file-for-file and line-for-line what openDox-code#5 touched
(
validate.yml+10/-2,conftest.py+66,pyproject.toml+69).History shape, unchanged from the first cut:
git log --oneline origin/main..HEADis 206 commits, and the branch has two roots —4e278d36"Seed the code leg of openDox" (this repository's own) and0ebafcc0"Tranche A: adopt the doc-health spine…" (the carved openxFactoryhistory). The scaffold's
mainis neither rewritten nor force-pushed: thefiltered history is joined to it with
git merge --allow-unrelated-historiesand lands as a pull-request branch (runbook § 5.0). filter-repo's rename
directives apply to all history, so a path that did not exist at its
carve-commit spelling carries partial blame continuity; RULED OQ-1 already
declared bisectability unavailable here.
Commit B — the declared edits and the ten declared replicas
749c926e39433f1585ba75e848eb57f19903543b.opendox_code's 62moved_with_declared_editrows declare 250 lines inthe AMENDED manifest — 186
import rewrites, 52path constants,12
adapter calls, counted off the manifest independently rather thantaken from the verifier. This commit changes 225 of them and nothing else:
220 rewritten, 5 deleted, across 61 of the 62 rows. One row stays
byte-identical (
doxbench_scope_types.py, all three of its declared lines areadapter callsthe BUILD arc owns) and 25 declared lines are left alone. Adeclared line is PERMISSION to edit that line, never an instruction to invent
an edit.
Arrival check, phase B, verbatim:
The eleven lines RULING Q-L1 added
The first cut reported these as SHORT CITATIONS — notes describing an edit
their own line numbers could not express — and left those rows byte-identical.
The amendment declares them, and this commit applies them:
tests/test_boundary.pyimport output_boundary→from opendox import output_boundary(the replica lands package-internally)tests/test_doxbench_hash.py/ "scripts"→/ "src",/ "ideation_dashboard"→/ "opendox"(continuation segments of theSTATE_JSPath)tests/test_doxbench_state.pytests/test_doxbench_view.pySTATE_JSandEDITOR_JStests/test_provider_boundary.pyPACKAGE = REPO_ROOT / "scripts" / "ideation_dashboard"→… / "src" / "opendox"tests/test_subcommand_extension.pyMODULE = REPO_ROOT / "scripts" / "subcommand_extension.py"→… / "src" / "subcommand_extension.py", the replica's placed pathTheir bare
/ "web"andWEB = PACKAGE / "web"siblings (hash:34,state:25,view:18, 293,provider:57) need no change once the segmentsabove are right, and are recorded as left rather than as short citations.
No settled disposition moved. The first cut's 239 declared lines keep their
EDIT / DELETE / LEAVE decisions unchanged; the regenerated plan diffs against
the first cut's as additions only — 11 added
EDITlines, 0 removeddispositions, 5 reworded reasons (the short citations that became "no change
needed").
Applied
import rewrites, 174 lines — toopendox.<module>where the module isone of this leg's own 123 rows, and to
openxdox.<module>where the manifestsends it to
openxdox_code(gate_console,gate_routes,generator,register,kickoff,snapshot,snapshot_registry,corpus_root,cli_gate,serve_gate,serve_projection,doxbench_scope). A relativespelling whose target travels here is already correct and is untouched.
Inside that count, the three RULED OQ-A neutral modules and the OQ-Q
corpus-adapter interface become package-internal.
path constants, 45 lines — the package directoryscripts/ideation_dashboard/→src/opendox/, in thePathsegment formand the string form.
adapter calls, 1 line —authoring.py:317'sfrom corpus_adapter import DocumentId, the interface RULING Q4 gives openDox.serve.py:109-111, the deadsys.path.insert(0, _SCRIPTS_DIR)shim the runbook names by number (all three declared); andcli.py:104+serve.py:1371, the two imports ofprofile_openxfactory,which is
not_moved / deleted_at_carveand has no post-carve home.Left — 25 lines, and why
adapter calls— everydoc_healthreach (serve.py:618,workbench.py:745, 1406-1408), thecorpus_adapter_openxfactoryreach(
authoring.py:318), the corpus-shapedWORKBENCH_DIR/ORGANIZE_DIRliterals (
workbench.py:82-83), anddoxbench_scope_types.py:50, 69, 71'sSCOPE_KINDS, whose successor #838 is OPEN at the carve. D2'sresolveisthe answer and this leg has no resolver binding to reach it through: that is
§ 3.5's, the BUILD arc (RULED OQ-N). Filing any of them as a path constant
would ship openxFactory's tree shape as a literal, which
corpus-adapter-seamrequirement 4 refuses by name.import rewrites— three lines naming a module that lands at NOdestination (
serve_openxfactory_lanes×2,doxbench_contracts,doxbench_status_exemption);cli.py:26anddoxbench_mcp.py:61, the samedead-shim family as
serve.py:109-111but whoseif/sys.path.insertsiblings are UNDECLARED, so the block cannot go inside the fence (harmless —
they insert
src/, which this leg's import root already does); andtest_model_provider_broker.py:1135, repointed by its own note onto "thedestination suite's own harness", which this leg has none of yet.
path constants—cli.py:106andserve.py:1661are alreadypackage-relative; the other five are the
/ "web"siblings named above.The full edit table
src/opendox/authoring.pysrc/opendox/boundary.pysrc/opendox/branch_session.pysrc/opendox/cli.pysrc/opendox/cli_model_binding.pysrc/opendox/cli_project.pysrc/opendox/doxbench_bridge.pysrc/opendox/doxbench_install.pysrc/opendox/doxbench_intake.pysrc/opendox/doxbench_knowledge.pysrc/opendox/doxbench_mcp.pysrc/opendox/doxbench_packet.pysrc/opendox/doxbench_provider.pysrc/opendox/doxbench_scope_types.pysrc/opendox/doxbench_telemetry.pysrc/opendox/doxbench_turns.pysrc/opendox/serve.pysrc/opendox/serve_project.pysrc/opendox/serve_wire.pysrc/opendox/serve_workbench.pysrc/opendox/web/views/gate.jssrc/opendox/web/views/staging-workbench-model.jssrc/opendox/workbench.pytests/session_fixtures.pytests/test_account_menu_dom.pytests/test_boundary.pytests/test_bullseye_widget.pytests/test_doc_surfaces.pytests/test_doc_wheel.pytests/test_doxbench_abstract_pane.pytests/test_doxbench_accessibility.pytests/test_doxbench_bridge_live.pytests/test_doxbench_chat_view.pytests/test_doxbench_composition.pytests/test_doxbench_context_panes.pytests/test_doxbench_document_abstract.pytests/test_doxbench_entrypoint.pytests/test_doxbench_hash.pytests/test_doxbench_knowledge.pytests/test_doxbench_mcp.pytests/test_doxbench_memory_gateway.pytests/test_doxbench_privacy.pytests/test_doxbench_proposal_discard.pytests/test_doxbench_proposals.pytests/test_doxbench_state.pytests/test_doxbench_thread_switch.pytests/test_doxbench_tile_verbs.pytests/test_doxbench_view.pytests/test_doxbench_workspace.pytests/test_hermeticity.pytests/test_intent_tray_dom.pytests/test_lens_labels_at_scale.pytests/test_model_provider_broker.pytests/test_openprofiler_broker_e2e.pytests/test_outline_model.pytests/test_outline_tab.pytests/test_provider_boundary.pytests/test_session_git.pytests/test_subcommand_extension.pytests/test_wheel_paint_and_reach.pytests/test_wheel_verbs_dom.pytests/test_workbench.pyThe ten replicas, and where they went
A
replicated_at_destinationrow carries nodestinationand no digest by therow grammar (RULED OQ-C: the manifest declares what LEAVES openxFactory, never
what a destination assembles), so each copy is declared to the arrival verifier
with
--replica-at, which makes its presence AND its bytes checkable. All tenare byte-identical to
carve_commit— my own recount, independent of theverifier: 10/10.
scripts/output_boundary.pysrc/opendox/output_boundary.pyfrom output_boundary importlines are declared and becomefrom .output_boundary importscripts/path_slug.pysrc/opendox/path_slug.pyscripts/wire_messages.pysrc/opendox/wire_messages.pyscripts/corpus_adapter.pysrc/opendox/corpus_adapter.pytests/hermeticity.pytests/hermeticity.pytests/import_scan.pytests/import_scan.pytests/ideation-dashboard/staging_shapes.pytests/staging_shapes.pytests/ideation-dashboard/conftest.pytests/conftest.pyscripts/route_extension.pysrc/route_extension.pyscripts/subcommand_extension.pysrc/subcommand_extension.pyThe two new seams' placement is on the
src/IMPORT ROOT, beside thepackage — not inside it. Both new rows recommend exactly that by name, and
the reason is measurable: their three arrived importers (
src/opendox/serve.pyline 117,
src/opendox/cli.pyline 65,tests/test_subcommand_extension.pyline 38) are BARE top-level
import route_extension/import subcommand_extensionstatements on lines no row declares. A copyinside
src/opendox/would need an import rewrite this manifest does notauthorize; a copy on the import root resolves unedited. It mirrors
scripts/*.pysitting besidescripts/ideation_dashboard/at the source, andit is what makes
test_subcommand_extension.py:43declarable at all (thatrow's note says so). Proven, not assumed: in a fresh venv with the package
installed the way
validate.ymlinstalls it (pip install -e .[test]), theeditable install puts
src/onsys.pathand both modules import by theirbare names —
— while
opendox.route_extensionandopendox.subcommand_extensionareModuleNotFoundError, which is the point.The
tests/corpus-adapter/conformance corpus (ten further replica rows) isdeliberately NOT placed: § 3.7's run needs an adapter IMPLEMENTATION this
leg does not have, and
test_conformance.pymust be rewritten per destinationby design.
The fence, proven rather than asserted
Commit B applies the declared edits and nothing else. Two refusals demonstrate
that the claim is checked, not trusted.
An undeclared edit refuses. On a throwaway copy of this tree, the arrived
src/opendox/serve.pyline 117 — carve line 120, the bareimport route_extension, undeclared — was perturbed tofrom opendox import route_extension. Phase B, exit 2:Phase A over the phase-B tree refuses too, which is what makes the
two-commit shape meaningful rather than decorative — exit 2:
validate, and the honest state of the full suiteThe required check runs what RULED Q-L5 (b′) says it runs — openDox-code#7
(levelling round 3, on
mainatfe71247e) narrows it topython -m pytest -q tests/test_leg_shape.py --noconftestafterpip install -e ".[test]", untilthe BUILD arc inverts the openDox → openXdox dependency. Measured on this
branch's tree in a fresh venv installed exactly that way:
What the FULL suite does, disclosed rather than discovered later. Run
unnarrowed on this tree (993 collected, 0 collection errors, round 2's
seven-file
collect_ignoreactive), it is11 skipped, 982 errors, 0 passed— every one a SETUP error, in exactly two classes. Both are consequences of
where the carve leaves the column mid-order, both are BUILD-arc items rather
than defects in this leg, and neither can be repaired inside this leg's fence:
ModuleNotFoundError: No module named 'openxdox'. The arrivedtests/conftest.py:106re-exports two AUTOUSE fixtures fromtests/session_fixtures.py:413, whose bodies importopendox.cli; thatimport reaches openXdox, so every test under
tests/errors at setup. Anignorelist removes files from collection and cannot remove a fixture, andboth files are rows inside the fence. Measured census of the cause, over the
carve blobs of this destination's own rows: 13 MODULE-LEVEL imports across
5 files reach a module the manifest sends to
openxdox_code—cli.py:72, :74, :79, :82, :979;serve.py:138, :170, :173, :175, :191;serve_workbench.py:49;branch_session.py:77;workbench.py:70 — andall thirteen sit on DECLARED lines, so deferring any subset of them is
available to a future ruling inside this grammar. Seven of the thirteen lie
on the
opendox.cliimport path the autouse fixtures trigger (cli.py'sfive,
branch_session.py:77,workbench.py:70), which is why deferring anyone of them alone does not make the suite runnable: measured directly, with
workbench.py:70deferred the next failure isbranch_session.py:77'sfrom openxdox import gate_consoleand the error count does not move.Inverting this direction through § 2.4's extension points is the BUILD arc's
act (§ 3.5/3.6), not a leg's.
FileNotFoundErroron<parent-of-repository>/src/opendox/web/views/*.js.tests/ideation-dashboard/conftest.pyis areplicated_at_destinationrowand arrives BYTE-IDENTICAL at
tests/conftest.py— one directory shallowerthan its source, which is what makes it the root of the arrived suites'
conftest chain. Its line 25,
REPO_ROOT = HERE.parent.parent, is correct atthe source depth and resolves one level too high here, so every module doing
from conftest import REPO_ROOTreads a root above the repository. A replicamust arrive byte-identical and declares no editable line, so this leg cannot
touch it; a placement one level deeper would stop being the chain's root.
This class is invisible where
nodeis absent — the JS-renderer probespytest.skipwithout it — which is why levelling round 2's measurement sawonly class 1; proven on
tests/test_doc_surfaces.py, whose 7FileNotFoundErrors become 7 skips withnodeoffPATH, leaving only its4 class-1 errors. It is recorded here as a finding for the BUILD arc (or for
a later ruling on replica placement), not patched.
Neither class is introduced by this re-cut: both are present in the first cut's
tree, where the required check never reached them because it died earlier on
No module named 'yaml'(cause 4, fixed by round 2). Nothing in this pullrequest edits
.github/, the rootconftest.py, orpyproject.toml— thoseare the levelling rounds' files, and an ignore-list or workflow gap is a
finding for a levelling round, never a leg edit.
A third finding, surfaced by the Copilot round on this pull request and
recorded here with a count rather than repaired: 20 occurrences of
openxFactory's
scripts/…layout survive in PROSE — docstrings and comments —across 16 arrived files, and ZERO of them sit on a declared line. The
manifest's
path constantsclass declares where that layout appears in CODE(45 such lines are rewritten in commit B) and prose was never declared on any
row; three of the sixteen files are declared replicas besides, which must
arrive byte-identical. Examples:
src/opendox/boundary.py:3("the guard itselfnow lives in
scripts/output_boundary.py"),src/opendox/cli.py:13, :34,tests/conftest.py:235. It is the same family as the two gaps the manifestalready carries as owed —
scripts/verify-carve-arrival.py:92's stale "18replica rows" and the 11 undeclared
REPO_ROOT / "scripts"reaches over 9opendox_coderows — and it belongs to a later declared-line act or the BUILDarc, not to a leg that would have to break the floor to do it. The full
file:line list is on the resolved review thread.
The advisory checks, and why two of them read a carve badly
validateis the only REQUIRED check on this repository (ruleset "Requirevalidate check"), and it passes — 10s, run
34475873949.
The other three are advisory and are recorded here so nobody reads them as a
leg defect:
E Security Rating on New Code (required ≥ A)andD Reliability Rating on New Code (required ≥ A). Apull request's "new code" is its diff, and this diff is 123 files of
openxFactory history ARRIVING — so the whole carved column is scored as
freshly written here. Nothing in it may be changed to satisfy the gate: 61 of
the 123 rows are
moved_verbatimand must stay byte-identical, and the other62 may differ only on their 250 declared lines. The same code sits at
openxFactory
maintoday under that repository's own gates.to fetch diffs exceeding 20000 lines." A carve leg is larger than that by
construction.
8e8983d5(commit A), before commit B existed, andits overview reads the arrival as new authorship. Its one inline thread is
answered and resolved on the record: the line it names sits in
src/opendox/fixtures.py, amoved_verbatimrow with no declared edit,whose blob
7f26927072…is the same git object at the carve commit, atopenxFactory
main, and here — so the observation is a finding foropenxFactory, not a change this arrival is permitted to make. A re-review
over commit B has been requested.
NOT DONE, deliberately
No other leg (
opendox_spec,opendox_root,openxdox_code,openxdox_spec); nocarved_from:declaration; no pin, no gitlink, no tag; noedit to the manifest or to either validator — every one of those is a later
step in the runbook § 5.1 order or another act's fence entirely.
Lands under Brett Heap's standing word "merge leg 1 when green" via the
lane's gate (merge commit).
🤖 Generated with Claude Code