Skip to content

Preserve privacy and sharing scope in derived memories - #71

Closed
jsflax wants to merge 2 commits into
mainfrom
codex/canary-context-private-derivation
Closed

jsflax wants to merge 2 commits into
mainfrom
codex/canary-context-private-derivation

Conversation

@jsflax

@jsflax jsflax commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

Derived memories and episode summaries could lose input privacy or cross sharing audiences. Preserve inherited privacy during merge/consolidation, refuse mixed shared/private or incompatible audience derivation, and check immutable source/scope snapshots after embedding. Organization labels receive the same checks.

Episode summaries now inspect linked inputs across local, personal-sync and group stores, use the actual destination spoke's audience, and commit privacy, summary text and modification time in one checked destination transaction. Missing or tombstoned inputs refuse the summary; closing without a summary remains available. Private summaries cannot be written directly into remote spokes, and existing author-only privacy changes remain enforced.

Validation: 93 focused tests pass across episode behavior/privacy, earlier derivation regressions, actual group-relay exclusion, author rules and transaction durability. Retained failing baselines demonstrate the original privacy/scope defects. Independent SQLite checks verify rollback after a later setter failure. Source review caught and corrected both privacy-race directions during embedding; query-failure fixtures distinguish existing fail-closed behavior from new hardening.

This remains a draft privacy slice. Cross-store reads are not atomic across independent databases; historical/unreachable provenance and future project re-exposure are not solved. Hosted employee routing, client qualification, durable transport queues and the 0.16 release/signing gates remain separate work. No version bump or rollout is included.

@jsflax jsflax changed the title Preserve privacy and group scope when deriving memories Preserve privacy and sharing scope in derived memories Nov 5, 2026
@jsflax

jsflax commented Nov 17, 2026

Copy link
Copy Markdown
Owner Author

Consolidated in #88 (ported onto v0.16.0 Sources/EngramLattice/ preserving derivation privacy floors and schema v3 wire compatibility).

@jsflax jsflax closed this Nov 17, 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