enigma-memory 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/apps/cli/bin/enigma.mjs +362 -10
- package/deploy/SIMULATION.md +152 -0
- package/deploy/docker-compose.local-production-simulation.yml +237 -0
- package/deploy/docker-compose.production.example.yml +19 -0
- package/deploy/kms-mock.mjs +64 -0
- package/deploy/nginx.local-production-simulation.conf +33 -0
- package/deploy/siem-mock.mjs +50 -0
- package/docs/benchmark-attestation-network.md +488 -0
- package/docs/benchmark-reproducibility.md +19 -2
- package/docs/blockchain-only-mechanisms.md +388 -0
- package/docs/client-connectors.md +512 -0
- package/docs/demo-proof-network.md +275 -0
- package/docs/developer-ecosystem.md +47 -4
- package/docs/developer-proof-quickstart.md +325 -0
- package/docs/enigma-memory-ready-conformance.md +376 -0
- package/docs/enterprise-proof-control-plane.md +365 -0
- package/docs/install-anywhere.md +517 -0
- package/docs/market-category-narrative.md +398 -0
- package/docs/memory-drive-health-model.md +649 -0
- package/docs/memory-drive-strategy.md +458 -0
- package/docs/memory-passport-standard.md +445 -0
- package/docs/novelty-invention-candidates.md +161 -0
- package/docs/privacy-ledger-model.md +229 -0
- package/docs/proof-network-build-notes.md +240 -0
- package/docs/proof-network-claim-boundaries.md +318 -0
- package/docs/proof-network-dashboard-spec.md +773 -0
- package/docs/proof-network-glossary.md +27 -0
- package/docs/proof-network-launch-plan.md +421 -0
- package/docs/proof-network-operator-protocol.md +432 -0
- package/docs/proof-network-roadmap.md +431 -0
- package/docs/proof-network-test-plan.md +216 -0
- package/docs/proof-network-threat-model.md +373 -0
- package/docs/proof-network.md +257 -0
- package/docs/sdk-api.md +132 -10
- package/docs/solana-devnet-acceptance.md +226 -0
- package/docs/solana-proof-rail.md +453 -0
- package/examples/ci/github-actions.yml +6 -3
- package/examples/proof-network-anchor.json +37 -0
- package/examples/proof-network-attestation.json +35 -0
- package/examples/proof-network-grant.json +27 -0
- package/examples/proof-network-packet.json +71 -0
- package/package.json +42 -3
- package/packages/mcp-server/src/index.js +1 -1
- package/packages/proof-network/src/index.js +570 -0
- package/scripts/build-hosted-api-key-lifecycle.mjs +1 -1
- package/scripts/build-hosted-customer-lifecycle.mjs +1 -1
- package/scripts/build-installer-assets.mjs +1 -1
- package/scripts/build-proof-network-packet.mjs +213 -0
- package/scripts/run-standard-memory-benchmarks.mjs +1 -1
- package/scripts/simulate-production-env.mjs +210 -0
- package/scripts/verify-registry-install.mjs +1 -0
- package/scripts/wait-for-backend-ready.mjs +101 -0
- package/specs/goal-completion-audit-v1.schema.json +1 -0
- package/specs/proof-network-anchor-batch-v1.schema.json +125 -0
- package/specs/proof-network-benchmark-attestation-v1.schema.json +103 -0
- package/specs/proof-network-capability-grant-v1.schema.json +132 -0
- package/specs/proof-network-packet-v1.schema.json +171 -0
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
# Memory Passport Standard
|
|
2
|
+
|
|
3
|
+
Status: draft v0.1
|
|
4
|
+
Audience: client authors, connector authors, operators, auditors, and verifier implementers
|
|
5
|
+
|
|
6
|
+
The Memory Passport is Enigma's portable, private memory container format. It lets a user, team, or customer move AI memory across supported tools while keeping Enigma-controlled custody, lifecycle state, context-pack decisions, and proof receipts verifiable without publishing raw memory.
|
|
7
|
+
|
|
8
|
+
This standard defines the minimum public-safe metadata and proof semantics for a conforming Memory Passport. It does not define a hosted service, a deployed Solana program, provider-side deletion, model forgetting, legal compliance certification, benchmark superiority, or financial outcome. Solana, if used, is an optional proof, permission, or settlement rail for hashes, roots, references, and nullifiers only.
|
|
9
|
+
|
|
10
|
+
## 1. Design goals
|
|
11
|
+
|
|
12
|
+
A conforming passport MUST:
|
|
13
|
+
|
|
14
|
+
1. Treat Enigma-controlled memory state as the canonical source of truth.
|
|
15
|
+
2. Keep provider-native memory, chat history, logs, and personalization as non-canonical caches unless imported and receipted through Enigma.
|
|
16
|
+
3. Separate private payloads from public proof material.
|
|
17
|
+
4. Preserve lifecycle evidence for active, deleted/tombstoned, and derived memory state.
|
|
18
|
+
5. Support scoped context packs for model, tool, and agent boundaries.
|
|
19
|
+
6. Support import and export without leaking raw private data into public artifacts.
|
|
20
|
+
7. Let offline verifiers check roots, receipts, signatures, versions, and conformance claims.
|
|
21
|
+
8. Allow optional chain anchoring or settlement without placing raw memory, prompts, transcripts, completions, embeddings, tenant names, API keys, private keys, seed phrases, or provider responses on a public network.
|
|
22
|
+
|
|
23
|
+
A conforming passport MUST NOT claim that it proves external provider deletion, backup erasure, model forgetting, provider account identity, customer identity, legal compliance, ROI, or chain finality unless that evidence is supplied by a separately reviewed process outside this standard.
|
|
24
|
+
|
|
25
|
+
## 2. Terminology
|
|
26
|
+
|
|
27
|
+
| Term | Meaning |
|
|
28
|
+
| --- | --- |
|
|
29
|
+
| Passport | The private memory container plus its public-safe proof envelope. |
|
|
30
|
+
| Private payload | Memory bodies, user notes, prompts, transcripts, completions, embeddings, provider responses, private policy text, tenant identifiers, and secrets. |
|
|
31
|
+
| Public proof profile | The subset of passport metadata safe to publish or anchor: hashes, Merkle roots, refs, counts, timestamps, schema names, version ids, policy refs, signature refs, and nullifiers. |
|
|
32
|
+
| Memory address | A stable commitment or internal reference to a memory record. Public artifacts expose only commitments or refs, not the memory body. |
|
|
33
|
+
| Active set | Memory addresses currently eligible for Enigma serving and context-pack construction. |
|
|
34
|
+
| Deleted set | Tombstoned or delete-requested memory addresses that MUST NOT be served by Enigma active paths after the effective tombstone epoch. |
|
|
35
|
+
| Derived set | Indexes, summaries, context packs, exports, benchmark reports, or other artifacts derived from private memory. |
|
|
36
|
+
| Receipt | A signed or signable event record that binds an operation to roots, refs, counts, timestamps, versions, and boundary statements. |
|
|
37
|
+
| Context pack | A minimized, task-specific bundle prepared for a model, tool, agent, or connector under policy. Private context may exist in the pack payload; public proof material commits only to roots and refs. |
|
|
38
|
+
| Epoch | A monotonically ordered passport state boundary. Each accepted mutation produces or references an epoch. |
|
|
39
|
+
|
|
40
|
+
## 3. Passport object model
|
|
41
|
+
|
|
42
|
+
A Memory Passport has two layers:
|
|
43
|
+
|
|
44
|
+
1. **Private layer.** Encrypted or local-only memory records, private policies, private context-pack payloads, embeddings if present, import source material, and user/operator notes.
|
|
45
|
+
2. **Proof layer.** Public-safe metadata that commits to the private layer without disclosing it.
|
|
46
|
+
|
|
47
|
+
The proof layer MUST contain, at minimum:
|
|
48
|
+
|
|
49
|
+
| Field class | Requirement |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| Passport identifier | A stable public-safe passport ref or commitment. It MUST NOT be a user email, tenant name, wallet identity, filesystem path, or provider account id. |
|
|
52
|
+
| Standard version | The Memory Passport Standard version and any profile version used by the verifier. |
|
|
53
|
+
| Issuer/signature refs | Public key refs, signature refs, or local signer refs sufficient for the verifier profile. Private keys MUST NOT appear. |
|
|
54
|
+
| Epoch refs | Current epoch, previous epoch where applicable, and creation/import epoch refs. |
|
|
55
|
+
| Required roots | Active root, deleted/tombstone root, receipt log root, and derived artifact root. Custody and semantic roots are REQUIRED when the passport advertises the dual-root profile. |
|
|
56
|
+
| Counts | Public-safe counts for active addresses, deleted/tombstoned addresses, receipt entries, derived artifacts, imports, exports, and context packs where applicable. |
|
|
57
|
+
| Policy refs | Policy hashes or refs that governed active serving, context construction, import, export, deletion, and derived refresh. Private policy text MUST NOT appear. |
|
|
58
|
+
| Boundary statement | A short public-safe statement of what the passport proves and what it does not prove. |
|
|
59
|
+
|
|
60
|
+
The proof layer MAY be exported, verified, witnessed, or anchored. The private layer MUST remain local, encrypted, or shared only through an explicit private exchange path.
|
|
61
|
+
|
|
62
|
+
## 4. Required roots
|
|
63
|
+
|
|
64
|
+
A conforming passport MUST compute and retain the following roots for each committed epoch.
|
|
65
|
+
|
|
66
|
+
| Root | Covers | Public-safe verifier question |
|
|
67
|
+
| --- | --- | --- |
|
|
68
|
+
| Active root | Memory address commitments eligible for current Enigma serving. | Is this address set the one Enigma is allowed to retrieve from now? |
|
|
69
|
+
| Deleted root | Tombstoned/delete-requested address commitments and effective tombstone epochs. | Is this address excluded from active serving after the declared epoch? |
|
|
70
|
+
| Receipt log root | Ordered lifecycle and boundary receipt commitments. | Does a receipt belong to the passport history claimed by this epoch? |
|
|
71
|
+
| Derived artifact root | Commitments to indexes, summaries, context packs, exports, benchmark reports, and other derived artifacts. | Were derived artifacts refreshed against the declared source roots? |
|
|
72
|
+
| Import root | Source import commitments, source caveats, transformation refs, and import receipts. | Can imported material be distinguished from Enigma-native memory until re-receipted? |
|
|
73
|
+
| Export root | Export manifest commitments, included root refs, and export receipts. | Does an exported bundle match the passport epoch and proof profile? |
|
|
74
|
+
|
|
75
|
+
The following roots are REQUIRED for passports that advertise the dual-root profile and RECOMMENDED for all new implementations:
|
|
76
|
+
|
|
77
|
+
| Root | Covers | Purpose |
|
|
78
|
+
| --- | --- | --- |
|
|
79
|
+
| Custody/lifecycle root | Memory address commitments, lifecycle receipts, issuer refs, and epoch links. | Proves custody history over committed addresses without exposing memory. |
|
|
80
|
+
| Semantic-use root | Purpose refs, sensitivity class refs, capability refs, retrieval class refs, and policy refs. | Proves the semantic boundary used to construct context without exposing text or embeddings. |
|
|
81
|
+
|
|
82
|
+
Both dual-root values MUST bind to the same epoch ref, passport ref, policy-ref set, and memory-count summary. A verifier MUST reject a passport proof if either root is missing from a dual-root profile, if the roots bind to different epochs, or if counts/policy refs disagree.
|
|
83
|
+
|
|
84
|
+
## 5. Receipt requirements
|
|
85
|
+
|
|
86
|
+
Every passport mutation or boundary event MUST produce a receipt commitment. The private receipt body MAY remain local; the public receipt envelope MUST be sufficient for offline verification.
|
|
87
|
+
|
|
88
|
+
### 5.1 Required receipt classes
|
|
89
|
+
|
|
90
|
+
| Receipt class | When emitted | Required public-safe commitments |
|
|
91
|
+
| --- | --- | --- |
|
|
92
|
+
| Create | Passport creation or first controlled import. | Passport ref, standard version, issuer ref, initial roots, timestamp, signature ref. |
|
|
93
|
+
| Remember/import | New memory is accepted into Enigma-controlled state. | Prior epoch, next epoch, source class ref, import root where applicable, active root, receipt log root. |
|
|
94
|
+
| Update | Existing committed memory address changes. | Address commitment, prior active root, next active root, policy ref, receipt log root. |
|
|
95
|
+
| Tombstone/delete-request | Memory is removed from Enigma active serving eligibility. | Address commitment or deletion batch root, tombstone epoch, deleted root, next active root, boundary statement. |
|
|
96
|
+
| Derived refresh | Index, summary, context pack, export, or benchmark artifact is rebuilt. | Source roots, derived artifact root, builder/version ref, count summary. |
|
|
97
|
+
| Context pre-receipt | A requester asks for scoped context before payload disclosure. | Request nonce, purpose ref, policy hash, receiver capability ref, allowed output class, source root refs. |
|
|
98
|
+
| Context final receipt | A context request is approved or denied. | Pre-receipt hash, decision, disclosure root or denial reason code, context-pack ref, next receipt log root. |
|
|
99
|
+
| Export | A passport or proof bundle leaves the local system. | Export root, included epoch, included roots, redaction profile, recipient/ref class if public-safe. |
|
|
100
|
+
| Import | A bundle enters a passport. | Source export root, source caveat refs, transformation refs, accepted/rejected counts, next active root. |
|
|
101
|
+
| Verify | A verifier checks a passport, receipt, context pack, export, or proof packet. | Verifier version ref, checked roots, pass/fail code, failure boundary if any. |
|
|
102
|
+
| Fork | Two histories claim incompatible next epochs. | Shared ancestor ref, branch root refs, signer refs, resolution policy hash, no-plaintext conflict summary. |
|
|
103
|
+
| Revocation/nullifier | A capability, context permission, export authorization, or one-time proof is revoked or consumed. | Grant/ref id, nullifier, reason code, timestamp, signature ref. |
|
|
104
|
+
|
|
105
|
+
Receipt envelopes MUST NOT contain raw memory, raw prompts, transcripts, completions, embeddings, private policy bodies, private ACLs, tenant names, customer names, account ids, API keys, private keys, seed phrases, provider responses, or wallet seed material.
|
|
106
|
+
|
|
107
|
+
### 5.2 Receipt ordering
|
|
108
|
+
|
|
109
|
+
Receipts MUST be ordered by epoch or by an append-only sequence whose root is committed in the receipt log root. Implementations MAY use a Merkle tree, hash chain, transparency-log-style structure, or equivalent commitment scheme, but the verifier MUST be able to detect:
|
|
110
|
+
|
|
111
|
+
- missing receipts;
|
|
112
|
+
- reordered receipts;
|
|
113
|
+
- receipt replay across passport ids;
|
|
114
|
+
- mismatched previous/next roots;
|
|
115
|
+
- duplicate nonces or nullifiers;
|
|
116
|
+
- derived artifacts built from stale roots;
|
|
117
|
+
- tombstoned addresses that remain in the active root after the effective deletion epoch.
|
|
118
|
+
|
|
119
|
+
## 6. Active, deleted, and derived separation
|
|
120
|
+
|
|
121
|
+
A conforming passport MUST keep active, deleted, and derived state logically separate even if an implementation stores them in the same local database.
|
|
122
|
+
|
|
123
|
+
### 6.1 Active memory
|
|
124
|
+
|
|
125
|
+
The active set contains only memory address commitments eligible for current Enigma retrieval and context-pack construction. Active membership MUST be governed by the current policy refs and MUST be committed in the active root.
|
|
126
|
+
|
|
127
|
+
### 6.2 Deleted and tombstoned memory
|
|
128
|
+
|
|
129
|
+
The deleted set records tombstones, delete requests, non-serving commitments, and effective epochs. A tombstoned address MAY remain in private audit history, backups, or receipt logs, but it MUST NOT remain eligible for Enigma active serving after the tombstone epoch.
|
|
130
|
+
|
|
131
|
+
A passport MAY prove Enigma active-serving exclusion for a committed address. It MUST NOT describe that proof as provider deletion, external backup deletion, model forgetting, semantic forgetting, or legal erasure unless separate evidence exists outside this standard.
|
|
132
|
+
|
|
133
|
+
### 6.3 Derived artifacts
|
|
134
|
+
|
|
135
|
+
Derived artifacts include indexes, summaries, retrieval caches, context packs, export manifests, benchmark reports, and proof packets. Each derived artifact MUST declare the source roots and builder/version refs used to produce it.
|
|
136
|
+
|
|
137
|
+
When active or deleted roots change, implementations MUST either:
|
|
138
|
+
|
|
139
|
+
1. refresh affected derived artifacts and emit derived-refresh receipts; or
|
|
140
|
+
2. mark affected derived artifacts stale and prevent them from being used as current proof.
|
|
141
|
+
|
|
142
|
+
A context pack or export MUST NOT be considered current if it depends on a root older than the passport epoch it claims to represent, unless it explicitly declares a historical-epoch profile.
|
|
143
|
+
|
|
144
|
+
## 7. Context pack profile
|
|
145
|
+
|
|
146
|
+
Context packs are private operational payloads with public proof envelopes. They let Enigma prepare task-specific memory for models, tools, agents, or connectors while keeping the passport as canonical custody.
|
|
147
|
+
|
|
148
|
+
### 7.1 Construction requirements
|
|
149
|
+
|
|
150
|
+
Before constructing a context pack, a conforming implementation MUST bind:
|
|
151
|
+
|
|
152
|
+
- passport ref;
|
|
153
|
+
- current epoch ref;
|
|
154
|
+
- active root;
|
|
155
|
+
- deleted root or tombstone exclusion root;
|
|
156
|
+
- policy refs;
|
|
157
|
+
- purpose ref;
|
|
158
|
+
- requester nonce;
|
|
159
|
+
- receiver capability ref or boundary ref;
|
|
160
|
+
- selected-address root;
|
|
161
|
+
- omitted-address count or omission-root ref;
|
|
162
|
+
- context builder/version ref;
|
|
163
|
+
- maximum disclosure class or allowed output class.
|
|
164
|
+
|
|
165
|
+
The implementation MUST emit a context pre-receipt before private context leaves the passport boundary and a context final receipt after approval or denial.
|
|
166
|
+
|
|
167
|
+
### 7.2 Disclosure rules
|
|
168
|
+
|
|
169
|
+
A context-pack public envelope MAY include hashes, roots, refs, counts, timestamps, version ids, decision codes, and signature refs. It MUST NOT include the private context text, source memory text, model prompt, model completion, embedding vector, provider response, user identity, tenant identity, or private policy text.
|
|
170
|
+
|
|
171
|
+
If a context pack is denied, the final receipt SHOULD use a public-safe reason code such as `policy_scope_mismatch`, `expired_capability`, `tombstoned_source`, `stale_derived_root`, or `private_payload_rejected`. It SHOULD NOT include private narrative details.
|
|
172
|
+
|
|
173
|
+
### 7.3 Receiver obligations
|
|
174
|
+
|
|
175
|
+
A receiver that advertises Memory Passport compatibility MUST:
|
|
176
|
+
|
|
177
|
+
- request context for a declared purpose and boundary;
|
|
178
|
+
- treat received context as scoped, not as ownership of the passport;
|
|
179
|
+
- preserve receipt refs for audit and troubleshooting;
|
|
180
|
+
- avoid storing raw context in public logs or proof packets;
|
|
181
|
+
- avoid claiming that provider-native memory is canonical unless the memory was re-imported and receipted into Enigma-controlled state.
|
|
182
|
+
|
|
183
|
+
## 8. Import and export
|
|
184
|
+
|
|
185
|
+
### 8.1 Import
|
|
186
|
+
|
|
187
|
+
Imports from providers, vector stores, files, agent frameworks, previous passports, or backups MUST be marked by source class and caveat refs until rewritten into Enigma-native memory through a receipt-producing operation.
|
|
188
|
+
|
|
189
|
+
An import receipt MUST distinguish at least:
|
|
190
|
+
|
|
191
|
+
| Source class | Required caveat |
|
|
192
|
+
| --- | --- |
|
|
193
|
+
| Provider export | Enigma does not prove provider retention, deletion, completeness, or account identity from the export alone. |
|
|
194
|
+
| Vector/RAG store | Enigma does not infer lifecycle semantics from an index unless the source includes compatible receipts. |
|
|
195
|
+
| Agent framework state | Enigma treats framework state as imported memory until receipted into the passport. |
|
|
196
|
+
| Previous passport | Enigma verifies source roots and receipt continuity before accepting as same-history state. |
|
|
197
|
+
| Manual file import | Enigma verifies only the local import operation and resulting commitments. |
|
|
198
|
+
|
|
199
|
+
Imports MUST reject or quarantine payloads that would place raw private content into public proof fields. Accepted imports MUST update the import root, active root where applicable, receipt log root, and count summary.
|
|
200
|
+
|
|
201
|
+
### 8.2 Export
|
|
202
|
+
|
|
203
|
+
Exports MUST be explicit and receipted. Export profiles SHOULD be one of:
|
|
204
|
+
|
|
205
|
+
| Profile | Contents | Use |
|
|
206
|
+
| --- | --- | --- |
|
|
207
|
+
| Private transfer | Private payload plus proof envelope, encrypted or otherwise controlled by the operator/user. | Moving a passport between trusted environments. |
|
|
208
|
+
| Proof-only | Public-safe roots, refs, counts, signatures, and conformance statement. | Sharing verification material without memory content. |
|
|
209
|
+
| Context-pack transfer | Scoped private context plus public envelope for a specific receiver and purpose. | One task, tool, agent, or connector boundary. |
|
|
210
|
+
| Historical archive | Private or controlled archive plus proof roots for a declared historical epoch. | Backup, audit, or migration. |
|
|
211
|
+
|
|
212
|
+
A proof-only export MUST be safe to publish. A private transfer or context-pack transfer MUST NOT be treated as public-safe simply because it contains a proof envelope.
|
|
213
|
+
|
|
214
|
+
## 9. Privacy and public proof profile
|
|
215
|
+
|
|
216
|
+
The public proof profile is the subset of passport data that may appear in docs, examples, verifier output, proof packets, or optional chain-anchor planning artifacts.
|
|
217
|
+
|
|
218
|
+
### 9.1 Allowed public fields
|
|
219
|
+
|
|
220
|
+
Public artifacts MAY include:
|
|
221
|
+
|
|
222
|
+
- schema ids and standard versions;
|
|
223
|
+
- passport refs and artifact refs that are not directly identifying;
|
|
224
|
+
- `sha256:` hashes or Merkle roots;
|
|
225
|
+
- epoch refs, previous-root refs, and receipt refs;
|
|
226
|
+
- counts and aggregate summaries;
|
|
227
|
+
- timestamps rounded or minimized as appropriate for the use case;
|
|
228
|
+
- policy hashes and public policy refs;
|
|
229
|
+
- purpose refs and sensitivity class refs;
|
|
230
|
+
- decision codes and boundary codes;
|
|
231
|
+
- public key refs and signature refs;
|
|
232
|
+
- nullifiers and revocation refs;
|
|
233
|
+
- optional chain/network labels when no transaction submission is claimed.
|
|
234
|
+
|
|
235
|
+
### 9.2 Prohibited public fields
|
|
236
|
+
|
|
237
|
+
Public artifacts MUST NOT include:
|
|
238
|
+
|
|
239
|
+
- raw memory bodies;
|
|
240
|
+
- prompts, transcripts, completions, or provider responses;
|
|
241
|
+
- embeddings or vector values;
|
|
242
|
+
- private context-pack payloads;
|
|
243
|
+
- tenant names, customer names, user emails, local usernames, or account ids;
|
|
244
|
+
- raw ACLs, private policy text, incident details, or support narratives;
|
|
245
|
+
- API keys, bearer tokens, private keys, seed phrases, wallet seed material, or signing secrets;
|
|
246
|
+
- local absolute paths that reveal personal or customer identity;
|
|
247
|
+
- provider deletion claims or model-forgetting claims encoded as facts.
|
|
248
|
+
|
|
249
|
+
### 9.3 Optional Solana proof rail
|
|
250
|
+
|
|
251
|
+
A passport MAY produce Solana-ready anchor, permission, revocation, or settlement references. These artifacts MUST carry only public proof profile data: roots, hashes, refs, nullifiers, counts, schema ids, and boundary flags.
|
|
252
|
+
|
|
253
|
+
Local planning artifacts MUST clearly state when no transaction was submitted. A passport verifier MUST NOT infer Solana finality from a local planning artifact. If an external workflow later submits an anchor transaction, chain verification and transaction identity are outside this standard and MUST be documented separately.
|
|
254
|
+
|
|
255
|
+
## 10. Versioning
|
|
256
|
+
|
|
257
|
+
The standard uses semantic-ish profile identifiers:
|
|
258
|
+
|
|
259
|
+
- breaking verifier semantics: increment the major version;
|
|
260
|
+
- additive receipt classes, optional fields, or profiles: increment the minor version;
|
|
261
|
+
- wording clarifications and non-semantic registry updates: increment the patch version.
|
|
262
|
+
|
|
263
|
+
Every passport proof layer MUST declare:
|
|
264
|
+
|
|
265
|
+
| Version field | Requirement |
|
|
266
|
+
| --- | --- |
|
|
267
|
+
| Standard version | The Memory Passport Standard version targeted by the passport. |
|
|
268
|
+
| Passport schema version | The concrete schema/profile used by the proof envelope. |
|
|
269
|
+
| Receipt schema version | The schema/profile used by each receipt class. |
|
|
270
|
+
| Context-pack profile version | The context construction and public-envelope profile. |
|
|
271
|
+
| Import/export profile version | The profile that governed bundle creation or acceptance. |
|
|
272
|
+
| Verifier version | The verifier implementation or ruleset used for a verification receipt. |
|
|
273
|
+
|
|
274
|
+
Verifiers MUST fail closed when encountering unsupported major versions. Verifiers MAY accept older minor versions if the implementation can preserve the same privacy boundary and root semantics. Implementations MUST NOT silently reinterpret an older passport into a newer profile without emitting migration receipts.
|
|
275
|
+
|
|
276
|
+
### 10.1 Migration
|
|
277
|
+
|
|
278
|
+
A migration from one passport version to another MUST emit a migration receipt that binds:
|
|
279
|
+
|
|
280
|
+
- source standard version;
|
|
281
|
+
- target standard version;
|
|
282
|
+
- source roots;
|
|
283
|
+
- target roots;
|
|
284
|
+
- migration tool/version ref;
|
|
285
|
+
- accepted/rejected artifact counts;
|
|
286
|
+
- policy refs used for transformation;
|
|
287
|
+
- boundary statement.
|
|
288
|
+
|
|
289
|
+
Migration MUST NOT launder imported or caveated material into native Enigma memory without the required lifecycle receipts.
|
|
290
|
+
|
|
291
|
+
## 11. Conformance
|
|
292
|
+
|
|
293
|
+
A conforming implementation MUST pass the normative checks below for the profile it advertises.
|
|
294
|
+
|
|
295
|
+
### 11.1 Passport conformance
|
|
296
|
+
|
|
297
|
+
- The proof layer MUST declare standard, schema, receipt, context-pack, import/export, and verifier versions.
|
|
298
|
+
- The passport ref MUST be public-safe and not directly identifying.
|
|
299
|
+
- Active root, deleted root, receipt log root, derived artifact root, import root, and export root MUST be present or explicitly declared empty with valid empty-root semantics.
|
|
300
|
+
- Dual-root passports MUST include custody/lifecycle root and semantic-use root bound to the same epoch, policy refs, and count summary.
|
|
301
|
+
- Counts MUST be internally consistent with the corresponding roots and receipts.
|
|
302
|
+
- The receipt log MUST detect missing, reordered, replayed, or mismatched receipts.
|
|
303
|
+
- Tombstoned addresses MUST be excluded from active serving after the effective epoch.
|
|
304
|
+
- Derived artifacts MUST declare source roots and be refreshed or marked stale after relevant root changes.
|
|
305
|
+
|
|
306
|
+
### 11.2 Context-pack conformance
|
|
307
|
+
|
|
308
|
+
- Context packs MUST be scoped by purpose, policy, receiver capability, epoch, and source roots.
|
|
309
|
+
- Context pre-receipt and final receipt MUST be emitted for approved and denied requests.
|
|
310
|
+
- Public context-pack envelopes MUST contain only hashes, roots, refs, counts, versions, decisions, timestamps, and signature refs.
|
|
311
|
+
- Denials SHOULD use public-safe reason codes.
|
|
312
|
+
- Context packs derived from stale roots MUST be rejected or marked historical.
|
|
313
|
+
- Deleted/tombstoned addresses MUST NOT appear in current context packs.
|
|
314
|
+
|
|
315
|
+
### 11.3 Import/export conformance
|
|
316
|
+
|
|
317
|
+
- Imports MUST record source class, source caveats, transformation refs, accepted/rejected counts, and resulting roots.
|
|
318
|
+
- Imported material MUST stay caveated until receipted as Enigma-controlled memory.
|
|
319
|
+
- Exports MUST declare private-transfer, proof-only, context-pack-transfer, or historical-archive profile.
|
|
320
|
+
- Proof-only exports MUST be safe to publish under the public proof profile.
|
|
321
|
+
- Private transfers and context-pack transfers MUST NOT be labeled public-safe unless private payloads are absent.
|
|
322
|
+
- Export receipts MUST bind the exact epoch and included root refs.
|
|
323
|
+
|
|
324
|
+
### 11.4 Privacy conformance
|
|
325
|
+
|
|
326
|
+
- Public artifacts MUST reject raw memory, prompts, transcripts, completions, embeddings, private context, provider responses, tenant names, customer names, local usernames, private policy text, raw ACLs, secrets, private keys, seed phrases, and API keys.
|
|
327
|
+
- Public examples MUST use synthetic refs, hashes, roots, counts, versions, and reason codes.
|
|
328
|
+
- Boundary statements MUST avoid provider deletion, model forgetting, compliance certification, ROI, live deployment, or benchmark superiority claims unless separately evidenced.
|
|
329
|
+
- Optional chain artifacts MUST carry hashes, roots, refs, nullifiers, counts, and boundary flags only.
|
|
330
|
+
|
|
331
|
+
### 11.5 Verifier conformance
|
|
332
|
+
|
|
333
|
+
A verifier MUST reject:
|
|
334
|
+
|
|
335
|
+
- unsupported major versions;
|
|
336
|
+
- missing required roots;
|
|
337
|
+
- malformed hashes, refs, timestamps, counts, or signature refs;
|
|
338
|
+
- mismatched epoch bindings across roots;
|
|
339
|
+
- inconsistent active/deleted membership;
|
|
340
|
+
- context packs without matching pre-receipts and final receipts;
|
|
341
|
+
- derived artifacts built from stale roots without a historical profile;
|
|
342
|
+
- duplicate nonces or nullifiers;
|
|
343
|
+
- public payloads containing prohibited private fields;
|
|
344
|
+
- chain-planning artifacts that imply transaction submission when no independently verified transaction evidence is supplied.
|
|
345
|
+
|
|
346
|
+
A verifier MAY warn, rather than fail, on optional profile fields that are absent from an older supported minor version, provided the missing field does not weaken the privacy boundary, root binding, receipt ordering, or active/deleted/derived separation.
|
|
347
|
+
|
|
348
|
+
## 12. Minimal conformance packet
|
|
349
|
+
|
|
350
|
+
A public conformance packet for a Memory Passport implementation SHOULD contain:
|
|
351
|
+
|
|
352
|
+
| Packet section | Public-safe contents |
|
|
353
|
+
| --- | --- |
|
|
354
|
+
| Implementation summary | Product/tool name as a public ref, version, supported passport profile, supported operating mode. |
|
|
355
|
+
| Root summary | Current active, deleted, receipt log, derived, import, and export roots with counts. |
|
|
356
|
+
| Receipt summary | Receipt class counts, latest epoch, verifier status, failure codes if any. |
|
|
357
|
+
| Context-pack summary | Approved/denied counts, context profile version, selected-address roots, omitted counts. |
|
|
358
|
+
| Import/export summary | Source classes, caveat refs, accepted/rejected counts, export profile refs. |
|
|
359
|
+
| Privacy statement | Explicit list of private material excluded from public artifacts. |
|
|
360
|
+
| Chain statement | Whether the packet is local-only, Solana-ready, or externally anchored; if local-only, it MUST state that no transaction was submitted. |
|
|
361
|
+
| Conformance result | Pass/fail/not-applicable decisions for the checks in this standard. |
|
|
362
|
+
|
|
363
|
+
The packet is evidence that a reviewed implementation followed this Memory Passport proof profile for declared artifacts. It is not a substitute for a security audit, legal compliance review, cloud deployment proof, provider deletion report, or chain finality proof.
|
|
364
|
+
|
|
365
|
+
## 13. Canonicalization and root construction
|
|
366
|
+
|
|
367
|
+
Implementations MAY choose different storage engines, but public roots MUST be reproducible from the public proof profile and the private commitments they represent. A conforming implementation MUST document its canonicalization profile before claiming interoperability.
|
|
368
|
+
|
|
369
|
+
### 13.1 Canonical field profile
|
|
370
|
+
|
|
371
|
+
Canonical root inputs MUST:
|
|
372
|
+
|
|
373
|
+
- use stable field names for proof-layer fields;
|
|
374
|
+
- sort unordered sets by bytewise ref or commitment value before hashing;
|
|
375
|
+
- preserve receipt order when computing receipt log roots;
|
|
376
|
+
- distinguish absent fields from explicitly empty sets;
|
|
377
|
+
- include the root type label in each root calculation so an active root cannot be replayed as a deleted root or derived artifact root;
|
|
378
|
+
- include passport ref, epoch ref, standard version, and profile version in every top-level epoch commitment;
|
|
379
|
+
- normalize timestamps to a declared precision before inclusion in public commitments.
|
|
380
|
+
|
|
381
|
+
Canonical root inputs MUST NOT include raw memory bodies, prompts, transcripts, completions, embeddings, private policy text, provider responses, tenant names, private keys, API keys, seed phrases, or local personal paths.
|
|
382
|
+
|
|
383
|
+
### 13.2 Empty roots
|
|
384
|
+
|
|
385
|
+
If a required set is empty, the passport MUST use a deterministic empty-root value for that root type and profile version. The empty-root calculation MUST still bind the root type label, passport ref, epoch ref, and standard version. A missing root and an empty root are different states; verifiers MUST reject missing required roots.
|
|
386
|
+
|
|
387
|
+
### 13.3 Hash and signature agility
|
|
388
|
+
|
|
389
|
+
The draft baseline hash identifier is `sha256`. Implementations MAY add stronger or domain-specific commitment schemes, but the proof envelope MUST identify the hash suite or commitment suite used for every root. Verifiers MUST fail closed when a root uses an unsupported suite.
|
|
390
|
+
|
|
391
|
+
Signature material MUST be represented by public key refs, signature refs, verifier refs, or detached signatures according to the advertised profile. Private signing material MUST never appear in a passport proof layer, conformance packet, example, verifier output, or chain-planning artifact.
|
|
392
|
+
|
|
393
|
+
## 14. Verification procedure
|
|
394
|
+
|
|
395
|
+
A verifier for this standard SHOULD process a passport proof layer in this order:
|
|
396
|
+
|
|
397
|
+
1. Parse the declared standard version, schema/profile versions, and public proof profile.
|
|
398
|
+
2. Reject unsupported major versions or unknown required profiles.
|
|
399
|
+
3. Run the privacy filter over every public field before displaying, exporting, anchoring, or storing verifier output.
|
|
400
|
+
4. Validate root syntax, hash-suite identifiers, count syntax, timestamp syntax, signature refs, and nullifier refs.
|
|
401
|
+
5. Recompute or check required roots according to the canonicalization profile.
|
|
402
|
+
6. Check epoch continuity from previous epoch refs to current epoch refs.
|
|
403
|
+
7. Check receipt log membership, ordering, nonces, nullifiers, previous roots, and next roots.
|
|
404
|
+
8. Check active/deleted separation and reject any current active proof that includes a tombstoned address after its effective epoch.
|
|
405
|
+
9. Check derived artifacts against their declared source roots and reject stale current artifacts.
|
|
406
|
+
10. Check context-pack pre-receipts and final receipts for matching nonce, purpose ref, policy ref, receiver capability ref, decision code, and disclosure root or denial code.
|
|
407
|
+
11. Check import caveats and export profiles before labeling any artifact public-safe.
|
|
408
|
+
12. Emit a public-safe verification result with pass/fail codes, checked root refs, version refs, and boundary statements only.
|
|
409
|
+
|
|
410
|
+
Verifier output MUST be safe to share under the public proof profile. If a verifier encounters private-looking fields or values, it MUST fail before producing a reusable public packet.
|
|
411
|
+
|
|
412
|
+
## 15. Conformance levels
|
|
413
|
+
|
|
414
|
+
Implementations MAY advertise only the levels they actually support.
|
|
415
|
+
|
|
416
|
+
| Level | Required capability | Public claim allowed |
|
|
417
|
+
| --- | --- | --- |
|
|
418
|
+
| Passport Core | Create passport proof layers, maintain required roots, emit lifecycle receipts, and verify active/deleted separation. | The implementation supports Enigma Memory Passport custody and lifecycle proof for Enigma-controlled state. |
|
|
419
|
+
| Context Boundary | Passport Core plus context pre-receipts, final receipts, context-pack roots, purpose refs, and receiver capability refs. | The implementation can produce receipt-backed scoped context packs without making provider-side deletion or model-forgetting claims. |
|
|
420
|
+
| Import/Export | Passport Core plus import roots, export roots, source caveats, export profiles, and migration receipts. | The implementation can move passport material through declared private-transfer, proof-only, context-pack-transfer, or historical-archive profiles. |
|
|
421
|
+
| Dual Root | Passport Core plus custody/lifecycle root and semantic-use root bound to the same epoch, policy refs, and counts. | The implementation supports separable custody and semantic-use verification for the same private corpus commitments. |
|
|
422
|
+
| Public Proof Rail | Passport Core plus public-safe conformance packets and optional chain-ready refs/nullifiers. | The implementation can produce public-safe proof packets or Solana-ready planning artifacts containing hashes, roots, refs, counts, and nullifiers only. |
|
|
423
|
+
|
|
424
|
+
Conformance levels are cumulative only where explicitly stated. A product MUST NOT imply support for a higher level because it supports one required artifact from that level.
|
|
425
|
+
|
|
426
|
+
## 16. Registry guidance
|
|
427
|
+
|
|
428
|
+
Implementations SHOULD maintain small registries for public-safe identifiers used by the passport proof layer:
|
|
429
|
+
|
|
430
|
+
| Registry | Examples | Rule |
|
|
431
|
+
| --- | --- | --- |
|
|
432
|
+
| Receipt class registry | create, import, update, tombstone, derived refresh, context pre-receipt, context final receipt, export, verify, fork, revocation | New receipt classes MUST define required roots, privacy exclusions, and verifier failure modes. |
|
|
433
|
+
| Purpose registry | support-summary, code-assist, retrieval, benchmark-fixture, migration-review | Purpose refs MUST be generic and non-identifying. |
|
|
434
|
+
| Sensitivity registry | public-safe, private, restricted, regulated-review-required | Sensitivity refs MUST NOT encode tenant names, user names, or private policy text. |
|
|
435
|
+
| Denial reason registry | policy_scope_mismatch, expired_capability, tombstoned_source, stale_derived_root, private_payload_rejected | Denial codes MUST be safe to log and share. |
|
|
436
|
+
| Source class registry | provider-export, vector-store, agent-state, previous-passport, manual-file, backup | Source classes MUST carry caveats about what Enigma does and does not prove. |
|
|
437
|
+
| Export profile registry | private-transfer, proof-only, context-pack-transfer, historical-archive | Export profiles MUST clearly distinguish private payload movement from public proof publication. |
|
|
438
|
+
|
|
439
|
+
Registry entries SHOULD be stable, short, and boring. They MUST NOT embed private names, account identifiers, source text, prompts, provider responses, or secrets.
|
|
440
|
+
|
|
441
|
+
## 17. Standard boundaries
|
|
442
|
+
|
|
443
|
+
This standard is intentionally narrow. It specifies how Enigma Memory Passports structure roots, receipts, context boundaries, import/export semantics, privacy profiles, versioning, and conformance evidence. It does not require a specific database, vector index, model provider, wallet, cloud provider, hosted deployment, chain program, benchmark runner, or legal review process.
|
|
444
|
+
|
|
445
|
+
The product thesis is that Enigma is the private memory controller for AI. The passport proof layer makes that controller portable and verifiable while keeping private memory private. Solana remains optional infrastructure for public-safe roots, refs, nullifiers, permission evidence, or settlement references; it is never the place where raw memory lives.
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# Novelty invention candidates
|
|
2
|
+
|
|
3
|
+
This is a claim-bounded technical ideation memo for Enigma's proof-network roadmap. It is technical product ideation only. Each "novelty" item is a product and systems hypothesis to prototype and review against known engineering approaches before any stronger public claim is made.
|
|
4
|
+
|
|
5
|
+
Public artifacts referenced here must remain plaintext-minimized: hashes, roots, refs, counts, signatures, schema names, timestamps, and policy identifiers are acceptable; raw memory, prompts, transcripts, completions, embeddings, ACL bodies, tenant names, private keys, seed phrases, API keys, and provider responses are not.
|
|
6
|
+
|
|
7
|
+
## Evaluation lens
|
|
8
|
+
|
|
9
|
+
Each candidate is useful only if it can be implemented as local, deterministic proof-network behavior:
|
|
10
|
+
|
|
11
|
+
- **Proof boundary:** evidence covers declared Enigma-mediated events, not external provider internals.
|
|
12
|
+
- **Privacy boundary:** public packets carry commitments and refs, not private memory or customer-identifying data.
|
|
13
|
+
- **Experiment boundary:** first experiments should be repository-local fixtures and validators, not Solana submissions or external-service calls.
|
|
14
|
+
- **Claim boundary:** language should say what the artifact verifies and what it does not verify.
|
|
15
|
+
|
|
16
|
+
## 1. Dual-root memory passport
|
|
17
|
+
|
|
18
|
+
**Candidate disclosure.** A Memory Passport carries two independently computed public roots for the same private memory corpus: a custody/lifecycle root over committed memory addresses and event receipts, and a semantic-use root over scoped capability, relevance, and purpose classifications. The passport verifier accepts the passport only when both roots bind to the same epoch, issuer, memory-count summary, and policy-ref set, without exposing memory bodies or embeddings.
|
|
19
|
+
|
|
20
|
+
**Technical mechanism.** The passport packet stores `custody_root`, `semantic_root`, `epoch_ref`, `previous_epoch_root`, `memory_count`, `policy_refs`, `issuer_key_ref`, and `signature`. A verifier checks that both roots are signed for the same epoch and that downstream context packs cite the same epoch refs.
|
|
21
|
+
|
|
22
|
+
**Novelty hypothesis.** Existing portable-memory exports usually focus on either content portability or audit logs. The dual-root model makes custody proof and semantic-use proof separable but cross-bound, so a verifier can check that a context pack was derived from the right controlled corpus and the right purpose boundary without learning the corpus.
|
|
23
|
+
|
|
24
|
+
**Prior-art risk.** Content-addressed archives, Merkle audit logs, verifiable credentials, capability systems, and RAG index manifests may already cover pieces of this structure. The risk is highest if prior systems already bind a semantic access graph to a portable user-memory corpus using independent commitments.
|
|
25
|
+
|
|
26
|
+
**Claim boundary.** The passport can claim root consistency for an Enigma-controlled corpus epoch. It cannot claim that third-party providers, exported files, screenshots, backups, or model state match the passport.
|
|
27
|
+
|
|
28
|
+
**First experiment.** Add a local fixture that creates a passport with custody and semantic roots, then prove that changing either root, epoch, count, policy ref, or signature fails verification while public output still contains no memory plaintext.
|
|
29
|
+
|
|
30
|
+
## 2. Boundary receipt handshake
|
|
31
|
+
|
|
32
|
+
**Candidate disclosure.** Before memory crosses an Enigma boundary into a model, agent, connector, or gateway, both sides perform a local handshake: requester nonce, purpose ref, policy hash, memory-root ref, allowed-output class, and receiver capability ref are committed into a pre-receipt; the final boundary receipt then binds the pre-receipt hash to the actual disclosure root and denial/approval result.
|
|
33
|
+
|
|
34
|
+
**Technical mechanism.** The requester signs a pre-receipt commitment. Enigma evaluates policy and emits a final receipt with `pre_receipt_hash`, `decision`, `disclosure_root` or `denial_reason_ref`, `policy_hash`, `capability_ref`, and `raw_memory_disclosed:false` for public artifacts.
|
|
35
|
+
|
|
36
|
+
**Novelty hypothesis.** The handshake turns context sharing into an accountable protocol rather than a best-effort log entry. It creates evidence that the receiver asked for a specific class of memory under a specific purpose before any approved context pack was emitted.
|
|
37
|
+
|
|
38
|
+
**Prior-art risk.** OAuth consent, signed webhooks, transparency logs, API audit trails, and data-processing workflows may overlap. The differentiator to test is the memory-specific pre-receipt/final-receipt pair that binds purpose, capability, and disclosure commitments without storing the disclosed text.
|
|
39
|
+
|
|
40
|
+
**Claim boundary.** The receipt proves an Enigma boundary decision and its public-safe commitments. It does not prove what the receiver did after receiving approved context.
|
|
41
|
+
|
|
42
|
+
**First experiment.** Implement a pure handshake fixture with `request_nonce`, `request_ref`, `purpose_ref`, `policy_hash`, `pre_receipt_hash`, `disclosure_root`, and `decision`, then verify replay resistance by rejecting reused nonces and mismatched final receipts.
|
|
43
|
+
|
|
44
|
+
## 3. Semantic capability grants
|
|
45
|
+
|
|
46
|
+
**Candidate disclosure.** A capability grant authorizes memory use by semantic purpose, sensitivity class, model/tool boundary, time window, and policy hash rather than by broad file, table, or tenant access. The public grant stores only normalized purpose refs, class refs, root refs, expiry, issuer key id, and signature; private policy text remains off artifact.
|
|
47
|
+
|
|
48
|
+
**Technical mechanism.** The grant packet contains `grant_id`, `subject_ref`, `issuer_key_ref`, `scope_root`, `purpose_refs`, `sensitivity_refs`, `boundary_refs`, `not_before`, `expires_at`, `policy_hash`, `revocation_ref`, and `signature`. Context-pack creation must fail closed unless every requested purpose and boundary is covered.
|
|
49
|
+
|
|
50
|
+
**Novelty hypothesis.** Conventional access control answers "who can read this object." Semantic capability grants answer "which committed memory may be transformed into which kind of context for which declared purpose," enabling narrow cross-agent memory delegation.
|
|
51
|
+
|
|
52
|
+
**Prior-art risk.** Macaroons, object capabilities, OAuth scopes, ABAC, Rego policies, verifiable credentials, and enterprise DLP systems may be close. The key review question is whether prior systems express AI-memory context construction as a first-class, proof-carrying capability.
|
|
53
|
+
|
|
54
|
+
**Claim boundary.** A grant can claim scoped authorization under the listed refs and time window. It cannot claim that the subject is a real-world person, that policy text is public, or that external systems enforce the same semantics.
|
|
55
|
+
|
|
56
|
+
**First experiment.** Create a grant validator that permits a context-pack plan only when purpose ref, sensitivity ref, boundary ref, epoch, and root match the grant; then test denial for broader purposes, expired windows, altered policy hashes, and unknown revocation refs.
|
|
57
|
+
|
|
58
|
+
## 4. Verifiable relevance compression
|
|
59
|
+
|
|
60
|
+
**Candidate disclosure.** A context compressor emits a compact proof packet containing input corpus root, query/purpose commitment, selected-address root, omitted-address count, deterministic scorer version, score-threshold ref, and compressed-output hash. The packet proves what was selected and omitted by the local relevance process without publishing the query, memory text, scores, or embeddings.
|
|
61
|
+
|
|
62
|
+
**Technical mechanism.** The compressor uses deterministic local selection over committed addresses. The output packet stores `input_root`, `query_commitment`, `purpose_ref`, `scorer_ref`, `threshold_ref`, `selected_root`, `omitted_count`, `compressed_output_hash`, and `private_scores_omitted:true`.
|
|
63
|
+
|
|
64
|
+
**Novelty hypothesis.** Prompt compression is usually evaluated by output size or answer quality, not by third-party-verifiable selection boundaries. This design makes relevance compression auditable as a privacy-preserving memory boundary event.
|
|
65
|
+
|
|
66
|
+
**Prior-art risk.** Search-result audit logs, reproducible IR benchmarks, zk/commitment schemes, prompt-compression research, and vector-store explainability may overlap. Risk rises if existing products already provide verifiable selected/omitted roots for private AI-memory compression.
|
|
67
|
+
|
|
68
|
+
**Claim boundary.** The packet can claim deterministic selection under a named local scorer and threshold. It cannot claim semantic optimality, universal relevance, provider-side savings, or benchmark leadership.
|
|
69
|
+
|
|
70
|
+
**First experiment.** Run a deterministic local relevance fixture over synthetic committed addresses, emit selected and omitted roots plus counts, and verify that changing the scorer version, threshold ref, selected set, or compressed-output hash invalidates the packet.
|
|
71
|
+
|
|
72
|
+
## 5. Forgetting boundary ledger
|
|
73
|
+
|
|
74
|
+
**Candidate disclosure.** A forgetting boundary ledger records Enigma-controlled tombstone, delete-request, active-serving exclusion, derived-index refresh, and verifier events as ordered commitments. It does not claim provider deletion, backup erasure, model forgetting, or semantic forgetting; it proves only whether Enigma serving paths continue to include committed memory addresses after a boundary event.
|
|
75
|
+
|
|
76
|
+
**Technical mechanism.** Ledger entries link `event_root`, `previous_event_root`, `memory_address_commitment`, `tombstone_ref`, `active_set_root_before`, `active_set_root_after`, `derived_index_refresh_ref`, `verifier_report_hash`, and explicit negative-claim flags such as `provider_deletion_proof:false`.
|
|
77
|
+
|
|
78
|
+
**Novelty hypothesis.** The ledger reframes forgetting as a bounded, verifiable serving-state property rather than an absolute deletion claim. That boundary is practical for enterprise trust because it can be checked offline from public-safe roots and receipts.
|
|
79
|
+
|
|
80
|
+
**Prior-art risk.** Data-deletion logs, append-only audit ledgers, certificate transparency, tombstone systems, and privacy compliance workflows are adjacent. The distinctive angle is AI-memory active-serving exclusion tied to passport roots and derived-index refresh evidence.
|
|
81
|
+
|
|
82
|
+
**Claim boundary.** The ledger can claim Enigma active-serving exclusion for committed addresses after named events. It cannot claim provider deletion, backup erasure, model forgetting, human forgetting, or deletion from exported copies.
|
|
83
|
+
|
|
84
|
+
**First experiment.** Build a fixture with a memory address commitment, tombstone receipt, refreshed active-set root, and verifier report that proves the address is absent from active Enigma serving while preserving explicit false flags for external deletion and model forgetting.
|
|
85
|
+
|
|
86
|
+
## 6. Benchmark attestation
|
|
87
|
+
|
|
88
|
+
**Candidate disclosure.** A benchmark attestation binds a benchmark report hash to dataset refs, runner refs, package refs, metric names, fixture counts, environment class, and claim boundaries. It intentionally omits raw dataset rows, prompts, provider responses, and private memory, enabling public comparison without publishing private benchmark material.
|
|
89
|
+
|
|
90
|
+
**Technical mechanism.** The attestation contains `report_hash`, `dataset_ref`, `runner_ref`, `package_ref`, `metric_refs`, `sample_count`, `environment_class`, `generated_at`, `claim_boundaries`, and `signature`. Validators reject raw prompt/result keys and require boundaries for fixture-only, provider-response, and raw-memory claims.
|
|
91
|
+
|
|
92
|
+
**Novelty hypothesis.** Memory products often publish benchmark claims without portable evidence. A benchmark attestation makes the evidence object itself reusable by docs, CLI verification, and proof-network packets while preventing the attestation from becoming a data leak.
|
|
93
|
+
|
|
94
|
+
**Prior-art risk.** ML reproducibility cards, model eval reports, signed SBOM/provenance, benchmark registries, and scientific artifact badges overlap. The differentiator is a memory-specific attestation that can be anchored with capability and passport roots.
|
|
95
|
+
|
|
96
|
+
**Claim boundary.** The attestation can claim that a report hash was produced under named refs and boundaries. It cannot claim live provider performance, customer outcomes, cost savings, or benchmark leadership unless separate public-safe evidence supports those claims.
|
|
97
|
+
|
|
98
|
+
**First experiment.** Generate an attestation from a local report hash, dataset ref, runner ref, package ref, metric list, and claim-boundary object; verify that raw prompt/result fields are rejected and that a tampered report hash fails.
|
|
99
|
+
|
|
100
|
+
## 7. Solana nullifier grants
|
|
101
|
+
|
|
102
|
+
**Candidate disclosure.** A grant can include a Solana-ready nullifier commitment: a public opaque value derived from grant id, scope root, epoch, and revocation salt commitment. Anchor artifacts can later reference the nullifier to show revocation or one-time use without revealing the private grant body, tenant, memory, or policy.
|
|
103
|
+
|
|
104
|
+
**Technical mechanism.** The local packet stores private grant material off-chain and public fields such as `grant_ref`, `scope_root`, `epoch_ref`, `nullifier_hash`, `revocation_root`, `anchor_payload_hash`, `transaction_submitted:false`, and `raw_memory_on_chain:false`.
|
|
105
|
+
|
|
106
|
+
**Novelty hypothesis.** The model applies nullifier-style privacy to AI-memory capabilities: a public chain can see that a scoped grant was spent or revoked, while the sensitive grant semantics remain in local proof packets.
|
|
107
|
+
|
|
108
|
+
**Prior-art risk.** Nullifiers in privacy protocols, revocation registries, token allowances, capability revocation, and decentralized identity systems are close. The open question is whether the same pattern has been specialized for privacy-preserving AI-memory access grants and Solana-ready anchoring.
|
|
109
|
+
|
|
110
|
+
**Claim boundary.** A nullifier grant can claim local construction of a Solana-ready opaque revocation/spend artifact. It cannot claim that a transaction was submitted, confirmed, indexed, or recognized by any deployed program unless separate evidence says so.
|
|
111
|
+
|
|
112
|
+
**First experiment.** Locally create grant, nullifier, revocation artifact, and anchor-batch JSON with `transaction_submitted:false`; verify that nullifier reuse and mismatched scope roots fail while no raw grant policy or memory content appears.
|
|
113
|
+
|
|
114
|
+
## 8. Anti-fork sync
|
|
115
|
+
|
|
116
|
+
**Candidate disclosure.** Anti-fork sync detects divergent Memory Passport histories by comparing epoch roots, previous-root links, witness refs, and signer sets across devices or agents. When a fork is detected, Enigma emits a fork receipt with both public branches, minimum shared ancestor, local resolution policy hash, and a no-plaintext conflict summary.
|
|
117
|
+
|
|
118
|
+
**Technical mechanism.** Sync packets include `current_epoch_root`, `previous_epoch_root`, `witness_ref`, `signer_set_root`, `device_ref`, and `observed_at`. A fork receipt records `branch_a_root`, `branch_b_root`, `shared_ancestor_root`, `resolution_policy_hash`, and `raw_conflict_content_omitted:true`.
|
|
119
|
+
|
|
120
|
+
**Novelty hypothesis.** AI memory sync needs more than last-write-wins because hidden divergence can change what an agent remembers or discloses. Anti-fork sync makes divergence itself a verifiable event without forcing private memory bodies into conflict artifacts.
|
|
121
|
+
|
|
122
|
+
**Prior-art risk.** CRDTs, transparency logs, key-transparency anti-equivocation, Git history, sync engines, and certificate transparency are relevant. The candidate is strongest if focused on memory-passport proof history rather than generic data synchronization.
|
|
123
|
+
|
|
124
|
+
**Claim boundary.** Anti-fork sync can claim that two public root histories diverged from a shared ancestor. It cannot claim which private memory body is correct or resolve human/business truth without a separate private workflow.
|
|
125
|
+
|
|
126
|
+
**First experiment.** Simulate two local passport branches sharing an ancestor and diverging at different event roots; emit a fork receipt and prove that a verifier detects the fork and rejects a branch that omits the previous-root link.
|
|
127
|
+
|
|
128
|
+
## 9. Memory drive health
|
|
129
|
+
|
|
130
|
+
**Candidate disclosure.** Memory drive health is a SMART-like public-safe health packet for an AI memory vault: orphaned commitment count, stale derived-index count, tombstone backlog, unresolved fork count, policy-replay failure count, benchmark-attestation age, backup-ref freshness, and verifier status. It reports system health without exposing memories, tenants, prompts, embeddings, or provider logs.
|
|
131
|
+
|
|
132
|
+
**Technical mechanism.** The packet includes `vault_ref`, `passport_epoch_ref`, `orphaned_commitment_count`, `stale_index_count`, `tombstone_backlog_count`, `unresolved_fork_count`, `policy_replay_failure_count`, `latest_benchmark_attestation_ref`, `backup_ref_freshness`, `severity`, and `generated_at`.
|
|
133
|
+
|
|
134
|
+
**Novelty hypothesis.** Treating AI memory as durable infrastructure suggests operational health metrics analogous to a storage drive, but specialized for memory custody, proof freshness, and serving safety rather than sectors and temperatures.
|
|
135
|
+
|
|
136
|
+
**Prior-art risk.** Database health dashboards, vector-index metrics, observability, backup monitors, SMART drive telemetry, and compliance control dashboards overlap. The novelty is the public-safe, proof-network-compatible health packet for memory passports and boundary receipts.
|
|
137
|
+
|
|
138
|
+
**Claim boundary.** The packet can claim local health signals for an Enigma vault/ref set. It cannot claim customer compliance, hosted uptime, hardware durability, or absence of private operational incidents.
|
|
139
|
+
|
|
140
|
+
**First experiment.** Produce a deterministic health packet from synthetic counts and refs, then verify severity rules for stale attestations, unresolved forks, and tombstone backlog while rejecting any field whose key or value resembles raw private payload.
|
|
141
|
+
|
|
142
|
+
## 10. Enterprise policy replay
|
|
143
|
+
|
|
144
|
+
**Candidate disclosure.** Enterprise policy replay lets an auditor rerun historical memory-boundary decisions from minimized proof packets: policy hash, policy engine version, normalized inputs by ref, capability grant refs, decision timestamp, and signed result. The replay confirms deterministic decision parity without publishing the private policy body, tenant identity, memory content, prompts, or provider response.
|
|
145
|
+
|
|
146
|
+
**Technical mechanism.** Replay packets contain `policy_hash`, `policy_engine_ref`, `input_ref_root`, `capability_ref_root`, `decision_hash`, `decision_timestamp`, `runner_ref`, `signature`, and `private_policy_body_omitted:true`. The verifier recomputes the decision from public-safe fixture refs or customer-held private inputs.
|
|
147
|
+
|
|
148
|
+
**Novelty hypothesis.** Enterprise AI governance often depends on screenshots, dashboards, or logs that are hard to verify outside the vendor system. Policy replay makes policy checks portable and reproducible at the memory boundary while preserving confidentiality.
|
|
149
|
+
|
|
150
|
+
**Prior-art risk.** OPA/Rego decision logs, audit replay, SIEM, eDiscovery, model gateway policy systems, and governance-risk-compliance tools are adjacent. The candidate should be bounded to memory-specific context authorization and proof packets, not generic policy audit.
|
|
151
|
+
|
|
152
|
+
**Claim boundary.** Replay can claim deterministic parity for the supplied policy engine ref and input refs. It cannot claim that the private policy is complete or sufficient, that external providers honored the decision, or that all enterprise controls are configured.
|
|
153
|
+
|
|
154
|
+
**First experiment.** Create a local replay fixture with a policy-engine version, public input refs, capability refs, and expected decision hash; verify parity for the original packet and rejection when purpose ref, model boundary ref, or policy hash changes.
|
|
155
|
+
|
|
156
|
+
## Cross-candidate claim boundaries
|
|
157
|
+
|
|
158
|
+
- These candidates describe possible Enigma-controlled proof-network features, not live infrastructure, deployed Solana programs, provider behavior, compliance status, market leadership, investment value, roadmap priority, or external product claims.
|
|
159
|
+
- Chain-ready artifacts should be opaque anchor packets only. They should explicitly set `transaction_submitted:false` unless a separate approved workflow submits a transaction.
|
|
160
|
+
- Proofs cover declared Enigma-mediated events and local fixtures only until implemented and tested against real repository commands.
|
|
161
|
+
- Public examples should use synthetic hashes, roots, refs, counts, signatures, and schema names. They must not include private memory, prompts, transcripts, completions, embeddings, ACL bodies, tenant names, keys, seed phrases, secrets, provider exports, or provider responses.
|