Repository navigation
refactor(cli): derive origin completion descriptions from OriginSpec - #3252
Conversation
Problem: cli/shell_completion_values.py kept a hand-maintained _ORIGIN_DESCRIPTIONS inventory covering 8 of 11 origins (missing beads-issue, grok-export, unknown-export) with no parity check — flagged as a residual in PR #3250. What changed: OriginSpec gains a required display_description field (declared once per origin in origin_specs.py); the CLI completion dict is now a derivation over ORIGIN_SPECS, and a regression test pins the derived inventory to the full Origin enum. Ref polylogue-2qx.1.2 Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QUsH3Rhq6oAZpYPWcsZqnZ
|
Warning Review limit reached
Next review available in: 48 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 (3)
✨ 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: 010a645343
ℹ️ 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".
…pts (#3253); file meoz delete-detonation bug; yqeo incident note Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QUsH3Rhq6oAZpYPWcsZqnZ
|
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
Deletes the last hand-maintained per-origin description inventory (
cli/shell_completion_values.py:_ORIGIN_DESCRIPTIONS, 8 of 11 origins, no parity check) by declaring a requireddisplay_descriptiononOriginSpecand deriving the CLI completion dict fromORIGIN_SPECS.Problem
PR #3250's audit flagged this as the one remaining stale parallel origin inventory: shell completion for
--originsilently omittedbeads-issue,grok-export, andunknown-export, and nothing would catch future drift.Solution
OriginSpec.display_description(required field, declared once per origin insources/origin_specs.py)._ORIGIN_DESCRIPTIONSbecomes a derivation overORIGIN_SPECS— parity by construction.Originenum and non-empty text; blanking a description or dropping a spec fails it.Verification
devtools test tests/unit/sources/test_origin_specs.py tests/unit/cli/test_command_aux_runtime.py→ 27 passed.devtools verify --quick→ exit 0.Ref polylogue-2qx.1.2 (residual from #3250).
🤖 Generated with Claude Code
https://claude.ai/code/session_01QUsH3Rhq6oAZpYPWcsZqnZ