Fix model-routing recovery edge cases - #109
Conversation
Review finding dispositionsAll verified actionable findings from the PR #106 closeout and follow-up independent review were accepted and fixed on
Evidence: |
WalkthroughThe installer now uses a namespaced model-routing document and removes identifiable legacy artifacts. PR-batch routing, completion contracts, execution rules, and prompt-size validation are updated to preserve lane mappings and enforce revised recovery and verification semantics. ChangesInstaller documentation migration
PR-batch routing controls
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant Handoff
participant Continuation
participant Recovery
participant Worker
Handoff->>Continuation: classify saved route handoff
Continuation->>Recovery: select batch recovery or bounded lane recovery
Recovery->>Worker: preserve lane route and issue continuation instructions
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 |
Review SummaryOverview: Follow-up to #106 fixing three edge cases: (1) the installer now migrates Code quality
Issue found (posted inline)
Other observations (non-blocking)
Security / performance
Test coverageStrong — new installer tests cover copy/symlink modes, generic-name collisions with and without provenance evidence, legacy symlink/file removal, git worktree sources, and non-git previous sources. Prompt-budget script fixtures cover mixed-route and oversized 4-route scenarios for the codex/claude/generic targets. |
Review SummaryThis is a well-scoped follow-up to #106 that hardens the installer's legacy-file migration and tightens several prompt-engineering contracts around model-route recovery and prompt budgeting. Overall the change is careful and unusually thoroughly tested for a shell script; I did not find correctness bugs.
|
Follow-up to #106 after its review/merge closeout exposed additional recovery and installer edge cases.
Summary
Validation
bin/validatebash bin/install-agent-workflows-test.bashAGENT_WORKFLOWS_SOURCE_CHECKOUT=1 ruby skills/plan-pr-batch/scripts/check_goal_prompt_size.rbAGENT_WORKFLOWS_SOURCE_CHECKOUT=1 ruby skills/pr-batch/bin/model-routing-contract-test.rbQA Evidence
jg-codex/pr106-review-followups, no private coordination backend requiredbin/validateplus focused installer and model-routing contract suitesSummary by CodeRabbit
New Features
Bug Fixes
Documentation
Tests
Codex Decision Log