mneme-ai 2.148.0 → 2.150.0

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `mneme canon` (v2.149.0) — the Accountability-Record Standard (CANON/1). Emit
3
+ * + verify a versioned, Ed25519 offline-verifiable record of "an AI did/decided
4
+ * X, here's the proof" that ANY party can check with the public key alone.
5
+ *
6
+ * mneme canon emit --kind command-gate --subject "rm -rf /" --verdict BLOCK > rec.json
7
+ * mneme canon verify --record rec.json # offline: conformance + body-binds-id + Ed25519 sig
8
+ * mneme canon spec # the published schema
9
+ */
10
+ import type { Command } from "commander";
11
+ export declare function registerCanonCommands(program: Command): void;
12
+ //# sourceMappingURL=canon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"canon.d.ts","sourceRoot":"","sources":["../../src/commands/canon.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOzC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAgD5D"}
@@ -0,0 +1,81 @@
1
+ /**
2
+ * `mneme canon` (v2.149.0) — the Accountability-Record Standard (CANON/1). Emit
3
+ * + verify a versioned, Ed25519 offline-verifiable record of "an AI did/decided
4
+ * X, here's the proof" that ANY party can check with the public key alone.
5
+ *
6
+ * mneme canon emit --kind command-gate --subject "rm -rf /" --verdict BLOCK > rec.json
7
+ * mneme canon verify --record rec.json # offline: conformance + body-binds-id + Ed25519 sig
8
+ * mneme canon spec # the published schema
9
+ */
10
+ import { readFileSync } from "node:fs";
11
+ import { createHash } from "node:crypto";
12
+ import { canon, notary } from "@mneme-ai/core";
13
+ function out(s) { process.stdout.write(s + "\n"); }
14
+ export function registerCanonCommands(program) {
15
+ const c = program
16
+ .command("canon")
17
+ .description("📜 CANON — the Accountability-Record Standard: a versioned, Ed25519 OFFLINE-verifiable record of an AI decision/action that ANY auditor / insurer / regulator / competitor can emit + verify with the public key alone, without trusting Mneme. The neutral 'NVD/Visa-of-AI' format on the NOTARY spine; binds the payload by hash (proves what was decided without exposing it), chains by lineage. The moat: a model isn't a moat, but if the canonical FORMAT everyone accepts is yours, everyone speaks it.");
18
+ c.command("emit")
19
+ .description("emit a signed CANON/1 accountability record.")
20
+ .requiredOption("--kind <k>", "command-gate | diff | claim-verdict | agent-action | value-event | siege | memory-capsule | other")
21
+ .requiredOption("--subject <s>", "what the record is about")
22
+ .requiredOption("--verdict <v>", "the decision (ALLOW/BLOCK/PASS/REFUTED/…)")
23
+ .option("--payload <json>", "the underlying payload (bound by hash, not exposed)")
24
+ .option("--lineage <id>", "prev record id (chain)")
25
+ .action((opts) => {
26
+ let payload = undefined;
27
+ try {
28
+ payload = opts.payload ? JSON.parse(opts.payload) : undefined;
29
+ }
30
+ catch {
31
+ payload = opts.payload;
32
+ }
33
+ const rec = canon.buildRecord({ kind: opts.kind, subject: opts.subject, verdict: opts.verdict, payload, lineage: opts.lineage ?? null, ts: Date.now() });
34
+ // sign the recordId with NOTARY (Ed25519, offline-verifiable); embed issuer + sig
35
+ try {
36
+ const receipt = notary.issueReceipt(process.cwd(), { kind: "claim-verdict", subject: `canon:${rec.kind}:${rec.recordId.slice(0, 12)}`, payload: { recordId: rec.recordId }, includePayload: true });
37
+ rec.issuer = (receipt.publicKey ?? receipt.pubkey ?? "ed25519:notary");
38
+ rec.sig = receipt.signature ?? null;
39
+ // re-derive recordId now that issuer is set (issuer is part of the signed body)
40
+ rec.recordId = createHash("sha256").update(canon.canonicalize(rec)).digest("hex");
41
+ }
42
+ catch { /* still emit unsigned-but-conformant */ }
43
+ out(JSON.stringify(rec, null, 2));
44
+ });
45
+ c.command("verify")
46
+ .description("verify a CANON record OFFLINE: conformance + version + body-binds-recordId (exit 2 if invalid).")
47
+ .requiredOption("--record <file>", "the record JSON ('-' for stdin)")
48
+ .option("--json", "JSON output")
49
+ .action((opts) => {
50
+ let rec;
51
+ try {
52
+ const raw = opts.record === "-" ? readFileSync(0, "utf8") : readFileSync(opts.record, "utf8");
53
+ rec = JSON.parse(raw);
54
+ }
55
+ catch {
56
+ out("✗ could not read/parse record");
57
+ process.exitCode = 2;
58
+ return;
59
+ }
60
+ const v = canon.verifyRecord(rec);
61
+ if (opts.json) {
62
+ out(JSON.stringify(v, null, 2));
63
+ process.exitCode = v.ok ? 0 : 2;
64
+ return;
65
+ }
66
+ out(`${v.ok ? "✓ VALID" : "🛑 INVALID"} — ${v.reason}`);
67
+ out(` conformant=${v.conformant} · recordId-binds-body=${v.recordIdValid}`);
68
+ process.exitCode = v.ok ? 0 : 2;
69
+ });
70
+ c.command("spec").description("print the published CANON spec (schema + version policy).").option("--json", "JSON").action((opts) => {
71
+ if (opts.json) {
72
+ out(JSON.stringify(canon.SPEC, null, 2));
73
+ return;
74
+ }
75
+ out(`📜 CANON/${canon.CANON_VERSION} — required: ${canon.SPEC.required.join(", ")}`);
76
+ out(` kinds: ${canon.SPEC.kinds.join(" · ")}`);
77
+ out(` verify: ${canon.SPEC.verify}`);
78
+ out(` versions: ${canon.SPEC.versionPolicy}`);
79
+ });
80
+ }
81
+ //# sourceMappingURL=canon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"canon.js","sourceRoot":"","sources":["../../src/commands/canon.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE/C,SAAS,GAAG,CAAC,CAAS,IAAU,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AAEjE,MAAM,UAAU,qBAAqB,CAAC,OAAgB;IACpD,MAAM,CAAC,GAAG,OAAO;SACd,OAAO,CAAC,O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CAAC,cAAc,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;QACvC,GAAG,CAAC,gBAAgB,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;IAClD,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `mneme moat` (v2.150.0) — the deterministic, signed competitive-moat scorer.
3
+ * Scores Mneme's moat from REAL present capabilities + their MEASURED signals
4
+ * (live SIEGE resistance, Gateway accuracy, gauntlet scores). `moat delta` shows
5
+ * the before→after lift from this session's moat builders.
6
+ *
7
+ * mneme moat # current moat score + per-dimension breakdown (signed)
8
+ * mneme moat delta # pre-session baseline → current (measured improvement)
9
+ */
10
+ import type { Command } from "commander";
11
+ export declare function registerMoatCommands(program: Command): void;
12
+ //# sourceMappingURL=moat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moat.d.ts","sourceRoot":"","sources":["../../src/commands/moat.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyBzC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA4B3D"}
@@ -0,0 +1,79 @@
1
+ /**
2
+ * `mneme moat` (v2.150.0) — the deterministic, signed competitive-moat scorer.
3
+ * Scores Mneme's moat from REAL present capabilities + their MEASURED signals
4
+ * (live SIEGE resistance, Gateway accuracy, gauntlet scores). `moat delta` shows
5
+ * the before→after lift from this session's moat builders.
6
+ *
7
+ * mneme moat # current moat score + per-dimension breakdown (signed)
8
+ * mneme moat delta # pre-session baseline → current (measured improvement)
9
+ */
10
+ import { moat as mt, siege as sg, intentGateway as gw, mycelium as myc, canon as cn, agentGovernor as gov, hephaestus, notary } from "@mneme-ai/core";
11
+ function out(s) { process.stdout.write(s + "\n"); }
12
+ /** Gather REAL measured signals live (not hardcoded). */
13
+ function liveSignals() {
14
+ let siegeResistanceLB = 0, gatewayAccuracy = 0;
15
+ try {
16
+ siegeResistanceLB = sg.scoreSiege(sg.siege((c) => hephaestus.classifyCommandRisk(c).risk === "destructive" ? "COSIGN" : "ALLOW")).resistanceLB;
17
+ }
18
+ catch { /* */ }
19
+ try {
20
+ gatewayAccuracy = gw.benchmark().newAcc;
21
+ }
22
+ catch { /* */ }
23
+ return {
24
+ siegeResistanceLB, gatewayAccuracy,
25
+ myceliumGauntlet: safe(() => myc.myceliumGauntlet().score),
26
+ canonGauntlet: safe(() => cn.canonGauntlet().score),
27
+ governorGauntlet: safe(() => gov.governorGauntlet().score),
28
+ };
29
+ }
30
+ function safe(f) { try {
31
+ return f();
32
+ }
33
+ catch {
34
+ return 0;
35
+ } }
36
+ function render(title, r) {
37
+ const icon = r.band === "FORTRESS" ? "🏰" : r.band === "STRONG" ? "🛡" : r.band === "FORMING" ? "🧱" : "🕳";
38
+ out(`${icon} ${title} — ${r.overall}/100 (${r.band})`);
39
+ for (const d of r.dimensions)
40
+ out(` ${d.dimension.padEnd(24)} ${String(d.score).padStart(3)} · ${d.basis}`);
41
+ }
42
+ export function registerMoatCommands(program) {
43
+ const m = program
44
+ .command("moat")
45
+ .description("📊 MOAT — a deterministic, SIGNED competitive-moat scorer. Not an opinion: a number computed from REAL present capabilities × their MEASURED signals (live SIEGE gate-resistance, Gateway routing accuracy, the mycelium/canon/governor gauntlets, signed-primitive depth, locally-accumulating ledgers = switching cost). `mneme moat` (current) · `mneme moat delta` (before→after). HONEST: engineering-moat signals verifiable in-repo — NOT a market valuation / traction / 'uncatchable' claim.")
46
+ .option("--json", "JSON output (signed)")
47
+ .action((opts) => {
48
+ const r = mt.scoreMoat({ capabilities: mt.CURRENT_CAPS, signals: liveSignals() });
49
+ let receipt = null;
50
+ try {
51
+ receipt = notary.issueReceipt(process.cwd(), { kind: "claim-verdict", subject: `moat:${r.overall}`, payload: { overall: r.overall, band: r.band }, includePayload: true });
52
+ }
53
+ catch { /* */ }
54
+ if (opts.json) {
55
+ out(JSON.stringify({ ...r, signed: receipt }, null, 2));
56
+ return;
57
+ }
58
+ render("MNEME MOAT", r);
59
+ out(` ${receipt ? "✓ signed · " : ""}${r.note}`);
60
+ });
61
+ m.command("delta")
62
+ .description("the before→after moat lift from this session's moat builders (baseline caps vs current).")
63
+ .option("--json", "JSON output")
64
+ .action((opts) => {
65
+ const sig = liveSignals();
66
+ const before = mt.scoreMoat({ capabilities: mt.BASELINE_CAPS, signals: sig });
67
+ const after = mt.scoreMoat({ capabilities: mt.CURRENT_CAPS, signals: sig });
68
+ if (opts.json) {
69
+ out(JSON.stringify({ before, after, delta: after.overall - before.overall }, null, 2));
70
+ return;
71
+ }
72
+ render("BEFORE (pre-session baseline)", before);
73
+ out("");
74
+ render("AFTER (current)", after);
75
+ out("");
76
+ out(` 📈 measured moat lift: +${after.overall - before.overall} (${before.overall}→${after.overall}, ${before.band}→${after.band})`);
77
+ });
78
+ }
79
+ //# sourceMappingURL=moat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moat.js","sourceRoot":"","sources":["../../src/commands/moat.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,IAAI,IAAI,EAAE,EAAE,KAAK,IAAI,EAAE,EAAE,aAAa,IAAI,EAAE,EAAE,QAAQ,IAAI,GAAG,EAAE,KAAK,IAAI,EAAE,EAAE,aAAa,IAAI,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEtJ,SAAS,GAAG,CAAC,CAAS,IAAU,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AAEjE,yDAAyD;AACzD,SAAS,WAAW;IAClB,IAAI,iBAAiB,GAAG,CAAC,EAAE,eAAe,GAAG,CAAC,CAAC;IAC/C,IAAI,CAAC;QAAC,iBAAiB,GAAG,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,E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AAC,CAAC;AACP,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAyKA,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAykNvD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA2KA,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CA2kNvD"}
package/dist/index.js CHANGED
@@ -101,6 +101,8 @@ import { registerGovernCommands } from "./commands/govern.js";
101
101
  import { registerGatewayCommands } from "./commands/gateway.js";
102
102
  import { registerMyceliumCommands } from "./commands/mycelium.js";
103
103
  import { registerSiegeCommands } from "./commands/siege.js";
104
+ import { registerCanonCommands } from "./commands/canon.js";
105
+ import { registerMoatCommands } from "./commands/moat.js";
104
106
  import { attachRegretOracle } from "./commands/regret.js";
105
107
  import { registerTrustCommands } from "./commands/trust.js";
106
108
  import { registerNuclearCommands } from "./commands/nuclear-cli.js";
@@ -4755,6 +4757,8 @@ export async function run(argv) {
4755
4757
  registerGatewayCommands(program);
4756
4758
  registerMyceliumCommands(program);
4757
4759
  registerSiegeCommands(program);
4760
+ registerCanonCommands(program);
4761
+ registerMoatCommands(program);
4758
4762
  // ─── Trust calibrator (v1.31.0) -- per-subsystem precision/recall/band
4759
4763
  registerTrustCommands(program);
4760
4764
  // ─── Wisdom reactor (v1.33.0) -- five nuclear-physics formulas as Mneme metrics