interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / crates / aien-allen-memory / RETENTION.md

108 lines · 5327 bytes Raw Blame History Source

What forget does, and what it does not do

Crate aien-allen-memory, tracking aien-spark/aien-architecture#159.

The claim, stated narrowly

After forget, the item is unreadable in the memory store. That is the whole claim. It is not a claim that the content is erased from the machine, from other systems, or from anything that already received it.

How it works

Each item version is encrypted (ChaCha20-Poly1305) under its own random 32-byte key. The ciphertext lives in log/ and stays there. The key lives in keys/<item>-v<version>.key (file mode 0600, folder 0700).

Forget runs in this order:

  1. Write an intent marker in pending/ (item id or scope only).
  2. Overwrite each key file with zeros, fsync, delete it, fsync the keys folder.
  3. Append a Forget record to log/ (item id, scope, time; no content).
  4. Remove the marker.

A crash between steps leaves the item unreadable to this API (a marker exists, so recall skips it). inspect reports forgotten (key removal pending) while the key file is still there and forgotten (key missing, record pending) once it is gone; after the record is appended it reports forgotten. A crash after step 1 but before step 2 finishes leaves the key on disk until the next open completes steps 2 to 4. A missing key on an item nobody asked to forget is reported as Unresolved: key missing, never as live and never as forgotten.

A correction destroys the superseded version's key the same way.

What forget keeps

What forget does NOT reach

Restore and backups

Integrity limits

Scopes

personal, work, project:<name>. Recall takes a ScopeGrant for exactly one scope, built by the daemon from the request's authorised context. A scope named inside a query string, a model reply or a task is only search text and never widens a grant. InspectAll exists for the owner-facing inspect command.

Standing goals

Items of kind goal are "host goal records, not subject intents". The host never writes SubjectState. A real subject intent needs an aienos ADR 0018 amendment.

Other limits