Repository navigation
fix(distribution): remove devtools absence sentinels - #704
Conversation
The distribution verifier now proves the supported runtime wheel surface: build metadata, the polylogue/polylogued/polylogue-mcp entrypoints, and wheel/sdist install smokes. It no longer carries permanent negative checks for a devtools package, console script, import, or installed binary. Ref #593
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThe pull request removes enforcement that ChangesDevtools Distribution Availability
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
✨ 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. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
Polylogue Proof PackRefs: Affected Domains
Additional routed domains with zero affected claims
Focused Gates
Required PR Gates
Optional Confidence Gates
Known Gaps
Additional gaps in zero-claim routed domains
Oracle / Cost
|
There was a problem hiding this comment.
Pull request overview
This PR aligns the distribution verification gate with the settled packaging boundary from #593/#691 by removing name-specific “devtools absence” sentinels, focusing the gate on proving the supported runtime surface of shipped artifacts.
Changes:
- Simplifies
verify-distribution-surfaceto assert required runtime entrypoints and embedded build metadata, without rejectingdevtoolsartifacts by name. - Removes corresponding unit tests that enforced “devtools must be absent” constraints.
- Updates Nix smoke check and distribution coverage documentation/command catalog wording to match the simplified verification scope.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
devtools/verify_distribution_surface.py |
Removes wheel/installed checks that explicitly reject devtools package/scripts; keeps required runtime smoke + build metadata assertions. |
tests/unit/devtools/test_verify_distribution_surface.py |
Drops tests and assertions that encoded devtools absence as a permanent sentinel. |
flake.nix |
Removes Nix smoke assertion that devtools is not on PATH. |
docs/plans/distribution-coverage.yaml |
Updates coverage notes to describe the runtime smoke scope without “devtools absence” language. |
devtools/command_catalog.py |
Simplifies the command’s “use_when” description to match the updated distribution gate behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Remove the extra negative devtools absence checks from the distribution verifier and related docs. Problem: #593 already has a settled decision that devtools are source-checkout-only. The build metadata and package configuration encode the supported wheel surface. The verifier had grown beyond that into permanent anti-reintroduction sentinels that rejected a devtools package, console script, installed binary, or import. Solution: the distribution gate now proves only the supported runtime surface: wheel/sdist build, embedded build metadata, and installed smokes for polylogue, polylogued, polylogue-mcp, and python -m polylogue. The equivalent Nix smoke and command-catalog/coverage wording were simplified to match. Verification: - pytest -q tests/unit/devtools/test_verify_distribution_surface.py tests/unit/devtools/test_command_catalog.py → 7 passed - devtools verify-manifests → passed - devtools render-all --check → passed - devtools render-verification-catalog --check → passed - devtools proof-pack --path devtools/verify_distribution_surface.py --path tests/unit/devtools/test_verify_distribution_surface.py --path flake.nix --path docs/plans/distribution-coverage.yaml --path devtools/command_catalog.py --markdown --check → passed - devtools verify-distribution-surface --work-dir .local/distribution-surface-check → ok - devtools verify --quick → all checks passed Ref #593
Summary
Remove the extra negative devtools absence checks from the distribution verifier and related docs.
Problem
#593 already has a settled decision: devtools are source-checkout-only. The build metadata and package configuration encode the supported wheel surface. The verifier had grown beyond that into permanent anti-reintroduction sentinels that rejected a devtools package, console script, installed binary, or import. That kind of name-specific negative guard was not intended.
Solution
The distribution gate now proves only the supported runtime surface: wheel/sdist build, embedded build metadata, and installed smokes for
polylogue,polylogued,polylogue-mcp, andpython -m polylogue. The equivalent Nix smoke and command-catalog/coverage wording were simplified to match.Verification
pytest -q tests/unit/devtools/test_verify_distribution_surface.py tests/unit/devtools/test_command_catalog.py→ 7 passeddevtools verify-manifests→ passeddevtools render-all --check→ passeddevtools render-verification-catalog --check→ passeddevtools proof-pack --path devtools/verify_distribution_surface.py --path tests/unit/devtools/test_verify_distribution_surface.py --path flake.nix --path docs/plans/distribution-coverage.yaml --path devtools/command_catalog.py --markdown --check→ passeddevtools verify-distribution-surface --work-dir .local/distribution-surface-check→ okdevtools verify --quick→ all checks passedRef #593
Summary by CodeRabbit
Release Notes
Bug Fixes
Documentation