nexus-agents 8.78.1 → 8.80.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/{ast-rule-runner-U5N43D4U.js → ast-rule-runner-WBNQ4W7B.js} +3 -3
- package/dist/{child-mcp-config-IRZHH2TU.js → child-mcp-config-TB32BPW5.js} +2 -2
- package/dist/{chunk-7RCC7WGS.js → chunk-3HGN74IJ.js} +2 -2
- package/dist/{chunk-YB5MS4JH.js → chunk-6JMKAMIS.js} +2 -2
- package/dist/{chunk-T63EIQYI.js → chunk-6VWD7DRE.js} +2 -2
- package/dist/{chunk-Q6JZQWQB.js → chunk-ABUPISMJ.js} +4 -4
- package/dist/{chunk-LIVTFARG.js → chunk-C54ZYD3A.js} +2 -2
- package/dist/{chunk-5CIP4EWI.js → chunk-CAKY3YPI.js} +20 -5
- package/dist/chunk-CAKY3YPI.js.map +1 -0
- package/dist/{chunk-EMWRUQQS.js → chunk-CURDI25L.js} +5 -5
- package/dist/{chunk-33HHRRKZ.js → chunk-E56PLS6D.js} +41 -28
- package/dist/chunk-E56PLS6D.js.map +1 -0
- package/dist/{chunk-4FDESAVV.js → chunk-ECLPQMUB.js} +3 -3
- package/dist/{chunk-YUDJV6JF.js → chunk-ELYWRZPD.js} +4 -4
- package/dist/{chunk-HLIE3734.js → chunk-FN43725K.js} +52 -15
- package/dist/chunk-FN43725K.js.map +1 -0
- package/dist/{chunk-NEIPHVTA.js → chunk-G6QIL77O.js} +2 -2
- package/dist/{chunk-AE2U6NUZ.js → chunk-G7IKDIHG.js} +2 -2
- package/dist/{chunk-BLSQNFMS.js → chunk-HVS6NEOI.js} +3 -3
- package/dist/{chunk-J76ZM6QF.js → chunk-IMWA6UIZ.js} +2 -2
- package/dist/{chunk-CMZPHXDH.js → chunk-J3CWUE35.js} +2 -2
- package/dist/{chunk-PSCY6MSD.js → chunk-MN2IFJCV.js} +4 -4
- package/dist/{chunk-GHNHZSDW.js → chunk-MRK3TVZQ.js} +7 -7
- package/dist/{chunk-XQ34WJOM.js → chunk-MXAQRDPB.js} +2 -2
- package/dist/{chunk-BGKG32VV.js → chunk-OIRYBDAY.js} +10 -10
- package/dist/{chunk-AVEDKF3J.js → chunk-OMNYIKT2.js} +2 -2
- package/dist/{chunk-WUN3IB3T.js → chunk-OT2PRNLG.js} +2 -2
- package/dist/{chunk-HVEPFGQC.js → chunk-P5PEIZDT.js} +36 -36
- package/dist/{chunk-WABZQ477.js → chunk-P7ICWY4J.js} +4 -4
- package/dist/{chunk-UW4I34IW.js → chunk-PQQWP3D7.js} +3 -3
- package/dist/{chunk-ACXBBUW3.js → chunk-QXULJBP2.js} +2 -2
- package/dist/{chunk-DWQ7TG5L.js → chunk-RUL5I2UB.js} +2 -2
- package/dist/{chunk-SKAPTWVH.js → chunk-RVMOIMKD.js} +3 -3
- package/dist/{chunk-F7R2E74V.js → chunk-SLH6AXGK.js} +2 -2
- package/dist/{chunk-UNPDTD6N.js → chunk-VEEBF4TY.js} +2 -2
- package/dist/{chunk-OZFXXGGZ.js → chunk-VXJO6GKP.js} +5 -5
- package/dist/{chunk-VFFG3HIY.js → chunk-W2BS4OEF.js} +2 -2
- package/dist/{chunk-QNRB5U7W.js → chunk-XTBRYXQ3.js} +2 -2
- package/dist/{cli-circuit-breaker-DJU6WTWT.js → cli-circuit-breaker-GI3XO3KY.js} +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +42 -42
- package/dist/{composite-router-F3D2QRHI.js → composite-router-I7IFJ5KZ.js} +2 -2
- package/dist/{consensus-vote-F232OHJH.js → consensus-vote-562LVBTG.js} +16 -16
- package/dist/{consensus-vote-types-CjV_hgDK.d.ts → consensus-vote-types-B4e7bt34.d.ts} +17 -1
- package/dist/{context-retriever-J24ZMIZG.js → context-retriever-Y52C6VNU.js} +8 -8
- package/dist/{doctor-deep-WWOPRJJS.js → doctor-deep-VR5KYAY6.js} +3 -3
- package/dist/{doctor-live-55CKYQ6V.js → doctor-live-SWQC7LEQ.js} +10 -10
- package/dist/{expert-bridge-5MFBN4ZW.js → expert-bridge-ARAJKDJ4.js} +4 -4
- package/dist/{factory-3ZA63QDH.js → factory-DY6VTFH5.js} +9 -9
- package/dist/{factory-TXEYHBQV.js → factory-ONHL5U5H.js} +5 -5
- package/dist/{improvement-review-ATTDLEBX.js → improvement-review-MT3YYRMQ.js} +5 -5
- package/dist/index.d.ts +8 -2
- package/dist/index.js +30 -30
- package/dist/{init-opencode-R5JTQZG5.js → init-opencode-RNDSFHBF.js} +5 -5
- package/dist/issue-triage-FDEDC6XZ.js +16 -0
- package/dist/{pr-reviewer-helpers-HRM74BLX.js → pr-reviewer-helpers-CMAJDX2H.js} +4 -4
- package/dist/{registry-command-ZPKPR6WV.js → registry-command-22GYK4DX.js} +2 -2
- package/dist/{repo-security-plan-LXKTNEGB.js → repo-security-plan-AXS2VFES.js} +3 -3
- package/dist/{research-helpers-synthesize-FZLLZSJM.js → research-helpers-synthesize-RHDOVMBS.js} +4 -4
- package/dist/{routing-memory-35Z7UVYC.js → routing-memory-ACDBGC3N.js} +2 -2
- package/dist/{session-memory-G7VGV2SC.js → session-memory-QHCC5Y3X.js} +3 -3
- package/dist/{setup-config-KLKXB2LM.js → setup-config-LFCOSUQO.js} +3 -3
- package/dist/{setup-custom-api-TJMRUQFK.js → setup-custom-api-LUARV73X.js} +4 -4
- package/dist/setup-data-dir-2G242K7M.js +30 -0
- package/dist/{tool-memory-65MWYDEP.js → tool-memory-GN6I5MC2.js} +5 -5
- package/dist/{unified-registry-2HCLBGWM.js → unified-registry-ZWF7T6CK.js} +10 -10
- package/dist/{weather-report-RMRBC6LH.js → weather-report-GOKIMPQU.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-33HHRRKZ.js.map +0 -1
- package/dist/chunk-5CIP4EWI.js.map +0 -1
- package/dist/chunk-HLIE3734.js.map +0 -1
- package/dist/issue-triage-M7XEMQZ7.js +0 -16
- package/dist/setup-data-dir-BXGHZ53Y.js +0 -30
- /package/dist/{ast-rule-runner-U5N43D4U.js.map → ast-rule-runner-WBNQ4W7B.js.map} +0 -0
- /package/dist/{child-mcp-config-IRZHH2TU.js.map → child-mcp-config-TB32BPW5.js.map} +0 -0
- /package/dist/{chunk-7RCC7WGS.js.map → chunk-3HGN74IJ.js.map} +0 -0
- /package/dist/{chunk-YB5MS4JH.js.map → chunk-6JMKAMIS.js.map} +0 -0
- /package/dist/{chunk-T63EIQYI.js.map → chunk-6VWD7DRE.js.map} +0 -0
- /package/dist/{chunk-Q6JZQWQB.js.map → chunk-ABUPISMJ.js.map} +0 -0
- /package/dist/{chunk-LIVTFARG.js.map → chunk-C54ZYD3A.js.map} +0 -0
- /package/dist/{chunk-EMWRUQQS.js.map → chunk-CURDI25L.js.map} +0 -0
- /package/dist/{chunk-4FDESAVV.js.map → chunk-ECLPQMUB.js.map} +0 -0
- /package/dist/{chunk-YUDJV6JF.js.map → chunk-ELYWRZPD.js.map} +0 -0
- /package/dist/{chunk-NEIPHVTA.js.map → chunk-G6QIL77O.js.map} +0 -0
- /package/dist/{chunk-AE2U6NUZ.js.map → chunk-G7IKDIHG.js.map} +0 -0
- /package/dist/{chunk-BLSQNFMS.js.map → chunk-HVS6NEOI.js.map} +0 -0
- /package/dist/{chunk-J76ZM6QF.js.map → chunk-IMWA6UIZ.js.map} +0 -0
- /package/dist/{chunk-CMZPHXDH.js.map → chunk-J3CWUE35.js.map} +0 -0
- /package/dist/{chunk-PSCY6MSD.js.map → chunk-MN2IFJCV.js.map} +0 -0
- /package/dist/{chunk-GHNHZSDW.js.map → chunk-MRK3TVZQ.js.map} +0 -0
- /package/dist/{chunk-XQ34WJOM.js.map → chunk-MXAQRDPB.js.map} +0 -0
- /package/dist/{chunk-BGKG32VV.js.map → chunk-OIRYBDAY.js.map} +0 -0
- /package/dist/{chunk-AVEDKF3J.js.map → chunk-OMNYIKT2.js.map} +0 -0
- /package/dist/{chunk-WUN3IB3T.js.map → chunk-OT2PRNLG.js.map} +0 -0
- /package/dist/{chunk-HVEPFGQC.js.map → chunk-P5PEIZDT.js.map} +0 -0
- /package/dist/{chunk-WABZQ477.js.map → chunk-P7ICWY4J.js.map} +0 -0
- /package/dist/{chunk-UW4I34IW.js.map → chunk-PQQWP3D7.js.map} +0 -0
- /package/dist/{chunk-ACXBBUW3.js.map → chunk-QXULJBP2.js.map} +0 -0
- /package/dist/{chunk-DWQ7TG5L.js.map → chunk-RUL5I2UB.js.map} +0 -0
- /package/dist/{chunk-SKAPTWVH.js.map → chunk-RVMOIMKD.js.map} +0 -0
- /package/dist/{chunk-F7R2E74V.js.map → chunk-SLH6AXGK.js.map} +0 -0
- /package/dist/{chunk-UNPDTD6N.js.map → chunk-VEEBF4TY.js.map} +0 -0
- /package/dist/{chunk-OZFXXGGZ.js.map → chunk-VXJO6GKP.js.map} +0 -0
- /package/dist/{chunk-VFFG3HIY.js.map → chunk-W2BS4OEF.js.map} +0 -0
- /package/dist/{chunk-QNRB5U7W.js.map → chunk-XTBRYXQ3.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-DJU6WTWT.js.map → cli-circuit-breaker-GI3XO3KY.js.map} +0 -0
- /package/dist/{composite-router-F3D2QRHI.js.map → composite-router-I7IFJ5KZ.js.map} +0 -0
- /package/dist/{consensus-vote-F232OHJH.js.map → consensus-vote-562LVBTG.js.map} +0 -0
- /package/dist/{context-retriever-J24ZMIZG.js.map → context-retriever-Y52C6VNU.js.map} +0 -0
- /package/dist/{doctor-deep-WWOPRJJS.js.map → doctor-deep-VR5KYAY6.js.map} +0 -0
- /package/dist/{doctor-live-55CKYQ6V.js.map → doctor-live-SWQC7LEQ.js.map} +0 -0
- /package/dist/{expert-bridge-5MFBN4ZW.js.map → expert-bridge-ARAJKDJ4.js.map} +0 -0
- /package/dist/{factory-3ZA63QDH.js.map → factory-DY6VTFH5.js.map} +0 -0
- /package/dist/{factory-TXEYHBQV.js.map → factory-ONHL5U5H.js.map} +0 -0
- /package/dist/{improvement-review-ATTDLEBX.js.map → improvement-review-MT3YYRMQ.js.map} +0 -0
- /package/dist/{init-opencode-R5JTQZG5.js.map → init-opencode-RNDSFHBF.js.map} +0 -0
- /package/dist/{issue-triage-M7XEMQZ7.js.map → issue-triage-FDEDC6XZ.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-HRM74BLX.js.map → pr-reviewer-helpers-CMAJDX2H.js.map} +0 -0
- /package/dist/{registry-command-ZPKPR6WV.js.map → registry-command-22GYK4DX.js.map} +0 -0
- /package/dist/{repo-security-plan-LXKTNEGB.js.map → repo-security-plan-AXS2VFES.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-FZLLZSJM.js.map → research-helpers-synthesize-RHDOVMBS.js.map} +0 -0
- /package/dist/{routing-memory-35Z7UVYC.js.map → routing-memory-ACDBGC3N.js.map} +0 -0
- /package/dist/{session-memory-G7VGV2SC.js.map → session-memory-QHCC5Y3X.js.map} +0 -0
- /package/dist/{setup-config-KLKXB2LM.js.map → setup-config-LFCOSUQO.js.map} +0 -0
- /package/dist/{setup-custom-api-TJMRUQFK.js.map → setup-custom-api-LUARV73X.js.map} +0 -0
- /package/dist/{setup-data-dir-BXGHZ53Y.js.map → setup-data-dir-2G242K7M.js.map} +0 -0
- /package/dist/{tool-memory-65MWYDEP.js.map → tool-memory-GN6I5MC2.js.map} +0 -0
- /package/dist/{unified-registry-2HCLBGWM.js.map → unified-registry-ZWF7T6CK.js.map} +0 -0
- /package/dist/{weather-report-RMRBC6LH.js.map → weather-report-GOKIMPQU.js.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G6QIL77O.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CAKY3YPI.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -876,4 +876,4 @@ export {
|
|
|
876
876
|
AttributedInsightSchema,
|
|
877
877
|
synthesizeResearch
|
|
878
878
|
};
|
|
879
|
-
//# sourceMappingURL=chunk-
|
|
879
|
+
//# sourceMappingURL=chunk-ECLPQMUB.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-7LP6VJRP.js";
|
|
6
6
|
import {
|
|
7
7
|
SessionMemory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G7IKDIHG.js";
|
|
9
9
|
import {
|
|
10
10
|
StatsOnlyAdapter,
|
|
11
11
|
ensureSharedMemoryRegistry
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-MUJCGBZW.js";
|
|
16
16
|
import {
|
|
17
17
|
generateId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XTBRYXQ3.js";
|
|
19
19
|
import {
|
|
20
20
|
ErrorCode,
|
|
21
21
|
NexusError,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
ok,
|
|
30
30
|
openSqliteDatabase,
|
|
31
31
|
setSharedMobiMemDbPathResolver
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CAKY3YPI.js";
|
|
33
33
|
import {
|
|
34
34
|
nexusDataPath
|
|
35
35
|
} from "./chunk-RNDHNRSX.js";
|
|
@@ -5822,4 +5822,4 @@ export {
|
|
|
5822
5822
|
reinitializeMemoryBackends,
|
|
5823
5823
|
ToolMemoryManager
|
|
5824
5824
|
};
|
|
5825
|
-
//# sourceMappingURL=chunk-
|
|
5825
|
+
//# sourceMappingURL=chunk-ELYWRZPD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isGatewayModelAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ABUPISMJ.js";
|
|
4
4
|
import {
|
|
5
5
|
allOf
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -24,20 +24,20 @@ import {
|
|
|
24
24
|
toolSuccessStructured,
|
|
25
25
|
withProgressHeartbeat,
|
|
26
26
|
wrapToolWithTimeout
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HVS6NEOI.js";
|
|
28
28
|
import {
|
|
29
29
|
VERSION
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6JMKAMIS.js";
|
|
31
31
|
import {
|
|
32
32
|
UNRESOLVED_MODEL_ID,
|
|
33
33
|
assessPanelIndependence,
|
|
34
34
|
countDistinctModels,
|
|
35
35
|
createEvent,
|
|
36
36
|
getGlobalRegistry
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MN2IFJCV.js";
|
|
38
38
|
import {
|
|
39
39
|
getToolMemory
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ELYWRZPD.js";
|
|
41
41
|
import {
|
|
42
42
|
authRemediation,
|
|
43
43
|
classifyExtractedError,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
sanitizeOutput,
|
|
49
49
|
sleep,
|
|
50
50
|
withTimeout
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-E56PLS6D.js";
|
|
52
52
|
import {
|
|
53
53
|
AgentError,
|
|
54
54
|
CLI_NAMES,
|
|
@@ -57,6 +57,7 @@ import {
|
|
|
57
57
|
OPERATION_CLASSES,
|
|
58
58
|
OutcomeStore,
|
|
59
59
|
TaskOutcomeSchema,
|
|
60
|
+
UNDECLARED_OPTIONS_EXCERPT_CHARS,
|
|
60
61
|
VOTE_TIMEOUTS,
|
|
61
62
|
categorizeOutcomeErrorMessage,
|
|
62
63
|
clamp01,
|
|
@@ -81,7 +82,7 @@ import {
|
|
|
81
82
|
registerPersistentOutcomeStoreFactory,
|
|
82
83
|
resolveClassGuardMs,
|
|
83
84
|
resolveVoteTimeout
|
|
84
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-CAKY3YPI.js";
|
|
85
86
|
import {
|
|
86
87
|
ensureLearningDir,
|
|
87
88
|
getOutcomesFile
|
|
@@ -6032,7 +6033,7 @@ function singleModelPanelWarning(votes) {
|
|
|
6032
6033
|
}
|
|
6033
6034
|
|
|
6034
6035
|
// src/mcp/tools/consensus-vote-option-detection.ts
|
|
6035
|
-
var
|
|
6036
|
+
var UNDECLARED_OPTION_PATTERNS = Object.freeze([
|
|
6036
6037
|
// `Option A` and `OPTION A`, but NOT `option a` — the lowercase form appears
|
|
6037
6038
|
// in ordinary prose ("there is no option a caller can set"), the capitalised
|
|
6038
6039
|
// form is a heading. The motivating proposal used `Option A`; an
|
|
@@ -6043,10 +6044,32 @@ var MULTI_OPTION_PATTERNS = Object.freeze([
|
|
|
6043
6044
|
/\bpick exactly one\b/i,
|
|
6044
6045
|
/\bvote for exactly one\b/i
|
|
6045
6046
|
]);
|
|
6047
|
+
function excerptAround(text, start, end) {
|
|
6048
|
+
const width = UNDECLARED_OPTIONS_EXCERPT_CHARS;
|
|
6049
|
+
if (text.length <= width) return text;
|
|
6050
|
+
const slack = Math.max(0, width - (end - start));
|
|
6051
|
+
let from = Math.max(0, start - Math.floor(slack / 2));
|
|
6052
|
+
const to = Math.min(text.length, from + width);
|
|
6053
|
+
from = Math.max(0, to - width);
|
|
6054
|
+
return text.slice(from, to);
|
|
6055
|
+
}
|
|
6056
|
+
function detectUndeclaredOptions(proposal, declaredOptions) {
|
|
6057
|
+
if (declaredOptions !== void 0 && declaredOptions.length > 0) return { fired: false };
|
|
6058
|
+
if (proposal === "") return { fired: false };
|
|
6059
|
+
for (const pattern of UNDECLARED_OPTION_PATTERNS) {
|
|
6060
|
+
const match = pattern.exec(proposal);
|
|
6061
|
+
if (match === null) continue;
|
|
6062
|
+
const start = match.index;
|
|
6063
|
+
return {
|
|
6064
|
+
fired: true,
|
|
6065
|
+
pattern: String(pattern),
|
|
6066
|
+
excerpt: excerptAround(proposal, start, start + match[0].length)
|
|
6067
|
+
};
|
|
6068
|
+
}
|
|
6069
|
+
return { fired: false };
|
|
6070
|
+
}
|
|
6046
6071
|
function checkUndeclaredOptions(proposal, declaredOptions, allEngagedApproved) {
|
|
6047
|
-
if (
|
|
6048
|
-
if (proposal === "") return { flagged: false };
|
|
6049
|
-
if (!MULTI_OPTION_PATTERNS.some((p) => p.test(proposal))) return { flagged: false };
|
|
6072
|
+
if (!detectUndeclaredOptions(proposal, declaredOptions).fired) return { flagged: false };
|
|
6050
6073
|
const base = "This proposal appears to name alternatives, but `options` was not declared, so the tally records approve/reject only and cannot say WHICH alternative won (#4452, #5360). Re-run with `options` to record the option tally.";
|
|
6051
6074
|
return {
|
|
6052
6075
|
flagged: true,
|
|
@@ -6410,7 +6433,7 @@ function logPartialProposal(bounded, log) {
|
|
|
6410
6433
|
}
|
|
6411
6434
|
async function runContrarianCheck(proposal, log, opts) {
|
|
6412
6435
|
try {
|
|
6413
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6436
|
+
const { executeExpert } = await import("./expert-bridge-ARAJKDJ4.js");
|
|
6414
6437
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
6415
6438
|
logPartialProposal(bounded, log);
|
|
6416
6439
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded, opts), {
|
|
@@ -7111,7 +7134,8 @@ function recordDecisionCost(options) {
|
|
|
7111
7134
|
gate: options.gate,
|
|
7112
7135
|
voters,
|
|
7113
7136
|
billingMode,
|
|
7114
|
-
timestamp
|
|
7137
|
+
timestamp,
|
|
7138
|
+
...options.undeclaredOptionsDetector !== void 0 ? { undeclaredOptionsDetector: options.undeclaredOptionsDetector } : {}
|
|
7115
7139
|
});
|
|
7116
7140
|
if (!persisted) {
|
|
7117
7141
|
droppedCostRecordCount += 1;
|
|
@@ -8750,7 +8774,20 @@ function recordVoteSideEffects(proposal, strategy, result, logger11, declared) {
|
|
|
8750
8774
|
});
|
|
8751
8775
|
let costSummary;
|
|
8752
8776
|
try {
|
|
8753
|
-
costSummary = recordDecisionCost({
|
|
8777
|
+
costSummary = recordDecisionCost({
|
|
8778
|
+
decisionId,
|
|
8779
|
+
gate: "consensus_vote",
|
|
8780
|
+
votes: result.votes,
|
|
8781
|
+
// #5422: the detector's verdict, recorded on EVERY vote so the not-fired
|
|
8782
|
+
// rows are the denominator. Computed here, where the FULL proposal is in
|
|
8783
|
+
// hand — the ledger keeps a 503-char preview, which is why precision
|
|
8784
|
+
// cannot be measured there. Same patterns as the `panelWarning` in
|
|
8785
|
+
// `buildResponse`, so the measured precision is the warning's precision.
|
|
8786
|
+
undeclaredOptionsDetector: {
|
|
8787
|
+
...detectUndeclaredOptions(proposal, declared.options),
|
|
8788
|
+
declaredOptionCount: declared.options?.length ?? 0
|
|
8789
|
+
}
|
|
8790
|
+
});
|
|
8754
8791
|
} catch (costError) {
|
|
8755
8792
|
logger11.warn("Per-decision cost rollup failed (non-fatal)", {
|
|
8756
8793
|
error: getErrorMessage(costError)
|
|
@@ -9188,4 +9225,4 @@ export {
|
|
|
9188
9225
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
9189
9226
|
registerConsensusVoteTool
|
|
9190
9227
|
};
|
|
9191
|
-
//# sourceMappingURL=chunk-
|
|
9228
|
+
//# sourceMappingURL=chunk-FN43725K.js.map
|