Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/issues/83e3973f23542492 # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # [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 - A durable per-key seal counter, keyed by key fingerprint, that persists in the store directory. - A metric such as `kv_store_seals_under_key_total`, with a warning at 2^20. - A hard refusal (`SealError::Budget`) at or below 2^32. - Documented behaviour when several processes share a key. - Tests at the threshold. - 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