Skip to content

Expose experimental ACP child sessions with legacy fallback - #142

Closed
Maximooch wants to merge 2 commits into
stack/acp-runtime-basefrom
feat/acp-child-progress
Closed

Maximooch wants to merge 2 commits into
stack/acp-runtime-basefrom
feat/acp-child-progress

Conversation

@Maximooch

Copy link
Copy Markdown
Owner

Depends on BOTH the ACP controls stack (#141) and process/subagent reliability (#133). The base branch stack/acp-runtime-base is an integration branch containing those reviewed foundations; no PR was merged. Retarget after those prerequisites land.

Adds opt-in presentation for the current draft ACP subagent RFD using clientCapabilities.subagents. Runtime-observed child ownership produces ordered associations, directed message records, child tools/public output, and work-state updates. Background children with independent tasks can be cancelled without cancelling the parent; foreground children sharing the parent's task advertise no independent cancel. Reload preserves nested parentage, removes historical cancel authority, and reports unconfirmed activity honestly. Without negotiation, activity appears as ordinary parent tool cards. No v2 or older AIR-specific compatibility claim.

A small NDJSON transport preserves the canonical draft capability before the SDK strips unknown fields; JSON-RPC dispatch remains in the official SDK. It also handles malformed JSON/blank frames without corrupting protocol output. Persisted child notifications use scoped replay envelopes. Native store lookups now preserve the active session pointer, avoiding background-child journal writes contaminating another request.

Validation: 46 aggregate ACP tests passed before two added regressions; final 8 child/control tests pass (nested replay/store isolation, background cancel, Plan reload with enforcement disabled, busy controls). Existing lifecycle/executor/reliability tests: 93 passed, 4 skipped, 1 deselected. Raw stdio tests exercise negotiated and legacy clients with the actual runtime lifecycle producer and deterministic core/scope fixtures. Scoped Ruff and diff checks pass. No GUI-editor/live-provider smoke is claimed. Background terminal panels, native full-file diffs, interactive ACP auth and goal extensions remain separate.

@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
penguin Ready Ready Preview Oct 28, 2026 5:28am UTC

@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Maximooch

Copy link
Copy Markdown
Owner Author

Integrated with preserved commit history through #161 (main commit abd8a66). Closing this stacked review after verifying its current head is an ancestor of main.

@Maximooch Maximooch closed this Oct 28, 2026

This branch was successfully deployed

1 active deployment
Preview — 2d29ec70 Deployed Oct 28, 2026 by vercel[bot]
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