mneme-ai 2.102.0 → 2.103.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.
- package/dist/commands/wisdom_gates.d.ts +9 -0
- package/dist/commands/wisdom_gates.d.ts.map +1 -0
- package/dist/commands/wisdom_gates.js +121 -0
- package/dist/commands/wisdom_gates.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mneme cognitive-gate` + `mneme branch-oracle` (v2.103.0) — the two
|
|
3
|
+
* wisdom gates on the CLI. Both gather their git facts, call the pure core,
|
|
4
|
+
* and print a signed verdict. Total: a non-repo / git failure degrades
|
|
5
|
+
* gracefully, never throws.
|
|
6
|
+
*/
|
|
7
|
+
import type { Command } from "commander";
|
|
8
|
+
export declare function registerWisdomGateCommands(program: Command): void;
|
|
9
|
+
//# sourceMappingURL=wisdom_gates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wisdom_gates.d.ts","sourceRoot":"","sources":["../../src/commands/wisdom_gates.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuBzC,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAgEjE"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mneme cognitive-gate` + `mneme branch-oracle` (v2.103.0) — the two
|
|
3
|
+
* wisdom gates on the CLI. Both gather their git facts, call the pure core,
|
|
4
|
+
* and print a signed verdict. Total: a non-repo / git failure degrades
|
|
5
|
+
* gracefully, never throws.
|
|
6
|
+
*/
|
|
7
|
+
import { execFileSync } from "node:child_process";
|
|
8
|
+
function git(cwd, args) {
|
|
9
|
+
try {
|
|
10
|
+
return execFileSync("git", args, { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"], maxBuffer: 64 * 1024 * 1024 }).trim();
|
|
11
|
+
}
|
|
12
|
+
catch {
|
|
13
|
+
return "";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function writeJson(p) { process.stdout.write(JSON.stringify(p, null, 2) + "\n"); }
|
|
17
|
+
function writeText(l) { process.stdout.write(l + "\n"); }
|
|
18
|
+
async function resolveCore() {
|
|
19
|
+
try {
|
|
20
|
+
const core = (await import("@mneme-ai/core"));
|
|
21
|
+
if (core.cognitiveGate && core.branchOracle)
|
|
22
|
+
return core;
|
|
23
|
+
}
|
|
24
|
+
catch { /* */ }
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
export function registerWisdomGateCommands(program) {
|
|
28
|
+
program
|
|
29
|
+
.command("cognitive-gate")
|
|
30
|
+
.description("🧠 COGNITIVE WISDOM GATE — a self-aware, signed second opinion on whether a diff matches an author's coding STYLE (NEMESIS micro-tells). Returns UNKNOWN (refuses to flag) when it can't reliably separate styles. ADVISORY, never auto-reject.")
|
|
31
|
+
.option("--author <name>", "author to baseline (default: most recent committer)")
|
|
32
|
+
.option("--samples <n>", "recent author commits to baseline", (v) => parseInt(v, 10), 12)
|
|
33
|
+
.option("--json", "JSON output.")
|
|
34
|
+
.action(async (opts) => {
|
|
35
|
+
const core = await resolveCore();
|
|
36
|
+
if (!core) {
|
|
37
|
+
writeText("✗ @mneme-ai/core unavailable.");
|
|
38
|
+
process.exitCode = 1;
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
const cwd = process.cwd();
|
|
42
|
+
if (!git(cwd, ["rev-parse", "--git-dir"])) {
|
|
43
|
+
writeText("✗ not a git repo");
|
|
44
|
+
process.exitCode = 1;
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const who = opts.author || git(cwd, ["log", "-1", "--pretty=%an"]) || "unknown";
|
|
48
|
+
const hashes = git(cwd, ["log", `--author=${who}`, "-n", String(opts.samples ?? 12), "--pretty=%H"]).split("\n").filter(Boolean);
|
|
49
|
+
const diffs = hashes.map((h) => git(cwd, ["show", h, "--no-color", "--unified=3", "--pretty=format:"])).filter((d) => d.length > 0);
|
|
50
|
+
const sig = core.cognitiveGate.buildCognitiveSignature(who, diffs);
|
|
51
|
+
const newDiff = git(cwd, ["diff", "HEAD", "--no-color"]);
|
|
52
|
+
const v = core.cognitiveGate.wisdomGate(cwd, sig, newDiff || "", Date.now());
|
|
53
|
+
if (opts.json) {
|
|
54
|
+
writeJson({ author: who, sampleCount: sig.sampleCount, verdict: v.verdict, deviation: v.judgement.deviation, ratio: v.judgement.ratio });
|
|
55
|
+
process.exitCode = 0;
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
writeText(`COGNITIVE WISDOM GATE — author ${who} (${sig.sampleCount} samples)`);
|
|
59
|
+
writeText(``);
|
|
60
|
+
writeText(` verdict: ${v.verdict} · ${v.judgement.reason}`);
|
|
61
|
+
writeText(newDiff ? ` (judged the working-tree diff vs HEAD)` : ` (no working-tree diff — judged empty)`);
|
|
62
|
+
if (v.verdict === "UNKNOWN")
|
|
63
|
+
writeText(` ⚪ honest: not enough signal to judge — the gate does not guess.`);
|
|
64
|
+
process.exitCode = 0;
|
|
65
|
+
});
|
|
66
|
+
program
|
|
67
|
+
.command("branch-oracle")
|
|
68
|
+
.description("🌿 BRANCH ORACLE — a signed real-signal snapshot of every branch vs the base: merge-conflict overlap / decay / divergence → band (healthy/caution/risky). NOT a prediction; a present-tense health read. Ranks the safest branch.")
|
|
69
|
+
.option("--base <branch>", "base branch (default: main, else master)")
|
|
70
|
+
.option("--json", "JSON output.")
|
|
71
|
+
.action(async (opts) => {
|
|
72
|
+
const core = await resolveCore();
|
|
73
|
+
if (!core) {
|
|
74
|
+
writeText("✗ @mneme-ai/core unavailable.");
|
|
75
|
+
process.exitCode = 1;
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
const cwd = process.cwd();
|
|
79
|
+
if (!git(cwd, ["rev-parse", "--git-dir"])) {
|
|
80
|
+
writeText("✗ not a git repo");
|
|
81
|
+
process.exitCode = 1;
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
let base = opts.base || "";
|
|
85
|
+
if (!base)
|
|
86
|
+
base = git(cwd, ["rev-parse", "--verify", "-q", "main"]) ? "main" : (git(cwd, ["rev-parse", "--verify", "-q", "master"]) ? "master" : "");
|
|
87
|
+
if (!base) {
|
|
88
|
+
writeText("✗ no base branch (main/master)");
|
|
89
|
+
process.exitCode = 1;
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
const branches = git(cwd, ["for-each-ref", "--format=%(refname:short)", "refs/heads/"]).split("\n").filter((b) => b && b !== base);
|
|
93
|
+
const inputs = branches.slice(0, 50).map((name) => {
|
|
94
|
+
const mb = git(cwd, ["merge-base", base, name]);
|
|
95
|
+
const ahead = parseInt(git(cwd, ["rev-list", "--count", `${base}..${name}`]) || "0", 10);
|
|
96
|
+
const behind = parseInt(git(cwd, ["rev-list", "--count", `${name}..${base}`]) || "0", 10);
|
|
97
|
+
const changedFiles = (mb ? git(cwd, ["diff", "--name-only", mb, name]) : "").split("\n").filter(Boolean);
|
|
98
|
+
const baseChangedFiles = (mb ? git(cwd, ["diff", "--name-only", mb, base]) : "").split("\n").filter(Boolean);
|
|
99
|
+
const last = git(cwd, ["log", "-1", "--format=%ct", name]);
|
|
100
|
+
const ageDays = last ? Math.max(0, Math.round((Date.now() / 1000 - parseInt(last, 10)) / 86400)) : 0;
|
|
101
|
+
return { name, ahead, behind, changedFiles, baseChangedFiles, staleFiles: 0, ageDays };
|
|
102
|
+
});
|
|
103
|
+
const r = core.branchOracle.analyzeBranches(cwd, inputs, Date.now());
|
|
104
|
+
if (opts.json) {
|
|
105
|
+
writeJson({ summary: r.summary, signals: r.signals });
|
|
106
|
+
process.exitCode = 0;
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
writeText(`BRANCH ORACLE — ${r.summary.branches} branch(es) vs ${base}`);
|
|
110
|
+
writeText(``);
|
|
111
|
+
for (const s of r.signals) {
|
|
112
|
+
const icon = s.band === "healthy" ? "✓" : s.band === "caution" ? "·" : "⚠";
|
|
113
|
+
writeText(` ${icon} ${s.name.padEnd(28)} ${s.band.padEnd(8)} conflict=${s.conflictRisk} ahead=${s.ahead} behind=${s.behind}`);
|
|
114
|
+
}
|
|
115
|
+
writeText(``);
|
|
116
|
+
writeText(` ${r.summary.healthy} healthy · ${r.summary.caution} caution · ${r.summary.risky} risky · safest: ${r.summary.safestBranch ?? "—"}`);
|
|
117
|
+
writeText(` (signed real-signal snapshot — not a prediction)`);
|
|
118
|
+
process.exitCode = 0;
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=wisdom_gates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wisdom_gates.js","sourceRoot":"","sources":["../../src/commands/wisdom_gates.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,SAAS,GAAG,CAAC,GAAW,EAAE,IAAc;IACtC,IAAI,CAAC;QAAC,OAAO,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,SAAS,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAAC,CAAC;IAAC,MAAM,CAAC;QAAC,OAAO,EAAE,CAAC;IAAC,CAAC;AACpK,CAAC;AACD,SAAS,SAAS,CAAC,CAAU,IAAU,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AACjG,SA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.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAyIA,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAm+MvD"}
|
package/dist/index.js
CHANGED
|
@@ -69,6 +69,7 @@ import { registerEmbeddingsCommands } from "./commands/embeddings.js";
|
|
|
69
69
|
import { registerSupernovaCommands } from "./commands/supernova-cli.js";
|
|
70
70
|
import { registerManifestCommands } from "./commands/manifest.js";
|
|
71
71
|
import { registerHydraCommands } from "./commands/hydra.js";
|
|
72
|
+
import { registerWisdomGateCommands } from "./commands/wisdom_gates.js";
|
|
72
73
|
import { registerTrustCommands } from "./commands/trust.js";
|
|
73
74
|
import { registerNuclearCommands } from "./commands/nuclear-cli.js";
|
|
74
75
|
import { registerOvernightCommand } from "./commands/overnight.js";
|
|
@@ -4683,6 +4684,7 @@ export async function run(argv) {
|
|
|
4683
4684
|
// ─── Manifest (v1.31.0) -- auto-sync command catalog into agent files
|
|
4684
4685
|
registerManifestCommands(program);
|
|
4685
4686
|
registerHydraCommands(program);
|
|
4687
|
+
registerWisdomGateCommands(program);
|
|
4686
4688
|
// ─── Trust calibrator (v1.31.0) -- per-subsystem precision/recall/band
|
|
4687
4689
|
registerTrustCommands(program);
|
|
4688
4690
|
// ─── Wisdom reactor (v1.33.0) -- five nuclear-physics formulas as Mneme metrics
|