refactor: finish low-tail tool Effect migration#1393
Conversation
|
Warning Review limit reached
More reviews will be available in 43 minutes and 9 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?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 credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. 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, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus 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 |
Summary
Finish the low-priority tool tail in the #936 Effect migration checklist:
question.ts,todo.ts,invalid.ts, andplan.ts.Changes:
QuestionTool,TodoWriteTool,InvalidTool, andPlanExitTool.PlanExitTool's last-model scan behind a named Effect boundary and switched its synthetic build-agent timestamp toClock.currentTimeMillis.packages/opencode/specs/effect-migration.mdto mark the four tool checklist items complete.Why
The tool bodies were already mostly Effect-native, but the checklist still had four low-tail items open and there was no single focused test proving their init/execute paths through the current Effect tool framework. This closes that tail without touching HTTP/server, remote, UI, desktop, or registry behavior.
Related Issue
Related to #936
Human Review Status
Pending
Review Focus
Please focus on whether the new
tool-tail-effect.test.tscoverage is the smallest useful public-interface proof for these tools, and whether thePlanExitToolClock.currentTimeMillischange preserves the existing handoff behavior.Risk Notes
Runtime risk is low: the only production code change is
plan_exitmoving a synchronous model-history scan intoEffect.syncand reading the timestamp from the Effect clock. The migration spec update is factual for this PR only.Skipped checklist items:
How To Verify
Screenshots or Recordings
Not applicable. No visible UI changes.
Checklist
bug,enhancement,task,documentation. Type labels are author-added; the labeler bot does NOT assign them. Add the label in the GitHub UI, then tick this.app,ui,platform,harness,ci. The labeler bot assigns these on PR open based on changed paths. Confirm the bot's choice (or override if wrong), then tick this.P0,P1,P2,P3. The priority-triage bot suggests one on PR open. Confirm or override, then tick this.Pending,Approved by @<reviewer>, orNot required: <reason>(default isPending; "not required" is restricted to bot-authored low-risk PRs).dev, and my PR title and commit messages use Conventional Commits in English.