MemChain va luu tru ma hoa
MemChain la bo nho local-first, duoc niem phong tai client cua AeroNyx: thiet bi giu bo nho ma hoa co the truy hoi, con node da cau hinh chi luu ciphertext ma no khong co khoa de giai ma.
MemChain la lop bo nho rieng tu cua AeroNyx cho con nguoi, ung dung va agent tu tri. Duong production chinh la local-first: thiet bi giu encrypted store va thuc hien recall; node da cau hinh co the giu ban sao sealed, co chu ky owner de sync/recovery. Mo ta node-blind chi ap dung cho record duoc client ma hoa truoc remember_sealed, khong ap dung cho moi che do cognitive hoac legacy.
Loi hua san pham
Bon loi hua co the kiem chung: sealed storage tren node khong co content key; offline recall khi record da co tren thiet bi; khoa duoc dan xuat tu P2P identity kem owner signature; va tach storage khoi AI brain do nguoi dung chon. AeroNyx khong co master recovery key. Tu Chain mo ta lien ket va thu tu cua memory state, khong phai token chain hay blockchain cong khai da muc dich.
Cac lop da trien khai
| Lop | Vai tro | Ranh gioi |
|---|---|---|
| Device store | AES-256-GCM, sealed embedding, BM25/vector cuc bo | Plaintext chi ton tai trong process da unlock |
| Sealed MPI | remember_sealed, owner-auth recall/forget/status | Node luu signed ciphertext ma khong decrypt |
| Standard MemChain | Local/P2P/SaaS cognition, graph/vector | Mot so deployment co the doc record; ngoai strict promise |
| Commitment ledger | Signed ordering, follower recovery, pinned witness | Commitment chi mang opaque record ID |
Blind storage phu thuoc config; khong mac dinh moi node deu bat.
Ghi nho, luu tru va truy hoi
- Remember: AI turn da duoc dong y distill mot fact huu ich; thiet bi seal bang AES-256-GCM, tao content address va ky. P2P private chat khong tu dong thanh memory.
- Store: ghi vao SQLite cuc bo truoc; neu sealed storage dang bat, cung opaque object duoc gui best-effort den node.
- Recall: keyword, vector, time, layer, project va structured signal duoc hop nhat tren thiet bi; chi cac hit duoc chon moi bi giai ma.
Thiet bi moi can cung recoverable identity va du lieu da sync.
Hop dong node-blind nghiem ngat
Node tinh lai record ID tu owner, timestamp, layer, tags, source va ciphertext; xac minh Ed25519; sau do luu ciphertext nguyen ven, khong decrypt, re-encrypt hay re-sign. Keyed hash, client vector, opaque edge/provenance va project label/hash la tuy chon. Day la node-blind storage, khong phai zero-knowledge proof; vector hoac plaintext label co the lo cau truc.
Metadata node co the thay
Node thay owner public key, thoi diem, kich thuoc, so luong, layer/source, record ID, dang opaque graph va tuy chon project/vector/keyed term. Node khong duoc thay memory plaintext, content key, raw token, identity seed, AI prompt, chat plaintext, DNS, destination, browsing history hay wallet traffic. Content confidentiality khong tu dong bao dam owner unlinkability hoac chong traffic analysis.
Truy hoi ma hoa local-first
Rust local store chi ghi ciphertext xuong dia. Khi unlock, no dan xuat domain-separated key tu P2P identity dang hoat dong, tao RAM index va chi decrypt hit theo yeu cau; embedding va snapshot cung duoc seal. Lock loai bo usable key state. BM25/vector fusion voi time/layer/project mang tinh deterministic va khong can goi LLM moi. Local write la authoritative, node chi la secondary backup.
Quan he voi chat, danh tinh va dinh tuyen rieng tu
Encrypted chat van chuyen E2E ciphertext va khong tu tao memory. AI turn chi vao memory sau user opt-in. Neu mat toan bo identity material, khong co master key de giai ma record. Privacy Network bao ve transport; MemChain bao ve selected state at rest. Raw conversation journal phai la encrypted history doc lap, opt-in, khong phai tac dung ngam cua remember.
Agent va ranh gioi nha cung cap model
Blind storage tach khoi cognitive processing. Co worker khong trao quyen doc cho blind node. Local model nam trong local boundary; external provider co the doc plaintext prompt ma nguoi dung gui va la mot trust choice rieng. Timeout, limit, cooldown, fallback hay TEE khong bien external plaintext call thanh E2E encrypted. UI/API phai hien provider va lay consent.
Commitment ledger va witness
Rust trien khai append-only signed commitment, bounded follower sync, signed local anchor, checkpoint certificate, pinned witness va optional lease. Strict startup co the yeu cau nhieu pin truoc khi mo listener. Day la co che phat hien rollback, fork, divergence va equivocation; khong phai permissionless consensus, public finality, leader election, token execution hay proof rang witness giu payload. Tat ca default-off/config-controlled.
Cach trinh bay benchmark
Trong bai do LongMemEval-S noi bo thang 7/2026, cau hinh thu nghiem dat retrieval hit 95-99% va node-side recall 2-5 ms. Ket qua phu thuoc model, extraction, dataset, device, corpus va path. Retrieval khong can LLM inference moi. Khong goi la SOTA, industry-best, formal zero knowledge hay guaranteed recovery; khong bien du bao thanh ket qua; luon ghi ngay, cau hinh va model.
Quan sat van hanh an toan
Nodeboard/health chi hien aggregate enabled/configured, encrypted count/bytes, quota/cleanup, commitment height/audit, follower freshness, carrier recovery, witness count/threshold tong hop va coarse latency/error bucket. Khong hien owner key, record ID, project, blind term, vector, edge, checkpoint hash/signature, witness identity/endpoint, ciphertext/plaintext/prompt hoac per-user history.
Do truong thanh va cac tuyen bo loai tru
Da trien khai: device encrypted store, identity unlock, local hybrid recall, sealed write/recall/forget, owner signature, opaque search va storage-root attestation. Phu thuoc config: public blind storage, remote owner, coordinator/follower, witness, threshold va lease. Trust rieng: readable cognition, SuperNode va provider. Khong tuyen bo: moi node deu luu, global chain, permissionless consensus, token, universal durability, metadata anonymity hoac bao ve khi client bi compromise.
Ranh gioi rieng tu
Client quyet dinh dieu gi can nho, ma hoa truoc sealed upload, giu content key va chi decrypt mot so hit tren may. Node xac thuc owner, luu/sap xep opaque state, phuc vu authorized retrieval va cong bo aggregate health; no khong doc hay bien doi content. External AI co the nhan relevant plaintext. Khong co identity key thi AeroNyx khong the khoi phuc memory.