Repository navigation
§ 3.4 S7 residue: thread the display facet to the seven leaves it never reached - #28
Conversation
…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>
Reviewer's GuideThis 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 workbenchsequenceDiagram
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
Flow diagram for facet-aware search and fallback labelsflowchart 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]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
@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>
|
@copilot review |
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction) SonarCloud at
The required check is Refs #656 (stays OPEN). |
There was a problem hiding this comment.
🟡 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.
|
@copilot review |
Co-authored-by: brettheap <1513478+brettheap@users.noreply.github.com>
Addressed in a32c109: the outline add/index path now closes over the owning workbench’s
Addressed in a32c109: the outline add/index path now closes over the owning workbench’s |
There was a problem hiding this comment.
🟢 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, includingtest_every_module_vocabulary_resetsat 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>
Reviewed the current head |
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Registered, not dismissed: "the workbench vocabulary becomes a per-mount value like the gate columns" is owed a declared act of its own, across On the one suppressed comment at Refs #656 (stays OPEN). |
|
@copilot review |
There was a problem hiding this comment.
🔵 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_atstill 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
Reviewed the current head |
…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>
There was a problem hiding this comment.
🔵 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 ifd.stagewere removed from the returned haystack while that guard remained; raw-enum searches would then regress unnoticed. Matchd.stageas 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>
|
There was a problem hiding this comment.
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.
…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>
|
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. |



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 (#656comment5628560136). 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
c7a216c7and five it left SUPPRESSED in review5192900474's body, with zero threads opened. The S7 LANDED note (#656comment5688498049) 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.
views/docs.jsdocHaystack()indexed the rawd.stagewhile the row rendersvocab.documentStageWord(d.stage)brainstormtojottedhid every such document from a search for the word on screenviews/staging-workbench.jsrenderDocWheelmounted withoutdisplaydoc-wheel.jsresets its module vocabulary toopts.display || neutralDisplay()on every renderviews/staging-workbench.jsrunAddSection()handedinsertSectionnooptions.displaySECTION_ORDERinside an outline rendered in the host's wordsviews/board.jsbrainstormCard()'s date metadata spelledcapturedviews/display.jsapplyTokens()only ever ADDED inline--st-*propertiesviews/explorer.jsDRILL_KINDSseam keyproposal · REQ-14in a dialog heading whose every other label resolvesviews/lineage.jsrenderStats()kept the PREVIOUS render's vocabulary (|| vocab)SIX OF THE SEVEN ARE INVISIBLE TO
tests/test_web_boundary.pyASSERTION 4 and always would have been —capturedis in neither_STATUS_WORDSnor_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.jswas the ONE site of eleven. Measured oversrc/opendox/web/views/*.js: eleven modules install a module-level vocabulary at their render entry point and ten already reset toneutralDisplay().test_every_module_vocabulary_resetsis 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 invalidate.yml's narrowed list: it imports noopendoxsubmodule at all, reads bundle files as text, and drives the REALviews/display.js,views/explorer.jsandviews/outline-model.jsunder thenodethe runner already has (skipped, never failed, where node is absent).--noconftestsafe.THREE assertions RUN the module and nine read it, and the split is the tree's, not a preference:
applyTokens,drillKindWordandinsertSectionare 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_orderdrives the realinsertSectionwith a host that ordersconflictsFIRST and shows the same press landing the section at opposite ends of the same fragment, which is what makesrunAddSection'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 atb4efe155earned 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, andinsertSectionalready honouredoptions.display, which is exactly why the caller omitting it was invisible.Measured, under
validate.yml's own invocationRe-run at the merged head
b4efe155. The list was694 passed— slice S8's own figure, unchanged by this branch — until #27 landed and appendedtests/test_binding_stylesheets.pyto 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 everylocfrom the tree and re-sums the class totals, so the six rows this branch grows and the two totals move together — A17883 -> 17904, C12564 -> 12617at the base, and A18019/ C12519at the merged head, DERIVED from the merged rows and never added from the two sides: #27 movesviews/view_extension.jsA877 -> 992andstyles.cssC2595 -> 2497, this branch moves six other rows, the two row sets are DISJOINT, and every one of the 42 rows'locwas 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 onlysetProperty;applyTokensnow clears before it writes, so they carryremovePropertytoo and delete what they recorded — the shape that file's own_DOM_STUBhas 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 itopenDox-code #27 (RULED Q7's binding stylesheets) appends
tests/test_binding_stylesheets.pyat 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 mergedmainatb4efe155:.github/workflows/validate.ymlAUTO-MERGED with both appends intact, and the census fixture'stotals:block was the merge's ONLY conflict.What this does NOT do — residue, by name
tests/test_doc_wheel.py:393reads a 600-CHARACTER window fromrenderDocWheel(selectorto findrenderAbstract(abstract,— 470 characters apart at0b4e8bbf. 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.views/viewer.js:262'sdoc.stagepill stays where the S7 note's register put it: a boundary-note amendment, not a declared edit.doxbench_scope_types.py's threeadapter callslines, a group-3 record against open successor openxFactory#838) is untouched and still unapplied.Gate
validateonlymain@0b4e8bbf🤖 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:
Enhancements:
CI:
Tests:
Chores:
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 headb0e66a7f— and no further@copilot reviewcomments 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) SonarCloudgithubactions:S8541onvalidate.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
mainATb4efe155(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. RULED5716232555Q1 (a) lands it on the reviews already held, on the ground thatb0e66a7f's tree equallede06ae7cd's, the head Copilot reviewed "Approval recommended"; the tree is no longer that one, becausemain'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.pyis EMPTY, and the only hunks authored at the merge are the censustotals:block and a four-line note in thevalidate.ymlstep comment. The holder decides whether the held reviews carry over a merge commit.COPILOT'S REVIEW AT
b4efe155(5238979152) IS TAKEN ATb51a1ca1, and it was right by measurement. Its suppressed comment: the leaf test's\bd\.stage\b(?!\s*\))"also matches thed.stage ?guard used for the localized word, so the test would stay green ifd.stagewere removed from the returned haystack while that guard remained". MEASURED on the realdocHaystackbody withd.kind, d.stage,replaced byd.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 realdocHaystackbody under node against avocabdouble that renames one stage and asserts the haystack it RETURNS carries bothbrainstormandjotted. No product code changes —views/docs.jsis 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: at0b4e8bbfthe file is 11 of 13 failing, the new test among them.