Skip to content

Persist derivation privacy floors and audience ceilings - #74

Draft
jsflax wants to merge 1 commit into
codex/canary-derivation-replicasfrom
codex/canary-derivation-restrictions
Draft

jsflax wants to merge 1 commit into
codex/canary-derivation-replicasfrom
codex/canary-derivation-restrictions

Conversation

@jsflax

@jsflax jsflax commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Derived memories could lose their privacy floor through later updates, or reach a new group after their project was re-exposed. Persist a versioned privacy floor and audience ceiling with derived content, enforce them through descendants and ordinary/durable updates, and apply the same exact policy checks to native relay filters. Merge, consolidation, organization, episode summaries, and automatic topic inference now retain applicable restrictions.

Stacked on #73 (codex/canary-derivation-replicas). This PR contains only the independently reviewed 15-file slice at 81419ecbcf5fca9df14edfbe033eb089f428cf83.

Validation:

  • Author and independent runs each passed the complete affected selection: 155 reported methods across 12 suites. The separately isolated daemon IPC contention test also passed in both runs.
  • Real IPC regressions cover privacy-floor preservation, group-A derivatives staying out of group B after project re-exposure, policy overflow/read failures, stale refresh/cancellation, sparse model denial, and recovery without a new database notification.
  • Source manifest SHA-256: 2f9bd482b513df8029e0c52cf84aee61190ad44e6a26ba99b23ce03b807e0e6b. Full reviewed patch: 2dd16cd82733c7c48ad542755b405a16435b21b3dc234c7062d72144c042e2e1.

Release limits remain open:

  • Old binaries can drop the policy column and disclose data during a downgrade window. Re-upgrade denial cannot undo that disclosure; a downgrade barrier and server/client capability gates are still required.
  • Legacy rows remain locally readable, but unclassified rows are denied mutation, derivation, and sync. There is no automatic backfill.
  • Cross-store inputs are conservatively reread, not globally locked. Unsupported cross-store organization is refused before writes.
  • Native filter updates are asynchronous and expose no installation ACK. Owned reconciliation retries back off from 2 seconds to a 60-second maintenance interval; this is not a delivery or revocation SLA.
  • No 0.16.x per-fact routing, writable hosted learner transport, release signing, installation, activation, or production data qualification is included.

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