Skip to content

Throttle ACP plan update snapshots - #354

Merged
anna239 merged 1 commit into
agentclientprotocol:mainfrom
nikita-ashihmin:codex/throttle-plan-updates
Aug 2, 2026
Merged

Throttle ACP plan update snapshots#354
anna239 merged 1 commit into
agentclientprotocol:mainfrom
nikita-ashihmin:codex/throttle-plan-updates

Conversation

@nikita-ashihmin

Copy link
Copy Markdown
Collaborator

Summary

  • coalesce streamed Markdown plan snapshots to one update every 150 ms
  • synchronously flush and deduplicate final snapshots at item, turn, permission, and disposal boundaries
  • serialize plan sends so timer flushes cannot overtake completed snapshots

Tests

  • stress coverage for 200 small plan deltas
  • completed/interrupted turn flush and timer cleanup
  • duplicate completed snapshot suppression
  • independent plan item IDs and in-flight timer/completion ordering
  • final plan snapshot precedes plan-review permission
  • npm run typecheck
  • npm test (340 passed, 28 skipped)
  • npm run build

@anna239
anna239 merged commit 662fdbb into agentclientprotocol:main Aug 2, 2026
1 check passed
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.

2 participants