The registry was keyed by agent ID but read it from a shared env map (st.env["OLLIE_UNAME"]) that all agents overwrote — making it effectively per-session with a race condition. Fix: pass agent ID explicitly through the protocol at every call site. - ctl protocol: 'load <agentID> <tool>', 'unload <agentID> <tool>' - tools file: rdwr (Request) — write agent ID, read filtered list - proc/new payload: 'agent=<id>' field required - Client: SetAgentID() stores identity, included in all operations - Empty agent ID is a hard error everywhere - Setting OLLIE_UNAME via env ctl is blocked (prevents reintroduction) |
||
|---|---|---|
| .. | ||
| internal | ||
| test | ||
| .gitignore | ||
| integration_test.go | ||
| main.go | ||
| sandbox-remote.yaml | ||
| server.go | ||