Agent memory is shared across orgs #1541

Closed
opened 2026-10-27 13:40:48 +00:00 by sam · 1 comment
Owner

Memory scopes carry no org: the agent scope is keyed by the bot user and the global scope is read by every chat turn, so facts one org's conversations produce are injected into another org's turns and listed by memory_list. The session curator also writes agent-user facts from sessions it lists in the system org. Done when every memory scope is keyed by org, a turn reads only its own org's memory, and a test shows a second org cannot read the first org's facts.

Close reason

Closed


Imported from beads archie-core-qvs3f · GitHub #1579 · type bug · priority P1 · created 2026-10-10 · closed 2026-10-10

Memory scopes carry no org: the agent scope is keyed by the bot user and the global scope is read by every chat turn, so facts one org's conversations produce are injected into another org's turns and listed by memory_list. The session curator also writes agent-user facts from sessions it lists in the system org. Done when every memory scope is keyed by org, a turn reads only its own org's memory, and a test shows a second org cannot read the first org's facts. ### Close reason Closed --- _Imported from beads `archie-core-qvs3f` · GitHub #1579 · type bug · priority P1 · created 2026-10-10 · closed 2026-10-10_
sam added the highbug labels 2026-10-27 13:40:48 +00:00
sam self-assigned this 2026-10-27 13:40:48 +00:00
sam closed this issue 2026-10-27 13:40:48 +00:00
Author
Owner

sam wrote (originally 2026-10-10):

Reopened by bd github sync importing auto-created issue #1579, which the sync created open. Fix is shipped on main: 8ad4c431 'fix(memory): each org's agent memory is its own', with TestMemoryStaysInItsOrg. Re-closing.

_sam wrote (originally 2026-10-10):_ Reopened by bd github sync importing auto-created issue #1579, which the sync created open. Fix is shipped on main: 8ad4c431 'fix(memory): each org's agent memory is its own', with TestMemoryStaysInItsOrg. Re-closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1541