Repository navigation
Split doxbench_scope: the scope TYPES into doxbench_scope_types.py (pre-carve S-1, § 3.1) - #837
Conversation
…_types.py Pre-carve split S-1 (`split-opendox-two-layer-product` § 3.1). `doxbench_scope.py` holds two columns' worth of code: the five FROZEN types (`ScopeConfinementError`, `ScopeKey`, `ScopeDocument`, `ScopeSection`, `ScopeProjection`, `:61-146` at `56e69a11`) are openDox, while the ownership authority that produces them — `resolve_scope`, the registry-root confinement, the editable classification and the section vocabulary — is openXdox. § 3.1's carve manifest files every path under exactly ONE disposition, so a file whose halves go to two repositories cannot be filed at all. This is the mechanical relocation that makes the carve a pure per-file move: no behaviour change, no public-name change, no signature change. The 86 moved lines are byte-identical (sha256 b6c99693fb31c14a81079569d14c06a4561e7587933ddd226628cb867e157e3d before and after, 2519 bytes). `SCOPE_KINDS` travelled with them — `ScopeKey.__post_init__` validates against it, so it is the frozen type's own value domain and could not stay behind without either a circular import back into `doxbench_scope` or a second copy of the same three strings. It has no other reader in the tree: every other `SCOPE_KINDS` in this package is `branch_session.SCOPE_KINDS`, a different tuple with different spellings. `doxbench_scope` re-exports all six names as the SAME OBJECTS, so every landed importer — forty-odd test modules and `serve_workbench`'s four lazy imports — keeps working unchanged. Three openDox modules whose repoint IS the split (`doxbench_packet:78`, `doxbench_telemetry:46`, `doxbench_turns:58`) import from the new module directly, because that is what removes the cross-column edge: oD->oXd falls from 12 module-pairs / 19 statements to 9 / 16, and the surviving scope edge runs openXdox -> openDox, the direction RULING OQ-2 permits. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012LiNG5Ume1boEfxSNeCmpu
The three repointed openDox modules could each have the unlawful direction put back by a one-line import while every behavioural test stayed green, so the direction is asserted rather than noted (`split-opendox-two-layer-product` § 3.1, pre-carve split S-1). Four rules, all cheap: the three repointed modules import `doxbench_scope_types` and never `doxbench_scope`, with a non-vacuity floor so the sweep cannot quietly lose its subject; `doxbench_scope_types` imports nothing from its own package (a back-edge would be a cycle AND would restore the removed edge by another route); `doxbench_scope` re-exports the same OBJECTS, asserted with `is` rather than `==` because a copy would pass equality and break `isinstance` and `except ScopeConfinementError` in production; and `SCOPE_KINDS` is proven to be the domain `ScopeKey` actually validates against, so the constant cannot be copied back and left stale. PARSED, NOT GREPPED, with a scanner of this file's own rather than `tests/import_scan.py`'s. That helper deliberately skips relative imports — correct for its own question, which is about other top-level packages, and wrong for this one: `from .doxbench_scope import ScopeKey` names no top-level package at all and is exactly the edge this file exists to catch. All four spellings the package admits are read. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012LiNG5Ume1boEfxSNeCmpu
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.
🟡 Changes recommended
The new test helper _sibling_modules() does not currently detect from . import X imports, creating a false-negative hole in the import-direction guardrail it is intended to enforce.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR mechanically splits the “frozen” doxBench scope value types out of scripts/ideation_dashboard/doxbench_scope.py into a new doxbench_scope_types.py, with doxbench_scope re-exporting the same objects to preserve the existing import surface while reducing openDox→openXdox import direction violations ahead of the S-1 carve work.
Changes:
- Added
doxbench_scope_types.pycontainingSCOPE_KINDSand the five frozen scope types (relocated fromdoxbench_scope.py), and updated three openDox modules to import types from it. - Updated
doxbench_scope.pyto re-import/re-export the moved symbols (keeping public import paths stable). - Added
tests/ideation-dashboard/test_scope_column_split.pyto enforce the intended import direction and re-export identity.
File summaries
| File | Description |
|---|---|
| tests/ideation-dashboard/test_scope_column_split.py | Adds regression tests for import-direction and re-export identity across the scope split. |
| scripts/ideation_dashboard/doxbench_turns.py | Repoints imports of ScopeKey/ScopeProjection to doxbench_scope_types. |
| scripts/ideation_dashboard/doxbench_telemetry.py | Repoints import of ScopeKey to doxbench_scope_types. |
| scripts/ideation_dashboard/doxbench_packet.py | Repoints imports of ScopeKey/ScopeProjection to doxbench_scope_types. |
| scripts/ideation_dashboard/doxbench_scope.py | Removes the moved types and re-exports them from the new types module. |
| scripts/ideation_dashboard/doxbench_scope_types.py | New module containing the frozen scope types and SCOPE_KINDS. |
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…counts Copilot's review of #837 found it, and it was a real hole in both the shipped test and the measurement behind the PR body: `from . import doxbench_scope` parses as an `ImportFrom` with `level=1` and `module=None`, so a helper that reads `node.module` sees nothing at all. The file's own docstring claimed to cover that spelling. It is not hypothetical — the package uses it forty times (`gate_routes.py:70`, `kickoff.py:61`, `doxbench_scope.py:730` and the rest) — so the exact back-edge these tests exist to prevent could have walked past them. Proven by a negative control before and after: appending `from . import doxbench_scope` to `doxbench_telemetry.py` leaves the old scanner green and turns the fixed one red. Two more things the fix carries. `from . import X` and `from pkg import X` can name a NAME rather than a module — `generator.py:70` imports `GENERATOR_VERSION` that way — so a yielded name is now kept only when a sibling module of that name exists. And the same hole understated the PR body's own table: with all five spellings read, oD->oXd measures 15 module-pairs / 22 statements at base `56e69a11` and 12 / 19 after the split, still exactly the three named edges removed; oXd->oD goes 17 / 19 to 18 / 20, the one lawful re-export edge added. The corrected BEFORE figures also sit far closer to memo § 2.3's own (14 and 15), which the understated scan did not. The body carries the corrected table; the first commit message's 12/19 -> 9/16 was measured with the hole and is superseded by it. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012LiNG5Ume1boEfxSNeCmpu
There was a problem hiding this comment.
🟢 Approval recommended
The changes are narrowly-scoped and appear behavior-preserving, with added tests; remaining feedback is limited to small docstring wording corrections.
Review details
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
scripts/ideation_dashboard/doxbench_scope_types.py:42
- The docstring’s D12 note claims that all modules in
ideation_dashboard“use ABSOLUTEideation_dashboard.*imports, neverfrom . import”, but the package contains many relative-import users (e.g.gate_routes.pyusesfrom . import …). This overstates D12, which applies toserve.py/serve_*modules, and makes the docstring misleading.
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Lite
|
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox) VERDICT: PASS WITH NOTES at head Verified by a second author in own worktrees ( The twelve items
Edge scan — independently written, run under two taggingsUnder the body's own tagging (
Under memo § 2.2's tagging instead ( The delta is -3 under both taggings. The three named edges exist at base and are absent The DefectsD1 — SHOULD-FIX. The body's non-relocation claim 6 is false for
|
…s import, correct the counts and the header note Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012LiNG5Ume1boEfxSNeCmpu
|
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox) Fix round 1 on the independent verifier's report and Copilot round 2, at new head Notes taken (verifier's D1–D4):
D5 disposition — no code change, per the verifier's recommendation: PR body refreshed — the count corrections above, "Five" → "Six" over the six-row citation table (and the paragraph restating the count), the three archived-change citations named as correctly-not-refreshed, the verifier's D5 disposition + successor issue number, this round's changes added to the non-relocation change list, and claim 6 corrected to describe the dead-import removal. Copilot round 2 — both review threads on Tests: No merge, approve, auto-merge, force-push, or rebase performed. 🤖 Generated with Claude Code |
There was a problem hiding this comment.
🟢 Approval recommended
The changes are a contained, mechanical relocation with consistent import repointing and targeted regression tests; only minor docstring consistency nits were found.
Review details
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
scripts/ideation_dashboard/doxbench_scope_types.py:11
- The module docstring says the scope types “carry no staging vocabulary”, but
ScopeKey.__post_init__validatestile_kindagainstSCOPE_KINDSin this same module (i.e., there is an explicit vocabulary/domain). This sentence reads as internally contradictory and could mislead future readers about what is actually enforced here.
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Lite
Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012LiNG5Ume1boEfxSNeCmpu
There was a problem hiding this comment.
🟢 Approval recommended
The refactor appears behavior-preserving with coverage added; remaining findings are minor docstring consistency nits.
Review details
Suppressed comments (2)
Previously missed (2) — in code that hasn't changed since the last review.
scripts/ideation_dashboard/doxbench_scope_types.py:11
- The module docstring says these types “carry no staging vocabulary”, but this module defines and enforces
SCOPE_KINDSviaScopeKey.__post_init__. SinceSCOPE_KINDSis explicitly discussed later in the docstring, this earlier sentence reads internally inconsistent; tightening the wording here will prevent confusion.
tests/ideation-dashboard/test_scope_column_split.py:86 - This docstring hard-codes that the package uses the
from . import Xspelling “forty times”, but a quick count inscripts/ideation_dashboard/currently finds 46 occurrences. This kind of exact count will drift over time and can mislead future readers; consider using non-numeric wording (or update the number if you want to keep it exact).
- Files reviewed: 6/6 changed files
- Comments generated: 0 new
- Review effort level: Lite
…S-1/S-3, and true-up lens_submission's docstring after B-1; B-2's relocation measured and held for a ruling (split-opendox § 3.1) (#848) The owed line-citation refresh after the § 3.1 pre-carve splits, sequenced before the carve manifest because every manifest row carries a sha256 — on Brett Heap's word "merge 848 when green" (2026-09-09). Prose only; every changed file's AST (docstrings stripped) is identical to main. - Eight citation numbers across four files (`scripts/ideation_dashboard/serve_wire.py`, `tests/ideation-dashboard/test_doxbench_abstract_route.py`, `test_doxbench_scope.py`, `test_doxbench_turns.py`) refreshed to the symbols' locations after S-1 (#837, −71 lines in `doxbench_scope.py`) and S-3 (#835); one historical S-3 citation and three archived-change hits correctly left; the `staging-workbench-model.js` citation family is out of scope. - `lens_submission.py:36-38`'s docstring trued up after OQ-B B-1 (#843: `human_seen` reads `slug` from the neutral `scripts/path_slug.py`). - B-2's relocation was measured and HELD for a ruling, not performed: `hosted_ref_refused` reaches `snapshot_registry` (openXdox) and cannot be neutral; the recommended home (i′) is `serve_projection.py` beside `hosted_index`, which keeps the serve-surface location pin green with no test edits (verified). The three string constants take the neutral module when B-2 is ruled. - Independent verification PASS WITH NOTES (8/8 citations exact by three instruments); body corrections taken. Landed after the estate freeze lifted (required `pytest-suite` red on every openxFactory PR since the codexFactory org transfer until #801 repointed the pinned-core token); the advisory `merge-master-approval` red of the same cause is disclosed, not a finding against this change. Refs #656 (stays OPEN). Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Refs #656
Pre-carve split S-1 (
split-opendox-two-layer-product§ 3.1, scout memo § 4).A mechanical relocation inside
openxFactory: no behaviour change, nopublic-name change, no signature change. Base
56e69a11c59d473da23eab455cb9848dc083fac3.Why
§ 3.1's carve manifest files every path with exactly ONE disposition and a
sha256.doxbench_scope.py(841 lines) holds two columns: the five FROZENvalue types are openDox, the ownership authority that produces them
(
resolve_scope, registry-root confinement, editable classification, thesection vocabulary) is openXdox. A file whose halves belong to two columns
cannot be filed at all. This split moves the openDox half into its own module
now, so the carve is later a pure per-file move.
What moved
scripts/ideation_dashboard/doxbench_scope.py:61-146at56e69a11ScopeConfinementError,ScopeKey,ScopeDocument,ScopeSection,ScopeProjectionsha256of the moved text, BEFOREb6c99693fb31c14a81079569d14c06a4561e7587933ddd226628cb867e157e3dsha256of the moved text, AFTER (doxbench_scope_types.py:53-138)b6c99693fb31c14a81079569d14c06a4561e7587933ddd226628cb867e157e3dscripts/ideation_dashboard/doxbench_scope_types.py, column oDByte-identical. The memo measured
:61-148atd758a6df; re-measured atthis base the five classes are
:61-146(147-148 are the two blank lines thatseparate them from
def _mapping, left behind as the separator). No other drift.SCOPE_KINDStravelled with the types — the one column call this PR makesdoxbench_scope.py:16(SCOPE_KINDS = ("cluster", "possible", "staged"), 47bytes) moved to
doxbench_scope_types.py:50. The brief and memo § 2.4 (b) bothplace it in the openXdox half, so this is a deliberate departure, flagged for
the manifest author.
ScopeKey.__post_init__(:77,:79at base)validates
tile_kindagainst it, so it is the frozen type's own value domain.The three alternatives were: import it back from
doxbench_scope(a cycle, andthe brief forbids it), duplicate the tuple (a co-authoritative constant, the
pattern this repository repairs everywhere else), or inject it at import time
(inventing a design). Measured before deciding:
doxbench_scope.SCOPE_KINDShas no reader in the tree other than the moved class — every other
SCOPE_KINDSunderscripts/andtests/isbranch_session.SCOPE_KINDS, adifferent tuple with different spellings (
staged-topic/cluster/possible).doxbench_scopere-exports it, sodoxbench_scope.SCOPE_KINDSstill resolves.Say the word and it can go back the other way, but not without one of the three
costs above.
Independent verifier's disposition (round 2): confirmed the memo's
assignment was right — the tuple is tuned funnel/wheel vocabulary, not generic
scope shape — and recommended landing this PR as-is rather than blocking on
it. Landed on that recommendation; the column-pure fix (a behaviour change, its
own packet) is filed as the successor, #838.
Cross-column import edges, AST-measured
Method: for every module under
scripts/ideation_dashboard/, every importnaming a sibling module, in all FIVE spellings the package uses —
from ideation_dashboard.X import,from scripts.ideation_dashboard.X import,from ideation_dashboard import X,from .X import, andfrom . import X(the fifth parses with
module=Noneand was missed by the first version of thisscan; Copilot caught the same hole in the shipped test, fixed in
20b784d0).A yielded name is kept only when a sibling module of that name exists, because
from . import GENERATOR_VERSIONnames a re-export, not a module. Lazyfunction-local imports are counted like module-level ones. Modules are tagged by
memo § 2.2's column table for all 60, with memo § 4's post-split columns for the
four
splitfiles andcore= the residue that splits BY FUNCTION (serve,cli,workbench,authoring).The three removed edges, named:
doxbench_packet.py:78from ideation_dashboard.doxbench_scope import ScopeKey, ScopeProjectiondoxbench_telemetry.py:46from ideation_dashboard.doxbench_scope import ScopeKeydoxbench_turns.py:58from ideation_dashboard.doxbench_scope import ScopeKey, ScopeProjectionEach becomes the same statement against
doxbench_scope_types. Alphabeticalimport order holds in all three (
doxbench_scope_typessorts beforedoxbench_telemetryanddoxbench_threads).The one added edge is the point, not a cost.
doxbench_scope(oXd) nowimports
doxbench_scope_types(oD). openXdox pins openDox and never the reverse(
design.mdD3a, RULING OQ-2), so this direction is lawful where the three itreplaced were not. Net cross-column statements 41 -> 39 across the six column-to-column rows.
Residual, recorded for the manifest author, NOT fixed here:
serve_workbench.pyis openDox and keeps four lazydoxbench_scopeimports(
:346,:543,:1664,:2606). It reaches the AUTHORITY as well as the types—
is_live_session_ref,resolve_scope,session_created_paths_for_scope—and imports the module object rather than names, so per the brief the mixed
import was left whole.
:543's block happens to use onlyScopeKeyand could berepointed on its own; that would remove one statement and no module-pair, so it
was left alone as the smaller-diff call. The memo's "4 of the 14 oD->oXd edges"
resolves to 3 by this method,
serve_workbenchbeing the fourth reader andnot cleanly repointable.
Against memo § 2.3 (oD->oXd 14, oXd->oD 15): the corrected scan measures 15
and 17 at this base — close, and the residual gap is what you would expect from
28 commits of drift since
d758a6dfplus acorebucket whose membership thememo does not publish. The first version of this table (understated, 12 and 11)
was the bug Copilot found. The manifest author should re-derive the absolute
figures at the carve commit regardless; what this PR asserts is the BEFORE/AFTER
delta under one stated method, and that is -3 either way.
Every non-relocation line change
doxbench_scope_types.py:1-43— new header docstring, in the style ofserve_wire.py's: names the column (oD), the split (S-1), whatstayed behind and why, why
SCOPE_KINDStravelled, and D12's absolute-importrule.
doxbench_scope_types.py:45,47,48—from __future__ import annotations,from dataclasses import dataclass,from typing import Any. The only threenames the moved block needs; nothing else in
doxbench_scope.py's importblock is referenced by it.
doxbench_scope_types.py:50—SCOPE_KINDS, relocated verbatim (above).doxbench_scope.py:16-24— a 9-line comment recording the split and that there-exported names are the SAME OBJECTS.
doxbench_scope.py:25-32— the re-import:from ideation_dashboard.doxbench_scope_types import ( # noqa: F401 (re-export)with the six names. Absolute, per
serve_wire.py's D12 note and the spellingevery reader of this module already uses.
boundary.pyis the houseprecedent for the
noqa/re-export shape.doxbench_scope.py— deletions only, at the original commit: line 16(
SCOPE_KINDS) and lines 59-146 (two blank lines + the five classes); noimport line was removed then. This round removes one:
dataclass— leftin place at the original commit — was a dead import once the five
@dataclass-decorated classes moved (its only occurrence); line 12 is nowdeleted too (verifier's D1).
Any,Iterable,Mapping,Sequence,Pathand
PurePosixPathstill have readers in the remaining 769 lines (checked).doxbench_packet.py:78,doxbench_telemetry.py:46,doxbench_turns.py:58—one word each,
doxbench_scope->doxbench_scope_types.tests/ideation-dashboard/test_scope_column_split.py— new, 164 lines, 6tests (below), including
20b784d0's scanner fix from Copilot's round.doxbench_scope.py:12: removedthe dead
from dataclasses import dataclassimport (item 6, above).tests/ideation-dashboard/test_scope_column_split.pydocstrings: "forty-oddlanded test modules" corrected to the measured 13 landed test modules (26
import statements); "All four spellings" corrected to "All five
spellings" (
:83's own docstring already said FIVE) — Copilot round 2'sopen finding.
doxbench_scope_types.py:39-42: the header's invocation note narrowed froma package-wide claim ("modules in this package use ABSOLUTE imports") to
THIS module only, matching the note it was adapted from
(
serve_wire.py:53-54). Measured false as a package-wide rule: 16 of 61modules use relative imports, and
design.mdD12 states no such rule.tests/ideation-dashboard/test_scope_column_split.py:141:test_types_module_is_the_bottom_of_the_scope_graph's docstring correctedfrom "by any of the four spellings" to "by any of the five spellings" (the
module header and
_sibling_modulesalready said five) — Copilot round 3'sopen finding.
Nothing else was renamed, reordered or reformatted.
doxbench_scope.py841 -> 770 lines after the split, 769 after this round's dead-import
removal;
doxbench_scope_types.py138.Public surface
doxbench_scopere-exports all six names as the same objects, so everylanded importer keeps working unmodified: 13 test modules (26 import
statements), the four lazy
serve_workbenchimports, and prose references inserve_wire.py:606-607,serve_workbench.py:322-341,doxbench_binding.py:54andweb/views/staging-workbench-model.js:372,384(all still true — they namedoxbench_scope._projectionand the authority half, which did not move).No test import was repointed, and none needed to be:
tests/reaches thetypes through
doxbench_scopeand the re-export keeps that valid. Which testfiles are openDox-column is OQ-G, which is unruled, so nothing there was
pre-judged.
Tests
python3 -m pytest -q tests/ideation-dashboard— 5099 passed, 31 skipped, 1failed in 691s. The one failure is
test_snapshot.py::test_find_validator_locates_pinned_checkout, pre-existingand environmental: it fails identically on a clean detached worktree at base
56e69a11(verified in a separate worktree), because the validator walkexpects a sibling checkout layout a
/tmpworktree does not have. Unrelated tothis change.
python3 -m pytest -q tests/doc-health tests/corpus-adapter tests/openspec_cli_pin— 1878 passed (the suites that police an import DIRECTION).
tests/ideation-dashboard/test_scope_column_split.py, 6 tests, allpassing. Three parametrized cases assert the removed edge stays removed with a
non-vacuity floor (each module must still import
doxbench_scope_types, so thesweep cannot lose its subject); one asserts
doxbench_scope_typesimportsnothing from its own package (a back-edge would be a cycle AND would restore
the edge); one asserts re-export identity with
israther than==(a copywould pass equality and break
isinstance/except ScopeConfinementError);one proves
SCOPE_KINDSis the domainScopeKeyactually validates against.It carries its own AST scanner rather than
tests/import_scan.py's, and sayswhy: that helper deliberately skips relative imports, which is right for its
question about other top-level packages and wrong for this one —
from .doxbench_scope import ScopeKeynames no top-level package and is exactlythe edge this file exists to catch.
from . import doxbench_scopetodoxbench_telemetry.pyleaves the firstversion of the scanner green and turns the fixed one red; the tree was restored
and re-run clean.
pytest-suitePASSES at head20b784d0(22m23s), and allnine checks are green (
clearing-dispatch-gate,lane-line,merge-master-approval,openreposhape-pin,openspec-cli-pin,pytest-suite,release-tag-gate,signed-execution-chain-gate,wallet-validation). A local whole-suite run was started too and was stillgoing well past the 15-minute mark, so it was stopped once CI — which runs it
in the supported environment and does not carry the worktree-layout artefact
above — had answered the same question.
Doc-health parity
python3 scripts/proposal-support.py . verify—proposal support verification ok, exit 0, at base and at head.python3 scripts/doc-health.py --single-repo .— exit 0 and 92 findings at base, 92 at head, with anidentical severity x family distribution (6 critical ratified-provenance, 4
critical record-immutability, 1 error release-inventory-drift, 4 error
status-validity, 4 error tag-hygiene, 1 info document-catalog, 2 info
ideation-routing, 9 info modified-block-currency, 2 info release-inventory-drift,
1 info release-tag-publication, 1 info staged-candidate-aging, 2 warning
ideation-routing, 33 warning staged-candidate-aging, 22 warning
staged-topic-template). Unchanged.
Note for the manifest author (no action here)
tests/ideation-dashboard/fixtures/doxbench_scope_cases.jsonhas two readersthat land in different legs after this split:
tests/ideation-dashboard/test_doxbench_scope.py:28(the authority's own suite)and
tests/ideation-dashboard/test_doxbench_turns.py:1025,1083. The fixturecannot travel with one destination and leave the other reader without it.
Six prose line-citations into
doxbench_scope.pyare now stale — OWED, deliberately not fixed hereRemoving 71 lines from the top of the file shifts every line below the moved
block by -71, uniformly, and six comments and docstrings cite line numbers
into that region. Measured, with the correct new numbers:
scripts/ideation_dashboard/serve_wire.py:606doxbench_scope.py:356-358:285-287scripts/ideation_dashboard/serve_wire.py:607doxbench_scope.py:390:319tests/ideation-dashboard/test_doxbench_abstract_route.py:16,379doxbench_scope.py:390:319tests/ideation-dashboard/test_doxbench_abstract_route.py:377doxbench_scope.py:356-358:285-287tests/ideation-dashboard/test_doxbench_scope.py:141,test_doxbench_turns.py:1065doxbench_scope.py:398:327tests/ideation-dashboard/test_doxbench_scope.py:188doxbench_scope.py:384:313Every cited line still exists and still says the same thing; only its number
moved. No test asserts on these numbers (they are prose), so nothing is red.
This list is complete for live prose only: three further
doxbench_scope.py:citations live in the archived change
openspec/changes/archive/2026-08-26-add-doxbench-distilled-abstract(
proposal.md:774,778,design.md:322), and under record-immutability thoseare correctly NOT refreshed here.
Why they were left. Two of the six are in
serve_wire.py, which belongs tosibling split S-3 and which this author may not touch — and S-3 removes
hosted_indexfrom that file, shifting its OWN numbers. Fixing the four testcitations while leaving the two in
serve_wire.pystale would ship a worserecord than fixing none. The correct act is one citation refresh across all
three files AFTER S-1, S-2 and S-3 have landed, when the line numbers stop
moving. Filed here so it is not discovered later as unexplained drift; happy to
do it as that single follow-up act on the word.
NOT DONE
openDox,openXdoxoropenRepoShape.docs/opendox-carve-manifest.yamlwas not created or edited;it still does not exist.
openspec/**andcontracts/**untouched — D3's columntable still states the pre-split assignment, for the manifest author to
re-measure.
.github/**untouched.text is byte-identical and the re-export binds the same objects.
human_seen.py'sfrom .workbench import slug,intent_apply_lane.py'sbranch_session.bootstrap_sessions, andserve_openxfactory_lanes.py's fourserve_wirenames are unruled and werenot read or changed.
lens.pyandserve_wire.pyuntouched — splits S-2 and S-3, sibling PRs.no workflow dispatch, no force-push, no rebase.
Asking for Brett Heap's separate word to land this.
🤖 Generated with Claude Code
https://claude.ai/code/session_012LiNG5Ume1boEfxSNeCmpu