enigma-memory 0.1.13 → 0.1.14

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.
Files changed (32) hide show
  1. package/README.md +36 -17
  2. package/apps/cli/bin/enigma.mjs +320 -42
  3. package/deploy/docker-compose.local-production-simulation.yml +10 -11
  4. package/docs/benchmark-attestation-network.md +487 -487
  5. package/docs/benchmark-reproducibility.md +10 -9
  6. package/docs/demo-proof-network.md +275 -275
  7. package/docs/developer-ecosystem.md +223 -223
  8. package/docs/developer-proof-quickstart.md +325 -325
  9. package/docs/enigma-memory-ready-conformance.md +376 -376
  10. package/docs/hosted-cloud-product.md +10 -0
  11. package/docs/install-anywhere.md +34 -17
  12. package/docs/installers-and-desktop.md +9 -7
  13. package/docs/proof-network-build-notes.md +240 -240
  14. package/docs/proof-network.md +257 -257
  15. package/docs/sdk-api.md +324 -324
  16. package/docs/solana-devnet-acceptance.md +48 -0
  17. package/docs/solana-proof-rail.md +453 -453
  18. package/examples/ci/github-actions.yml +6 -8
  19. package/package.json +8 -1
  20. package/packages/mcp-server/src/index.js +1 -1
  21. package/packages/passport/src/index.js +9 -5
  22. package/scripts/build-benchmark-proof-release.mjs +391 -0
  23. package/scripts/build-goal-completion-audit.mjs +11 -5
  24. package/scripts/build-hosted-api-key-lifecycle.mjs +1 -1
  25. package/scripts/build-hosted-customer-lifecycle.mjs +1 -1
  26. package/scripts/build-installer-assets.mjs +126 -10
  27. package/scripts/build-production-handoff-packet.mjs +7 -6
  28. package/scripts/build-production-unblocker.mjs +409 -0
  29. package/scripts/build-proof-network-packet.mjs +1 -1
  30. package/scripts/release-audit.mjs +71 -2
  31. package/scripts/run-standard-memory-benchmarks.mjs +1 -1
  32. package/scripts/wait-for-backend-ready.mjs +4 -2
@@ -6,6 +6,54 @@ Enigma is the private memory controller for AI. Solana is an optional proof, per
6
6
 
7
7
  Until every applicable gate below is complete and approved, public language must stay at the local-planning boundary: Enigma can prepare and validate Solana-ready public-safe artifacts; it must not claim that transactions were submitted, finalized, settled, deployed, audited, certified, or live.
8
8
 
9
+ ## CLI submission path
10
+
11
+ `enigma chain submit-solana` is the production-safe handoff from a local proof-network artifact to the optional Solana proof rail. It validates the artifact with the same proof-network validators used by `enigma chain verify`, rejects private payload markers before transaction construction, and binds the artifact to a compact Memo-program reference containing only:
12
+
13
+ - the proof artifact schema;
14
+ - the artifact hash;
15
+ - the selected cluster;
16
+ - an Enigma proof commitment over those public values.
17
+
18
+ Dry-run is the default and does not require a network, keypair, or `@solana/web3.js`:
19
+
20
+ ```sh
21
+ enigma chain submit-solana \
22
+ --file ./proof-artifacts/anchor-batch.json \
23
+ --cluster devnet
24
+ ```
25
+
26
+ Dry-run output includes `transaction_submitted:false`, `raw_memory_on_chain:false`, the compact `memo_ref`, and a `would_submit` plan. It must not print the raw artifact body, raw memory, prompts, transcripts, provider responses, private keys, keypair bytes, or local absolute paths. Passing `--rpc` or `--keypair` during dry-run is accepted for command rehearsal, but those values are not required and are not echoed:
27
+
28
+ ```sh
29
+ enigma chain submit-solana \
30
+ --file ./proof-artifacts/benchmark-attestation.json \
31
+ --cluster devnet \
32
+ --rpc https://api.devnet.solana.com \
33
+ --keypair ./operator-devnet-keypair.json
34
+ ```
35
+
36
+ Network submission is opt-in only. Execute mode requires an explicit Solana cluster and keypair, lazily loads `@solana/web3.js`, and submits one Memo-program transaction containing only the compact `memo_ref` JSON:
37
+
38
+ ```sh
39
+ enigma chain submit-solana \
40
+ --file ./proof-artifacts/anchor-batch.json \
41
+ --cluster devnet \
42
+ --rpc https://api.devnet.solana.com \
43
+ --keypair ./operator-devnet-keypair.json \
44
+ --execute
45
+ ```
46
+
47
+ Successful execute output may report `transaction_submitted:true` and a Solana transaction signature. That signature is evidence for only the selected cluster and artifact hash; it is not a mainnet claim, hosted-SaaS claim, compliance claim, provider-deletion claim, model-forgetting claim, benchmark-superiority claim, or customer-production claim.
48
+
49
+ Limitations:
50
+
51
+ - Only `devnet`, `testnet`, `mainnet-beta`, and `localnet` are accepted cluster values.
52
+ - The submitted instruction is a Solana Memo transaction, not an Enigma on-chain program deployment or account-state mutation.
53
+ - The Memo payload is intentionally compact and public-safe; it is not a storage layer for proof artifact bodies.
54
+ - `--execute` should not be used for public devnet or mainnet claims until the gate checklist below is complete for the exact artifact, cluster, transaction, signer custody process, and claim wording.
55
+ - Mainnet submissions require separate operator, legal, security, fee-payer, key-custody, incident-response, and release-owner approval before any public wording changes.
56
+
9
57
  ## Claim levels
10
58
 
11
59
  | Claim level | Allowed language | Required evidence |