Skip to content

Add signed bounded hosted context engine and private daemon - #78

Merged
AetherAI3 merged 2 commits into
mainfrom
codex/sc-context-apr10
Sep 6, 2026
Merged

AetherAI3 merged 2 commits into
mainfrom
codex/sc-context-apr10

Conversation

@AetherAI3

Copy link
Copy Markdown
Owner

Adds the optional hosted context engine used by the SC-CONTEXT-01 / APR-10 integration. A signed reservation and exact project binding now lead to encrypted, lane-filtered retrieval capsules, durable checkpoints, higher-fence restoration and independently verified sealing. The existing local Session API remains available.

The daemon uses private Unix-domain IPC and has a hardened systemd template. Storage metadata is authenticated with the ciphertext; startup and read-time integrity failures quarantine the affected cycle. The package retains its own import/command namespace and exports closed schemas plus signed interoperability fixtures.

Validation: 613 tests passed with four existing skips in an isolated package installation; Ruff and mypy passed. A separate Linux daemon/engine run passed all 14 tests, including stale socket recovery and live-listener exclusion. A synthetic 400-record Linux measurement observed 219 ms retrieval p95 and about 72 MiB peak RSS.

This is a draft bounded-canary implementation. It does not enable production, establish billion-token reach, or satisfy the master specification's full rollout definition of done. Per-cycle managed-key erasure/holds, representative scale and chaos measurements, and signed production gates remain required. See docs/HOSTED_CONTEXT.md for the operational contract and limits.

@AetherAI3
AetherAI3 marked this pull request as ready for review September 6, 2026 09:19
@AetherAI3
AetherAI3 merged commit 4dcc791 into main Sep 6, 2026
18 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