Skip to content

feat: add multi-party memory isolation - #5

Merged
EvanProgramming merged 1 commit into
mainfrom
codex/multi-party-memory
Aug 31, 2026
Merged

EvanProgramming merged 1 commit into
mainfrom
codex/multi-party-memory

Conversation

@EvanProgramming

Copy link
Copy Markdown
Owner

Summary

  • add speaker-, audience-, channel-, visibility-, and authorization-scoped memory claims
  • preserve attributed beliefs and per-speaker supersession while abstaining on ambiguity
  • bind private API access to the authenticated request actor and emit attribution receipts
  • add frozen multi-party leakage, update, audience, and ambiguity benchmark cases

Schema and API

  • extend claim metadata with claim_type, speaker, audiences, channel, and visibility
  • extend GET /api/v2/memory and claim inspection filters
  • add POST /api/v2/memory/claims for typed claim creation
  • include memory_receipt in chat and streaming responses

Security impact

  • private facts require explicit owner authority
  • client-supplied speaker labels do not grant private-memory access
  • private values are redacted from claim audit events and excluded from unscoped recall
  • existing capability, profile, workspace, and external-skill boundaries are unchanged

Validation

  • make check
  • KYROZEN_DB_PATH=<temporary sqlite path> make test (58 tests)
  • API smoke: health, scoped memory query, invalid actor rejection
  • frozen benchmark replay: 5 cases, neutral replay emits no superiority claim
  • git diff --check

@EvanProgramming
EvanProgramming merged commit 51d0bce into main Aug 31, 2026
2 checks passed
@EvanProgramming
EvanProgramming deleted the codex/multi-party-memory branch August 31, 2026 14:28
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