WI 1 — Extract per-session SessionContext from ChatProcessor #237
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/wi-019f8588-wi-1-extract-per-session-sessioncontext"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Anima work item
019f8588-f4b7-7fe0-b0fa-2002b5c2e546.Extract per-session cognitive context from the shared ChatProcessor.
PROBLEM: ChatProcessor is Arc<Mutex> — one per workspace, shared by all sessions. Per-session state (kg_cache, trajectory, eliza) bleeds across sessions.
CHANGE:
FILES: src/chat.rs, src/acp/mod.rs
FOUNDATION FOR DELEGATION: a delegated session needs its own SessionContext so it doesn't pollute the calling session.
e88422e912849b98e6a6a778fcedcd24b07afd9c24b07afd9c975c6b2ead975c6b2eada8679d1592a8679d159207b9d36ce807b9d36ce8c2219547d3c2219547d39d44602dc19d44602dc1064bef70f5064bef70f594ab6faca7WIP: WI 1 — Extract per-session SessionContext from ChatProcessorto WI 1 — Extract per-session SessionContext from ChatProcessor