Repository navigation
feat(schema): stabilize plan operations - #2898
Merged
Merged
Conversation
benbrandt
marked this pull request as ready for review
November 19, 2026 20:49
Move Plan Operations Support to Completed. Publish identified checklists, Markdown snapshots, and removal in the default schemas. Keep the v1 client opt-in and legacy checklist, and require no plan capability in v2. Document how Codex 2.8.0 clears a checklist for older v2 clients before sending plan_removed.
benbrandt
force-pushed
the
benbrandt/stabilize-plan-operations
branch
from
November 20, 2026 10:57
c8e0760 to
8ef8e06
Compare
benbrandt
enabled auto-merge (squash)
November 20, 2026 10:58
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Move Plan Operations Support from Preview to Completed without changing its wire format. A
plan_updatereplaces the whole plan with that ID, even when it switches betweenitemsandmarkdown. Markdowncontentis a snapshot; its optional absolutepathis not needed to display it.plan_removedremoves one known ID and does nothing for an unknown ID.clientCapabilities.plan: {}still opts in. Clients that omit it or sendnullcontinue to get the legacyplanupdate for checklists.itemsin the baseline with noplancapability. This does not stabilize v2 as a whole. Older v2 clients may ignore removal, so an Agent can send emptyitemsfor the same ID first.unstable_plan_operations. Downstream manifests that explicitly enable or forward that feature should drop it when updating the schema dependency. Regenerated all four schema and reference-doc variants, updated the migration guides, and added the completion announcement.The implementation table now reflects Codex adapter v2.8.0: an explicitly emptied checklist emits empty
entriesin both versions, followed byplan_removedon v2 only. Finishing a plan does not remove it.For sign-off
This PR proposes the protocol contract, not fixes in the adapters or clients. The implementation review found that Claude can replay the original proposal instead of the edited approval, and Codex's opt-in AIR delta stream does not carry a complete standard Markdown snapshot after the first update. Please also check removal after
idleand a child plan whose final text arrives only as deltas. Neither listed adapter currently sends standardplan.path, so an end-to-end file-backed plan remains unverified. These are called out for the core team's decision before merge.Validation
npm run generateandnpm run checkpassed.unstable_protocol_v2and no other unstable features.planId.