Repository navigation
refactor: remove unreachable modules (#2774) - #2774
Conversation
Remove four unregistered modules after static imports, lazy-import registries, and CLI/MCP/API registrations showed no production reachability. The active cost and run-projection paths use their current replacements. Ref polylogue-kp4q. Co-Authored-By: Codex <[email protected]>
Regenerate the topology projection and its status summary after removing unreachable modules from the source tree. Ref polylogue-kp4q. Co-Authored-By: Codex <[email protected]>
|
Warning Review limit reached
Next review available in: 27 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a8c6d133fa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Adversarial self-review — iteration 1Findings: none. A cold independent review re-read Fixes: none required; the branch already deletes only unreachable modules and keeps the active run-projection route in Survived scrutiny: all four safe-delete verdicts, generated-topology consistency, PR claim accuracy, and the focused real-route verification. CodeRabbit is rate-limited; its comment contains no finding. GitHub Actions initialization failures remain the known account-billing infrastructure issue. |
Final acceptance-criteria matrix
Verification remains |
|
Topology closure: the diff regenerates docs/plans/topology-target.yaml and docs/topology-status.md alongside the polylogue/publication/ removal, so the projection matches the package tree. render all --check is part of the pre-push gate that this branch passed. |
Review follow-up: removing polylogue/publication/ left the publication.site closure-matrix row pointing at a missing path, which fails devtools verify closure-matrix. The domain's remaining targets (devtools pages builder/templates/renderer) still cover the realized tree. Co-Authored-By: Claude <[email protected]>
|
Correction to my earlier reply: the topology projection was regenerated, but docs/plans/test-closure-matrix.yaml was NOT — row publication.site still pointed at the deleted polylogue/publication/ and failed devtools verify closure-matrix in the local merge gate. Fixed in a3ed251 (drop the missing path; the domain's devtools pages targets remain). The bot finding was actionable and correct. |
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
Remove four literal-zero-coverage modules that have no remaining production reachability. Refresh the generated topology projection.
Problem
The coverage audit exposed fully unexecuted files. Static imports, dynamic import registries, and CLI/MCP/API registrations showed these were stale implementations, not live behavior lacking tests.
Solution
archive/semantic/outlook.py: dead; replaced by the registeredcost.outlooksurface.context/assertion_claims.py: dead after the context-image refactor.publication/__init__.py: isolated and unregistered.mappers_run_projection.py: dead; refactor(storage): share run projection relation reads #2523 moved active hydration torun_projection_relations.py.The generated topology projection and status now omit the removed paths.
Verification
nix develop --command devtools test tests/unit/insights/test_run_projection_materialization.py— 6 passed. This existing real-route test exercisessession_insight_run_projection_readsthroughrun_projection_relations; removing its active mapper/hydration path would fail it.nix develop --command devtools verify --quick— all 15 checks passed.devtools verify --quickfor each commit; all checks passed.Acceptance criteria
polylogue-kp4q: satisfied. All four files are verdictdead/delete; no untested-but-live or unwired files remained.Adversarial review notes
Ref polylogue-kp4q.