enigma-memory 0.1.10 → 0.1.12
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 +38 -7
- package/apps/cli/bin/enigma.mjs +636 -49
- 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/demo-proof-network.md +275 -0
- package/docs/developer-ecosystem.md +62 -11
- 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/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 +130 -10
- package/docs/solana-devnet-acceptance.md +226 -0
- package/docs/solana-proof-rail.md +453 -0
- 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 +40 -4
- 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/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
- package/scripts/install-enigma-local.mjs +0 -270
package/README.md
CHANGED
|
@@ -2,18 +2,49 @@
|
|
|
2
2
|
|
|
3
3
|
Enigma Memory is a local-first AI Memory Passport. It gives you one canonical local memory vault, receipt-backed proof for Enigma-controlled events, and MCP connections into assistants such as Claude Desktop, Cursor, Kimi Code, and generic MCP clients.
|
|
4
4
|
|
|
5
|
-
Start with the
|
|
5
|
+
Start with the public test drive below. You do not need to understand relay, gateway, mesh, browser, desktop, or hosted infrastructure before trying Enigma locally.
|
|
6
6
|
|
|
7
7
|
The package path needs no database, provider credential, cloud credential, npm publishing token, or external account. Hosted cloud and BYOC operation are separate advanced modes that require real deployment credentials, domains, TLS, durable storage, KMS/secrets, monitoring, backups, and operator acceptance.
|
|
8
8
|
|
|
9
9
|
Enigma does not claim that a closed provider deleted internal data, that model weights forgot, or that provider-native memory disappeared. It proves facts about Enigma-controlled vault state, receipts, checkpoints, and declared boundary operations.
|
|
10
10
|
|
|
11
|
+
## Public test drive: prove the local package path first
|
|
12
|
+
|
|
13
|
+
The fastest public test is the published npm package plus the local-only test drive:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install -g enigma-memory
|
|
17
|
+
enigma test-drive --overwrite
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`enigma test-drive --overwrite` needs no database, provider API key, cloud credential, npm publishing token, package registry account, or hosted Enigma account. It runs entirely on the local filesystem, does not call OpenAI, Anthropic, Cloudflare, hosted Enigma, or other external providers, and does not write Claude, Cursor, Kimi, or other third-party client configs.
|
|
21
|
+
|
|
22
|
+
By default the command writes an isolated demo under `.enigma/test-drive`. Use `--dry-run` to print the plan without writing, or `--out-dir <path>` to choose another isolated demo directory. The default bundle and proof artifacts live inside that directory.
|
|
23
|
+
|
|
24
|
+
The test-drive output is a single public-safe JSON summary. It points to the local setup artifacts, search/status output, cross-model demo report, and benchmark pointers, and it prints exact next commands for testers without printing raw private memory plaintext. The proof is bounded to the local demo: Enigma-controlled vault state, receipts, checkpoints, committed roots, exported bundle shape, and declared boundary operations. It is not evidence that hosted SaaS is live, that a closed provider deleted internal data, that model weights forgot, or that provider-native memory disappeared.
|
|
25
|
+
|
|
26
|
+
When you are ready to connect real local clients that are already installed or already configured:
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
enigma setup --connect-installed --overwrite
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
`--connect-installed` is the explicit client-config write path. It skips missing client configs instead of creating every default client config.
|
|
33
|
+
|
|
34
|
+
## Enigma Proof Network
|
|
35
|
+
|
|
36
|
+
Enigma Proof Network is the public proof layer for AI memory: local tools can package privacy-preserving roots, refs, counts, signatures, scoped capability grants, revocations, and benchmark attestations without exposing raw memory, prompts, transcripts, completions, embeddings, tenant names, private keys, provider responses, or provider credentials.
|
|
37
|
+
|
|
38
|
+
The `enigma chain anchor|grant|revoke|attest|verify` commands are local planning and verification commands. They emit public-safe JSON with `transaction_submitted:false` and `raw_memory_on_chain:false`; they do not submit Solana transactions, deploy hosted SaaS, create accounts, or call external providers.
|
|
39
|
+
|
|
40
|
+
Start with the category narrative in [`docs/market-category-narrative.md`](docs/market-category-narrative.md), then read the technical overview in [`docs/proof-network.md`](docs/proof-network.md), use its [Solana role](docs/proof-network.md#solana-role) section for the Solana-ready anchoring boundary, and read [`docs/proof-network-faq.md`](docs/proof-network-faq.md) for claim boundaries.
|
|
41
|
+
|
|
11
42
|
## Install once, use everywhere
|
|
12
43
|
|
|
13
44
|
Prerequisites:
|
|
14
45
|
|
|
15
46
|
- Node.js `>=24`
|
|
16
|
-
- No database, package registry account, provider credential, or cloud credential for the local setup
|
|
47
|
+
- No database, package registry account, provider credential, or cloud credential for the local test-drive or setup paths
|
|
17
48
|
- Git only when you choose the advanced source-checkout path
|
|
18
49
|
|
|
19
50
|
Use Enigma as a one-time AI Memory Passport setup: install the package, create the local Enigma workspace once, then use the same memory/search/context/verify/connect loop from any supported client.
|
|
@@ -23,7 +54,7 @@ npm install -g enigma-memory
|
|
|
23
54
|
enigma setup --overwrite
|
|
24
55
|
```
|
|
25
56
|
|
|
26
|
-
`enigma setup --overwrite` is the safe default. It writes local Enigma artifacts under the workspace `.enigma` path and emits deterministic, public-safe JSON without printing raw memory plaintext. It does not write Claude, Cursor, Kimi, or other third-party app configs.
|
|
57
|
+
`enigma setup --overwrite` is the safe default for creating a regular local workspace after the test drive. It writes local Enigma artifacts under the workspace `.enigma` path and emits deterministic, public-safe JSON without printing raw memory plaintext. It does not write Claude, Cursor, Kimi, or other third-party app configs.
|
|
27
58
|
|
|
28
59
|
To let setup detect installed or already-configured clients and show the connector plan without mutating client configs:
|
|
29
60
|
|
|
@@ -33,7 +64,7 @@ enigma setup --client auto --overwrite
|
|
|
33
64
|
|
|
34
65
|
`--client auto` selects clients found by connector detection and falls back to the default setup client list when none are present. The setup output lists which clients were selected, which were skipped, and why.
|
|
35
66
|
|
|
36
|
-
|
|
67
|
+
Only when you are ready to explicitly write connector entries for installed/config-present clients:
|
|
37
68
|
|
|
38
69
|
```sh
|
|
39
70
|
enigma setup --connect-installed --overwrite
|
|
@@ -53,10 +84,10 @@ enigma connect claude-desktop --dry-run
|
|
|
53
84
|
|
|
54
85
|
The local Enigma vault remains canonical. Provider-native memory is non-canonical and should be treated as a convenience cache only. Enigma receipts prove Enigma-controlled vault state, receipts, checkpoints, and declared boundary operations; they do not prove provider deletion, provider model forgetting, provider-native memory removal, hosted availability, ROI/savings, or compliance certification.
|
|
55
86
|
|
|
56
|
-
One-off
|
|
87
|
+
One-off public test drive without a global install:
|
|
57
88
|
|
|
58
89
|
```sh
|
|
59
|
-
npx --yes --package enigma-memory enigma
|
|
90
|
+
npx --yes --package enigma-memory enigma test-drive --overwrite
|
|
60
91
|
```
|
|
61
92
|
|
|
62
93
|
## Advanced/source-only path
|
|
@@ -164,7 +195,7 @@ Supported connector profiles are:
|
|
|
164
195
|
- `opencode`
|
|
165
196
|
- `generic-mcp`
|
|
166
197
|
|
|
167
|
-
After `enigma setup --overwrite
|
|
198
|
+
After `enigma test-drive --overwrite` proves the local package path and `enigma setup --overwrite` creates a regular local workspace, preview a client connection before writing anything:
|
|
168
199
|
|
|
169
200
|
```sh
|
|
170
201
|
enigma connect claude-desktop --dry-run
|