Skip to content

feat(acp): make hosted turns durable and observable - #6417

Open
RossHartmann wants to merge 1 commit into
block:mainfrom
Kiingo:upstream/acp-durable-turns-20260820
Open

feat(acp): make hosted turns durable and observable#6417
RossHartmann wants to merge 1 commit into
block:mainfrom
Kiingo:upstream/acp-durable-turns-20260820

Conversation

@RossHartmann

Copy link
Copy Markdown

Summary

  • add a provider-neutral, locally signed publication worker with durable fences, idempotent receipts, editable progress, terminal replacement, bounded retries, and relay recovery
  • preserve same-turn publication ordering while prioritizing terminal output and coalescing stale progress
  • forward bounded canonical conversation context and wake quiet channels for due retries
  • make cancellation author-scoped, classify terminal enrollment/auth failures without retry loops, and forward canonical relay context to child MCP sessions
  • extend the SDK message builder with validated caller-owned durable tags

Why this is one change

The publication queue, ACP turn queue, process pool, error classification, and SDK fence tag form one turn-lifecycle state machine. Splitting them would create intermediate branches that compile but cannot preserve receipt ordering or terminal reconciliation. No provider name, credential, hosted service, or deployment policy is embedded here.

Validation

  • cargo fmt --all -- --check
  • cargo clippy -p buzz-acp -p buzz-sdk --all-targets --locked -- -D warnings
  • cargo test -p buzz-acp local_publication --locked (13 passed)
  • cargo test -p buzz-sdk message_with_extra_tags_preserves_durable_fence --locked (1 passed)
  • seven added focused ACP tests covering author-scoped cancellation, MCP relay forwarding, terminal auth handling, event-id context normalization, and retry wakeups (7 passed)
  • changed-diff scan found no Kiingo/provider identifier or common credential literal
  • git diff --check

The commit is signed off under the DCO.

Signed-off-by: Ross Hartmann <1750494+RossHartmann@users.noreply.github.com>
@RossHartmann
RossHartmann requested a review from a team as a code owner August 20, 2026 17:03
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