How each harness creates an isolated checkout, what it starts from, and what happens to the changes afterward. Worktrees isolate files; conversation forks and subagent context are separate. Unknown answers mark gaps in the recorded evidence, not proof that a capability is absent.
Forking: conversation history and file isolation
Subagents: delegation and workspace isolation
| Question | OpenCodechecked at v2-docs-2026-10-27 |
|---|---|
| Create or enter | In Code Mode, call |
| Starting state | Not documented The tools reference delegates worktree strategy to project configuration; this audit does not establish the base revision or dirty-file carryover for every strategy. |
| Session isolation | After creating a checkout, use |
| Subagent isolation | Subagents run in the parent session's directory and edit your checkout directly; there is no automatic per-subagent worktree or sandbox, so there is nothing to merge. Worktrees exist as separate session tools ( Retained from the Subagents audit checked 2026-10-15; not re-probed for this page. |
| Setup and environment files | Not documented Project worktree configuration selects the strategy. Automatic dependency installation, environment-file copying and custom strategy setup semantics have not been traced for this page. |
| Review and integrate changes | Not documented The tools reference describes creation, movement and removal; this audit does not establish an automatic merge or apply-back contract. Review and integrate the resulting checkout according to the configured strategy. |
| Exit and cleanup | Partly
|
| CLI, tools and APIs | Code Mode exposes |
Commands
No commands recorded.
Notes and sources
OpenCode, 4 sources
- Documentation reviewed 2026-10-27; retained subagent answers keep their original source/version boundaries. No lifecycle runtime probe.