You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f73b9db
Browse filesBrowse the repository at this point in the historyBrowse files
feat(memory): authorize scoped note access and durable cleanup (#9096)
* feat(memory): authorize scoped access and durable cleanup
* refactor(memory): distinguish scoped note access controls
Rename the scoped-note control kind from memory_access to
memory_notes_access so it is distinct from graph memory_scope. The HTTP
path, delegation audience sim:memory-access, and semantic operation id
are unchanged.
* chore(audits): exempt Mothership contract copies from the relative-import rule
contracts:sync copies these files byte for byte from the worker, whose
sibling imports are relative, so they cannot use the app's aliases.
Exempt only files in lib/mothership/generated that carry the sync header,
and drop their baseline entries.
* fix(memory): read-lock note authorization, redact legacy tool calls, skip keyless cleanup
Project note checks took the Project lock exclusively while already holding
it shared, so overlapping workspace checks could deadlock; they now read
under the shared Project lock and the permission-group read lock, as
Project Files does. Exports also redact remember calls stored in the
legacy top-level toolCalls list. A Sim without COPILOT_API_KEY never
reached a worker, so it queues no memory cleanup it could not deliver.
* test(memory): use the shared env and outbox mocks for cleanup enqueue
0 commit comments