Skip to content

Refresh the eight doxbench_scope/serve_wire line citations staled by S-1/S-3, and true-up lens_submission's docstring after B-1; B-2's relocation measured and held for a ruling (split-opendox § 3.1) - #848

Merged
brettheap merged 3 commits into
mainfrom
change/opendox-oqb-replumb-2-wire-names
Sep 9, 2026

Conversation

@brettheap

@brettheap brettheap commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)

Refs #656 · split-opendox-two-layer-product § 3.1 · base 245ee85a · head 2b33bbc9

The headline: the neutral-module disposition for B-2's fourth name is blocked; the predicate's home is a one-line ruling for Brett, measured below

RULING OQ-B (Brett Heap, 2026-09-09, "rule all OQs as recommended"), (B-2): "the four
serve_wire names serve_openxfactory_lanes.py:52 reads (three strings and a predicate) get the
same treatment"
as slug — i.e. they move to a neutral module beside scripts/output_boundary.py,
not_moved / replicated_at_destination at the carve.

Three of the four can take that treatment. The fourth cannot, and this PR does not pretend
otherwise.
No design was invented for it; the measurement is below and the decision is Brett's.

What the four names ARE (measured at base 245ee85a, after S-3 moved lines)

The import is serve_openxfactory_lanes.py:52-57 (the memo's :52 still names the statement):

name definition what it is neutral?
JSON_CTYPE serve_wire.py:82 str constant, "application/json; charset=utf-8" yes — a literal
JSON_OBJECT_BODY_REQUIRED serve_wire.py:83 str constant, "a JSON object body is required" yes — a literal
HOSTED_SESSION_REFUSAL serve_wire.py:1355-1356 str constant (fixed refusal prose, 2 lines) yes — a literal
hosted_ref_refused serve_wire.py:1359-1393 predicate (loopback: bool, ref: str | None) -> bool NO — see below

So the scout memo's count ("three strings and a predicate", § 7 OQ-B) is exactly right. Its
disposition for the predicate is what does not survive measurement.

Why hosted_ref_refused's neutral-module disposition is blocked — three independent reasons

1. Its body reaches the openXdox column. The whole function is prose plus two statements:

    if loopback:
        return False
    return not registry_mod.is_publishable_ref(ref)

registry_mod is serve_wire.py:76's from ideation_dashboard import snapshot_registry as registry_mod, and snapshot_registry is the openXdox column — design.md:282 lists it there
by name and memo § 2.2 files it snapshot_registry 1,318 oXd IR, AC; it carries
from doc_health import pin_sentinels (:85) plus urllib.request. A neutral module's property is
that it imports neither package: tests/doc-health/test_import_direction.py:116-133 parses the
imports and forbids FORBIDDEN_ROOTS (ideation_dashboard, scripts.ideation_dashboard, :56)
plus doc_health / scripts.doc_health (:128). That is the instrument keeping
output_boundary.py neutral and the one #843's path_slug.py is measured by. So the column is not
even the binding constraint here — any ideation_dashboard.* import from inside a neutral module
is the property gone, whichever column the target sits in.

Restating is_publishable_ref (snapshot_registry.py:162-163,
normalize_ref(ref) == DEFAULT_REF) in the neutral module is not available either: serve_wire.py:73-75
already says why, in its own comment on that very import — "The ONE definition of 'a ref a hosted
plane may see' (is_publishable_ref), reached by the two hosted-plane predicates below"
— and the
module's sibling idiom for states_something (:77-80) spells the rule out: imported "rather than
restated … so they cannot drift into two spellings of one rule."
A second spelling of the hosted-ref
rule inside a module replicated at every destination is the drift that comment exists to refuse.

2. A NEUTRAL-module home is blocked; serve_projection.py is not.
tests/ideation-dashboard/test_session_snapshot.py:823-858
(test_the_hosted_session_arrival_path_is_recorded_and_not_built) asserts
marker = "def hosted_ref_refused(" ; assert marker in src where src = serve_surface_source(), and
serve_surface_source() reads exactly SERVE_SURFACE_MODULES under scripts/ideation_dashboard/
(tests/ideation-dashboard/conftest.py:196-206, 226-254). Move the definition to a NEUTRAL module at
scripts/<neutral>.py and that assertion fails — the definition is no longer on the serve surface.
But conftest.py:204 lists serve_projection.py IN SERVE_SURFACE_MODULES, so moving the
definition there instead (option (i′), the S-3 precedent) keeps the pin GREEN with zero test
edits: serve_projection.py:84-92 already holds hosted_index, re-homed there by S-3 for the
identical reason; :53 already imports snapshot_registry, so the predicate's one dependency is
already at that destination; and 3 of the predicate's 4 call sites (serve_projection.py:178,219,276)
are already in that file. It also reads the FR-048 arrival-path prose out of the function's own block
(:845-847), which travels with the function wherever it goes. Repairing the pin for a true NEUTRAL
destination still means editing test_session_snapshot.py and/or conftest.py; this brief permits
neither, and conftest.py is a § 3.7 replicate-at-every-destination file — that test is memo § 3.5's
class ("tests that pin WHERE code lives"). So the location-pinning test blocks a neutral-module home,
not serve_projection.py; (i′)'s remaining cost is two prose refreshes, not a test edit
(serve_wire.py:29-56, conftest.py:229-232). Which module the predicate should live in is not a
scout's or an author's call — it is the one-line ruling this PR is asking for.

3. At the carve the replica would not resolve. A neutral module is replicated_at_destination
(RULED OQ-A/OQ-C) — openDox gets a copy. openDox's column has no snapshot_registry (it is oXd),
so a replica reaching for ideation_dashboard.snapshot_registry is broken on arrival. This is the
failure mode test_import_direction.py:120-123 states in words: an import of either package from
inside the neutral guard "would make the guard un-carveable when it travels to openDox."

Why the four were NOT split 3 + 1 in this PR

Because a 3 + 1 split delivers nothing the ruling asked for. The ruled purpose of OQ-B is that
"every openxFactory→openDox import edge is re-plumbed BEFORE the carve, none is filed as an edit
class."
Move the three strings and serve_openxfactory_lanes.py still carries
from ideation_dashboard.serve_wire import hosted_ref_refused — the stays→oD edge survives, the
ruled outcome is unmet, and a module has been created for no gain. Splitting a ruled unit 3 + 1 is
itself a design decision about the fourth name, so it needs the same word the fourth name needs.

Residual reach: measured, and it is empty

An AST scan over all five import spellings, module-level and function-local, finds
serve_openxfactory_lanes → serve_wire at exactly one statement: line 52, these four names,
nothing else. So had the relocation been possible, the guard test would have taken its STRONG form
("imports nothing from serve_wire in any spelling"), with no residual to report. That measurement
is banked here so the next author does not have to redo it.

The four options, stated and not chosen — (i′) is the recommended one

For the record on #656, so a ruling can be one line. This PR takes none of them.

What this PR DOES land: the owed line-citation refresh

Owed on #656 and sequenced before the manifest, because every manifest row carries a sha256 and
each of these four files' digest changes here. S-1 (#837, merge 352f2d9b) lifted the scope types
out of doxbench_scope.py — 841 → 769 lines — shifting everything below the moved block up by
exactly 72. Every new number below was found by LOCATING the cited content in the current file,
not by adding −72, and the two agree.

# file:line (at head) old citation new citation the symbol it names how verified
1 scripts/ideation_dashboard/serve_wire.py:615 doxbench_scope.py:356-358 doxbench_scope.py:284-286 if section.owned and row.path not in editable_seen: + the two lines that append to editable_paths grep -n for the if section.owned … line → 284; block is 284-286
2 scripts/ideation_dashboard/serve_wire.py:616 doxbench_scope.py:390 doxbench_scope.py:318 # disclosure requires edit authority, which is the rule, not an accident. grep -n "disclosure requires edit authority" → 318
3 tests/ideation-dashboard/test_doxbench_abstract_route.py:16 `doxbench_scope.py:390` `doxbench_scope.py:318` same line as #2 same
4 tests/ideation-dashboard/test_doxbench_abstract_route.py:377 `doxbench_scope.py:356-358` `doxbench_scope.py:284-286` same block as #1 same
5 tests/ideation-dashboard/test_doxbench_abstract_route.py:379 `doxbench_scope.py:390` `doxbench_scope.py:318` same line as #2 same
6 tests/ideation-dashboard/test_doxbench_scope.py:141 doxbench_scope.py:398 doxbench_scope.py:326 the comment line naming gate_routes.tile_owned_prefix returning None for a possible tile, "so the Save path refuses that very path" grep for tile_owned_prefix in that comment → 326
7 tests/ideation-dashboard/test_doxbench_scope.py:188 doxbench_scope.py:384 doxbench_scope.py:312 outline_path = _confined_path(selected, source_root) grep -n for that statement → 312
8 tests/ideation-dashboard/test_doxbench_turns.py:1065 doxbench_scope.py:398 doxbench_scope.py:326 same line as #6 same

Eight numbers, seven citation sites, four files. Every pre-split target text was read out of
git show 89148583:scripts/ideation_dashboard/doxbench_scope.py — the tree S-1 landed on — so "the
cited content" is what the citation's author actually pointed at, not a guess.

Verified twice, by two instruments that agree. Beyond locating each cited text by grep, a
difflib.SequenceMatcher line-map from the pre-S-1 file to this head was computed independently and
asked where each old line went:

pre 356 -> 284    pre 357 -> 285    pre 358 -> 286
pre 390 -> 318    pre 398 -> 326    pre 384 -> 312

Six for six against the numbers in the table above. The −72 arithmetic, the text search and the
diff-map all give the same answer.

Cited alongside and NOT stale — verified, left alone

  • doxbench_turns.py:585-591 (cited at serve_wire :616 and abstract-route :16):
    _require_in_scope_and_editable is still at 585-591 and diff of lines 580-595 pre-S-1 vs head is
    empty — S-1 did touch this file (one import line, :58,
    from ideation_dashboard.doxbench_scope import ScopeKey, ScopeProjection →
    ...doxbench_scope_types import ...), but nothing below that line shifts. Correct as written.
  • staging-workbench-model.js:379 (cited beside Archive repo boundary OpenSpec change #7): still
    if (scope.outline && typeof options.outlinePathFor === "function") { — the JS twin of the outline
    resolution Archive repo boundary OpenSpec change #7 names. Untouched by S-1/S-3. Correct as written.

Correctly NOT refreshed

Three hits live under openspec/changes/archive/2026-08-26-add-doxbench-distilled-abstract/
(proposal.md:774,778, design.md:322). An archived record states what was true at ratification, and
openspec/** is off-limits to this PR besides. Not refreshed, by design.

Found while sweeping, NOT fixed (filed for a word, not silently touched)

  • tests/ideation-dashboard/test_scope_column_split.py:87 cites doxbench_scope.py:730 for the
    from . import X spelling; the from . import branch_session is at 729 — off by one. That file
    is outside this brief's permitted set, and the drift is Split doxbench_scope: the scope TYPES into doxbench_scope_types.py (pre-carve S-1, § 3.1) #837's own review round rather than
    anything this PR or S-1/S-3 caused. Reported, untouched.
  • scripts/ideation_dashboard/serve_projection.py:85 cites serve_wire.py:1387-1433 for where
    hosted_index came FROM. That is a historical citation into the pre-S-3 file and is correct as
    history; the file is outside this brief's set. Untouched.
  • The staging-workbench-model.js:<n> citation family is seven, not three, out of scope. Three
    look stale from a later edit to that JS file (serve_wire.py:795 → :1566-1571;
    test_doxbench_scope.py:249 and test_doxbench_turns.py:1136 → :414); a fuller grep turns up
    four more citing the same :1566-157x range — doxbench_knowledge.py:1015, :1110,
    test_doxbench_document_abstract.py:13, :241 — for seven total. Not staled by S-1/S-3 or by
    anything here, and outside the owed set — so all seven are reported rather than swept in. Some sit
    in files this PR may touch; they were still left alone, because "numbers only, in the owed set" is
    what was owed.

A ninth prose correction, added to scope mid-authoring

scripts/ideation_dashboard/lens_submission.py:33-37 (S-2's own module, landed as #836) carried two
claims that OQ-B's ruling falsified. It said the scout memo "files all of them under § 7 OQ-B,
unruled"
— OQ-B was RULED on 2026-09-09 — and it justified leaving this module's two
stays → openDox reaches alone because "human_seen.py:46 already reaches workbench.slug the
same way"
, which stops being the reason the moment B-1 lands and human_seen reads slug from the
neutral scripts/path_slug.py (#843). The paragraph now states the ruling's actual disposition for
this module — add_as_cluster is adapter→core by construction, so the carve reaches it THROUGH
openXdox as an import rewrites edit and it stays in-tree until then (the verifier's recommendation
on #836, which the ruling adopted) — and names where the two re-plumbed siblings went, so the next
reader is not sent to a memo's open-question list for an answer that exists.

Docstring only: no import, no name, no signature, no behaviour. The paragraph grows by six lines,
which moves this module's two stays → openDox import STATEMENTS from :51-52 to :57-58 (the
imports themselves are untouched — that is why the edge table above reads :57/:58). Grepped:
zero lens_submission.py:<n> citations exist anywhere in scripts/, tests/, docs/ or
openspec/, so the growth stales no citation. The RULING comment on #656 cites :51-52; as a record
of what was measured when it was written it is left exactly as it stands, and this PR posts nothing
on #656.

Every line changed

Eight citation lines, all inside a # comment or a docstring, and in each one only the digits
changed
— no assertion, no behaviour, no identifier, no other prose — plus the one
lens_submission.py docstring paragraph above. Diff over the two commits is 5 files changed; the
citation commit alone is 4 files changed, 8 insertions(+), 8 deletions(-) with line counts
unchanged in all four files (1393 / 1673 / 723 / 3401).

Digests (sha256, first 16), base → head:

file base head
scripts/ideation_dashboard/serve_wire.py ae032ee15362e72c 5cfe757ab4bebe2a
tests/ideation-dashboard/test_doxbench_abstract_route.py 60ff64a6ba2e98e1 b4a3fc892414d0e3
tests/ideation-dashboard/test_doxbench_scope.py f424f60635f16dc7 e6364917a0e21198
tests/ideation-dashboard/test_doxbench_turns.py 10872306c9ffee2e 22380da41991f475

No test asserts any of these citation strings (grepped) — which is precisely why they went stale
unnoticed, and precisely why the refresh has to be made deliberately before the manifest.

Edge scan — BEFORE 245ee85a, AFTER b8a476a4

Method is #843's: AST over all five import spellings across every module of
scripts/ideation_dashboard/, columns per design D3 + memo § 2.2 with the landed splits folded in
(doxbench_scope_types oD, lens_submission stays, serve_projection oXd). #843's path_slug
(neutral) and openxdox_surface (oXd) are not counted: #843 is OPEN and is not on this base.

edge BEFORE AFTER
oD→oXd 33 33
oD→stays 6 6
oXd→oD 34 34
oXd→stays 4 4
stays→oD 8 8
stays→oXd 15 15

Unchanged, as it must be — this PR changes only comment and docstring text, and a name in a
comment is not an import. No edge added, none removed, no new stays→oD / oD→oXd / oD→stays.

The eight stays→oD edges, each named, so the ruled target set is on the record:

dashboard_refresh_lane.py:121 -> boundary          (§ 2.3: repoint at output_boundary, an edit class)
human_seen.py:45              -> boundary          (§ 2.3: same)
human_seen.py:46              -> workbench         (OQ-B B-1, PR #843)
intent_apply_lane.py:472      -> branch_session    (OQ-B B-3, PR #843)
lens_submission.py:57         -> lens              (RULED: reached through openXdox at the carve)
lens_submission.py:58         -> workbench         (RULED: same)
nightly_lane.py:88            -> boundary          (§ 2.3: repoint at output_boundary, an edit class)
serve_openxfactory_lanes.py:52 -> serve_wire       (OQ-B B-2 — THIS PR's ruled edge, still standing)

scripts/output_boundary.py's own import list is [] at both ends (the neutrality property, re-measured).

Two negative controls, so "unchanged" is not a vacuous claim. Run over a throwaway copy of
scripts/, never in the branch:

  • A — the scanner is not blind to the ruled edge. Repoint serve_openxfactory_lanes.py:52 at a
    simulated neutral module and stays→oD drops 8 → 7, serve_openxfactory_lanes.py → serve_wire
    gone from the named list. So a real B-2 would show up in this table; the AFTER count being equal to
    BEFORE means the edge really is still there, not that the instrument stopped looking.
  • B — the fifth spelling is caught. With that repoint in place, add
    from ideation_dashboard import serve_wire inside a function body and stays→oD returns
    7 → 8. A relocation that "removed" the module-level import while leaving a lazy one behind
    would not have passed this scan.

Tests

python3 -m pytest -q tests/ideation-dashboard tests/doc-health:

1 failed, 6739 passed, 31 skipped, 7 warnings in 1078.03s (0:17:58)
FAILED tests/ideation-dashboard/test_snapshot.py::test_find_validator_locates_pinned_checkout

That one failure is environmental and pre-existing, proven rather than asserted. Run alone in a
throwaway --detach worktree at the base commit 245ee85a, with none of this branch's changes
present, it fails identically — snapshot.find_validator(REPO_ROOT) is not None → AssertionError: assert None is not None, because a git worktree under /tmp has no sibling pinned openxFactory
checkout to find. Nothing this PR touches is on that path. Everything else is green.

tests/ideation-dashboard/test_lens.py + test_lens_column_split.py were also run on their own
after the lens_submission.py docstring edit: 28 passed, 1 skipped.

python3 scripts/proposal-support.py . verify → proposal support verification ok.

doc-health parity

python3 scripts/doc-health.py --single-repo . run at head and at base (same worktree, edits
stashed) and diffed: byte-identical output. 91 findings — 10 critical, 8 error, 57 warning,
16 info; 41 auto-fixable, 50 contested. Unchanged from base, as a comment-text edit must be.

NOT DONE

  • No relocation. No new module, no new test file, no repoint of
    serve_openxfactory_lanes.py:52, and serve_wire.py's definitions are untouched. B-2's ruled act
    awaits Brett's word between options (i)/(ii)/(iii) above.
  • No carve, no manifest. docs/opendox-carve-manifest.yaml is neither created nor edited.
  • Nothing under openspec/, contracts/ or .github/.
  • OQ-B re-plumb 1: slug into a neutral module beside output_boundary; intent_apply_lane reaches sessions through the openXdox surface (split-opendox § 3.1) #843's files untouched, all seven: human_seen.py, intent_apply_lane.py, workbench.py,
    openxdox_surface.py, path_slug.py, tests/doc-health/test_import_direction.py,
    tests/ideation-dashboard/test_oqb_replumb.py.
  • The three → boundary shim edges and lens_submission's two are not OQ-B's ruled set — the
    first three are § 2.3 import rewrites, the last two are RULED to be reached through openXdox at
    the carve. Untouched. tests/ideation-dashboard/test_workbench_sweep_wiring.py:97's boundary
    import and every other boundary-shim reach are likewise outside the ruled set and await Brett;
    not touched.
  • Not merged, not approved, no auto-merge, no force-push, no rebase, no workflow dispatch, no
    ruleset touched. The shared checkout was read-only apart from fetch / worktree operations.

Reviews and checks

copilot-pull-request-reviewer: 🟢 Approval recommended, 0 comments generated, 4/4 files
reviewed. It independently re-derived the four new line numbers (284-286, 318, 312, 326) and
confirms they match. No fix round was owed and none was taken. (sourcery-ai is the private-repo
upsell stub, as on every PR in this repository.)

merge-master-approval is RED for an environmental reason that is not this PR. It reports
"Decision core unreadable — opensoft/codexFactory@4b12ba83 could not be checked out with the repo
identity. Advisory check: this blocks no merge."
The pinned commit exists (4b12ba83, 2026-09-07,
codexFactory #273), and the same check FAILED on all five other open PRs in the 13:15–13:24Z window
while it PASSED on #843 at 12:33Z — so this is the App installation losing Contents read on
opensoft/codexFactory, estate-wide, not a property of these eight digits. Flagged, not worked
around; no re-run was dispatched.

pytest-suite is also RED at this head, and unlike merge-master-approval it IS a REQUIRED check
(ruleset 21538893, openxFactory wallet-gate, alongside wallet-validation, lane-line,
release-tag-gate). Locally the five changed files' own suite is fully green (312 passed, 1 skipped); at CI: selected=10606 passed=10583 skipped=23 failures=0 errors=0 against floors
selected>=7090 passed>=7070 skipped==21 — the gate trips on skipped 23, pinned exactly 21, not on
a failure. The two extra skips are tests.review_lane_pin.test_floor_snapshot's
TheFreshnessVerifier and TheVectorReplay, both skipped because the pinned-core checkout step
(repository: opensoft/codexFactory) cannot resolve — the same opensoft/codexFactory →
codeXfactory/codexFactory org-move root cause as the merge-master-approval red above, not a
defect in this PR's tree. It is estate-wide: pytest-suite is also failure in the same window on
#843 (5b624b02), realize/amend-mirror-floor-regeneration-merge-authority (a930df11),
fix/cited-to-paths-resolve (5ab762ca) and change/archive-bump-openspec-cli-pin-to-1.12
(42385004). The remedy is openxFactory #801 (repair the pinned-core checkout); this PR lands after
it, not around it.

Asking for Brett Heap's separate word to land this.

🤖 Generated with Claude Code

Pre-carve split S-1 (#837, merge `352f2d9b`) lifted the scope TYPES out of
`doxbench_scope.py` into `doxbench_scope_types.py`, taking the file from 841
lines to 769 and shifting everything below the moved block up by exactly 72
lines. Seven prose citation SITES in four files carried the pre-split numbers
and named content that is no longer there. Each is refreshed to where the cited
content actually sits at this head, verified by locating the cited text rather
than by arithmetic:

  doxbench_scope.py:356-358 -> :284-286   `if section.owned ...` — the block
                                          `editable_paths` is fed from
  doxbench_scope.py:390     -> :318       "disclosure requires edit authority,
                                          which is the rule, not an accident."
  doxbench_scope.py:398     -> :326       "(`gate_routes.tile_owned_prefix`
                                          returns None for it), so the Save path"
  doxbench_scope.py:384     -> :312       `outline_path = _confined_path(
                                          selected, source_root)`

`doxbench_turns.py:585-591` is cited twice alongside and is NOT stale — S-1 did
not touch that file and `_require_in_scope_and_editable` is still at 585-591,
byte-identical to its pre-split text. `staging-workbench-model.js:379`, cited
beside the `:384` pin, is likewise untouched by S-1 and left alone.

NUMBERS ONLY. No other edit in any of the four files: no assertion, no
behaviour, no prose beyond the digits. The suite asserts none of these strings,
so nothing was pinning them — which is exactly why they went stale unnoticed and
why the refresh has to precede the carve manifest, whose rows carry a `sha256`
per file.

Three further hits live under `openspec/changes/archive/` (the archived
`add-doxbench-distilled-abstract` proposal and design) and are correctly NOT
refreshed: an archived record states what was true when it was ratified.

Refs #656

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 9, 2026 13:23

@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.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

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 changes are comment/docstring-only citation updates, and the referenced targets in doxbench_scope.py/doxbench_turns.py match the new line numbers.

Pull request overview

Refreshes stale in-repo line citations (comments/docstrings) that point into doxbench_scope.py, after earlier refactoring shifted line numbers. This keeps “pin” references accurate for future maintenance/review without changing runtime behavior.

Changes:

  • Updated doxbench_scope.py:<line> citations to the new locations for:
    • the editable_paths construction block (284-286)
    • the “disclosure requires edit authority” comment (318)
    • the outline confinement statement (312)
    • the tile_owned_prefix/Save-path explanatory comment (326)
  • Updated the corresponding citations in the test modules’ narrative pins and in serve_wire.py’s refusal rationale comment.
File summaries
File Description
scripts/ideation_dashboard/serve_wire.py Updates comment citations that explain abstract eligibility/refusal rules.
tests/ideation-dashboard/test_doxbench_abstract_route.py Refreshes docstring/comment citations used to pin eligibility/disclosure semantics.
tests/ideation-dashboard/test_doxbench_scope.py Refreshes “PIN CORRECTED” citations that reference the scope authority implementation.
tests/ideation-dashboard/test_doxbench_turns.py Refreshes a pin citation in the test narrative header near the guard-join tests.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

The module's "WHAT STAYED BEHIND" paragraph made two claims that are no longer
true. It said the scout memo "files all of them under § 7 OQ-B, unruled" —
OQ-B was RULED by Brett Heap on 2026-09-09 (`#656`, "rule all OQs as
recommended") — and it justified leaving this module's two `stays -> openDox`
reaches alone on the grounds that `human_seen.py:46` "already reaches
`workbench.slug` the same way", which stops being the reason the moment B-1
lands: `human_seen` reads `slug` from the neutral `scripts/path_slug.py`
(PR #843), so the sibling reach this paragraph leaned on is being re-plumbed
while these two are not.

The reworded paragraph states the ruling's actual disposition for THIS module:
`add_as_cluster` is adapter->core by construction, so the carve reaches it
THROUGH openXdox as an `import rewrites` edit and it is kept in-tree until then
— the verifier's recommendation on #836, which the ruling adopted. It then names
where the two re-plumbed siblings went (B-1 = `slug` to `path_slug.py`, PR #843;
B-2 = the four `serve_wire` names) so the next reader is not sent back to a
memo's open-question list for an answer that exists.

DOCSTRING ONLY. No import, no name, no signature, no behaviour. The paragraph
grows by six lines, which moves this module's two `stays -> openDox` import
statements from `:51-52` to `:57-58`; nothing in the tree cites those line
numbers (grepped: zero `lens_submission.py:<n>` citations), so the growth stales
no citation. The RULING comment on #656 cites `:51-52` and, as a record of what
was measured when it was written, is left as it stands.

Refs #656

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 9, 2026 13:27

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

Changes are limited to verified comment/docstring citation-line updates with no behavioral or API impact.

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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4-opendox-extraction

INDEPENDENT VERIFICATION of head 2b33bbc9bb582ea64fddf4e9e44e6d894d7a52a6 — PASS WITH NOTES

VERDICT: PASS WITH NOTES at head 2b33bbc9bb582ea64fddf4e9e44e6d894d7a52a6

The landed diff is exactly what the body claims: five files, eight digits, one docstring, zero code
semantics. All eight citations are exact at HEAD and all six old numbers are provably stale at base.
Every defect below is in the BODY's prose or its disclosure, not in the tree — with one exception
that matters for landing: pytest-suite, a REQUIRED check, is red at head and the body does not
disclose it.

Verified in my own detached worktree at origin/pr-848. Shared checkout untouched.

# check verdict
1 Scope — five files, digits/docstring only, AST-identical PASS
2 The eight citations, each located at HEAD and shown stale at base PASS
3 lens_submission docstring is true and #843-order-independent PASS
4 Completeness sweep of remaining citations PASS (1 NOTE)
5 The B-2 block analysis and the STOP PASS WITH NOTES — STOP justified; blocker 2 overstated; 3 body line-cites wrong
6 Tests green / CI state PASS locally (312 passed, 1 skipped) — SHOULD-FIX: required pytest-suite red and undisclosed
7 Hygiene — lane line, Refs, no closing keyword, trailers, auto-merge PASS (1 NOTE on the title)

1. Scope — PASS

git diff --numstat origin/main...HEAD (merge base = 245ee85a, the base the body names):

8	2	scripts/ideation_dashboard/lens_submission.py
2	2	scripts/ideation_dashboard/serve_wire.py
3	3	tests/ideation-dashboard/test_doxbench_abstract_route.py
2	2	tests/ideation-dashboard/test_doxbench_scope.py
1	1	tests/ideation-dashboard/test_doxbench_turns.py

git diff --name-only 245ee85a..HEAD | wc -l = 5. Exactly the five files the body lists. Nothing
under openspec/, contracts/ or .github/ (grepped: none). lens_submission.py is +8/−2 as
stated, all of it inside the module docstring.

Every hunk in the four citation files changes ONLY digits. All four hunks read in full:

  • serve_wire.py:614-616 — doxbench_scope.py:356-358 → :284-286 and :390 → :318, inside a
    # comment. doxbench_turns.py:585-591 in the same sentence left alone.
  • test_doxbench_abstract_route.py:16 — `doxbench_scope.py:390` → `:318`, module docstring.
  • test_doxbench_abstract_route.py:377,379 — `:356-358` → `:284-286`, `:390` → `:318`, function docstring.
  • test_doxbench_scope.py:141 — doxbench_scope.py:398 → :326, # comment.
  • test_doxbench_scope.py:188 — doxbench_scope.py:384 → :312, docstring; the
    staging-workbench-model.js:379 beside it untouched.
  • test_doxbench_turns.py:1065 — doxbench_scope.py:398 → :326, # comment.

No assertion, identifier, signature, import or other prose word moved in any of the four.

Line counts unchanged in all four, confirming in-place digit swaps: 1393 / 1673 / 723 / 3401 at
both base and head — the exact numbers the body claims.

AST proof of no semantic change. For each of the five changed .py files I parsed base and head,
stripped every module/class/function docstring, and compared ast.dump(..., include_attributes=False):

serve_wire.py:                    strip-docstring-AST identical = True | full-AST identical = True
lens_submission.py:               strip-docstring-AST identical = True | full-AST identical = False
test_doxbench_abstract_route.py:  strip-docstring-AST identical = True | full-AST identical = False
test_doxbench_scope.py:           strip-docstring-AST identical = True | full-AST identical = False
test_doxbench_turns.py:           strip-docstring-AST identical = True | full-AST identical = True

All five strip-docstring ASTs identical → zero code semantics changed. serve_wire.py and
test_doxbench_turns.py are identical even WITH docstrings, which is the signature of a
comment-only edit; the other three differ only in docstring string constants. py_compile clean on
all five.

2. The eight citations — PASS, 8/8 exact

doxbench_scope.py is byte-identical at base and head (git diff --stat 245ee85a..HEAD empty for
it), 769 lines at both, 841 pre-S-1 (89148583) — the −72 the body claims.

# citing site at HEAD old new the symbol it names at HEAD old number at base points at
1 scripts/ideation_dashboard/serve_wire.py:615 :356-358 :284-286 if section.owned and row.path not in editable_seen: + editable_seen.add + editable_paths.append 284-286 ✓ key=key, / title=title, / keywords=_unique_strings(keywords), — stale
2 scripts/ideation_dashboard/serve_wire.py:616 :390 :318 # disclosure requires edit authority, which is the rule, not an accident. 318 ✓ raise ScopeConfinementError( — stale
3 tests/ideation-dashboard/test_doxbench_abstract_route.py:16 :390 :318 same as #2 318 ✓ same — stale
4 tests/ideation-dashboard/test_doxbench_abstract_route.py:377 :356-358 :284-286 same as #1 284-286 ✓ same — stale
5 tests/ideation-dashboard/test_doxbench_abstract_route.py:379 :390 :318 same as #2 318 ✓ same — stale
6 tests/ideation-dashboard/test_doxbench_scope.py:141 :398 :326 # (`gate_routes.tile_owned_prefix` returns None for it), so the Save path 326 ✓ cluster = next( — stale
7 tests/ideation-dashboard/test_doxbench_scope.py:188 :384 :312 outline_path = _confined_path(selected, source_root) 312 ✓ created = tuple(created_paths) — stale
8 tests/ideation-dashboard/test_doxbench_turns.py:1065 :398 :326 same as #6 326 ✓ same — stale

Eight numbers, seven sites, four files — as claimed, and grep -n at HEAD returns exactly those
seven sites at exactly those line numbers.

Third, independent instrument. Beyond locating the text at HEAD and showing the old numbers
stale at base, I read the pre-S-1 file (git show 89148583:...) at each OLD number and got the cited
content back verbatim at all six: 356/357/358 = the owned/editable_seen/editable_paths triple,
390 = the "disclosure requires edit authority" line, 398 = the tile_owned_prefix line, 384 = the
_confined_path statement. So the citations were CORRECT before S-1 and the refresh restores exactly
what their author pointed at. 356→284, 390→318, 398→326, 384→312 — all −72, matching the body's
difflib map.

"Cited alongside and not stale" spot-checked and confirmed: _require_in_scope_and_editable is
at doxbench_turns.py:585-591 at HEAD, byte-identical to its pre-S-1 text; and
staging-workbench-model.js:379 is still
if (scope.outline && typeof options.outlinePathFor === "function") {. Both correctly left alone.

3. The lens_submission docstring — PASS

BEFORE (base 245ee85a, :34-37):

That import, and the four names read from workbench.py, are this module's two stays -> openDox
reaches; they are recorded for the manifest author rather than solved here, because
human_seen.py:46 already reaches workbench.slug the same way and the scout memo files all of
them under § 7 OQ-B, unruled.

AFTER (head, :33-43):

… they are recorded for the manifest author rather than solved here, and § 7 OQ-B is RULED as of
2026-09-09 (Brett Heap, #656, "rule all OQs as recommended"): these two reaches are the ones the
ruling leaves IN-TREE, because add_as_cluster is adapter->core by construction and the carve
reaches it THROUGH openXdox as an import rewrites edit. The sibling reaches that same ruling
re-plumbs BEFORE the carve are elsewhere -- human_seen.py's workbench.slug (B-1, PR #843:
slug into the neutral scripts/path_slug.py, which is where human_seen reads it once that
lands) and the four serve_wire names serve_openxfactory_lanes.py reads (B-2).

The old text was FALSE at this head on both counts, so the correction was owed: OQ-B is ruled, and
#843 repoints human_seen off workbench.slug (its body: "human_seen.py:46 from .workbench import slug | stays | REPOINTED to from path_slug import slug", with scripts/path_slug.py
the new neutral module) — so the sibling the old paragraph leaned on is being re-plumbed.

The new text is true and order-independent. Every forward-looking clause is written in the
conditional — "which is where human_seen reads it once that lands" — so it reads correctly
whether #843 lands before or after this PR. Nothing asserts a present-tense state of #843's tree.

No line-number citation into #843's files, or into anything. Parsing the module docstring and
regexing for <file>.<ext>:<n> returns [] — the whole docstring carries zero file:line
citations, so nothing in it can stale. Symmetrically, grep -rn 'lens_submission\.py:[0-9]' over
scripts tests docs openspec web returns nothing, so the paragraph growing by six lines (which
moves this module's two stays → openDox imports to :57/:58 — verified: :57 from .lens import PENDING_PROPOSAL_NOTE, :58 from .workbench import ...) stales no citation anywhere. The import
statements themselves are untouched.

4. Completeness — PASS, with one NOTE

grep -rn 'doxbench_scope\.py:[0-9]' scripts tests docs → 9 hits: the 7 refreshed sites (all correct
at HEAD, § 2) plus:

  • tests/ideation-dashboard/test_scope_column_split.py:87 cites doxbench_scope.py:730 for the
    from . import <X> spelling. Actual is :729 (from . import branch_session # lazy: keeps this module's import graph flat; :730 is blank). Off by one — confirmed exactly as the body
    reports it
    , correctly filed as outside the brief's permitted file set and not caused by S-1/S-3
    or by this PR.

grep -rn 'serve_wire\.py:[0-9]' scripts tests docs → 1 hit: serve_projection.py:85,
out of serve_wire.py:1387-1433. Read in context (:84-92) it is explicitly historical — "RE-HOMED
HERE, byte for byte, by pre-carve split S-3 … out of serve_wire.py:1387-1433"
— i.e. a statement
about where the code CAME FROM. Correct as history, correctly not refreshed. Matches the body's
"one historical S-3 citation" exactly.

Archived hits: exactly three, all under
openspec/changes/archive/2026-08-26-add-doxbench-distilled-abstract/ (proposal.md:774,778,
design.md:322). Matches the body's claim; correctly not refreshed.

No stale citation into doxbench_scope.py or serve_wire.py was missed by this PR.

NOTE (informational, severity: low) — the body's "three staging-workbench-model.js citations"
undercounts a family of seven.
grep -rn 'staging-workbench-model\.js:[0-9]' returns 8 hits.
One (test_doxbench_scope.py:189 → :379) is correct. The body names three as apparently stale and
I confirm all three: :414 at HEAD is keywords: [...(scope.keywords || [])],, which has nothing to
do with test_doxbench_turns.py:1136's "Aliasing guard … offering the outline" or
test_doxbench_scope.py:249's outline-path reasoning; and :1566-1571 at HEAD is the ok: true, /
action: payload.verb block, not serve_wire.py:795's "kind: name lands". But four more hits
cite the same :1566-157x range and are unmentioned
: doxbench_knowledge.py:1015, :1110,
test_doxbench_document_abstract.py:13, :241. All are outside the owed set and outside the brief's
two greps, so nothing was owed here — but if a follow-up sweeps the JS citations, it is a family of
seven, not three. Worth one line in the body so the next author does not size the job at three.

NOTE (informational, severity: low) — one body sentence is imprecise. The body says "S-1 did not
touch that file"
of doxbench_turns.py. S-1 did touch it: git diff 89148583..HEAD -- scripts/ideation_dashboard/doxbench_turns.py is one line, from ideation_dashboard.doxbench_scope import ScopeKey, ScopeProjection → ...doxbench_scope_types import ... at :58. The line count is
unchanged (1857 both ends) and :585-591 is byte-identical, so the operative claim — the
doxbench_turns.py:585-591 citation is not stale — is TRUE and the decision to leave it alone is
correct. Only the reason is stated a shade too strongly.

5. The B-2 block analysis — PASS WITH NOTES; the STOP is justified; option (i′) is SOUND and I recommend it

The four names, re-derived from scratch. grep -n 'serve_wire' serve_openxfactory_lanes.py → one
statement, :52:

52: from ideation_dashboard.serve_wire import (  # noqa: E402
53:     HOSTED_SESSION_REFUSAL,
54:     JSON_CTYPE,
55:     JSON_OBJECT_BODY_REQUIRED,
56:     hosted_ref_refused,
57: )

Four names, exactly as the body's table says, and the definition sites in its table are all exact:
JSON_CTYPE :82, JSON_OBJECT_BODY_REQUIRED :83, HOSTED_SESSION_REFUSAL :1355-1356,
hosted_ref_refused :1359-1393. Three literals, one predicate. Confirmed.

hosted_ref_refused's body reaches the openXdox column. Confirmed verbatim at :1391-1393:

    if loopback:
        return False
    return not registry_mod.is_publishable_ref(ref)

registry_mod is from ideation_dashboard import snapshot_registry as registry_mod, and
snapshot_registry is openXdox — design.md:282 lists "snapshot_registry 1,318" in the openXdox
paragraph, and the file is indeed 1,318 lines and carries from doc_health import pin_sentinels at
its own :85 plus urllib.request at :67. is_publishable_ref is snapshot_registry.py:162-163,
return normalize_ref(ref) == DEFAULT_REF. All exact.

The neutrality instrument is real. tests/doc-health/test_import_direction.py:116-133
(test_the_neutral_guard_imports_neither_package) parses _imported_modules(NEUTRAL_GUARD) and
forbids FORBIDDEN_ROOTS + ("doc_health", "scripts.doc_health"), with FORBIDDEN_ROOTS = ("ideation_dashboard", "scripts.ideation_dashboard") at :56 and the doc_health addition at
:128; :120-123 states the un-carveable failure mode in words. So any ideation_dashboard.*
import from a neutral module is the property gone, whichever column the target sits in — the body's
framing is right, and restating the rule is refused by serve_wire's own two comments (:73-75 on
the is_publishable_ref import: "The ONE definition of 'a ref a hosted plane may see' …", and
:77-79 on states_something: "imported rather than restated … so they cannot drift into two
spellings of one rule"
).

VERDICT ON THE STOP: JUSTIFIED. The brief's condition was to stop if a name depends on
non-neutral serve_wire internals. hosted_ref_refused depends on snapshot_registry, a
1,318-line non-neutral openXdox module, and the two escape hatches are both closed: restating the
ref rule is refused by the module's own standing comments, and moving the rule out of
snapshot_registry.py (the body's option iii) touches a fifth file the brief forbids. The author
was right not to invent a disposition, and right not to split 3+1 — moving only the three literals
leaves serve_openxfactory_lanes.py:52 still importing hosted_ref_refused from serve_wire, so
the ruled stays → oD edge survives and OQ-B's stated purpose is unmet.

SHOULD-FIX (severity: medium) — blocker 2 is OVERSTATED, and it is the one that decides the ruling

The body's blocker 2 says: "Move the definition to scripts/<neutral>.py and that assertion fails —
the definition is no longer on the serve surface."
That is true for a neutral module at
scripts/, and false for serve_projection.py.
I listed the tuple:

tests/ideation-dashboard/conftest.py:199-206
SERVE_SURFACE_MODULES: tuple[str, ...] = (
    "serve_wire.py", "serve_workbench.py", "serve_project.py",
    "serve_gate.py", "serve_projection.py", "serve_openxfactory_lanes.py",
    "serve.py",
)

serve_projection IS among them (:204, added by the same § 2.4 widening). serve_surface_source()
(:243-254) concatenates all seven, and test_session_snapshot.py:841-843 asserts
marker = "def hosted_ref_refused(" ; assert marker in src over that concatenation. So moving the
DEFINITION into serve_projection.py keeps the marker found, keeps :844-847's prose reads
(add-ideation-intent-plane, apply-lane, (repository, ref)) satisfied because the docstring
travels with the function, and keeps :855-858 satisfied — _serve_snapshot and _serve_source are
already in serve_projection.py and _handle_refresh_action in serve_openxfactory_lanes.py,
both on the surface, and the >= 4 count is unchanged. Zero edits to test_session_snapshot.py
or to any assertion in conftest.py.

The body's own option (i) — openxdox_surface.py, #843's file — is the one that DOES break the pin,
because openxdox_surface.py is not in SERVE_SURFACE_MODULES; the body is right that (i)
"needs a disclosed repoint". (i′) strictly dominates (i) on that axis and does not wait on #843.

VERDICT ON OPTION (i′): SOUND, and the location pin SURVIVES. Recommended.

Four independent reasons, all measured:

  1. The pin survives untouched — serve_projection ∈ SERVE_SURFACE_MODULES (above). This was
    the brief's explicit condition and it is met.
  2. serve_projection.py already imports snapshot_registry — :53,
    from ideation_dashboard import snapshot_registry as registry_mod # noqa: E402. No new import,
    no new dependency, no new module. The predicate's one dependency is already in the destination.
  3. S-3's precedent is exact, landed, and in the file already. serve_projection.py:84-92
    records hosted_index re-homed there "byte for byte, by pre-carve split S-3 … out of
    serve_wire.py:1387-1433"
    for the identical reason (an openXdox FR-048 rule inside a module that
    goes WHOLE to openDox cannot be filed under one column), and serve.py imports it back from
    serve_projection (serve_wire.py:40-47, 54-56). hosted_ref_refused is the same shape of name
    with the same problem.
  4. Usage says serve_projection is already its home. serve_wire.py never calls
    hosted_ref_refused — it only names it in prose (:32, :35, :51, :55). The four call sites are
    serve_projection.py:178, 219, 276 (three of four) and serve_openxfactory_lanes.py:326, with
    serve.py:763 a fifth reader. The definition currently sits in a module that does not use it,
    while three quarters of its users are in the proposed destination.

And the ruled outcome is met: serve_openxfactory_lanes.py:52's stays → oD becomes
stays → oXd (serve_projection is oXd), which is precisely the disposition OQ-B B-3 ruled for
intent_apply_lane's bootstrap_sessions reach — so (i′) is not a new pattern, it is B-3's pattern
applied to B-2. The three literals go to a neutral module as ruled; being bare str constants they
carry no dependency at all.

The honest costs of (i′), so the ruling is not made on a half picture — both are PROSE, neither is an assertion:

  • serve_wire.py:48-52's own docstring argues against it: "filing any of them under a column
    would have made the core (for hosted_ref_refused) or the other column (for
    HOSTED_SESSION_REFUSAL) depend on a column."
    S-3 already crossed that exact line for
    hosted_index and the same paragraph records it (:40-47), so (i′) adds no new class of edge —
    serve.py → serve_projection already exists. But the paragraph must be rewritten in the same
    commit, or this PR's successor ships the very thing this PR just spent itself removing: false prose.
  • conftest.py:229-232's docstring claims each non-serve.py sibling "import[s] from
    serve_wire and from no other sibling"
    . If serve_openxfactory_lanes takes the predicate from
    serve_projection, that sentence goes false. It is a docstring, not an assertion — the
    docstring itself says "No reader … depends on this particular order — only the docstring claim
    above does"
    — and I grepped for a test pinning sibling-import-freedom and found none. But
    conftest.py is a § 3.7 replicate-at-every-destination file, so even a one-sentence prose refresh
    there needs disclosing.

There is no variant that avoids both: keeping a thin re-export in serve_wire so
serve_openxfactory_lanes need not import serve_projection leaves the import statement pointing at
ideation_dashboard.serve_wire, so the stays → oD edge survives and OQ-B's ruled outcome is unmet.
One sentence of conftest.py docstring is the whole price of meeting the ruling.

RECOMMENDATION: rule (i′). It is the only option on the table that meets OQ-B's ruled outcome,
keeps every location pin green without editing a single assertion, needs no new module for the
predicate, follows a precedent already landed in the destination file, and does not wait on #843.

SHOULD-FIX (severity: low-medium) — three body line-citations in the blocker section are wrong

In a PR whose entire landed content is line-citation accuracy, the analysis prose miscites the module
it is analysing. serve_wire.py is unchanged in this region between base and head, so these are
simply wrong, not drift:

body says actual at HEAD (and at base)
"registry_mod is serve_wire.py:79's from ideation_dashboard import snapshot_registry as registry_mod" :76
"serve_wire.py:76-78 already says why, in its own comment on that very import" :73-75
"the module's sibling idiom for states_something (:84-86)" :77-80 (comment :77-79, import :80)

The body's four-name table, :1355-1356, :1359-1393, snapshot_registry.py:162-163 and :85,
design.md:282, test_import_direction.py:56/:116-133/:120-123/:128,
test_session_snapshot.py:823-858/:845-847 and conftest.py:196-206/226-254 are all exact — it
is only these three.

6. Tests and CI — local PASS; SHOULD-FIX on disclosure

The five files, run in my worktree at head:

312 passed, 1 skipped in 48.44s

All pass. Body's own wider run and the test_lens.py + test_lens_column_split.py re-run are
consistent with this.

CI at head 2b33bbc9:

success  clearing-dispatch-gate          success  openreposhape-pin
success  copilot-pull-request-reviewer   success  openspec-cli-pin
success  lane-line (x5)                  success  release-tag-gate
success  signed-execution-chain-gate     success  wallet-validation
failure  merge-master-approval           failure  pytest-suite

merge-master-approval red is as the brief and the body state: advisory, red repo-wide since
opensoft/codexFactory moved to the codeXfactory org. Not this PR's.

SHOULD-FIX (severity: medium — a disclosure gap, and a landing blocker) — pytest-suite is RED and is a REQUIRED check, and the body does not mention it

The body discloses only merge-master-approval. But pytest-suite is also red at head, and per the
rulesets it is a required status check (ruleset 21538893, openxFactory wallet-gate, alongside
wallet-validation, lane-line, release-tag-gate).

It is NOT this PR's defect — I pulled the log and the root cause is the same org move:

selected=10606 passed=10583 skipped=23 failures=0 errors=0
floors: selected>=7090 (margin 3516) passed>=7070 (margin 3513) skipped==21
##[error]skipped 23, pinned exactly 21
##[error]snapshot freshness verifier did not run — pinned core checkout unavailable
         (tests.review_lane_pin.test_floor_snapshot.TheFreshnessVerifier::... is 'skipped')
##[error]vector replay did not run — pinned core checkout unavailable
         (tests.review_lane_pin.test_floor_snapshot.TheVectorReplay::... is 'skipped')

failures=0 errors=0 — nothing failed. The two extra skips (21 → 23) are exactly the two
review_lane_pin tests that skip when the repository: opensoft/codexFactory checkout step cannot
resolve, which I confirmed in the run log. Estate-wide, not this PR's: pytest-suite is failure in
the same window on change/opendox-oqb-replumb-1-slug-and-sessions (#843, 5b624b02),
realize/amend-mirror-floor-regeneration-merge-authority (a930df11), fix/cited-to-paths-resolve
(5ab762ca) and change/archive-bump-openspec-cli-pin-to-1.12 (42385004).

So: no code defect, but this PR cannot land on its required checks until the pinned-core checkout
is repaired or the requirement is waived — and a reader of the body would not know that, because the
body's "Reviews and checks" section presents merge-master-approval as the only red and calls it
non-blocking. Add pytest-suite to that disclosure, with the failures=0 errors=0 / skipped-21→23
evidence and the shared root cause, and say plainly that a REQUIRED check is red.
The body's
existing merge-master paragraph is the right model; it just needs the second check named.

7. Hygiene — PASS, with one NOTE

  • Body first line: Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox) ✓ exact.
  • **Refs #656** present ✓.
  • No closing keyword: regex for clos(e|es|ed)|fix(e|es|ed)|resolv(e|es|ed) followed by #<n> over
    the body → no match ✓.
  • closingIssuesReferences via GraphQL: {"nodes":[],"totalCount":0} ✓.
  • Trailers on both commits (b8a476a4, 2b33bbc9), one each, exact strings:
    Lane: openxfactory-4-opendox-extraction and
    Co-Authored-By: Claude Fable 5.1 <[email protected]>, plus Refs #656 ✓. Five lane-line
    check runs all green.
  • autoMergeRequest: null ✓. State OPEN, MERGEABLE, not merged, not approved.
  • Copilot threads: none to resolve. reviewThreads.totalCount = 0. copilot-pull-request-reviewer
    reviewed twice with state COMMENTED and generated 0 inline threads; its check run is green.
    sourcery-ai COMMENTED (the private-repo upsell stub). The body's claim of 0 comments is accurate,
    and no fix round was owed.

NOTE (severity: low) — the title leads with what did NOT happen. Current title:

OQ-B re-plumb 2 — BLOCKED and measured: hosted_ref_refused cannot be neutral (its body needs
snapshot_registry, an openXdox module); the eight owed doxbench_scope line citations refreshed
(split-opendox § 3.1)

It is not misleading — the landing content IS named, in the second clause — so this is a preference,
not a defect. But a merge-commit subject is read as "what this commit did to the tree", and what this
commit did is refresh eight citations and one docstring; the block is a finding recorded for a ruling,
which is body material. I'd invert: "Refresh the eight owed doxbench_scope line citations S-1
staled; OQ-B B-2 relocation stopped for a ruling (split-opendox § 3.1)"
, with the measurement
staying exactly where it is in the body.

Two substantive points if the title is touched: "BLOCKED" overstates what was measured — given
(i′), the relocation is not blocked, only the neutral-module disposition for the predicate is;
and per § 5 the same is true of "cannot be neutral", which is correct as literally written but reads
as "cannot be moved". "stopped for a ruling" carries the measurement without the overclaim.


Shared checkout

HEAD staged files
start 6612d323 ✓ 0 ✓
end 6612d323 ✓ 0 ✓

Unchanged. All verification ran in a detached worktree at origin/pr-848
(2b33bbc9bb582ea64fddf4e9e44e6d894d7a52a6), removed on completion. Nothing merged, approved,
pushed, resolved or edited; one comment posted.

🤖 Generated with Claude Code

@brettheap brettheap changed the title OQ-B re-plumb 2 — BLOCKED and measured: hosted_ref_refused cannot be neutral (its body needs snapshot_registry, an openXdox module); the eight owed doxbench_scope line citations refreshed (split-opendox § 3.1) Refresh the eight doxbench_scope/serve_wire line citations staled by S-1/S-3, and true-up lens_submission's docstring after B-1; B-2's relocation measured and held for a ruling (split-opendox § 3.1) Sep 9, 2026
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)

Body-and-title-only fix round on head 2b33bbc9, taken from the INDEPENDENT VERIFICATION comment above. No code change, no push, no commit.

  • Title — inverted to lead with what lands (citation refresh + docstring true-up), moved the B-2 measurement to a subordinate clause: "Refresh the eight doxbench_scope/serve_wire line citations staled by S-1/S-3, and true-up lens_submission's docstring after B-1; B-2's relocation measured and held for a ruling (split-opendox § 3.1)" (§7 NOTE).
  • Blocker 2 corrected (§5 SHOULD-FIX, severity medium) — conftest.py:204 lists serve_projection.py in SERVE_SURFACE_MODULES, so moving hosted_ref_refused's definition there (option (i′): :53 already imports snapshot_registry, :84-92 already holds hosted_index via S-3, 3/4 call sites already at :178,219,276) keeps the test_session_snapshot.py location pin GREEN with zero test edits — only a true NEUTRAL-module home is blocked. Added (i′) to the options list as RECOMMENDED. Softened "BLOCKED" / "cannot become neutral" headline and section-header language to reflect that only the neutral-module disposition is blocked, and the predicate's home is a one-line ruling.
  • Three wrong line-cites fixed (§5 SHOULD-FIX, severity low-medium): serve_wire.py:79 → :76; :76-78 → :73-75; :84-86 → :77-80. Verified against origin/main:scripts/ideation_dashboard/serve_wire.py.
  • Reviews and checks — required pytest-suite disclosed (§6 SHOULD-FIX, severity medium): now discloses pytest-suite (ruleset 21538893) red at this head — selected=10606 passed=10583 skipped=23 failures=0 errors=0 against skipped==21, the two extra skips being review_lane_pin's TheFreshnessVerifier/TheVectorReplay, same opensoft/codexFactory→codeXfactory/codexFactory root cause as the existing merge-master-approval disclosure. Remedy = openxFactory GATED (runbook Phase 1 COMPLETE, step 1.6 INCLUDED) — slice B1: the decision-core pin, the workflows, the operator tools (42/15) #801; this PR lands after it. merge-master-approval disclosure kept as-is.
  • Notes corrected (§4 NOTEs): "three staging-workbench-model.js citations" → reworded as a family of seven, all out of scope; the claim "S-1 did not touch doxbench_turns.py" → reworded — S-1 changed one import line at :58, but the cited block (:585-591) doesn't shift, so the operative claim still holds.

Lane line, Refs #656, no closing keyword, and the footer are unchanged. grep -iE '(close[sd]?|fix(e[sd])?|resolve[sd]?) #' over the new body: no match.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings September 9, 2026 15:43

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 changes are comment/docstring-only and the updated line citations were verified to match the current doxbench_scope.py line locations.

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

@brettheap
brettheap merged commit 256b195 into main Sep 9, 2026
10 checks passed
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.

2 participants