MemChain と暗号化ストレージ
MemChain は local-first と client-sealed を採用した AeroNyx の記憶システムです。端末が暗号化記憶を保持し、設定されたノードは復号できない ciphertext だけを保存します。
MemChain は人、アプリ、autonomous agent のための private memory layer です。production の中心は local-first で、端末が encrypted store と recall を担当し、設定済み AeroNyx node は owner-signed sealed copy を同期・復旧用に保持できます。node-blind の約束は remember_sealed 前に client が暗号化した record に限定され、すべての legacy/cognitive mode を意味しません。
製品の約束
四つの検証可能な約束:node は content key を持たない sealed storage、local record があるときの offline recall、P2P identity 由来 key と owner signature、storage と選択した AI brain の分離です。AeroNyx に master recovery key はありません。Chain は memory state の関係と順序を表し、token chain や general public blockchain ではありません。
実装済みシステム層
| Layer | Role | Boundary |
|---|---|---|
| Device store | AES-256-GCM record、sealed embedding、local BM25/vector | owner が unlock した process だけ plaintext を扱う |
| Sealed MPI | remember_sealed、owner-auth recall/forget/status | node は signed ciphertext を保存し復号不能 |
| Standard MemChain | Local/P2P/SaaS cognition・graph・vector | readable record を扱う deployment があり strict node-blind 対象外 |
| Commitment ledger | signed ordering、follower recovery、pinned witness | opaque record ID の commitment のみ |
Blind storage は config-gated です。
記憶・保存・想起
- Remember: user-approved AI turn を端末で distill、AES-256-GCM seal、content address、sign。P2P private chat は自動 memory 化しません。
- Store: local SQLite を先に書き、sealed node が有効・到達可能なら同じ opaque record を best-effort upload。
- Recall: keyword、vector、time、layer、project、structured signal を local で融合し、選択 hit だけ復号。
同じ recoverable identity の新端末は同期済み ciphertext を backfill できますが、identity とデータ可用性が必要です。
厳密な node-blind 契約
Node は owner/timestamp/layer/tags/source/ciphertext から record ID を再計算し、Ed25519 signature を検証して ciphertext をそのまま保存します。復号、再暗号化、再署名はしません。keyed token hash、client vector、opaque edge/provenance、project label/hash は任意です。これは node-blind storage であり zero-knowledge proof ではありません。Vector similarity や plaintext label は情報を漏らし得ます。
sealed-storage node が見える metadata
Node が見るのは owner public key、timing、ciphertext size、count、layer/source、record ID、opaque graph shape、任意 project/vector/keyed term、aggregate quota/error です。memory plaintext、content key、raw search token、identity seed、AI prompt、chat plaintext、DNS、destination、history、wallet traffic は取得・記録禁止です。content confidentiality は owner unlinkability や traffic-analysis resistance と同義ではありません。
local-first 暗号化 recall
Local Rust store は disk に ciphertext だけを書きます。unlock は active P2P identity から domain-separated key を導出し memory index を作り、hit を on-demand decrypt します。embedding と snapshot も sealed、lock で usable key/index を破棄します。BM25/vector fusion と time/layer/project/reconciliation を deterministic に処理するため追加 LLM call は不要です。local write が authoritative、node copy は backup です。
chat・identity・private routing との関係
Encrypted chat relay は E2E ciphertext を運び、chat を自動で memory にしません。AI turn は user が有効化した場合だけ対象です。.ayx identity backup を含む有効 identity material を全て失えば memory も復号できません。Privacy network は data in motion、MemChain は選択 state at rest を守ります。raw conversation journal は別の opt-in encrypted history であるべきです。
Agent と model provider の境界
Blind storage と cognitive processing は分離されています。cognitive worker を動かしても blind node に read permission は生まれません。local model は local boundary に留められますが、external provider は送信された plaintext prompt を読める別の trust choice です。timeout、limit、cooldown、fallback、TEE は availability/isolation を改善しても external plaintext inference を E2E encryption にしません。
commitment ledger と witness 保護
Rust は append-only signed commitment、bounded follower sync、local anchor、checkpoint certificate、pinned witness comparison、optional coordinator lease を実装しています。strict startup は複数 pin の evidence を要求できます。これは rollback/fork/divergence/equivocation detection であり、permissionless consensus、public finality、leader election、token execution、payload possession proof ではありません。機能は default-off または config-controlled です。
benchmark 表現
2026-07 internal LongMemEval-S の対象設定では retrieval hit 95–99%、node-side recall 2–5 ms を測定しました。answer quality は model、distillation、dataset、device、corpus、local/node path に依存します。SOTA、industry-best、formal zero knowledge、guaranteed recovery、第三者 audit 済みとは主張しません。数値には date/config/model を添えます。
operator-safe observability
Nodeboard/health は enabled/configured、encrypted object count/bytes、quota、cleanup、commitment height/audit、follower freshness、carrier recovery、aggregate witness count/threshold、coarse latency/error だけを表示できます。owner key、record ID、project、blind term、vector、edge、checkpoint hash/signature、witness identity/endpoint、ciphertext/plaintext/prompt、per-user history は表示禁止です。
現在の成熟度と非主張
Implemented: device encrypted store、identity unlock、local hybrid recall、sealed write/recall/forget、owner signature、opaque search、storage-root attestation。Config-gated: public blind storage、remote owner、coordinator/follower、pinned witness、threshold、lease。Separate trust: readable cognition、SuperNode、model provider。Not claimed: 全 node storage、global memory chain、permissionless consensus、token、universal durability、metadata anonymity、compromised-client resistance。
privacy boundary
Client が memory 対象を決め、sealed upload 前に暗号化し、content key を保持し、少数 hit を local decrypt します。Node は owner verification、opaque state の保存・順序付け、authorized sealed retrieval、aggregate health のみを行い、内容を読んだり変換できません。External AI には relevant plaintext が送られる場合があり、identity key を失うと AeroNyx は復旧できません。