Split Agent into immutable Agent (behind Arc) and mutable AgentState (behind its own Mutex). ContextState has its own Mutex on Agent. Activities moved to AgentState. new() and fork() rewritten. All callers need mechanical updates: agent.lock().await.field → agent.state.lock().await.field or agent.context.lock().await.method. Co-Authored-By: Proof of Concept <poc@bcachefs.org> |
||
|---|---|---|
| .. | ||
| agent | ||
| bin | ||
| claude | ||
| cli | ||
| hippocampus | ||
| learn | ||
| mind | ||
| subconscious | ||
| thalamus | ||
| user | ||
| config.rs | ||
| lib.rs | ||
| main.rs | ||
| session.rs | ||
| util.rs | ||