Skip to content

docs(schema): an unknown plan type still replaces the plan - #2703

Merged
benbrandt merged 2 commits into
mainfrom
docs/plan-unknown-type-replaces
Oct 30, 2026
Merged

benbrandt merged 2 commits into
mainfrom
docs/plan-unknown-type-replaces

Conversation

@benbrandt

Copy link
Copy Markdown
Member

A plan_update replaces the whole plan for its planId, but the fallback doc told receivers that don't understand a type to "ignore it", which could leave a stale item list on screen.

  • agent-plan (stable and draft) and the plan fallback Rust/schema doc: a Client that doesn't understand the new type still treats the update as replacing that plan.
  • Draft Removing Plans: Clients without unstable plan operations may not act on plan_removed; Agents can first send an items update with entries: [].

v2 only.

@benbrandt
benbrandt requested a review from a team as a code owner October 30, 2026 10:52
@benbrandt
benbrandt enabled auto-merge (squash) October 30, 2026 10:55
@benbrandt
benbrandt merged commit fef95d4 into main Oct 30, 2026
14 checks passed
@benbrandt
benbrandt deleted the docs/plan-unknown-type-replaces branch October 30, 2026 11:02
@acp-release-bot acp-release-bot Bot mentioned this pull request Oct 30, 2026
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.

1 participant