Skip to content

Protect memory blocks from agent writes - #220

Merged
NarwhalChen merged 1 commit into
mainfrom
kobe/convera-shared-memory-blocks-6yvzyn
Aug 2, 2026
Merged

Protect memory blocks from agent writes#220
NarwhalChen merged 1 commit into
mainfrom
kobe/convera-shared-memory-blocks-6yvzyn

Conversation

@NarwhalChen

Copy link
Copy Markdown
Collaborator

Summary

  • add a persisted read-only flag to memory blocks, defaulting legacy blocks to writable
  • reject primary-agent and subconscious updates to protected blocks at the store boundary while preserving existing versioning and write-ahead serialization
  • expose label, version, and protection state in Agent Work with Protect and Unlock controls without copying memory content into the renderer

Boundaries

  • provider-native sessions continue to own provider history
  • renderer and Dexie continue to own channel transcripts
  • restricted memory curator remains text-only with no shell, CUA, or general MCP access
  • no additional write queue was introduced

Verification

  • pnpm --filter @convera/app test -- --reporter=dot: 564 passed, 1 skipped
  • full repository pre-push formatting, lint, and test hooks passed
  • pnpm --filter @convera/app exec tsc --noEmit --skipLibCheck
  • Node 22 automation:prepare
  • real Electron isolated-profile Protect to Unlock to Protect flow; readOnly true persisted at version 4
  • no real provider invoked

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
foxyfox-docs Error Error Aug 2, 2026 12:47pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
foxyfox-website Skipped Skipped Aug 2, 2026 12:47pm

Request Review

@NarwhalChen
NarwhalChen merged commit ce1efcb into main Aug 2, 2026
4 of 5 checks passed
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