Skip to content

§ 3.4 S7 residue: thread the display facet to the seven leaves it never reached - #28

Merged
brettheap merged 7 commits into
mainfrom
build/s7-residue-leaf-facet
Sep 18, 2026
Merged

brettheap merged 7 commits into
mainfrom
build/s7-residue-leaf-facet

Conversation

@brettheap

@brettheap brettheap commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

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

The leg of the § 3.4 slice-S7 RESIDUE pair. Its paired openxFactory row annotation (chore/s7-residue-declared-edits) declares every carve line this branch edits and lands FIRST, which is RULING Q-L1's order (#656 comment 5628560136). CLAIM: 5714327188. Refs #656 (stays OPEN).

What this is

SEVEN display-facet leaves that slice S7's own review found inside the modules S7 had already parameterized at their mounts — two threads Copilot opened on #21 at its gated head c7a216c7 and five it left SUPPRESSED in review 5192900474's body, with zero threads opened. The S7 LANDED note (#656 comment 5688498049) carried them forward as owed, and the gate's own rule — read the review BODY, never the thread count — is why they were not lost.

Every one is the same failure: the vocabulary is installed where a view is MOUNTED and never threaded to a LEAF inside it.

file leaf what a host saw
views/docs.js docHaystack() indexed the raw d.stage while the row renders vocab.documentStageWord(d.stage) a host mapping brainstorm to jotted hid every such document from a search for the word on screen
views/staging-workbench.js the nested renderDocWheel mounted without display one pane in two vocabularies — doc-wheel.js resets its module vocabulary to opts.display || neutralDisplay() on every render
views/staging-workbench.js runAddSection() handed insertSection no options.display the only interactive add route placed and duplicate-checked sections against the neutral SECTION_ORDER inside an outline rendered in the host's words
views/board.js brainstormCard()'s date metadata spelled captured one card in two vocabularies, beneath a heading that resolves the same status through the facet
views/display.js applyTokens() only ever ADDED inline --st-* properties a role the new facet does not declare kept the old facet's colour, and an inline custom property outranks the stylesheet's theme-aware default
views/explorer.js the stale-tile fallback title rendered the raw DRILL_KINDS seam key proposal · REQ-14 in a dialog heading whose every other label resolves
views/lineage.js renderStats() kept the PREVIOUS render's vocabulary (|| vocab) a render after a host facet was withdrawn went on speaking the withdrawn host's words instead of coming up visibly un-domained

SIX OF THE SEVEN ARE INVISIBLE TO tests/test_web_boundary.py ASSERTION 4 and always would have been — captured is in neither _STATUS_WORDS nor _STAGE_WORDS, a mount that forwards no option spells nothing at all, and a fallback that keeps the previous vocabulary is a missing RESET rather than a literal. The boundary census can be green while a pane renders in two vocabularies at once, which is why a review round and not the census found these.

views/lineage.js was the ONE site of eleven. Measured over src/opendox/web/views/*.js: eleven modules install a module-level vocabulary at their render entry point and ten already reset to neutralDisplay(). test_every_module_vocabulary_resets is now the ratchet, and it pins the SET too, so a twelfth module that adopts the idiom and forgets the reset fails here instead of waiting for a review round.

The proof

tests/test_display_facet_leaves.py, 12 tests, on the same footing as its neighbours in validate.yml's narrowed list: it imports no opendox submodule at all, reads bundle files as text, and drives the REAL views/display.js, views/explorer.js and views/outline-model.js under the node the runner already has (skipped, never failed, where node is absent). --noconftest safe.

THREE assertions RUN the module and nine read it, and the split is the tree's, not a preference: applyTokens, drillKindWord and insertSection are reachable from a pure ES-module harness; the other four sites live inside render functions that need a DOM to enter. Where a source assertion could pass on a decoration alone, a behavioural probe of the thing it feeds sits beside it — test_insert_section_honours_the_declared_order drives the real insertSection with a host that orders conflicts FIRST and shows the same press landing the section at opposite ends of the same fragment, which is what makes runAddSection's one added argument matter.

PROVED AGAINST THE DEFECT, not just alongside the fix. This file alone, dropped into a pristine worktree at 0b4e8bbf, is 11 failed / 2 passed — each failure its own leaf (it was 10 of 12 until Copilot's review at b4efe155 earned a thirteenth test, below). The two that pass there are deliberate and say so in their docstrings: applyTokens' return contract is unchanged by the fix, and insertSection already honoured options.display, which is exactly why the caller omitting it was invisible.

Measured, under validate.yml's own invocation

python -m pytest -q <the 28-file list> --noconftest      712 passed, 2 skipped
python -m pytest -q tests/test_display_facet_leaves.py --noconftest    13 passed

Re-run at the merged head b4efe155. The list was 694 passed — slice S8's own figure, unchanged by this branch — until #27 landed and appended tests/test_binding_stylesheets.py to it; the two skips are that file's own and deliberate (no assembly has placed openXdox's six contributed modules in this bundle, RULED Q5). python 3.12.3 / pytest 8.4.2.

The census is RE-MEASURED, not adjusted: tests/fixtures/web_boundary_census.yaml's own ratchet re-derives every loc from the tree and re-sums the class totals, so the six rows this branch grows and the two totals move together — A 17883 -> 17904, C 12564 -> 12617 at the base, and A 18019 / C 12519 at the merged head, DERIVED from the merged rows and never added from the two sides: #27 moves views/view_extension.js A 877 -> 992 and styles.css C 2595 -> 2497, this branch moves six other rows, the two row sets are DISJOINT, and every one of the 42 rows' loc was re-measured against the merged tree with the test's own rule — zero mismatches.

tests/test_display_facet.py's two inline style doubles carried only setProperty; applyTokens now clears before it writes, so they carry removeProperty too and delete what they recorded — the shape that file's own _DOM_STUB has always had. It is an ADMITTED created file, so this is not a declared edit.

A SEPARATE - name: pytest (S7 residue) STEP, and it is a merge decision with a measurement behind it

openDox-code #27 (RULED Q7's binding stylesheets) appends tests/test_binding_stylesheets.py at the same list tail, so a second append there is a textual conflict on whichever of the two lands second — over a line whose ORDER carries no meaning. A separate step conflicts with nothing, reports its own red/green in the check's log, and folds back onto the list in one hunk whenever an act wants it there.

That is now measured rather than forecast. #27 landed first (5c137a90) and this branch merged main at b4efe155: .github/workflows/validate.yml AUTO-MERGED with both appends intact, and the census fixture's totals: block was the merge's ONLY conflict.

What this does NOT do — residue, by name

  1. tests/test_doc_wheel.py:393 reads a 600-CHARACTER window from renderDocWheel(selector to find renderAbstract(abstract, — 470 characters apart at 0b4e8bbf. A house-style comment block at that exact site (531 characters) moves the callback out of the window and turns a WIRING assertion red for a reason that has nothing to do with wiring. The wheel mount therefore carries a one-line comment here and the argument for it lives in the new test file, the manifest note and the commit message. Repairing the window is an edit to a carved test file at lines the paired annotation does not declare, so it is registered rather than taken — the same disposition Act 1 gave slice S8's two path constants, and the one this act exists to discharge.
  2. views/viewer.js:262's doc.stage pill stays where the S7 note's register put it: a boundary-note amendment, not a declared edit.
  3. The one unapplied declared-edit row at this leg (doxbench_scope_types.py's three adapter calls lines, a group-3 record against open successor openxFactory#838) is untouched and still unapplied.

Gate

required check validate only
base main @ 0b4e8bbf
landing AFTER its paired openxFactory annotation (RULING Q-L1)

🤖 Generated with Claude Code

Summary by Sourcery

Thread the active display facet through all identified view leaves and prevent stale vocabulary or styling from surviving facet changes.

Bug Fixes:

  • Ensure document search matches both raw stage identifiers and facet-resolved display words.
  • Render board metadata, stale explorer titles, nested workbench content, and interactive section additions using the active display facet.
  • Clear stale inline display-token styles and reset lineage rendering to the neutral facet when no display facet is supplied.

Enhancements:

  • Add a ratchet that verifies all module-level view vocabularies reset to the neutral display.

CI:

  • Run the display-facet leaf tests in a dedicated pytest validation step.

Tests:

  • Add focused behavioral and source-level coverage for seven previously untested display-facet leaves, including token cleanup, localized search, explorer fallbacks, section ordering, nested wheel wiring, board metadata, and vocabulary resets.
  • Update display-facet test doubles to support removal of inline token properties.

Chores:

  • Re-measure and update the web-boundary census totals and affected file records.

RULED — Brett Heap, 2026-09-17 ~14:39Z, by interactive multi-choice (openxFactory#656 comment 5716232555), the three questions this act put: (1) openDox-code #28 lands on the reviews already held — Copilot's "Approval recommended" at e06ae7cd, whose tree is byte-identical to head b0e66a7f — and no further @copilot review comments are posted on drafts (a comment summons the coding agent, which pushed to both branches of this act unrequested; both pushes reverted). (2) The per-mount vocabulary refactor Copilot asked for is its own declared act later — REGISTERED, not folded in. (3) SonarCloud githubactions:S8541 on validate.yml:29 (main's own install line) is registered and untouched. Every answer is what this PR already does; no tree change follows. Landing order unchanged: oxF #1068 → oxF #1085 → openDox-code #28; the holder lands all three.


MERGED main AT b4efe155 (2026-09-17 17:00Z), and the held-review premise is stated plainly. This pull request was CONFLICTING after openDox-code#24 (0e65b5f8) and #27 (5c137a90) landed, so it took a merge — never a rebase. RULED 5716232555 Q1 (a) lands it on the reviews already held, on the ground that b0e66a7f's tree equalled e06ae7cd's, the head Copilot reviewed "Approval recommended"; the tree is no longer that one, because main's content is now in it. Nothing of this branch's own work moved: git diff b0e66a7f b4efe155 -- src/opendox/web/views/{board,docs,explorer,staging-workbench,display,lineage}.js tests/test_display_facet_leaves.py is EMPTY, and the only hunks authored at the merge are the census totals: block and a four-line note in the validate.yml step comment. The holder decides whether the held reviews carry over a merge commit.


COPILOT'S REVIEW AT b4efe155 (5238979152) IS TAKEN AT b51a1ca1, and it was right by measurement. Its suppressed comment: the leaf test's \bd\.stage\b(?!\s*\)) "also matches the d.stage ? guard used for the localized word, so the test would stay green if d.stage were removed from the returned haystack while that guard remained". MEASURED on the real docHaystack body with d.kind, d.stage, replaced by d.kind, — the raw enum gone from the returned array, the guard left: the old pattern still matched. Both halves of the answer the review offers are taken: the pattern now requires the ARRAY ELEMENT (\bd\.stage\s*,, which the guard and the call argument both fail — and which does not match that mutated body), and a thirteenth, BEHAVIOURAL test runs the real docHaystack body under node against a vocab double that renames one stage and asserts the haystack it RETURNS carries both brainstorm and jotted. No product code changes — views/docs.js is untouched, so openxFactory#1085's declaration of its two carve lines is untouched too. The workflow comment's own count is re-derived with the test: at 0b4e8bbf the file is 11 of 13 failing, the new test among them.

brettheap and others added 2 commits September 17, 2026 12:25
…er reached

The two threads and the five SUPPRESSED comments Copilot left on #21 at its
gated head `c7a216c`, all one theme: the facet is installed at a mount and
never reaches a leaf.

  views/docs.js            docHaystack() indexed the raw `d.stage` while the
                           row renders `vocab.documentStageWord(d.stage)`, so a
                           host that renames a stage hid every such document
                           from a search for the word on screen. The raw enum
                           STAYS beside the resolved word.
  views/staging-workbench  the nested renderDocWheel mounted without
                           `display: vocab`, and doc-wheel.js resets its module
                           vocabulary on every render -- one pane in two
                           vocabularies. And runAddSection() handed
                           insertSection no `options.display`, so the only
                           interactive add placed sections against the neutral
                           SECTION_ORDER.
  views/board.js           brainstormCard()'s date metadata spelled `captured`
                           beside a heading that resolves the same status.
  views/display.js         applyTokens() only ever ADDED inline `--st-*`
                           properties, so a role the new facet does not declare
                           kept the old facet's colour -- and an inline custom
                           property outranks the stylesheet's theme default.
  views/explorer.js        the stale-tile fallback title -- the one branch
                           resolveExplorerTarget cannot reach -- rendered the
                           raw DRILL_KINDS seam key.
  views/lineage.js         renderStats() kept the PREVIOUS render's vocabulary
                           (`|| vocab`) where the caller declares none: the one
                           site of eleven in views/ that did not reset to
                           neutralDisplay().

The census is RE-MEASURED, not adjusted: `loc` for the six files and the class
A/C totals come from `tests/fixtures/web_boundary_census.yaml`'s own ratchet
(`test_the_declared_totals_are_re_derived_from_the_rows`), A 17883 -> 17904 and
C 12564 -> 12624. `tests/test_display_facet.py`'s two inline style doubles
carried only `setProperty`; `applyTokens` now clears before it writes, so they
carry `removeProperty` too and delete what they recorded -- the same shape the
file's own `_DOM_STUB` has always had.

THE ONE COMMENT THIS COMMIT KEEPS SHORT IS THE WHEEL MOUNT'S, and the reason
is measured: `tests/test_doc_wheel.py:393` asserts `renderAbstract(abstract,`
inside a 600-CHARACTER WINDOW taken from `renderDocWheel(selector` -- 470
characters apart at `0b4e8bbf`, so a house-style comment block at that exact
site (531 characters) moved the callback out of the window and turned a wiring
assertion red for a reason that has nothing to do with wiring. The option
carries a one-line comment and the argument for it lives in
`tests/test_display_facet_leaves.py`, the census note and this message. The
brittle window is REGISTERED, not repaired here: repairing it is an edit to a
carved test file at lines the paired annotation does not declare.

Every line this commit edits at a carved file is DECLARED FIRST on the paired
openxFactory row annotation (RULING Q-L1), under RULING OQ-1's closed class
`adapter calls`. `views/display.js` is an ADMITTED created file with no
manifest row, and so is `tests/test_display_facet.py`.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… validate step

The assertions the fixes above are trusted on. Twelve tests, three of them
BEHAVIOURAL under the `node` the runner already has (`applyTokens` clearing a
previous facet's inline properties, `drillKindWord` resolving a DRILL_KINDS
seam key by role, and `insertSection` placing a required section against the
HOST's canonical order -- which is what makes `runAddSection`'s one added
argument matter); the other nine read the source, the same constraint
`tests/test_intent_binding_shape.py` and `tests/test_split_route_tails.py`
work under, because those four sites live inside render functions a pure
ES-module harness cannot enter.

PROVED AGAINST THE DEFECT, not just alongside the fix: this file alone, dropped
into a pristine worktree at `0b4e8bbf`, is 10 failed / 2 passed -- each failure
its own leaf. The two that pass there are deliberate and say so in their own
docstrings: `applyTokens`' return contract is unchanged by the fix, and
`insertSection` already honoured `options.display`, which is exactly why the
caller omitting it was invisible.

ONE OF THE TWELVE IS A RATCHET rather than a leaf.
`test_every_module_vocabulary_resets` walks every `views/*.js`, finds each
module-level `vocab = …` install, and fails on any that does not reset to
`neutralDisplay()` -- eleven sites today, ten of which already did. It also
pins the SET, so a new module that adopts the idiom is a failure here instead
of a review round two slices later.

A SEPARATE `- name: pytest (S7 residue)` STEP, NOT A 28TH ENTRY ON THE LIST,
and that is a merge decision with a measurement behind it: openDox-code#27
(RULED Q7's binding stylesheets) appends `tests/test_binding_stylesheets.py` at
the same list tail, so a second append there is a textual conflict on whichever
of the two lands second -- over a line whose order carries no meaning. A
separate step conflicts with nothing and folds back onto the list in one hunk
whenever an act wants it there.

Measured at this head, python 3.12.3 / pytest 8.4.2, under validate.yml's own
invocation: the 27-file list is 694 passed (the same figure S8 landed), and
this step is 12 passed.

A CREATED FILE: no carve-manifest row (RULED OQ-C), declared instead as an
admission on the paired openxFactory annotation, `since` this commit.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 17, 2026 12:39
@sourcery-ai

sourcery-ai Bot commented Sep 17, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR completes S7 display-facet propagation at seven view leaves, ensuring host vocabulary is used consistently across labels, search, nested rendering, section insertion, token styling, and reset paths. It adds targeted behavioral/source regression tests, a reset ratchet, a dedicated CI step, and refreshed boundary-census measurements.

Sequence diagram for display facet propagation through staging workbench

sequenceDiagram
    participant Host
    participant Workbench as staging-workbench.js
    participant Wheel as doc-wheel.js
    participant Model as outline-model.js

    Host->>Workbench: render with display
    Workbench->>Wheel: renderDocWheel(selector, entries, display)
    Wheel->>Wheel: reset module vocabulary from opts.display
    Host->>Workbench: runAddSection(...)
    Workbench->>Model: insertSection(..., display)
    Model-->>Workbench: section patch using host order
Loading

Flow diagram for facet-aware search and fallback labels

flowchart TD
    Input[Document or explorer tile] --> Branch{Resolved data?}
    Branch -->|Document search| Haystack[docHaystack]
    Haystack --> Raw[Include raw stage]
    Haystack --> Facet["Include documentStageWord(stage)"]
    Branch -->|Stale explorer tile| Kind[drillKindWord]
    Kind --> Display["display.one(role)"]
    Raw --> Search[Host vocabulary and raw enum are searchable]
    Facet --> Search
    Display --> Title[Facet-aware fallback title]
Loading

File-Level Changes

Change Details Files
Threads the display facet through seven previously unlocalized view leaves so rendered labels, search, nested panes, interactive ordering, and reset behavior remain vocabulary-consistent.
  • Indexes both raw and facet-resolved document stages in search.
  • Resolves brainstorm-card metadata and stale explorer fallback labels through the display facet.
  • Passes the mounted vocabulary into the nested document wheel and section insertion route.
  • Resets inline token properties before applying a new facet.
  • Resets lineage statistics to neutral vocabulary when no facet is supplied.
src/opendox/web/views/docs.js
src/opendox/web/views/staging-workbench.js
src/opendox/web/views/board.js
src/opendox/web/views/display.js
src/opendox/web/views/explorer.js
src/opendox/web/views/lineage.js
Adds focused regression coverage and CI execution for the seven residue cases, including runtime probes and source-level wiring checks.
  • Adds 12 tests covering token cleanup, fallback mapping, section ordering, wheel and caller wiring, search, metadata, and vocabulary resets.
  • Adds a module reset ratchet covering all vocabulary-installing view modules.
  • Runs the new test file in a separate validate workflow step.
  • Updates display-test doubles to support removeProperty.
tests/test_display_facet_leaves.py
.github/workflows/validate.yml
tests/test_display_facet.py
Re-measures the web-boundary census to account for the changed source line counts and documents each residue edit.
  • Updates class A and C totals and per-file locations.
  • Records the seven fixes in the census notes.
tests/fixtures/web_boundary_census.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@brettheap

Copy link
Copy Markdown
Contributor Author

@copilot review

`test_the_brainstorm_cards_date_metadata_resolves_the_status` asserted
`"d.dates.captured" in body and "d.dates?.captured" in body` as one expression,
so a failure could not say WHICH half of the schema read had gone. Two
assertions with their own messages now, which is the rule's point rather than
its letter.

The only other issue SonarCloud raises at this head is `githubactions:S8541` on
`.github/workflows/validate.yml:29` — `pip install -e ".[test]"` without
`--only-binary :all:`. That line is `main`'s, landed 2026-09-10 under RULED
Q-L2, and this branch neither wrote it nor is the act that may change how the
required check installs the package; it is attributed to this pull request only
because the branch appends a step to the same file. Registered, not taken.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@brettheap

Copy link
Copy Markdown
Contributor Author

@copilot review

@brettheap

Copy link
Copy Markdown
Contributor Author

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

SonarCloud at e06ae7cd: one issue, and it is not this branch's. Measured through SonarCloud's own issue search on this pull request:

  • python:S9073 — "Split this composite assertion into separate assertions", tests/test_display_facet_leaves.py. TAKEN at e06ae7cd: the one composite assert "d.dates.captured" in body and "d.dates?.captured" in body is two assertions with their own messages now, so a failure says which half of the schema read went.
  • githubactions:S8541 — "Omitting --only-binary :all: can lead to the execution of setup scripts", .github/workflows/validate.yml:29. REGISTERED, not taken. That line is main's, landed 2026-09-10 under RULED Q-L2 (pip install -e ".[test]", the step whose whole point is that the package and its dependencies are installed from pyproject.toml rather than a hand-copied pytest pin). SonarCloud dates it 2026-09-10T11:37:03+0000 and attributes it to this pull request only because the branch appends a step to the same file — the proof being that openDox-code#27, which also appends there, carries the same issue key's rule at the same line with the same creation date. --only-binary :all: cannot be the fix here in any case: an editable install of this package is a source install by definition.

The required check is validate, which is pass at this head. SonarCloud is advisory on this leg, as it was on #21.

Refs #656 (stays OPEN).

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

A critical multi-workbench vocabulary bug remains in staging-workbench.js.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Completes display-facet propagation across seven missed view leaves and adds focused regression coverage.

Changes:

  • Threads host vocabulary through views, nested workbenches, and section insertion.
  • Clears stale tokens and resets lineage vocabulary.
  • Adds tests, CI validation, and census updates.

Approval blocker: staging-workbench.js uses module-level vocabulary, which can cause multiple workbenches to use the wrong section ordering.

File summaries
File Summary
tests/test_display_facet.py Extends DOM doubles for token removal.
tests/test_display_facet_leaves.py Adds seven-leaf regression coverage.
tests/fixtures/web_boundary_census.yaml Updates measured counts and locations.
src/opendox/web/views/staging-workbench.js Propagates vocabulary to nested views and section insertion.
src/opendox/web/views/lineage.js Resets vocabulary between renders.
src/opendox/web/views/explorer.js Localizes fallback titles.
src/opendox/web/views/docs.js Indexes resolved stage labels.
src/opendox/web/views/display.js Clears stale inline token properties.
src/opendox/web/views/board.js Localizes metadata labels.
.github/workflows/validate.yml Runs the new regression suite.
Review details
  • Files reviewed: 10/10 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.

@brettheap

Copy link
Copy Markdown
Contributor Author

@copilot review

Co-authored-by: brettheap <1513478+brettheap@users.noreply.github.com>

Copilot AI commented Sep 17, 2026 •

Copy link
Copy Markdown

@copilot review

Addressed in a32c109: the outline add/index path now closes over the owning workbench’s mountDisplay instead of reading module-level vocab, and the focused leaf tests were updated to pin that wiring.

@copilot review

Addressed in a32c109: the outline add/index path now closes over the owning workbench’s mountDisplay instead of reading module-level vocab, and the focused leaf tests were updated to pin that wiring.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No unresolved review comments were identified, and all reviewed files are covered.

Review details
  • Files reviewed: 10/10 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The only remaining comment is a minor clarification of the baseline test-count note.

Review details

Suppressed comments (1)

.github/workflows/validate.yml:354

  • This suite now defines 13 test_ functions, including test_every_module_vocabulary_resets at lines 424-446, but this validation note still reports a 12-test baseline (10 failed / 2 passed). Please remeasure the pristine baseline with the ratchet included or explicitly state that the count excludes it; otherwise the CI evidence does not describe the suite this step runs.
      # dropped in: 10 of its 12 tests FAIL, each for its own defect. The two
      # that pass there are deliberate — `applyTokens`' return contract is
      # unchanged by the fix, and `insertSection` already honoured
      # `options.display`, which is precisely why `runAddSection` omitting it
      # was invisible.
  • Files reviewed: 10/10 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

… DECLARED ACT

This reverts `a32c1094e80cd53c4fbb8112037b5c7211f803cb`, pushed to this branch
by `copilot-swe-agent[bot]` after the `@copilot review` request — an
implementation of its own round-1 finding, not a change this lane authored. It
is reverted rather than kept, on four measurements and not on preference.

1. IT IS AN UNDECLARED MOVEMENT AS PUSHED, which is the one thing the carve
   floor refuses. Run against the paired annotation (openxFactory#1085) with
   the arrival verifier's own rule, it edits TEN further carve-commit lines of
   `scripts/ideation_dashboard/web/views/staging-workbench.js` — 1124, 1188,
   1238, 1266, 1334, 1346, 1362, 1380, 1428, 1941 — which that annotation does
   not declare, so `verify-carve-arrival.py --phase B` answers
   `arrival-undeclared-edit` and the pair this branch belongs to becomes false.
   RULING Q-L1's order is that the annotation declares FIRST and the leg
   realizes; an act cannot declare seven lines and land seventeen.

2. THE HAZARD IT GUARDS CANNOT ARISE IN THIS SHELL. `readDisplay(` is called
   in exactly ONE place in the whole bundle — `src/opendox/web/app.js:1141` —
   and that one `Display` reaches every mount through `ctx.display`. Two live
   workbenches therefore carry the SAME facet, so a click from the first cannot
   reach "the second host's section order". That is the difference from the
   gate COLUMNS, which are resolved per binding and genuinely differ between
   mounts, which is why openDox-code#20's round 2 made THOSE per-mount consts
   and left the vocabulary as module state.

3. AND IT IS A PARTIAL REPAIR OF A MODULE-WIDE PATTERN. This file reads the
   module-level `vocab` at 13 sites across 6 functions, and slice S7 installs
   the same facet into the pure model through `staging-workbench-model.js`'s
   own `setDisplay`, which is module state by the same design. Threading it
   into `runAddSection` alone leaves every one of those with exactly the
   described hazard while making the file look as though it had been addressed.

4. NOR DOES IT CARRY THE LANE'S TRAILERS, which every commit on this branch
   does.

REGISTERED, not dismissed: "the workbench vocabulary becomes a per-mount value
like the columns" is owed to a declared act of its own, across
`staging-workbench.js` and `staging-workbench-model.js`, with its own
annotation declaring the lines. That is the same disposition slice S8's two
path constants got on #21 — the disposition this very pull request exists to
discharge.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings September 17, 2026 12:55

Copilot AI commented Sep 17, 2026

Copy link
Copy Markdown

@copilot review

Reviewed the current head a32c109: I don’t see any remaining actionable issues in the branch changes. The last completed validate run on this branch passed at e06ae7c; the newer a32c109 run is marked action_required, but GitHub reports no failed jobs for it.

@brettheap

Copy link
Copy Markdown
Contributor Author

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

copilot-swe-agent[bot] pushed a commit to this branch (a32c1094, "Capture staging workbench display per mount") that this lane did not author, and it is REVERTED at b0e66a7f — with the tree restored byte-for-byte to e06ae7cd, which the review at that head called "Approval recommended, no unresolved review comments". Four measurements, not a preference:

  1. It is an undeclared movement as pushed. Run against the paired annotation (openxFactory#1085) with the arrival verifier's own rule, a32c1094 edits ten further carve-commit lines of scripts/ideation_dashboard/web/views/staging-workbench.js — 1124, 1188, 1238, 1266, 1334, 1346, 1362, 1380, 1428, 1941 — that the annotation does not declare, so verify-carve-arrival.py --phase B answers arrival-undeclared-edit. RULING Q-L1's order is that the annotation declares FIRST and the leg realizes; an act cannot declare seven lines and land seventeen.
  2. The hazard it guards cannot arise in this shell — readDisplay( is called in exactly one place in the bundle (app.js:1141) and that one Display reaches every mount through ctx.display, so two live workbenches carry the same facet. (Full measurement in the resolved thread above.)
  3. It is a partial repair of a module-wide pattern — 13 module-vocab reads across 6 functions here, plus staging-workbench-model.js's own setDisplay module state.
  4. It carries none of this branch's lane trailers.

Registered, not dismissed: "the workbench vocabulary becomes a per-mount value like the gate columns" is owed a declared act of its own, across staging-workbench.js and staging-workbench-model.js, with an annotation declaring its lines.


On the one suppressed comment at a32c1094 ("this suite now defines 13 test_ functions … but this validation note still reports a 12-test baseline"): that count was taken against the reverted commit's tree, which added a thirteenth. At this head the file defines exactly 12 (grep -c '^def test_' = 12, the twelfth being test_every_module_vocabulary_resets at line 402), and the validate.yml note's 10 failed / 2 passed is the measurement of those same twelve against a pristine worktree at 0b4e8bbf. The note and the suite agree.

Refs #656 (stays OPEN).

@brettheap

Copy link
Copy Markdown
Contributor Author

@copilot review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Synchronize the census provenance summary and measurement metadata with the updated totals.

Review details

Suppressed comments (1)

tests/fixtures/web_boundary_census.yaml:196

  • These updated totals now contradict the fixture's own “POST-S4 CENSUS” summary at lines 169–177, which still reports A=16,293, B=2,174, C=11,854 and total=31,756, and measured_at still points to the old main hash. The rows here derive to A=17,904, B=73, C=12,617, and total=32,029, so please update that provenance block and measurement metadata together; otherwise the same census publishes two different measurements.
  A: {files: 26, loc: 17904}
  B: {files: 1, loc: 73}
  C: {files: 14, loc: 12617}
  • Files reviewed: 10/10 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI commented Sep 17, 2026

Copy link
Copy Markdown

@copilot review

Reviewed the current head b0e66a7: I don’t see any remaining actionable issues in the branch changes. validate passed for b0e66a7, and the earlier action_required run on a32c109 had no workflow jobs/log failures attached to it.

…e the census totals

This leg was CONFLICTING against `main` after openDox-code#24 (`0e65b5f8`, the
retirement) and #27 (`5c137a90`, RULED Q7's CSS extraction) landed. ONE file
conflicted — `tests/fixtures/web_boundary_census.yaml`'s per-class `totals:`,
which both acts re-state.

RESOLVED BY DERIVING FROM THE MERGED ROWS, never by adding the two sides'
numbers. `tests/test_web_boundary.py::test_the_declared_totals_are_re_derived_
from_the_rows` sums `files:` per class and refuses a drift, so the merged
rows are the only lawful source:

  class A   26 files   17904 | 17998  ->  **18019** loc
  class B    1 file       73 | 73     ->      73
  class C   14 files   12617 | 12466  ->  **12519** loc
  class ?    1 file     1435 | 1435   ->    1435

At the shared base `0b4e8bbf` those were A 17883 and C 12564, and the two acts
move DISJOINT ROWS, which is why the rows themselves auto-merged and only the
summary conflicted. Measured row by row against that base:

  this leg   views/docs.js      A  204 ->  212     views/display.js  A 679 -> 692
             views/board.js     C  306 ->  318     views/explorer.js C 325 -> 342
             views/lineage.js   C  186 ->  198     views/staging-workbench.js
                                                   C 3459 -> 3471   (+21 A, +53 C)
  #27        views/view_extension.js
                                A  877 ->  992     styles.css   C 2595 -> 2497
                                                                  (+115 A, -98 C)

17883 + 21 + 115 = 18019 and 12564 + 53 - 98 = 12519 — a CHECK on the
derivation above and never its source. Every row's own `loc` was then
re-measured against the merged tree with the test's own rule
(`text.count("\n")`, what `wc -l` counts): ZERO mismatches over all 42 rows.

`.github/workflows/validate.yml` AUTO-MERGED with both appends intact, which
is the outcome this leg's own note predicted when it put
`tests/test_display_facet_leaves.py` in a SEPARATE step rather than as a 28th
entry on the list #27 also appends to. The note now records that as measured
rather than forecast.

Re-run at this merged head, exactly as the workflow invokes them:
  pytest -q <the 28-file list> --noconftest      712 passed, 2 skipped
  pytest -q tests/test_display_facet_leaves.py
         --noconftest                             12 passed
The two skips are #27's own, and deliberate: no assembly has placed openXdox's
six contributed modules in this bundle (RULED Q5). The list was 694 passed
before #27 added `tests/test_binding_stylesheets.py` to it.

THE TREE IS NO LONGER BYTE-IDENTICAL TO `e06ae7cd`, and that is said plainly
because a ruling rests on it: RULED `#656` comment `5716232555` Q1 (a) lands
this pull request on the reviews already held, on the ground that head
`b0e66a7f`'s tree equalled `e06ae7cd`'s — the head Copilot reviewed "Approval
recommended". This merge commit adds `main`'s content to that tree — #24's two
deletions and #27's four files. NOTHING OF THE LEG'S OWN WORK MOVES WITH IT:
the seven leaf fixes and `tests/test_display_facet_leaves.py` are byte-identical
to `b0e66a7f`, and the only hunks authored here are the census `totals:` block
above and a four-line note in the `validate.yml` step comment recording that the
separate-step decision held. The holder is the one who decides whether the held
reviews still carry over a merge commit.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings September 17, 2026 17:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

A moderate finding remains because the leaf-test regex does not reliably verify that d.stage is included in the returned search haystack.

Review details

Suppressed comments (1)

tests/test_display_facet_leaves.py:354

  • This regex also matches the d.stage ? guard used for the localized word, so the test would stay green if d.stage were removed from the returned haystack while that guard remained; raw-enum searches would then regress unnoticed. Match d.stage as an array element (for example, followed by the comma in the array) or add a behavioral search assertion.
    assert re.search(r"\bd\.stage\b(?!\s*\))", body), (
        "docHaystack no longer indexes the raw enum -- a search for "
        "`brainstorm` must go on working")
  • Files reviewed: 10/10 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

…th the raw enum deleted

Copilot's review of this pull request at `b4efe155` (`5238979152`, "Needs a
closer look", one SUPPRESSED comment and no thread) says the leaf test's regex
"also matches the `d.stage ?` guard used for the localized word, so the test
would stay green if `d.stage` were removed from the returned haystack while
that guard remained". IT IS RIGHT, AND IT IS MEASURED, not conceded: the real
`docHaystack` body with `d.kind, d.stage,` replaced by `d.kind,` — the raw enum
gone from the returned array, the guard untouched — still matches
`\bd\.stage\b(?!\s*\))`, because the guard's own `d.stage ?` is not followed by
a `)`. The assertion could not tell a working index from a regressed one.

BOTH HALVES OF THE ANSWER THE REVIEW OFFERS ARE TAKEN.

  * The pattern now requires the ARRAY ELEMENT: `\bd\.stage\s*,`, which the
    guard (`d.stage ?`) and the call argument (`d.stage)`) both fail. Measured
    against the same mutated body: the old pattern matched, this one does not.
  * A THIRTEENTH TEST makes the claim behaviourally, which is the stronger
    half: it extracts the real `docHaystack` body verbatim, runs it under the
    `node` this suite already uses, gives it the smallest `vocab` double that
    renames one stage, and reads the haystack it RETURNS — asserting the raw
    `brainstorm` AND the resolved `jotted` are both in it. A regex over source
    text can only ever say what a function SAYS.

NO PRODUCT CODE CHANGES. `views/docs.js` is untouched by this commit, so the
openxFactory annotation (#1085) that declares its two carve lines is untouched
too; this is a test file, ADMITTED and carrying no manifest row.

THE FIGURE THE WORKFLOW COMMENT CARRIES IS RE-DERIVED WITH IT, because it is a
count of this file's own tests: measured at `0b4e8bbf` with the file alone
dropped into a pristine worktree, **11 of 13 FAIL** (it was 10 of 12), the new
test among them — at the base `docHaystack` indexes the raw enum alone, so the
resolved word is absent from the haystack it returns. The two that still pass
there are the same deliberate two.

Re-measured at this head, the workflow's own invocations:
  pytest -q tests/test_display_facet_leaves.py --noconftest      13 passed
  pytest -q <the 28-file list> --noconftest            712 passed, 2 skipped

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings September 17, 2026 18:23
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No unresolved blocking issues remain in the reviewed changes.

Review details
  • Files reviewed: 10/10 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap
brettheap marked this pull request as ready for review September 18, 2026 10:48

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 4 days and 14 hours by commenting @sourcery-ai review. Upgrade to get a review now.

brettheap added a commit to opensoft/openXfactory that referenced this pull request Sep 18, 2026
…t leaves (#1085)

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

**The annotation of the § 3.4 slice-S7 RESIDUE pair, and it lands FIRST** — RULING **Q-L1**'s order ([`#656` comment `5628560136`](#656 (comment))). Its one leg is opensoft/openDox-code#28 (`build/s7-residue-leaf-facet`), which realizes exactly the lines this declares and nothing else. CLAIM: [`5714327188`](#656 (comment)). Refs #656 (stays OPEN).

**#1068 HAS LANDED** (RULED Q7's CSS extraction annotation, main `24f7a213`) and this branch has MERGED it: the two acts edit the same one `docs/opendox-carve-manifest.yaml`, `docs/opendox-cutover-runbook.md`, `README.md`, the three script docstrings and both carve suites, so eight files conflicted and every conflict was on a figure both acts re-state. Every absolute below is re-derived at the merged head by SUMMING the merged manifest — never by adding the two sides' deltas — and re-measured before it was written down.

## What is declared

SEVEN display-facet **leaves** that slice S7's own review found **inside the modules S7 had already parameterized at their mounts** — two threads Copilot opened on openDox-code#21 at its gated head `c7a216c7` and **five it left SUPPRESSED in review [`5192900474`](opensoft/openDox-code#21 (review) body, with zero threads opened**. The S7 LANDED note ([`5688498049`](#656 (comment))) carried them forward as owed.

| row (`opendox_code`) | class | carve lines | the leaf |
| --- | --- | ---: | --- |
| `web/views/board.js` | `adapter calls` | `82` | `brainstormCard()`'s date metadata spelled the literal `captured` beneath a heading that resolves the same status |
| `web/views/docs.js` | `adapter calls` | `37`, `39` | `docHaystack()` indexed the raw `d.stage` while the row renders `vocab.documentStageWord(d.stage)` |
| `web/views/explorer.js` | `adapter calls` | `225` | the stale-tile fallback title rendered the raw `DRILL_KINDS` seam key |
| `web/views/staging-workbench.js` | `adapter calls` | `805`, `1202`, `1204` | the nested `renderDocWheel` mounted without `display`; `runAddSection()` handed `insertSection` no `options.display` |

**SEVEN FINDINGS, FOUR ROWS, SEVEN LINES, and the arithmetic is not a slip**: `views/staging-workbench.js` carries two of the findings, and the seventh — `views/display.js`, whose `applyTokens` never cleared an earlier facet's inline `--st-*` properties — is an ADMITTED created file with no manifest row at all, so it is declared as an admission and not as a line.

**WHY THEY WERE NOT TAKEN ON #21.** Each edits a carve-commit line the landed S7 window does not declare, and that was PROVED at the time against a pristine checkout with the floor's own `verify-carve-arrival.py` (`arrival-undeclared-edit`), then registered rather than taken. It is the same disposition Act 1 gave slice S8's two path constants: measured, left alone, and owed to the act that declares them.

## What moves, and what does not

**NOTHING CONVERTS AND NO ROW COUNT MOVES.** All four rows were already `moved_with_declared_edit` and already carriers — three converted by slice S7 and `views/staging-workbench.js` by slice S5 — so the disposition counts (`143 / 175 / 138`), the carrier count (`176`) and the replica count (`20`) stand where the pre-existing `openxdox_code` annotation left them. **ONE CLASS ONLY**: every leaf is a call into the display facet, which is RULING OQ-1's `adapter calls` and neither of its other two — no import moves and no path is spelled.

**EVERY ABSOLUTE IS RE-DERIVED BY SUMMING THE APPLIED MANIFEST, never transcribed:**

| | before | after |
| --- | ---: | ---: |
| declared edit lines | 2710 | **2717** |
| `adapter calls` | 1738 | **1745** |
| `import rewrites` / `path constants` | 726 / 246 | unchanged |
| rows carrying `edits:` | 176 | unchanged |
| runbook § 2 table, `opendox_code` declared lines | 1756 | **1763** |
| the four destination figures | 2708 | **2715** (+ the replica row's two = 2717) |

The same figure is re-derived in `README.md`'s doc-index line and in the three script docstrings that state it (`scripts/carve_lines.py`, `scripts/verify-carve-arrival.py`, `scripts/validate-carve-manifest.py`). The round-10/11 tests in `tests/carve_arrival/` re-derive the runbook's tables from the manifest and were red until they moved.

**And the runbook's § 2 DATED HISTORY carries this act too** (Copilot review at the merged head, which found that history still ending at RULED Q7 with "it moves them LAST"): the history is in LANDING ORDER, so Q7's claim is qualified and the residue gets the paragraph every act on this document has — four rows, +7, nothing else moving, `2710 + 7 = 2717`, and the two of the seven findings that declare no line here with the reason for each.

**THE LINE NUMBERS ARE THE VERIFIER'S OWN, never read off a diff**: derived with `carve_lines.text_records` + `difflib` opcodes under `_check_declared_lines`'s rule (`replace`/`delete` touch carve lines `i1+1 … i2`; an `insert` is declared by EITHER neighbour, so the minimal declaration names one), against the leg's head and minus every line slice S7 or S8 already declared.

## One landed assertion was amended — by BOTH acts, independently, and the merge keeps it once

`test_the_real_manifest_carries_the_s7_display_facet_declared_edits` § 2 read a converted row's **whole** `edits` list — its own comment says *"a converted row carried no `edits:` before this act, so S7's entries are its ONLY entries"* — and that is S7's claim only while S7 is the newest act on all seventeen converted rows. **It is not, twice over:** RULED Q7 appends an eighteenth entry to `web/styles.css` and this act appends to three more (`board.js`, `docs.js`, `explorer.js`). What the conversion actually claims is that the row carried nothing BEFORE S7, and in a document appended to in landing order that is a **PREFIX**; it is read as one now, keeping every claim the equality made bar the accident of being the whole list — which belongs to whichever act annotated the row most recently and to no act permanently. This is the same amendment, for the same reason, that slice S8 made to the run directly above it.

**#1068 and this act wrote that amendment separately, in the same words**, which is what two acts finding the same defect looks like. The merge keeps **Q7's landed assertion** and **one** note, naming both appending acts — no second copy of the argument, and no change to what is asserted.

## The window has its own assertion

`S7R_WINDOW` + `test_the_real_manifest_carries_the_s7_residue_declared_edits`:

* the four keys read **off the dict literal with `ast`** (round 8's rule on #1030 — a dict literal collapses a repeated key at import, so a `len()` of the imported object counts the SURVIVORS);
* disposition and destination per row;
* the entries as a **contiguous run occurring exactly once** and **STRICTLY AFTER slice S7's own run on the same row** — the residue is what S7's review found and S7 could not take, so an entry sitting ahead of S7's would be a document telling the arrival verifier a history that did not happen;
* **row-wide line distinctness** (round 5's finding on #1030: a repeated line number is lawful to the validator and read as a SET by the verifier, so it would keep every total intact while one really edited line went undeclared);
* the totals summed, not transcribed — `(7, 4)`, `{"adapter calls": 7}`, and the HARD-CODED base that makes the re-derivation compulsory, now `2710 + 7 == 2717`. **It has fired twice, both times as designed**: `2454 + lines == 2461` went red on the merge that brought RULED 5656343213's retirement act in, and `2621 + lines == 2628` went red on this one. The comment written at the first firing PREDICTED this one exactly — base 2710, the `opendox_code` cell reaching 1763 — and the three figures were re-measured at the merged head before the line was rewritten, so the prediction is recorded as met and never used as the source. That prediction spelled the cell `1674 -> 1763`, and **1674 is not a state the landed document ever carried** (Copilot's third round, reading the runbook's history beside the comment): it was THIS BRANCH's cell before the merge — 1667 plus this act's seven, on the pre-Q7 base — while `main`'s own sequence is 1667 → 1756 → 1763. The comment now says which document each figure belongs to, because the arithmetic a merge invalidates is exactly the pre-merge branch's;
* and a **sweep over every other `*_WINDOW` in the module** proving row-disjointness. Written as a sweep and not as a named pair on purpose: RULED Q7's `Q7_WINDOW` (#1068, one row, `web/styles.css`) was named there as the next one due and **the sweep picked it up on this merge with no edit to the loop**, where `assert not (set(Q7_WINDOW) & set(S7R_WINDOW))` would have been a `NameError` until then and an unamended test after.

## Every historical aggregate in these suites is now a figure the file PINS

Four Copilot rounds at the merged heads each found one stale or mislabelled figure, and the last two were the same CLASS: a *"when this was written"* aggregate, which is checkable by nobody — including the author, one merge later. They are restated as the landing sequence the suites themselves assert: the slice-S7 window `(2366, 176)` as it landed (§ 3's own `1584 + 782` and `159 + 17`) and `(2717, 176)` today; the slice-S8 pin `(2406, 176)` (`2366 + 40`, the sum stated four hunks above it); the arrival suite's § 2 docstring 2717 / 2710 / 2621. A LANDING figure is a delta against the document that act found, so no successor can make it wrong — which is the same rule this act's own window states for its `2710 + 7 = 2717`.

## Gate, measured at this head

```
scripts/validate-carve-manifest.py
  OK — 456 rows at b075fd9 (opendox-carve-0); 143 / 175 / 138;
  318 digests recomputed; 456 files in the declared surface with none
  undeclared; 319 shed rows absent at source; 4 RE-DESTINED by ruling;
  2 RETIRED by ruling

scripts/verify-carve-arrival.py --destination opendox_code --phase B
  --dest-root <openDox-code main 5c137a90> + § 5.5's four --replica-at flags
  OK — 117 rows arrived, 35 digests verified, 82 declared-edit rows within
  their lines, 1 unapplied, 4 of 4 declared replicas verified, 148 files
  under src/opendox, tests with NONE undeclared, 0 re-destined HERE and
  4 AWAY verified vacated, 2 rows RETIRED here by ruling and VERIFIED
  ABSENT, 22 declared admissions used, 11 stale

pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance \
         tests/opendox_pin tests/openxdox_pin           483 passed
         (at the pre-merge head 71c5eea)

pytest -q tests/carve_manifest tests/carve_arrival \
         tests/carve_conformance                        446 passed
         (at this merged head)
```

**The `1 unapplied` is not this act's** and is the same one the S7 note recorded: `scripts/ideation_dashboard/doxbench_scope_types.py`'s three `adapter calls` lines, a group-3 record declared at the carve itself against open successor #838.

## What this does NOT do — residue, by name

1. **`tests/test_doc_wheel.py:393`'s 600-character window.** It finds `renderAbstract(abstract,` by reading 600 characters from `renderDocWheel(selector` — 470 apart at the leg's base — so a house-style comment block at that site turns a WIRING assertion red for a reason unrelated to wiring. Repairing the window is an edit to a carved test file at lines this annotation does not declare, so it is registered here, not taken.
2. **`views/viewer.js:262`'s `doc.stage` pill** stays a boundary-note amendment, exactly where the S7 note's register put it.
3. The **STALE admissions** the arrival run reports at `opendox_code` are eleven against main: ten `src/opendox/runtime/*` files that are openDox-code #25/#26's, declared ahead of their legs and untouched here, and **this act's own `tests/test_display_facet_leaves.py`** — declared here, introduced at the leg (`338143a3`), and used the moment openDox-code#28 lands. A declared-but-unused admission is the expected state of the window an annotation-then-leg pair opens.
4. The **`arrival-not-retired` finding this branch recorded at the previous merge is GONE**, measured: openDox-code#24 landed (`0e65b5f8`), so `tests/test_intent_tray_dom.py` is absent at openDox-code main and the phase-B run above answers `2 row(s) RETIRED here by ruling and verified absent`. It still answers against THIS act's leg branch, whose base `0b4e8bbf` predates that deletion — a fact about the leg's base, not about either window.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@brettheap
brettheap merged commit 52b237e into main Sep 18, 2026
4 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

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

LANDED — lane openxfactory-4, 2026-09-18T13:30:27Z, PR #28 → 52b237e (opensoft/openDox-code main; plain gate)

§ 3.4 slice-S7 RESIDUE leg: the seven display-facet leaves, on the held reviews (RULED Q1 5716232555); annotation oxF #1085 → 1da7ea6e landed first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants