Repository navigation
BUILD § 3.5/3.6: openDox stops requiring its consumer at import time — 4 of the 13 through a late seam, 9 owed a declared-edit ruling - #9
Conversation
…(4 of the 13, RULED 5626260214) openDox is the NEUTRAL product. openXdox pins it (split-opendox § 4.2, RULED OQ-2) and openDox pins nothing back, so a neutral openDox with no `openxdox` installed is the normal case. Thirteen module-level reaches into `openxdox` survived the carve, measured at 8e9ffa6 and ratcheted from openXdox-code. Four are removed here through a late-bound seam, `src/opendox/consumer_reach.py` — the shape openXdox-code landed for the mirror-image case in § 4.1 (bfd95063): a cached stand-in that resolves on first ATTRIBUTE access and otherwise refuses naming the layering rather than raising ModuleNotFoundError from an import line far from the call. cli.py :72 :74, serve_workbench.py :49 and workbench.py :70. Every call site is unchanged. src/opendox/workbench.py IMPORTS with no openxdox installed src/opendox/serve_workbench.py IMPORTS with no openxdox installed Nine remain, and NONE of them is blocked on judgement — each needs a line the carve manifest's row does not declare, so each is owed a declared-edit ruling and is named on the pull request rather than patched: cli.py :79 :82 multi-line `from openxdox.X import (...)`; the continuation lines (carve 80-81, 83-84) are undeclared cli.py :978 the 19-verb gate re-export; carve 980-989 undeclared serve.py :167 :170 :172 :188 serve_gate / serve_projection are MIXIN BASES of DashboardHandler (carve 626-630) and are re-exported in multi-line blocks (carve 176-177, 192-198); the composition point is carve 1380-1381. All undeclared serve.py :135, branch_session.py :77 DELIBERATELY NOT CONVERTED The last two are the finding of this slice. Both modules evaluate `<consumer module>.<CONSTANT>` as a DEFAULT ARGUMENT — branch_session at 7 sites, serve at 2 — which runs when the `def` executes, i.e. at import time. Rewriting the import alone would lower openXdox-code's AST census by one while the module still could not be imported without openXdox: the reach would stop being an Import node without stopping being a reach. Both edits were made, measured, and reverted. tests/test_consumer_reach.py (16 tests) therefore asserts the property the census is a proxy for — the module IMPORTS, in a subprocess with `openxdox` blocked at the finder — plus the seam's run-time behaviour and an AST guard over defaults/annotations/decorators that would have caught the two reverts before they were made. .github/workflows/validate.yml runs it. Arrival verifier, phase B, on this branch: OK — every row figure identical to the landed baseline (123 rows / 61 digests / 61 declared-edit rows within their lines / 1 unapplied), the only movement being 132 -> 134 files and 0 -> 2 created, which are exactly the two files named with --allow-created. Refs opensoft/openXfactory#656 Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Reviewer's GuideThis slice removes four import-time openXdox dependencies by routing selected module and function references through a lazy consumer-reach seam, allowing two openDox modules to import without openXdox while preserving runtime behavior when the consumer is installed. New subprocess, AST, and seam tests enforce the actual importability property, document the nine intentionally unresolved reaches, and run in CI. Sequence diagram for lazy openXdox consumer reach resolutionsequenceDiagram
participant OpenDox as OpenDox module
participant Reach as consumer_reach
participant Importer as Python importer
participant Consumer as openXdox module
OpenDox->>Reach: access gate_console, snapshot_registry, or find_validator
Reach->>Importer: import_module(openxdox.module)
alt consumer installed
Importer->>Consumer: load module
Consumer-->>Reach: module
Reach-->>OpenDox: cached module or callable
OpenDox->>Consumer: invoke existing operation
else consumer unavailable
Importer-->>Reach: ModuleNotFoundError
Reach-->>OpenDox: ConsumerReachUnavailable
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox) The both-legs transcript — the seams pick up openXdox when it IS installedSecond venv: So no new discovery mechanism is needed: openXdox's half of both § 2.4 seams already conforms structurally and already produces One more finding, from the same transcriptBefore the
A CYCLE the transcript exposes, for whoever words the declared-edit ruling
|
There was a problem hiding this comment.
🟡 Changes recommended
Four unresolved moderate findings affect the consumer seam and test reliability.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR adds late-bound openxdox access so selected opendox modules can import independently, with new tests and CI coverage.
Changes:
- Adds cached module and callable consumer proxies.
- Defers selected CLI, workbench, and serving dependencies.
- Adds import-isolation and dependency-census tests.
- Runs the new tests in CI.
File summaries
| File | Summary and review notes |
|---|---|
tests/test_consumer_reach.py |
Adds isolation and census tests. Three moderate findings remain: validate blocked-import failures specifically (3 votes), clean up fake parent packages (2 votes), and traverse nested import-time statements (1 vote). |
src/opendox/workbench.py |
Defers validator resolution through the consumer seam. |
src/opendox/serve_workbench.py |
Defers snapshot registry resolution. |
src/opendox/consumer_reach.py |
Adds late-bound consumer access. One moderate finding (2 votes): the documented extension-point alternative does not inject the required capabilities. |
src/opendox/cli.py |
Defers gate and snapshot module resolution. |
.github/workflows/validate.yml |
Runs the consumer-reach validation suite. |
Review details
Suppressed comments (1)
tests/test_consumer_reach.py:335
ast.iter_child_nodes(tree)visits only directModulechildren, so anideation_dashboardimport inside a module-levelif,try,with, or class body is not counted even though it executes during module import. This guard can therefore report the expected census while a new pre-carve import still breaks neutrality; traverse import-time statement bodies while excluding function bodies.
for node in ast.iter_child_nodes(tree):
if isinstance(node, ast.ImportFrom) and not node.level and \
(node.module or "").split(".")[0] == "ideation_dashboard":
seen[rel] = seen.get(rel, 0) + 1
elif isinstance(node, ast.Import) and any(
a.name.split(".")[0] == "ideation_dashboard" for a in node.names):
seen[rel] = seen.get(rel, 0) + 1
- Files reviewed: 6/6 changed files
- Comments generated: 3
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
Hey - I've found 2 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="tests/test_consumer_reach.py" line_range="127" />
<code_context>
+ is what stops the list above from silently becoming a list of two.
+ """
+ done = _import_in_subprocess(module, consumer_blocked=True)
+ assert done.returncode != 0, (
+ f"`import {module}` now SUCCEEDS with no `openxdox` — good, and the "
+ f"record in this file is out of date. Move {module!r} from "
</code_context>
<issue_to_address>
**issue (testing):** `test_the_reaching_modules_are_recorded_as_reaching` passes for any import failure, not specifically a failure caused by the recorded `openxdox` reach. A later regression such as a syntax error, missing unrelated dependency, or broken local import therefore leaves this test green while the census claim is no longer true.
**Triggers:** When one of the modules in `STILL_REACHING` becomes broken for a reason unrelated to the consumer dependency.
**Suggested fix:** Assert that stderr contains the expected `openxdox` failure or inspect the traceback/module name instead of checking only that the return code is nonzero.
```suggestion
assert done.returncode != 0 and "openxdox" in done.stderr, (
```
</issue_to_address>
### Comment 2
<location path="tests/test_consumer_reach.py" line_range="201-209" />
<code_context>
+
+ original = consumer_reach.importlib.import_module
+ consumer_reach.importlib.import_module = _raise
+ try:
+ with pytest.raises(ModuleNotFoundError) as caught:
+ reach.anything
+ finally:
+ consumer_reach.importlib.import_module = original
+ assert caught.value is broken
+ assert not isinstance(caught.value, consumer_reach.ConsumerReachUnavailable)
+
+
+def test_resolution_forwards_to_the_real_module_and_caches(tmp_path: Path) -> None:
</code_context>
<issue_to_address>
**issue (bug_risk):** `test_resolution_forwards_to_the_real_module_and_caches` installs a synthetic `sys.modules["openxdox"]` parent but removes only `openxdox.pretend`; when the real consumer is absent, the fake parent remains in the pytest process and can mask a subsequently installed or injected `openxdox` package for later tests.
**Triggers:** When `openxdox` is absent during this test and a later test imports or simulates the consumer package in the same process.
**Suggested fix:** Save the prior `openxdox` and `openxdox.pretend` entries and restore both in `finally`, deleting the synthetic parent when the test created it.
</issue_to_address>Sourcery assessment
Approval pending. 2 findings to address first.
Blocking findings: tests/test_consumer_reach.py:127, tests/test_consumer_reach.py:209
1. THE REFUSAL POINTED AT A REMEDY THAT IS NOT ONE. `ConsumerReachUnavailable`
told a caller to "assemble a server that contributes this capability
through the § 2.4 extension points". It cannot:
`build_server(route_extensions=)` contributes route bindings and
`build_parser(subcommand_extensions=)` contributes subcommands, and neither
injects a MODULE — so a caller who followed the message arrived back at the
same refusal. The message now says the remedy is to install openXdox AND
ONLY THAT today, says why the extension points are not an alternative, and
names the injection that would remove the reach as work that does not exist
yet (§ 3.5/3.6, § 4.3).
2. A NONZERO EXIT WAS BEING READ AS "STILL REACHES THE CONSUMER".
test_the_reaching_modules_are_recorded_as_reaching accepted any failing
subprocess, so a syntax error or an unrelated missing dependency would have
sat in STILL_REACHING forever, green, while masking a real defect. The
failure must now be an ImportError/ModuleNotFoundError whose last line
names `openxdox`. Perturbation-proved by recording a module made to fail on
`import no_such_dependency`:
AssertionError: `import opendox.doxbench_bridge` raised an import error
naming something other than the blocked consumer — a real missing
dependency, not a layering edge
3. THE FAKE `openxdox` PARENT LEAKED INTO THE REST OF THE PROCESS.
test_resolution_forwards_to_the_real_module_and_caches created it with
`sys.modules.setdefault` and removed only the submodule, so every later
test saw an importable empty package. Tracked and removed now. The
observable difference, reproduced:
baseline ModuleNotFoundError: No module named 'openxdox'
after the test, no cleanup `import openxdox` SUCCEEDED -> <module 'openxdox'>
after the cleanup ModuleNotFoundError: No module named 'openxdox'
Disclosed: this leak did NOT turn any test in this file red, because the
only later reaches are to SUBMODULES and an empty parent refuses those the
same way an absent one does. It is hygiene for whatever is collected next
— `tests/test_workbench.py` when its collect_ignore entry comes out — not a
bug this file was hiding.
python -m pytest -q tests/test_leg_shape.py tests/test_consumer_reach.py --noconftest
28 passed
Arrival verifier, phase B, re-run on the amended tree: OK, reproducing the
same line byte for byte.
Refs opensoft/openXfactory#656
Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
There was a problem hiding this comment.
🔵 Needs a closer look
Moderate findings remain around runtime coverage, census traversal, and exact package-name validation.
Review details
Suppressed comments (4)
Previously missed (1) — in code that hasn't changed since the last review.
tests/test_consumer_reach.py:353
- This census only examines direct children of the module. An
importnested in a module-levelif,try,with, or class body also executes during import but is skipped here, so a newideation_dashboardreach could be introduced without failing this guard. Traverse module-level statement bodies recursively while excluding function bodies, as_import_time_usesdoes, instead of using onlyast.iter_child_nodes(tree).
src/opendox/cli.py:75
- Neither late binding in this hunk is exercised after import:
test_consumer_reach.pytests the generic stand-in, but no selected test callscli.gate_modorcli.snapshot_mod. Sincecliremains blocked by other imports, a typo in either alias or a broken attribute forward can leave the new import checks green. Add a focused fake-consumer test that exercises the converted CLI path.
from opendox import consumer_reach # noqa: E402
gate_mod = consumer_reach.gate_console # noqa: E402
from opendox import serve as serve_mod # noqa: E402
snapshot_mod = consumer_reach.snapshot # noqa: E402
src/opendox/consumer_reach.py:191
module()promises that callers pass a name without the package prefix, but this condition rejects only dotted forms.module("openxdox", ...)is accepted and resolves toopenxdox.openxdoxinstead of failing, so the exact package name is silently misinterpreted. Reject the exact package name as well.
if name.startswith(f"{CONSUMER_PACKAGE}."):
src/opendox/workbench.py:71
- This changes the module-level
find_validatorbinding used byvalidate_manifest, but the new tests only prove thatworkbenchimports and never invoke this rebound alias. The existing workbench suite is in the root conftest's ignored set, and the new--noconftestCI command omits it, so a wrong target or forwarding regression would pass. Add a focused fake-consumer test that callsworkbench.find_validator(orvalidate_manifest) after import.
find_validator = consumer_reach.find_validator
- Files reviewed: 6/6 changed files
- Comments generated: 0 new
- Review effort level: Lite
…sole at import time `from openxdox import gate_console` (:77, declared) becomes `from .consumer_reach import gate_console` — the same NAME, bound to the late stand-in step 1 added, so all thirty-odd `gate_console.X` call sites below are unchanged and only the DIRECTION at import time goes (`design.md`:243). The nine `records_dir: str = gate_console.DEFAULT_RECORDS_DIR` DEFAULT ARGUMENTS (:1740, :1859, :1878, :4179, :4217, :4254, :4287, :4504, :4991 — the nine lines the Q-L1 row annotation declares) become `DEFAULT_RECORDS_DIR` from `opendox.defaults`. No stand-in can serve them: a default argument is evaluated where the `def` sits, at import time, which is what openDox-code #9 § 3 measured and reverted. `import opendox.branch_session` now succeeds with `openxdox` unimportable. Every edited line is one the row declares — carve 77 (replaced by the import plus its reason) and the nine annotated default lines; the arrival verifier reports no undeclared line. Refs opensoft/openXfactory#656 Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…f1f2e5 This PR was STACKED on `build/remove-back-imports-2b`; that branch landed as openDox-code #10, squashed onto `main` as `0f1f2e59`. The stack therefore had to be brought onto `main` before the ruled serve.py half (ASK-6 -> 1) could be authored against the file main actually carries. A REBASE was the intended act and IS what fixes this tree: `git rebase --onto origin/main cc1d806 build/section-4-3-profile-lazy-proxy` replayed all seven § 4.3 commits with ZERO conflicts and produced a diff against `main` that is BYTE-IDENTICAL to the pre-rebase diff against `cc1d806b` — proof that main's squash of 2b and this branch's 2b ancestry are the same content, and that § 4.3 touches nothing 2b left unsettled. It could not be PUSHED as a rebase. The `opensoft` org-level ruleset 8981805 applies `non_fast_forward` to EVERY branch of this repository, not just `main`, so history replacement is refused for this branch by policy (`GH013 ... Cannot force-push to this branch`). The lane's permitted single force is unavailable, and bypassing an org ruleset is not this author's act. So the same result arrives append-only: this is `main` merged INTO the branch, with the merge resolved to EXACTLY the verified rebase's tree (`16cf0c43` = `ef67c83`^{tree}, the rebase head's tree). The two conflicted files — `src/opendox/cli.py` and `tests/test_consumer_reach.py`, the two the § 4.3 commits edit on top of 2b — take the rebase's resolution, which is main's 2b shape with the § 4.3 intent re-applied on top, because that is what the conflict-free rebase computed. `git diff origin/main...HEAD` is unchanged by this commit. Landing is unaffected: #9 and #10 both landed as SQUASHES (`da8aae96`, `0f1f2e59`), so the merge commit and the duplicated 2b ancestry do not reach `main` — the squash carries this tree and nothing else. Lane: openxfactory-4-opendox-extraction Refs opensoft/openXfactory#656 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>



Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
BUILD slice 2 of
split-opendox-two-layer-product, on Brett Heap's rulings of 2026-09-10 22:4xZ (opensoft/openXfactory#656 comment5626260214): "BUILD arc: START NOW, land each slice when green" and "§ 4.1 … land on green; 4.2–4.5 follow". It takes the openDox half of § 4.1's second failing clause, named on the § 4.1 LANDED note (5627156620).Refs opensoft/openXfactory#656
1. The claim, in one line
Four of the thirteen import-time
openxdoxreaches are gone, and two modules of this package now import with noopenxdoxinstalled. The other nine are each blocked on a line the carve manifest does not declare, and are named below rather than patched.8e9ffa62)openxdoxreaches undersrc/openxdoxinstalledPer module, which is the grain openXdox-code's ratchet reads:
opendox/branch_session.pyopendox/cli.pyopendox/serve.pyopendox/serve_project.pyopendox/serve_workbench.pyopendox/workbench.pyThe companion pull request at openXdox-code lowers
OPENDOX_BACK_IMPORTSto exactly that, in the same act, because the ratchet refuses an unrecorded fall.2. The mechanism, and why it is two mechanisms and not one
design.md:243 states the standard in a sentence: "What must not survive is the direction, not the calls." The thirteen split cleanly into two classes, and the packet gives each its own answer.(a) CONTRIBUTIONS — the § 2.4 extension points. A route or a subcommand openXdox contributes travels through
route_extension.RouteBindingandsubcommand_extension.SubcommandExtension. This repository already declares both seams (serve.build_server(route_extensions=…),cli.build_parser(subcommand_extensions=…), tasks.md § 2.4) and openXdox-code already supplies its half (serve_gate.routes(),serve_projection.routes(),cli_gate.GateSubcommands.register()). No new discovery machinery is needed or added:build_parser's own docstring already names the act — "It is also the one line the § 3 carve deletes rather than moves: afterwards the core names no profile and openXdox declares its own." That line isprofile_openxfactory.SUBCOMMAND_EXTENSIONS/.ROUTE_EXTENSIONS, and deleting it is blocked on undeclared lines — see § 4. So no entry-point group, no registration hook and noextensions=parameter is invented here: the smallest mechanism is the one already in the tree, and what it is waiting on is a ruling, not a design.(b) LIBRARY REACHES — a late-bound stand-in. A neutral verb of openDox that CALLS a function living in openXdox's column is the class
design.md:243 permits to survive.src/opendox/consumer_reach.py(CREATED, no manifest row, RULED OQ-C) makes those reaches late: a cached stand-in that resolves on first ATTRIBUTE access and otherwise raisesConsumerReachUnavailablenaming the layering. This is not a new invention either — it is the shape openXdox-code landed for the mirror-image case eight hours ago in § 4.1 (src/openxdox/consumer_reach.py,bfd95063), reviewed and fix-rounded there, including the narrowModuleNotFoundError-by-name handling that keeps a broken consumer from being reported as a layering fault.Four sites, each a one-line-for-one-line conversion inside its row's declared lines, every call site unchanged:
cli.py:72from openxdox import gate_console as gate_modgate_mod = consumer_reach.gate_consolecli.py:74from openxdox import snapshot as snapshot_modsnapshot_mod = consumer_reach.snapshotserve_workbench.py:49from openxdox import snapshot_registry as registry_modregistry_mod = consumer_reach.snapshot_registryworkbench.py:70from openxdox.snapshot import find_validatorfind_validator = consumer_reach.find_validatorThe last one is a
from … import <function>site, so the seam also carries a late CALLABLE (consumer_reach.function) — the call site still spells a barefind_validator(...).3. THE FINDING — two conversions were made, measured, and REVERTED
serve.py:135andbranch_session.py:77are single declared lines and convert cleanly. They are deliberately not in this pull request.A default argument is evaluated when the
defexecutes, which is at import time.branch_session.pyhas 7 such sites andserve.pyhas 2 (registry_mod.DEFAULT_INDEX_NAME,registry_mod.PEEK_TTL_SECONDS, lines 1280/1284). Converting the import alone leaves the module resolvingopenxdoxat import time through the stand-in — proved on this branch before the revert:openXdox-code's ratchet cannot see this.
OPENDOX_BACK_IMPORTSis an AST census overast.Import/ast.ImportFromnodes; a default-argument reach is neither. So the conversion would have lowered the recorded census by two —branch_sessionall the way to(0, 7), the reading "this module no longer imports openXdox at all" — whileimport opendox.branch_sessionstill failed without it. A census that reads better than the tree is worse than no census, so the edits were reverted and the sites are listed in § 4 with the others.Two consequences, both acted on:
tests/test_consumer_reach.pyimports each module in a subprocess withopenxdoxblocked at the finder and requires exit 0.test_a_converted_name_is_never_used_at_import_time) walks defaults, annotations, decorators and class bodies for reads of a converted name — the guard that would have caught both reverts before they were made. It is not offered as a fix to the openXdox-side ratchet, which is correct for what it measures; it is the gap named so § 4.1's owner can decide.4. The nine that remain — every one blocked on an UNDECLARED LINE
docs/opendox-carve-manifest.yamlgives each of these files amoved_with_declared_editrow bounding edits to named CARVE-COMMIT lines, andscripts/verify-carve-arrival.py --phase Benforces it. Areplaceopcode touching an undeclared carve line refuses; an insertion is lawful only beside a declared one. Every one of the thirteen import-time reaches sits ON a declared line — but nine of them cannot be removed without also touching a line that is not.cli.py:79from openxdox.corpus_root import (cli.py:82from openxdox.generator import (cli.py:978the 19-verb gate re-exportserve.py:167serve_gate,:170serve_projectionDashboardHandlerserve.py:172,:188the two name re-export blocksprofile_openxfactory.ROUTE_EXTENSIONSserve.py:135,branch_session.py:77branch_session1740, 1859, 1878, 4179, 4217, 4254, 4287, 4504, 4991;serve1283, 1287So this lane owes Brett Heap a declared-edit ruling, not a patch. The question is narrow and it is the same question for all nine: may a post-carve BUILD-arc change edit a
moved_with_declared_editrow outside its declared lines, and if so under what record? The § 4.1 pull request framed it the other way round — "The fix needs no line outside a declared range, so no manifest question arises" — which is the first half of the same rule. Nothing here presumes the answer.Two smaller things fall out of the same table, recorded for whoever words that ruling:
serve.pyalso reaches the PRE-CARVE package twice at import time —from ideation_dashboard import serve_openxfactory_lanes(:168) and its name block (:175).serve_openxfactory_lanesis astays_openxfactory_adapterrow under RULING DQ-1, present at NEITHER destination, so the carve'simport rewritesclass had nothing lawful to rewrite it to. It is the identical defect class § 4.1 fixed on the openXdox side (cli_gate.py:49→human_seen), and it is blocked by the identical undeclared lines. Recorded as a census intest_no_module_under_src_names_the_pre_carve_package_at_import_time, which refuses a rise.cli.py:914andserve.py:1376still nameprofile_openxfactory, which exists nowhere in the carved estate — sobuild_parser()andbuild_server()raiseNameErrortoday, independent of anything here. That is § 4.3's box and the § 4.1 note already flags it.5. Proof
openDox imports with NO
openxdoxinstalled — fresh venv,pip install -e ".[test]", nothing else (importlib.util.find_spec('openxdox')→None):The three failures are the nine reaches of § 4, and they fail on the ORIGINAL import statements — nothing here converted a hard failure into a quiet one.
The seams pick up openXdox when it IS installed — second venv carrying both legs; see the comment thread on this pull request for the transcript.
This repository's own gate, exactly as CI runs it:
FLOOR PART 1, the arrival verifier, phase B, on this branch:
Against the line leg 1 landed on, every row figure is identical —
123 / 61 / 61 / 1 unapplied— and the only movement is132 → 134 file(s)and0 → 2 created, which are exactly the two created files, each named on the command line:No row was edited outside its declared lines, which is what § 4 is about: the edits that WOULD have been are not in this branch.
7. Fix round 1 — five review findings over three defects, all taken (
551ad4d5)Two reviewers found the same two test defects independently; all five threads are answered and resolved.
ConsumerReachUnavailabletold the caller to use the § 2.4 extension points; they contribute route bindings and subcommands and cannot inject a MODULE, so a caller who followed the message arrived back at the same refusal. It now says the remedy is to install openXdox and only that today, says why the extension points are not an alternative, and names the injection that would remove the reach as work that does not exist yet. No capability-injection API was invented here — that is the design fix, § 3.5/3.6 / § 4.3, and not this slice's to choose.STILL_REACHINGwould have stayed green on a syntax error or an unrelated missing dependency, masking a defect in the half of the file nobody looks at. The failure must now be anImportError/ModuleNotFoundErrorwhose LAST line namesopenxdox— two clauses, because aSyntaxErrorcarries no module name to match on. Perturbation-proved on a module made to fail withimport no_such_dependency.openxdoxparent leaked into the rest of the process. Tracked and removed now. Reproduced first —import openxdoxSUCCEEDED after the test without the cleanup and raisesModuleNotFoundErrorwith it. Disclosed: removing the cleanup again still passes 16/16, because every later reach in this file is to a SUBMODULE and an empty parent refuses those as an absent one does; this is hygiene for what is collected next, not a bug the suite was hiding.The arrival verifier was re-run on the amended tree and reproduces the same OK line byte for byte.
8. What this pull request does not touch
No manifest, no pin, no gitlink, no
openspec/changes/, nothing in openxFactory. Nomoved_verbatimrow.conftest.py'scollect_ignorelist is unchanged: the two suites it names forworkbench(tests/test_workbench.py) reach openXdox at RUN time as well as import time, so un-ignoring them is a slice of its own.🤖 Generated with Claude Code