Skip to content

feat: support replacing goals through ACP control - #376

Merged
nikita-ashihmin merged 3 commits into
agentclientprotocol:mainfrom
nikita-ashihmin:codex/add-goal-set-control
Aug 7, 2026
Merged

feat: support replacing goals through ACP control#376
nikita-ashihmin merged 3 commits into
agentclientprotocol:mainfrom
nikita-ashihmin:codex/add-goal-set-control

Conversation

@nikita-ashihmin

@nikita-ashihmin nikita-ashihmin commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add set to the provider-neutral ACP goal capability and validate its objective
  • route goal replacement to native Codex goal state
  • start a normal goal-work turn when app-server accepts set/resume without routing one
  • wait for active work, suppress stale continuations, and avoid duplicate app-server-routed turns
  • document the contract and cover idle, active, pause, resume, replacement, cancellation, and race behavior

Validation

  • npm test -- --run (349 passed, 28 skipped)
  • npm run typecheck
  • npm run build
  • real Codex ACP goal run

Codex app-server can accept an active goal without routing a continuation turn. Start one through the normal ACP prompt lifecycle, while waiting for existing work and suppressing stale or duplicate continuations.
Lock down no-turn resume behavior and ensure concurrent replacements start work only for the latest active goal.
@nikita-ashihmin
nikita-ashihmin merged commit 0d45a13 into agentclientprotocol:main Aug 7, 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.

1 participant