Skip to content

feat(tools): add update_plan checklist tool - #233

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/update-plan-tool
Aug 4, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/update-plan-tool

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • Add update_plan built-in tool (plan steps + optional explanation) that returns "Plan updated" with no persisted plan state
  • Agent loop emits a plan_update turn event on success so clients can refresh the checklist
  • TUI renders plan steps as a checklist card (✓ / ► / ○) from tool-call arguments
  • Closes Add update_plan tool #218

Test plan

  • cargo test --package forge-types --package forge-tools --package forge-core --package forge-tui --locked update_plan
  • Ask the model to call update_plan with mixed pending/in_progress/completed steps and confirm the checklist appears in the transcript
  • Confirm a second update_plan call replaces what is shown (each call is a full checklist snapshot)
  • Confirm unknown status values are rejected by schema validation

Give the model a structured TODO surface that emits plan_update events
and renders as a checklist in the TUI, matching #218.
@github-actions
github-actions Bot enabled auto-merge (squash) August 4, 2026 07:36
@github-actions
github-actions Bot merged commit cb8f93c into main Aug 4, 2026
7 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
Give the model a structured TODO surface that emits plan_update events
and renders as a checklist in the TUI, matching #218.
mohitranka added a commit that referenced this pull request Sep 11, 2026
Give the model a structured TODO surface that emits plan_update events
and renders as a checklist in the TUI, matching #218.
mohitranka added a commit that referenced this pull request Sep 11, 2026
Give the model a structured TODO surface that emits plan_update events
and renders as a checklist in the TUI, matching #218.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add update_plan tool

1 participant