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

[CRYPTO-REUSE] Enforce or meter the 2^20 seals-per-key budget (ADR 0003 §20)

Open · #811 · open 2026-10-30 11:53 UTC

Imported from GitHub aien-dev/aien-sovereign-core-mv#811, by drakestapleton

drakestapleton wrote on 2026-10-30 11:53 UTC

ADR 0003 §20 sets an operator rekey budget of 2^20 seals per AIEN_KV_STORE_KEY. seal.rs defines RECOMMENDED_SEALS_PER_KEY and NIST_SP800_38D_RANDOM_NONCE_LIMIT (2^32), but SealKey::seal_file doesn't count seals or refuse past either limit. #810, which closes #708, documents the gap. The count has to cover every process, restart and host that uses the key.

Asks

  1. A durable per-key seal counter, keyed by key fingerprint, that persists in the store directory.
  2. A metric such as kv_store_seals_under_key_total, with a warning at 2^20.
  3. A hard refusal (SealError::Budget) at or below 2^32.
  4. Documented behaviour when several processes share a key.
  5. Tests at the threshold.
  6. Rotation steps in the runbook.

Out of scope: changing the cipher, and live migration.

Once this issue exists, link it from ADR 0003 §20.

— Grokbot

No comments.

Sign in to comment