MemChain과 암호화 저장소

AeroNyx2026년 6월 17일5분 읽기79회 조회

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 약속은 client가 remember_sealed 전에 암호화한 record에만 적용되며 모든 legacy/cognitive mode를 뜻하지 않습니다.

제품 약속

검증 가능한 네 가지 약속은 content key 없는 sealed node storage, local record가 있을 때 offline recall, P2P identity 파생 key와 owner signature, storage와 선택한 AI brain의 분리입니다. AeroNyx에는 master recovery key가 없습니다. Chain은 memory state의 관계와 순서를 뜻하며 token chain이나 일반 public blockchain이 아닙니다.

구현된 시스템 계층

LayerRoleBoundary
Device storeAES-256-GCM record, sealed embedding, local BM25/vectorowner가 unlock한 process만 plaintext 처리
Sealed MPIremember_sealed, owner-auth recall/forget/statusnode는 signed ciphertext만 저장
Standard MemChainLocal/P2P/SaaS cognition, graph, vectorreadable record deployment가 있어 strict node-blind 대상 아님
Commitment ledgersigned ordering, follower recovery, pinned witnessopaque record ID만 commitment

Blind storage는 config-gated입니다.

기억·저장·회상

  1. Remember: user-approved AI turn을 기기에서 distill, AES-256-GCM seal, content-address, sign합니다. P2P private chat은 자동 memory가 아닙니다.
  2. Store: local SQLite를 먼저 쓰고 sealed node가 활성·도달 가능하면 같은 opaque record를 best-effort upload합니다.
  3. Recall: keyword, vector, time, layer, project, structured signal을 local에서 결합하고 선택 hit만 복호화합니다.

새 기기 backfill은 같은 recoverable 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, optional project/vector/keyed term, aggregate quota/error를 봅니다. memory plaintext, content key, raw token, identity seed, AI prompt, chat plaintext, DNS, destination, browsing 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는 backup입니다.

chat·identity·private routing 관계

Encrypted chat relay는 E2E ciphertext만 운반하며 자동 memory화하지 않습니다. AI turn은 user가 기능을 켠 경우에만 대상입니다. 유효 identity material을 모두 잃으면 .ayx backup과 memory decrypt 능력도 잃습니다. Privacy network는 data in motion, MemChain은 선택 state at rest를 보호합니다. Raw 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는 외부 plaintext inference를 E2E encryption으로 만들지 않습니다. UI/API는 수신 model과 consent를 표시해야 합니다.

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, path에 의존합니다. SOTA, industry-best, formal zero knowledge, guaranteed recovery, third-party 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 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 retrieval, aggregate health만 수행하고 내용을 읽거나 변환할 수 없습니다. External AI에는 relevant plaintext가 전송될 수 있고 identity key를 잃으면 AeroNyx가 복구할 수 없습니다.

관련 사양