speakeasy-api / speakeasy-api/kit

Generic ACP subagents cannot fork without native `session/fork`

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
40
Forks
4
Avg merge
4h 18m
Merged PRs (30d)
148

Description

Kit branches a generic ACP subagent only when the agent advertises the ACP session/fork capability. If that capability is absent, fork returns an unsupported error; only the exact acp.kit harness receives Kit's private transcript-cloning fallback.

This leaves otherwise reusable ACP harnesses without a branching path. A generic fallback would need a safe, interoperable snapshot mechanism rather than assuming that a completed prompt can be replayed without changing behavior.

Relevant implementation: src/tools/subagent.rs (Subagents::fork) and src/acp_child.rs (ChildSession::supports_native_fork).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read src/tools/subagent.rs at Subagents::fork and src/acp_child.rs at ChildSession::supports_native_fork. Trace the native-fork and acp.kit fallback paths, then determine a safe interoperable snapshot mechanism for generic ACP harnesses. Done means generic subagents can fork without requiring session/fork, while preserving correct session state and behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ai-infra-agents
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.