Repository navigation
feat(devtools): migration-completeness manifest - #451
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 43 minutes and 15 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ 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: 4aa079a2ee
ℹ️ 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".
d02238a to
2062796
Compare
Closes #434. Adds the fifth and final evidence-driven structural lint after #429 (topology), #435 (file-size), and #437 (test-ownership). Verifies that named retirement migrations actually delete what they claim to delete. - docs/plans/migrations.yaml: declarative list of named migrations, each with must_vanish_paths, must_vanish_cli_commands, must_vanish_devtools_commands, forbidden_substrings, and accepted aliases. Seeded with the retire-audit-qa-showcase migration (#413) and a placeholder for retire-inbox-source (#409). - devtools/verify_migrations.py: subprocess + path-existence + import scan against each migration spec. Default mode is informational so landing the manifest does not gate every PR; --strict <name> promotes a specific migration to blocking once it's in flight. - Wired into devtools verify --quick alongside the other lints. Pattern reuse complete: declarative YAML + lint + tracked exceptions across topology placement (#429), file-size (#435), test-ownership (#437), and now retirement (#434). Every structural-cohesion claim the topology refactors carry is now CI-checkable. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
4aa079a to
32e174d
Compare
## Summary Closes #434. Replaces #441 (closed after the rebase chain reset). Fifth and final evidence-driven structural lint completing the pattern established by #429 (topology), #435 (file-size), #437 (test-ownership). ## Problem Retirement issues like #413 declare what must vanish in prose. Reviewers eyeball `polylogue --help` after the PR. There is no machine-checkable assertion that every targeted item has actually disappeared. ## Solution Same shape as the prior four lints: declarative YAML + a small subprocess-based lint. - **`docs/plans/migrations.yaml`**: each named migration declares `must_vanish_paths`, `must_vanish_cli_commands`, `must_vanish_devtools_commands`, `forbidden_substrings`, `accepted_aliases`. Seeded with `retire-audit-qa-showcase` (#413) and `retire-inbox-source` (#409). - **`devtools/verify_migrations.py`** (~200 LOC): file-existence + subprocess scans of `polylogue --help` and `devtools --list-commands` + forbidden-substring globs. - Default mode is informational; `--strict <name>` promotes a migration to blocking when it's in flight. - Wired into `devtools verify --quick`. ## Verification ``` $ devtools verify-migrations [info] retire-audit-qa-showcase (#413): 5 surviving surviving_paths: devtools/verify_showcase.py surviving_cli_commands: audit surviving_devtools_commands: verify-showcase [info] retire-inbox-source (#409): complete $ devtools verify-migrations --strict retire-audit-qa-showcase exit 1 # would block #413's PR until findings are resolved $ devtools verify --quick verify: all checks passed (incl. all 8 lints) $ pytest tests/unit/devtools/test_verify_migrations.py 5 passed ``` ## Pattern complete Five evidence-driven structural specifications now land: 1. **Placement** (#429): every file at a known target path. 2. **Cohesion** (#429): proposed subpackages don't have cross-cluster cycles. 3. **Size** (#435): per-file LOC budgets with sunset exceptions. 4. **Coverage** (#437): every production module imported by ≥1 unit test. 5. **Retirement** (this / #434): named migrations vanish what they claim. The pattern (declarative YAML + lint + tracked exceptions with sunset issues) is reusable for any future architectural claim. ## Stacked on Based on `feature/feat/test-ownership-manifest` (#450) → `feature/feat/file-size-budgets` (#442) → master. Merge order: #442 → #450 → this. Refs #401, #413, #429, #434, #441 (closed predecessor). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
|
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. |
|
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
Closes #434. Replaces #441 (closed after the rebase chain reset). Fifth and final evidence-driven structural lint completing the pattern established by #429 (topology), #435 (file-size), #437 (test-ownership).
Problem
Retirement issues like #413 declare what must vanish in prose. Reviewers eyeball
polylogue --helpafter the PR. There is no machine-checkable assertion that every targeted item has actually disappeared.Solution
Same shape as the prior four lints: declarative YAML + a small subprocess-based lint.
docs/plans/migrations.yaml: each named migration declaresmust_vanish_paths,must_vanish_cli_commands,must_vanish_devtools_commands,forbidden_substrings,accepted_aliases. Seeded withretire-audit-qa-showcase(refactor: retire public audit qa showcase surfaces #413) andretire-inbox-source(feat(cli): support transient input paths in run pipeline #409).devtools/verify_migrations.py(~200 LOC): file-existence + subprocess scans ofpolylogue --helpanddevtools --list-commands+ forbidden-substring globs.--strict <name>promotes a migration to blocking when it's in flight.devtools verify --quick.Verification
Pattern complete
Five evidence-driven structural specifications now land:
The pattern (declarative YAML + lint + tracked exceptions with sunset issues) is reusable for any future architectural claim.
Stacked on
Based on
feature/feat/test-ownership-manifest(#450) →feature/feat/file-size-budgets(#442) → master. Merge order: #442 → #450 → this.Refs #401, #413, #429, #434, #441 (closed predecessor).
🤖 Generated with Claude Code