Repository navigation
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
Conversation
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]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
🟢 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_pathsconstruction block (284-286) - the “disclosure requires edit authority” comment (
318) - the outline confinement statement (
312) - the
tile_owned_prefix/Save-path explanatory comment (326)
- the
- 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]>
|
Lane: openxfactory-4-opendox-extraction INDEPENDENT VERIFICATION of head VERDICT: PASS WITH NOTES at head The landed diff is exactly what the body claims: five files, eight digits, one docstring, zero code Verified in my own detached worktree at
1. Scope — PASS
Every hunk in the four citation files changes ONLY digits. All four hunks read in full:
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 AST proof of no semantic change. For each of the five changed All five strip-docstring ASTs identical → zero code semantics changed. 2. The eight citations — PASS, 8/8 exact
Eight numbers, seven sites, four files — as claimed, and Third, independent instrument. Beyond locating the text at HEAD and showing the old numbers "Cited alongside and not stale" spot-checked and confirmed: 3. The
|
| 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 ✓. closingIssuesReferencesvia GraphQL:{"nodes":[],"totalCount":0}✓.- Trailers on both commits (
b8a476a4,2b33bbc9), one each, exact strings:
Lane: openxfactory-4-opendox-extractionand
Co-Authored-By: Claude Fable 5.1 <[email protected]>, plusRefs #656✓. Fivelane-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 stateCOMMENTEDand generated 0 inline threads; its check run is green.
sourcery-aiCOMMENTED (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
|
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox) Body-and-title-only fix round on head
Lane line, 🤖 Generated with Claude Code |
There was a problem hiding this comment.
🟢 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
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Refs #656 ·
split-opendox-two-layer-product§ 3.1 · base245ee85a· head2b33bbc9The 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_wirenamesserve_openxfactory_lanes.py:52reads (three strings and a predicate) get thesame treatment" as
slug— i.e. they move to a neutral module besidescripts/output_boundary.py,not_moved / replicated_at_destinationat 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:52still names the statement):JSON_CTYPEserve_wire.py:82strconstant,"application/json; charset=utf-8"JSON_OBJECT_BODY_REQUIREDserve_wire.py:83strconstant,"a JSON object body is required"HOSTED_SESSION_REFUSALserve_wire.py:1355-1356strconstant (fixed refusal prose, 2 lines)hosted_ref_refusedserve_wire.py:1359-1393(loopback: bool, ref: str | None) -> boolSo 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 reasons1. Its body reaches the openXdox column. The whole function is prose plus two statements:
registry_modisserve_wire.py:76'sfrom ideation_dashboard import snapshot_registry as registry_mod, andsnapshot_registryis the openXdox column —design.md:282lists it thereby name and memo § 2.2 files it
snapshot_registry 1,318 oXd IR, AC; it carriesfrom doc_health import pin_sentinels(:85) plusurllib.request. A neutral module's property isthat it imports neither package:
tests/doc-health/test_import_direction.py:116-133parses theimports and forbids
FORBIDDEN_ROOTS(ideation_dashboard,scripts.ideation_dashboard,:56)plus
doc_health/scripts.doc_health(:128). That is the instrument keepingoutput_boundary.pyneutral and the one #843'spath_slug.pyis measured by. So the column is noteven the binding constraint here — any
ideation_dashboard.*import from inside a neutral moduleis 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-75already 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 themodule's sibling idiom for
states_something(:77-80) spells the rule out: imported "rather thanrestated … 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.pyis not.tests/ideation-dashboard/test_session_snapshot.py:823-858(
test_the_hosted_session_arrival_path_is_recorded_and_not_built) assertsmarker = "def hosted_ref_refused(" ; assert marker in srcwheresrc = serve_surface_source(), andserve_surface_source()reads exactlySERVE_SURFACE_MODULESunderscripts/ideation_dashboard/(
tests/ideation-dashboard/conftest.py:196-206, 226-254). Move the definition to a NEUTRAL module atscripts/<neutral>.pyand that assertion fails — the definition is no longer on the serve surface.But
conftest.py:204listsserve_projection.pyINSERVE_SURFACE_MODULES, so moving thedefinition there instead (option (i′), the S-3 precedent) keeps the pin GREEN with zero test
edits:
serve_projection.py:84-92already holdshosted_index, re-homed there by S-3 for theidentical reason;
:53already importssnapshot_registry, so the predicate's one dependency isalready 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 NEUTRALdestination still means editing
test_session_snapshot.pyand/orconftest.py; this brief permitsneither, and
conftest.pyis a § 3.7 replicate-at-every-destination file — that test is memo § 3.5'sclass ("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 ascout'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_registryis broken on arrival. This is thefailure mode
test_import_direction.py:120-123states in words: an import of either package frominside 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.pystill carriesfrom ideation_dashboard.serve_wire import hosted_ref_refused— the stays→oD edge survives, theruled 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_wireat 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_wirein any spelling"), with no residual to report. That measurementis 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.
hosted_ref_refusedgoes through openXdox viaopenxdox_surface.py, like B-3. Its onedependency IS the openXdox column, and 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 already built
openxdox_surface.pyas that seam forbootstrap_sessions. The three strings still move to a neutral module. Cost:openxdox_surface.pyis 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 file, so this waits on 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 landing;
test_session_snapshot.py's location pin needs adisclosed repoint, because
openxdox_surface.pyis not inSERVE_SURFACE_MODULES.hosted_ref_refusedmoves toserve_projection.py, an openXdox modulealready on the serve surface.
conftest.py:204listsserve_projection.pyinSERVE_SURFACE_MODULES, so the location pin stays GREEN with zero test edits;:53alreadyimports
snapshot_registry;:84-92already holdshosted_index, moved there by S-3 for the samereason; and 3 of the predicate's 4 call sites (
:178,219,276) are already in that file. The threestrings still move to a neutral module. Cost: two prose refreshes, not a test edit —
serve_wire.py:29-56's docstring (which argues against filing the name under a column) andconftest.py:229-232's docstring (which claims each sibling imports fromserve_wirealone) bothneed a one-sentence correction in the same commit. Does not wait on 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.
not_movedrow of its own reasoning.serve_wire.pyis an openDox row, so this leaves the stays→oD edge standing and needs OQ-B re-opened for it.
DEFAULT_REF+normalize_ref+is_publishable_refmove out ofsnapshot_registry.pyand it re-exports them. Cost: three morenames, a fifth file (
snapshot_registry.py) this brief forbids touching, andsnapshot_registryis oXd, so the neutral module would then own a rule the openXdox column authored.
What this PR DOES land: the owed line-citation refresh
Owed on #656 and sequenced before the manifest, because every manifest row carries a
sha256andeach of these four files' digest changes here. S-1 (#837, merge
352f2d9b) lifted the scope typesout of
doxbench_scope.py— 841 → 769 lines — shifting everything below the moved block up byexactly 72. Every new number below was found by LOCATING the cited content in the current file,
not by adding −72, and the two agree.
scripts/ideation_dashboard/serve_wire.py:615doxbench_scope.py:356-358doxbench_scope.py:284-286if section.owned and row.path not in editable_seen:+ the two lines that append toeditable_pathsgrep -nfor theif section.owned …line → 284; block is 284-286scripts/ideation_dashboard/serve_wire.py:616doxbench_scope.py:390doxbench_scope.py:318# disclosure requires edit authority, which is the rule, not an accident.grep -n "disclosure requires edit authority"→ 318tests/ideation-dashboard/test_doxbench_abstract_route.py:16`doxbench_scope.py:390``doxbench_scope.py:318`tests/ideation-dashboard/test_doxbench_abstract_route.py:377`doxbench_scope.py:356-358``doxbench_scope.py:284-286`tests/ideation-dashboard/test_doxbench_abstract_route.py:379`doxbench_scope.py:390``doxbench_scope.py:318`tests/ideation-dashboard/test_doxbench_scope.py:141doxbench_scope.py:398doxbench_scope.py:326gate_routes.tile_owned_prefixreturning None for a possible tile, "so the Save path refuses that very path"tile_owned_prefixin that comment → 326tests/ideation-dashboard/test_doxbench_scope.py:188doxbench_scope.py:384doxbench_scope.py:312outline_path = _confined_path(selected, source_root)grep -nfor that statement → 312tests/ideation-dashboard/test_doxbench_turns.py:1065doxbench_scope.py:398doxbench_scope.py:326Eight 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 "thecited 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, adifflib.SequenceMatcherline-map from the pre-S-1 file to this head was computed independently andasked where each old line went:
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:616and abstract-route:16):_require_in_scope_and_editableis still at 585-591 anddiffof lines 580-595 pre-S-1 vs head isempty — 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): stillif (scope.outline && typeof options.outlinePathFor === "function") {— the JS twin of the outlineresolution 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, andopenspec/**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:87citesdoxbench_scope.py:730for thefrom . import Xspelling; thefrom . import branch_sessionis at 729 — off by one. That fileis 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:85citesserve_wire.py:1387-1433for wherehosted_indexcame FROM. That is a historical citation into the pre-S-3 file and is correct ashistory; the file is outside this brief's set. Untouched.
staging-workbench-model.js:<n>citation family is seven, not three, out of scope. Threelook stale from a later edit to that JS file (
serve_wire.py:795→:1566-1571;test_doxbench_scope.py:249andtest_doxbench_turns.py:1136→:414); a fuller grep turns upfour more citing the same
:1566-157xrange —doxbench_knowledge.py:1015,:1110,test_doxbench_document_abstract.py:13,:241— for seven total. Not staled by S-1/S-3 or byanything 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 twoclaims 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 → openDoxreaches alone because "human_seen.py:46already reachesworkbench.slugthesame way", which stops being the reason the moment B-1 lands and
human_seenreadsslugfrom theneutral
scripts/path_slug.py(#843). The paragraph now states the ruling's actual disposition forthis module —
add_as_clusteris adapter→core by construction, so the carve reaches it THROUGHopenXdox as an
import rewritesedit and it stays in-tree until then (the verifier's recommendationon #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 → openDoximport STATEMENTS from:51-52to:57-58(theimports themselves are untouched — that is why the edge table above reads
:57/:58). Grepped:zero
lens_submission.py:<n>citations exist anywhere inscripts/,tests/,docs/oropenspec/, so the growth stales no citation. The RULING comment on #656 cites:51-52; as a recordof 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 digitschanged — no assertion, no behaviour, no identifier, no other prose — plus the one
lens_submission.pydocstring paragraph above. Diff over the two commits is5 files changed; thecitation commit alone is
4 files changed, 8 insertions(+), 8 deletions(-)with line countsunchanged in all four files (1393 / 1673 / 723 / 3401).
Digests (sha256, first 16), base → head:
scripts/ideation_dashboard/serve_wire.pyae032ee15362e72c5cfe757ab4bebe2atests/ideation-dashboard/test_doxbench_abstract_route.py60ff64a6ba2e98e1b4a3fc892414d0e3tests/ideation-dashboard/test_doxbench_scope.pyf424f60635f16dc7e6364917a0e21198tests/ideation-dashboard/test_doxbench_turns.py10872306c9ffee2e22380da41991f475No 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, AFTERb8a476a4Method 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_typesoD,lens_submissionstays,serve_projectionoXd). #843'spath_slug(neutral) and
openxdox_surface(oXd) are not counted: #843 is OPEN and is not on this base.oD→oXdoD→staysoXd→oDoXd→staysstays→oDstays→oXdUnchanged, 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→oDedges, each named, so the ruled target set is on the record: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:serve_openxfactory_lanes.py:52at asimulated neutral module and
stays→oDdrops 8 → 7,serve_openxfactory_lanes.py → serve_wiregone 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.
from ideation_dashboard import serve_wireinside a function body andstays→oDreturns7 → 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:That one failure is environmental and pre-existing, proven rather than asserted. Run alone in a
throwaway
--detachworktree at the base commit245ee85a, with none of this branch's changespresent, it fails identically —
snapshot.find_validator(REPO_ROOT) is not None→AssertionError: assert None is not None, because a git worktree under/tmphas no sibling pinned openxFactorycheckout to find. Nothing this PR touches is on that path. Everything else is green.
tests/ideation-dashboard/test_lens.py+test_lens_column_split.pywere also run on their ownafter the
lens_submission.pydocstring 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, editsstashed) 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
serve_openxfactory_lanes.py:52, andserve_wire.py's definitions are untouched. B-2's ruled actawaits Brett's word between options (i)/(ii)/(iii) above.
docs/opendox-carve-manifest.yamlis neither created nor edited.openspec/,contracts/or.github/.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.→ boundaryshim edges andlens_submission's two are not OQ-B's ruled set — thefirst three are § 2.3
import rewrites, the last two are RULED to be reached through openXdox atthe carve. Untouched.
tests/ideation-dashboard/test_workbench_sweep_wiring.py:97'sboundaryimport and every other
boundary-shim reach are likewise outside the ruled set and await Brett;not touched.
ruleset touched. The shared checkout was read-only apart from
fetch/worktreeoperations.Reviews and checks
copilot-pull-request-reviewer: 🟢 Approval recommended, 0 comments generated, 4/4 filesreviewed. It independently re-derived the four new line numbers (
284-286,318,312,326) andconfirms they match. No fix round was owed and none was taken. (
sourcery-aiis the private-repoupsell stub, as on every PR in this repository.)
merge-master-approvalis RED for an environmental reason that is not this PR. It reports"Decision core unreadable —
opensoft/codexFactory@4b12ba83could not be checked out with the repoidentity. 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 workedaround; no re-run was dispatched.
pytest-suiteis also RED at this head, and unlikemerge-master-approvalit 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=0against floorsselected>=7090 passed>=7070 skipped==21— the gate trips onskipped 23, pinned exactly 21, not ona failure. The two extra skips are
tests.review_lane_pin.test_floor_snapshot'sTheFreshnessVerifierandTheVectorReplay, both skipped because the pinned-core checkout step(
repository: opensoft/codexFactory) cannot resolve — the sameopensoft/codexFactory→codeXfactory/codexFactoryorg-move root cause as themerge-master-approvalred above, not adefect in this PR's tree. It is estate-wide:
pytest-suiteis alsofailurein the same window on#843 (
5b624b02),realize/amend-mirror-floor-regeneration-merge-authority(a930df11),fix/cited-to-paths-resolve(5ab762ca) andchange/archive-bump-openspec-cli-pin-to-1.12(
42385004). The remedy is openxFactory #801 (repair the pinned-core checkout); this PR lands afterit, not around it.
Asking for Brett Heap's separate word to land this.
🤖 Generated with Claude Code