Repository navigation
Level the leg scaffold, round 2: the opendox dependency pinned to openDox-code ce53b489 and the package install in validate - #4
Conversation
openXdox imports openDox by design (runbook § 5.1, "two pin moves per
hop"), but this leg's round-1 pyproject.toml declared no dependencies
and validate.yml installed only pytest, so `import opendox` could not
resolve once leg 3's carved content lands. openDox-code hit the same
gap on its own first carved commit ("No module named 'yaml'") before
its own round 2 landed; this levels openXdox-code the same way, before
leg 3 arrives rather than after.
Adds a runtime dependency on opendox, pinned to leg 1's landed merge
commit (opensoft/openDox-code@ce53b48)
as a PEP 508 git direct reference, plus PyYAML>=6.0 -- the one
third-party name an ast walk over the 89 in-scope openxdox_code
manifest rows (under src/openxdox/ and tests/, at carve_commit
b075fd91) turns up beyond the already-declared pytest range. Moves the
round-1 pytest>=8,<9 pin into a `test` extra and has validate.yml
install `.[test]` instead of a bare pytest, mirroring openDox-code's
own round 2 (#5) shape exactly.
Scaffold files only (pyproject.toml, validate.yml) -- leg 3 itself has
not landed.
Authorized by Brett Heap, 2026-09-10: "merge openXdox-code levelling
round 2 when green" (opensoft/openXfactory#656, "HEADS-UP for LEG 3"
item 1).
Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 11 hours and 14 minutes by commenting @sourcery-ai review. Upgrade to get a review now.
Reviewer's GuideThis scaffold-only change prepares validation for the forthcoming carved content by pinning the landed openDox dependency, declaring PyYAML and the existing pytest range in Sequence diagram for package-aware validationsequenceDiagram
participant CI as Validate workflow
participant Pip as pip
participant Git as openDox-code Git repository
participant Env as Python environment
participant Pytest as pytest
CI->>Pip: install -e .[test]
Pip->>Git: resolve opendox at ce53b489f8007c37f70da19c90c95ba89156feed
Git-->>Pip: pinned opendox package
Pip->>Env: install opendox, PyYAML, pytest>=8,<9
CI->>Pytest: python -m pytest -q
Pytest->>Env: import openxdox and opendox
Env-->>Pytest: dependencies resolve
Pytest-->>CI: validation passes
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved blocking issues were identified.
Pull request overview
Prepares the scaffold for upcoming code by pinning opendox, declaring dependencies, and aligning validation.
Changes:
- Pins the
opendoxGit dependency and adds PyYAML. - Moves pytest into a test extra.
- Updates CI to install
.[test].
File summaries
| File | Summary |
|---|---|
pyproject.toml |
Declares runtime and test dependencies. |
.github/workflows/validate.yml |
Installs the package with its test extra. |
Review details
- Files reviewed: 2/2 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.




Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Refs opensoft/openXfactory#656
Brett Heap, 2026-09-10: "merge openXdox-code levelling round 2 when green" (openxFactory#656, "HEADS-UP for LEG 3" item 1, and the "LANDED — CARVE LEG 1" comment recording leg 1's merge commit).
Why
openXdox imports openDox by design (runbook § 5.1, "two pin moves per hop"). This leg's round-1
pyproject.tomldeclared no dependencies andvalidate.ymlinstalled only pytest, soimport opendoxcould not resolve once leg 3's carved content lands — the same gap that made openDox-code's own first carved commit fail its required check withNo module named 'yaml'before its round 2 landed. This levels openXdox-code the same way, before leg 3 arrives instead of after. Scaffold files only (pyproject.toml,.github/workflows/validate.yml) — nothing undersrc/openxdox/,scripts/, ortests/; leg 3 has not landed.The dependency
A PEP 508 direct reference pinned to leg 1's landed merge commit (never a range or branch, per the estate's pin convention). Leg 1's
pyproject.tomlat that commit declares[project] name = "opendox"with asrc/layout and a real[build-system](setuptools>=68), so it is pip-installable from git — proven below.Third-party set (leg-3 rows, at carve commit
b075fd91)An
astwalk over the manifest's 92openxdox_coderows, scoped to the 89 that are.pyfiles landing undersrc/openxdox/ortests/(the 90th.pyrow,scripts/validate-ideation-dashboard-contracts.py, lands at the repository root, outside both, and is excluded the same way openDox-code's own derivation scoped tosrc/opendox/+tests/only; the remaining 2 of the 92 rows are non-.pyfixtures) — collecting everyImport/ImportFromat module level and in module-levelif/try/withblocks, then partitioning againstsys.stdlib_module_names:yaml→ PyYAML — module-level in 6src/openxdox/-bound modules (gate_console.py,gate_routes.py,generator.py,kickoff.py,register.py,register_edit_lane.py) and 23 test modules. Added as a runtime dependency,PyYAML>=6.0— the same floor openDox-code's own round 2 stated (whatrequirements/hermes-runtime-contracts.lockpins:pyyaml==6.0.3).pytest— the round-1pytest>=8,<9pin, unchanged, moved into a[project.optional-dependencies] testextra sovalidate.ymlinstalls it via.[test]instead of a copy in the workflow file.No other third-party name turns up. Excluded, none of them dependencies:
conftest/session_fixtures/staging_shapes(test-tree helpers arriving as rows or declared replicas),route_extension(the neutral extension-point module of RULED Q-L1),test_doxbench_routes/test_gate_routes/test_snapshot_registry(sibling test modules imported by name) — and, on openDox-code's own precedent,ideation_dashboard(the pre-carve package name the carve's "import rewrites" retire) anddoc_health(openxFactory's own corpus machinery, a BUILD-arc cross-column reach, not a PyPI package, and not this PR's to resolve).Proof (fresh venv, this branch)
pip install -e ".[test]"resolves the git dependency:import opendoxresolves:validate.yml's steps as written, green:Lands on Brett Heap's word via the lane's gate; must land BEFORE leg 3 (openXdox-code) is carved.
🤖 Generated with Claude Code
Summary by Sourcery
Prepare the project scaffold for the next carved leg by pinning openDox, declaring required dependencies, and aligning validation with the package metadata.
Bug Fixes:
Enhancements:
CI: