Skip to content

security: require approval for persistent memory mutations - #565

Open
harneet2512 wants to merge 1 commit into
andrewyng:mainfrom
harneet2512:fix/persistent-memory-approval
Open

security: require approval for persistent memory mutations#565
harneet2512 wants to merge 1 commit into
andrewyng:mainfrom
harneet2512:fix/persistent-memory-approval

Conversation

@harneet2512

@harneet2512 harneet2512 commented Aug 26, 2026

Copy link
Copy Markdown

What changed

Add remember, memory_update, and memory_forget to PERSISTENT_AUTHORITY_TOOLS.

These tools modify durable memory that is loaded into later sessions and future system prompts. They now require explicit human approval in every permission mode, even if tool metadata omits requires_approval.

memory_read is unchanged.

Tests

Added regression coverage for all three mutations across every permission mode, including the metadata-omission case.

49 passed

Follow-up hardening for the persistent memory feature introduced in #536.

@harneet2512
harneet2512 force-pushed the fix/persistent-memory-approval branch from 981b2e3 to 184d8cd Compare August 26, 2026 15:01
@harneet2512

Copy link
Copy Markdown
Author

Refreshing the source branch after correcting commit author metadata; reopening immediately.

@harneet2512 harneet2512 reopened this Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant