speakeasy-api / speakeasy-api/kit
Generic ACP subagents cannot fork without native `session/fork`
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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