Repository navigation
refactor(devtools): drop verification owner-map gates (#2177) - #2217
Conversation
Problem: #2177/#2196 identified two devtools gates that validated verification metadata rather than product behavior. The test-coverage contract blocked on file-name ownership while carrying dozens of weak exemptions, and lane-assertions now reported zero lanes while still running in the default verify path. What changed: remove both commands from the devtools catalog, default verify, evidence dashboard, generated devtools references, and their command-level tests/files. Keep ordinary coverage, pytest, mypy, rendering, topology, layering, manifest, doc-command, test-infra, and clock-hygiene gates intact. Verification: devtools test tests/unit/devtools/test_command_catalog.py tests/unit/devtools/test_render_devtools_reference.py tests/unit/devtools/test_verify.py -q; devtools verify --quick; devtools verify --seed-testmon --skip-slow; devtools verify. Ref #2177
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (10)
💤 Files with no reviewable changes (10)
📝 WalkthroughWalkthroughRemoves two devtools verify gates ( ChangesRemove verify lane-assertions and verify test-coverage-contracts gates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Summary
Remove two devtools verification gates that validated verification metadata instead of product behavior:
verify test-coverage-contractsandverify lane-assertions.Problem
#2177 and #2196 identify the same failure mode: Polylogue should keep ordinary pytest, type checks, generated user-facing surfaces, and focused behavioral checks, but it should not preserve owner-map or lane-catalog bureaucracy as correctness proof.
verify test-coverage-contractswas actively red because it matched production files to dedicated test-file names while carrying 52 weak exemptions.verify lane-assertionshad become a dead gate: it reported0 lanes, 0 vacuouswhile still running in every default verify.Solution
Delete both commands and their tests/files, remove them from
devtools verify, remove the lane assertion dashboard entry, and regeneratedocs/devtools.mdplusAGENTS.md. This keeps the real gates in place: ruff, mypy, generated surfaces, topology, layering, closure matrix, schema roundtrip, manifests, CI workflow lint, doc-command checks, test-infra currency, clock hygiene, and pytest-testmon.Verification
devtools test tests/unit/devtools/test_command_catalog.py tests/unit/devtools/test_render_devtools_reference.py tests/unit/devtools/test_verify.py -q-> 66 passed.devtools verify --quick-> exit_code 0.devtools verify --seed-testmon --skip-slow-> 11658 passed, 9 warnings; peak pytest tree RSS 3212.3 MB.devtools verify-> 85 passed; exit_code 0.devtools verify --quickat390b08ab-> exit_code 0.Ref #2177
Summary by CodeRabbit