Expand description
Fork engine — lightweight concurrent multi-perspective execution.
Each “lens” shares the parent session’s provider, tools, and messages but
gets its own system prompt + task. All lenses run concurrently via a
tokio [Semaphore]-bounded Synapse.
Fork is NOT a subprocess. It is an in-process concurrent provider call.
Structs§
- Fork
Execution - Result of a complete fork execution.
- Fork
Lens - A single lens — one perspective on the shared context.
- Fork
Shared - Shared state across all fork lenses — cheap to clone.
- Synapse
- Lightweight concurrency limiter for fork lens execution.
Enums§
- Fork
Result - Result from a single lens execution.