mneme-ai 3.14.0 → 3.16.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 aphelion` (v3.15.0) — the agent brain at the farthest point from the cloud.
|
|
3
|
+
* Simulate / run a disconnected operation: open a session under a local charter, self-gate each
|
|
4
|
+
* action while off-grid, then seal a signed capsule that proves charter-compliance for the whole
|
|
5
|
+
* window — verifiable OFFLINE, and merge-able across the fleet on reconnect.
|
|
6
|
+
* aphelion open --node rover --mission "survey" --scope "sensors/*" --forbidden self-destruct --max-risk 0.7
|
|
7
|
+
* aphelion act --action "read sensor" --risk 0.1 --path sensors/temp
|
|
8
|
+
* aphelion seal --out rover.capsule.json · aphelion verify <capsule> · aphelion merge <capsule...>
|
|
9
|
+
*/
|
|
10
|
+
import type { Command } from "commander";
|
|
11
|
+
export declare function registerAphelionCommands(program: Command): void;
|
|
12
|
+
//# sourceMappingURL=aphelion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aphelion.d.ts","sourceRoot":"","sources":["../../src/commands/aphelion.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAazC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAuG/D"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
2
|
+
import { join } from "node:path";
|
|
3
|
+
import { aphelion, infraProvenance, notary } from "@mneme-ai/core";
|
|
4
|
+
import { hostname, cpus } from "node:os";
|
|
5
|
+
function out(s) { process.stdout.write(s + "\n"); }
|
|
6
|
+
const dir = (cwd) => join(cwd, ".mneme", "aphelion");
|
|
7
|
+
const sessPath = (cwd, node) => join(dir(cwd), `${node}.session.json`);
|
|
8
|
+
function loadSession(cwd, node) { try {
|
|
9
|
+
return JSON.parse(readFileSync(sessPath(cwd, node), "utf8"));
|
|
10
|
+
}
|
|
11
|
+
catch {
|
|
12
|
+
return null;
|
|
13
|
+
} }
|
|
14
|
+
function saveSession(cwd, s) { mkdirSync(dir(cwd), { recursive: true }); writeFileSync(sessPath(cwd, s.node), JSON.stringify(s, null, 2), "utf8"); }
|
|
15
|
+
function readCapsule(file) { try {
|
|
16
|
+
const j = JSON.parse(readFileSync(file, "utf8"));
|
|
17
|
+
return (j?.payload?.v ? j.payload : j);
|
|
18
|
+
}
|
|
19
|
+
catch {
|
|
20
|
+
return null;
|
|
21
|
+
} }
|
|
22
|
+
export function registerAphelionCommands(program) {
|
|
23
|
+
const k = program.command("aphelion").description("🛰 APHELION — the agent brain for operations at the farthest point from the cloud (Mars latency · severed Starlink · air-gap). Self-govern against a local charter while disconnected, then prove the whole window offline + merge across the fleet on reconnect.");
|
|
24
|
+
k.command("open").description("Open a disconnected session under a local autonomy charter.")
|
|
25
|
+
.requiredOption("--node <name>", "this node's id (rover, probe, edge-7)")
|
|
26
|
+
.option("--mission <m>", "the mission", "").option("--scope <globs...>", "allowed paths").option("--forbidden <words...>", "forbidden actions").option("--max-risk <n>", "risk ceiling", parseFloat)
|
|
27
|
+
.action((o) => {
|
|
28
|
+
const cwd = process.cwd();
|
|
29
|
+
const infra = infraProvenance.captureInfra({ env: process.env, host: hostname(), platform: process.platform, arch: process.arch, cpus: cpus().length }, Date.now());
|
|
30
|
+
const s = aphelion.openSession({ sessionId: `${o.node}-${Date.now()}`, node: o.node, charter: { mission: o.mission, scope: o.scope ?? [], forbidden: o.forbidden ?? [], maxRisk: o.maxRisk ?? 0.7 }, infra: infra, nowMs: Date.now() });
|
|
31
|
+
saveSession(cwd, s);
|
|
32
|
+
out(`🛰 APHELION session open · node ${o.node} · mission "${o.mission}" · scope [${(o.scope ?? []).join(", ") || "any"}] · forbidden [${(o.forbidden ?? []).join(", ") || "none"}] · maxRisk ${s.charter.maxRisk}`);
|
|
33
|
+
out(` running at the edge (${infra.provider}${infra.region ? "/" + infra.region : ""}) — Earth is out of the loop. Record actions; they self-gate.`);
|
|
34
|
+
});
|
|
35
|
+
k.command("act").description("Record a self-gated action while disconnected (the agent's own conscience).")
|
|
36
|
+
.requiredOption("--node <name>", "this node's id").requiredOption("--action <a>", "what the agent is about to do")
|
|
37
|
+
.option("--risk <n>", "risk 0..1", parseFloat).option("--path <p>", "the resource path it touches")
|
|
38
|
+
.action((o) => {
|
|
39
|
+
const cwd = process.cwd();
|
|
40
|
+
const s = loadSession(cwd, o.node);
|
|
41
|
+
if (!s) {
|
|
42
|
+
out(`no open session for ${o.node} — run: mneme aphelion open --node ${o.node}`);
|
|
43
|
+
process.exitCode = 2;
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const next = aphelion.recordAction(s, { action: o.action, risk: o.risk ?? 0, path: o.path }, Date.now());
|
|
47
|
+
saveSession(cwd, next);
|
|
48
|
+
const last = next.actions[next.actions.length - 1];
|
|
49
|
+
out(`${last.withinCharter ? "🟢 within charter" : "🔴 CHARTER VIOLATION"} · ${last.action}${o.path ? ` (${o.path})` : ""} · risk ${last.risk} — ${last.reason}`);
|
|
50
|
+
out(` recorded #${last.seq} to the tamper-evident offline ledger (${next.actions.length} action(s) this window).`);
|
|
51
|
+
});
|
|
52
|
+
k.command("amend").description("Amend the autonomy charter MID-FLIGHT — a signed, chain-recorded envelope change (it governs only future actions; it cannot retroactively cover a past violation).")
|
|
53
|
+
.requiredOption("--node <name>", "this node's id").requiredOption("--reason <r>", "why the charter is changing")
|
|
54
|
+
.option("--scope <globs...>", "new allowed paths").option("--forbidden <words...>", "new forbidden actions").option("--max-risk <n>", "new risk ceiling", parseFloat).option("--by <who>", "who authorized it", "operator")
|
|
55
|
+
.action((o) => {
|
|
56
|
+
const cwd = process.cwd();
|
|
57
|
+
const s = loadSession(cwd, o.node);
|
|
58
|
+
if (!s) {
|
|
59
|
+
out(`no open session for ${o.node}`);
|
|
60
|
+
process.exitCode = 2;
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
const cur = aphelion.activeCharterOf(s);
|
|
64
|
+
const charter = { mission: cur.mission, scope: o.scope ?? cur.scope, forbidden: o.forbidden ?? cur.forbidden, maxRisk: o.maxRisk ?? cur.maxRisk };
|
|
65
|
+
saveSession(cwd, aphelion.amendCharter(s, { charter, reason: o.reason, by: o.by }, Date.now()));
|
|
66
|
+
out(`🛰 charter amended by ${o.by} — "${o.reason}" · scope [${charter.scope.join(", ") || "any"}] · forbidden [${charter.forbidden.join(", ") || "none"}] · maxRisk ${charter.maxRisk}`);
|
|
67
|
+
out(" recorded as a signed amendment in the chain — future actions judge against it; past actions keep their verdicts.");
|
|
68
|
+
});
|
|
69
|
+
k.command("relay").description("DTN store-and-forward: take custody of a bundle at a relay (orbiter / ground station), or create one. With no --in, wraps the node's sealed capsule.")
|
|
70
|
+
.requiredOption("--via <node>", "the relay taking custody").option("--in <bundle>", "the incoming bundle").option("--node <name>", "origin node (to create a bundle from its capsule)").option("--out <file>", "write the forwarded bundle")
|
|
71
|
+
.action((o) => {
|
|
72
|
+
const cwd = process.cwd();
|
|
73
|
+
let bundle = null;
|
|
74
|
+
if (o.in && existsSync(o.in)) {
|
|
75
|
+
try {
|
|
76
|
+
const j = JSON.parse(readFileSync(o.in, "utf8"));
|
|
77
|
+
bundle = (j?.payload?.v ? j.payload : j);
|
|
78
|
+
}
|
|
79
|
+
catch { /* */ }
|
|
80
|
+
}
|
|
81
|
+
else if (o.node) {
|
|
82
|
+
const cap = readCapsule(join(dir(cwd), `${o.node}.capsule.json`));
|
|
83
|
+
if (cap)
|
|
84
|
+
bundle = aphelion.createBundle(cap, o.node, Date.now());
|
|
85
|
+
}
|
|
86
|
+
if (!bundle) {
|
|
87
|
+
out("no bundle/capsule — pass --in <bundle> or --node <name> (after seal)");
|
|
88
|
+
process.exitCode = 2;
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
const fwd = aphelion.forwardBundle(bundle, o.via, Date.now());
|
|
92
|
+
const outPath = o.out ?? join(dir(cwd), `bundle.json`);
|
|
93
|
+
writeFileSync(outPath, JSON.stringify(fwd, null, 2), "utf8");
|
|
94
|
+
out(`🛰 custody taken at ${o.via} · path ${fwd.custody.map((h) => h.node).join(" → ")} → ${outPath}`);
|
|
95
|
+
});
|
|
96
|
+
k.command("deliver <bundle>").description("DTN delivery: verify a bundle that reached home — the custody PATH + the carried capsule both verify OFFLINE.")
|
|
97
|
+
.action((file) => {
|
|
98
|
+
if (!existsSync(file)) {
|
|
99
|
+
out("bundle not found");
|
|
100
|
+
process.exitCode = 2;
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
let bundle;
|
|
104
|
+
try {
|
|
105
|
+
const j = JSON.parse(readFileSync(file, "utf8"));
|
|
106
|
+
bundle = (j?.payload?.v ? j.payload : j);
|
|
107
|
+
}
|
|
108
|
+
catch {
|
|
109
|
+
out("✗ invalid bundle JSON");
|
|
110
|
+
process.exitCode = 2;
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
const v = aphelion.verifyBundle(bundle);
|
|
114
|
+
out(v.valid ? `✓ DELIVERED + VERIFIED — ${v.reasons[0]}` : "✗ NOT verified:");
|
|
115
|
+
if (!v.valid) {
|
|
116
|
+
for (const r of v.reasons)
|
|
117
|
+
out(" • " + r);
|
|
118
|
+
process.exitCode = 2;
|
|
119
|
+
}
|
|
120
|
+
else
|
|
121
|
+
out(` path: ${v.path.join(" → ")} · custody ${v.custodyOk ? "intact" : "BROKEN"} · payload ${v.capsuleValid ? "valid" : "INVALID"}`);
|
|
122
|
+
});
|
|
123
|
+
k.command("seal").description("Seal the disconnected window into a signed capsule (verify offline on reconnect).")
|
|
124
|
+
.requiredOption("--node <name>", "this node's id").option("--out <file>", "write the signed capsule")
|
|
125
|
+
.action((o) => {
|
|
126
|
+
const cwd = process.cwd();
|
|
127
|
+
const s = loadSession(cwd, o.node);
|
|
128
|
+
if (!s) {
|
|
129
|
+
out(`no open session for ${o.node}`);
|
|
130
|
+
process.exitCode = 2;
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
const capsule = aphelion.sealCapsule(s);
|
|
134
|
+
let signed = capsule;
|
|
135
|
+
try {
|
|
136
|
+
signed = notary.issueReceipt(cwd, { kind: "reasoning-trace", subject: `aphelion:${capsule.node}:${capsule.chainHead.slice(0, 10)}`, payload: capsule, includePayload: true, issuedAt: Date.now() });
|
|
137
|
+
}
|
|
138
|
+
catch { /* */ }
|
|
139
|
+
const outPath = o.out ?? join(dir(cwd), `${o.node}.capsule.json`);
|
|
140
|
+
writeFileSync(outPath, JSON.stringify(signed, null, 2), "utf8");
|
|
141
|
+
const c = capsule.compliance;
|
|
142
|
+
out(`🛰 capsule sealed · node ${capsule.node} · ${c.total} action(s) · ${c.withinCharter} within charter · ${c.violations} violation(s)`);
|
|
143
|
+
out(` ${c.violations === 0 ? "🟢 clean window — provably compliant" : "🔴 " + c.violations + " violation(s) recorded — cannot be hidden: " + c.violationIds.join(", ")}`);
|
|
144
|
+
out(` 🛰 signed → ${outPath} (verify offline on reconnect: mneme aphelion verify ${outPath})`);
|
|
145
|
+
});
|
|
146
|
+
k.command("verify <file>").description("Verify a capsule OFFLINE — the chain is intact, every judgement re-derives, and the compliance is real.")
|
|
147
|
+
.action((file) => {
|
|
148
|
+
if (!existsSync(file)) {
|
|
149
|
+
out("capsule not found");
|
|
150
|
+
process.exitCode = 2;
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
let signed;
|
|
154
|
+
try {
|
|
155
|
+
signed = JSON.parse(readFileSync(file, "utf8"));
|
|
156
|
+
}
|
|
157
|
+
catch {
|
|
158
|
+
out("✗ invalid capsule JSON");
|
|
159
|
+
process.exitCode = 2;
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
const sig = notary.verifyReceipt(signed);
|
|
163
|
+
const capsule = readCapsule(file);
|
|
164
|
+
out(sig.valid ? "✓ signature VALID (Ed25519, offline)" : `· ${sig.reason}`);
|
|
165
|
+
if (!capsule) {
|
|
166
|
+
out("✗ no capsule payload");
|
|
167
|
+
process.exitCode = 2;
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
const v = aphelion.verifyCapsule(capsule);
|
|
171
|
+
out(v.valid ? `✓ WINDOW VERIFIED — ${v.reasons[0]}` : "✗ NOT verified:");
|
|
172
|
+
if (!v.valid)
|
|
173
|
+
for (const r of v.reasons)
|
|
174
|
+
out(" • " + r);
|
|
175
|
+
out(` → node ${capsule.node} · mission "${capsule.charter.mission}" · ${capsule.compliance.total} action(s) · ${v.compliant ? "compliant" : capsule.compliance.violations + " violation(s)"}`);
|
|
176
|
+
if (!v.valid)
|
|
177
|
+
process.exitCode = 2;
|
|
178
|
+
});
|
|
179
|
+
k.command("merge <files...>").description("Fleet reconnect: CRDT-merge capsules from many nodes into one conflict-free view.")
|
|
180
|
+
.action((files) => {
|
|
181
|
+
const capsules = files.map(readCapsule).filter(Boolean);
|
|
182
|
+
if (!capsules.length) {
|
|
183
|
+
out("no capsules to merge");
|
|
184
|
+
process.exitCode = 2;
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
const fleet = aphelion.mergeCapsules(capsules);
|
|
188
|
+
out(`🛰 FLEET MERGE · ${fleet.nodes.length} node(s) · ${fleet.totalActions} action(s) · ${fleet.totalViolations} violation(s)`);
|
|
189
|
+
for (const n of fleet.perNode)
|
|
190
|
+
out(` ${n.clean ? "🟢" : "🔴"} ${n.node} · ${n.actions} action(s) · ${n.violations} violation(s)`);
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
//# sourceMappingURL=aphelion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aphelion.js","sourceRoot":"","sources":["../../src/commands/aphelion.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM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IAAI,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,OAAO,gBAAgB,CAAC,CAAC,UAAU,eAAe,CAAC,CAAC;IACtI,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAkMA,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAkmNvD"}
|
package/dist/index.js
CHANGED
|
@@ -111,6 +111,7 @@ import { registerMcpgateCommands } from "./commands/mcpgate.js";
|
|
|
111
111
|
import { registerAgentcertCommands } from "./commands/agentcert.js";
|
|
112
112
|
import { registerThymosCommands } from "./commands/thymos.js";
|
|
113
113
|
import { registerInfraCommands } from "./commands/infra.js";
|
|
114
|
+
import { registerAphelionCommands } from "./commands/aphelion.js";
|
|
114
115
|
import { registerAdamasCommands } from "./commands/adamas.js";
|
|
115
116
|
import { registerPrismCommands } from "./commands/prism.js";
|
|
116
117
|
import { registerGoldilocksCommands } from "./commands/goldilocks.js";
|
|
@@ -4789,6 +4790,7 @@ export async function run(argv) {
|
|
|
4789
4790
|
registerAgentcertCommands(program);
|
|
4790
4791
|
registerThymosCommands(program);
|
|
4791
4792
|
registerInfraCommands(program);
|
|
4793
|
+
registerAphelionCommands(program);
|
|
4792
4794
|
registerAdamasCommands(program);
|
|
4793
4795
|
registerPrismCommands(program);
|
|
4794
4796
|
registerGoldilocksCommands(program);
|