fix(agent-kit): separate session cache per agent #462
Reference in New Issue
Block a user
Delete Branch "fix/461-per-agent-session-cache"
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?
What
Separate session cache files per agent to prevent session ID conflicts when multiple agents operate on the same thread+role pair.
Why
Previously, all agents shared a single agent-sessions.json cache file keyed by :. When both hermes and claude-code agents executed the same role in a thread, they would overwrite each other's session IDs, breaking session resumption.
Changes
Ref
Fixes #461