Skip to content

Preserve derived-memory restrictions and add read-only learner HTTPS transport - #75

Draft
jsflax wants to merge 8 commits into
mainfrom
codex/canary-derivation-cold-writable-floor
Draft

jsflax wants to merge 8 commits into
mainfrom
codex/canary-derivation-cold-writable-floor

Conversation

@jsflax

@jsflax jsflax commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Derived memories can lose privacy or audience restrictions during consolidation, episode summarization, later edits or project sharing. This change preserves those restrictions, checks every configured replica before deriving a shared result, and adds a durable policy floor that rejects an older cold writable opener before model reconciliation.

This main-target draft contains 22 files / eight commits from the former #71 → #72 → #73 → #74 → #75 stack. It also includes #72’s reviewed read-only HTTPS learner transport; this is not a privacy-only diff. The transport does not implement or qualify automatic company routing, native writes or publication receipts.

Source is fixed at ed8658fe519a0b17399ccee4384ba7212568af32, tree 5719eddf4153535c7201cfaf5502fba4fad3fa10, on main 440811cc396b9cf2008e1e1364710377fc28a7a5. Retargeting from #74 changes PR metadata only. The source, tree, package and dependency pins are unchanged.

Included behavior

Validation and limits

At this exact head, native run 42523440599 completed successfully. Selected receipt 5586f983 binds 591 source hashes, all 46 dependency pins and 16 command receipts. All six migration controls and the sync-quiescence regression passed. The decoded native summary reports 849 tests / 81 suites; that is a reported summary, not an independent 849-name census.

The broad native command skipped fourteen tests and one suite. Twelve production fixtures and one explicitly disabled transcript test remain unexecuted here; the skipped daemon case passed in its required isolated child. No skipped case is credited as a pass.

Visualizer run 42523440575 completed successfully. Selected receipt 31446b14 verifies 152 distinct actual passes, no failed/skipped cases, 671 source hashes and the same 46 pins.

The unchanged HTTPS slice has retained source-bound evidence for 15 TLS/subprocess, 92 durable and 38 legacy checks. Those are historical slice results, not a new exact-head transport run. Independent source reviews cover the privacy, replica, durable-restriction, cold-writable floor and final diagnostic changes.

The two preceding native heads passed the six migration cases but failed the sync-quiescence assertion. Those failures remain unexplained. The current passing diagnostic observed 9,717 ms quiescence and 9,972 ms recovery, close to the unchanged 10-second bound. No timeout increase or assertion waiver is included. The diagnostic preserves all 69 assertions, nine methods, eight other bodies and shared helpers; its bounded numeric output contains no memory content, identifiers, paths or credentials.

Both selected artifact collectors joined their originals and reached EOF. This does not prove universal descendant custody or qualify unselected archive payloads and installed binaries.

Source merge versus release

All seven workflows, Package.swift, Package.resolved and the release-train implementation are unchanged from main. Signing/publication requires a v* tag or explicit release invocation; a plain main merge does not select it.

The migration controls use the current pinned Lattice with an embedded old model, not a historical executable. Read-only opens bypass the writable guard, existing live/cached handles do not recheck it, and metadata initialization can precede refusal. Installed-release qualification must separately cover signed/versioned artifacts, quiescing old writers/relays, historical executables, replicas and client capabilities. The current source inventory found 23 fixed persistent constructors selecting target 4, one fresh in-memory fallback and one configuration-preserving opener; no missing migration patch was established.

This draft does not request signing, publication, installation, credential/transport activation or company rollout. Jason’s explicit source-merge approval remains required. Preserve this exact head and recheck main/effective merge checks before executing that approval.

Record bounded phase, poll, and one-shot gate outcomes without changing the existing assertions or wait budgets. Historical failure remains unexplained; runtime qualification is separate.
Record the existing refresh midpoint and a readonly state tuple at the
existing bounded test phases. Preserve waits, assertions and migration tests.
@jsflax jsflax changed the title Persist the schema floor for cold writable privacy-store opens Preserve derived-memory restrictions and add read-only learner HTTPS transport Nov 9, 2026
@jsflax
jsflax changed the base branch from codex/canary-derivation-restrictions to main November 9, 2026 12:09
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