nexus-agents 4.3.1 → 4.3.2

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.
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-UZUECKIV.js";
11
+ } from "./chunk-Z3QSRADW.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-YPNQPT2F.js";
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-L7Z7ZLM5.js.map
2004
+ //# sourceMappingURL=chunk-U6NDB43U.js.map
@@ -52,7 +52,7 @@ import {
52
52
  } from "./chunk-OQLFRJCW.js";
53
53
 
54
54
  // src/version.ts
55
- var VERSION = true ? "4.3.1" : "dev";
55
+ var VERSION = true ? "4.3.2" : "dev";
56
56
 
57
57
  // src/config/schemas-core.ts
58
58
  import { z } from "zod";
@@ -2339,7 +2339,7 @@ async function runDoctorFix(result) {
2339
2339
  writeLine2("\u2500".repeat(40));
2340
2340
  let fixCount = 0;
2341
2341
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2342
- const { runSetup } = await import("./setup-command-H4XOEBF5.js");
2342
+ const { runSetup } = await import("./setup-command-GVDJEHTI.js");
2343
2343
  const setupResult = runSetup({
2344
2344
  skipMcp: true,
2345
2345
  skipRules: true,
@@ -2452,4 +2452,4 @@ export {
2452
2452
  startStdioServer,
2453
2453
  closeServer
2454
2454
  };
2455
- //# sourceMappingURL=chunk-UZUECKIV.js.map
2455
+ //# sourceMappingURL=chunk-Z3QSRADW.js.map
package/dist/cli.js CHANGED
@@ -18,7 +18,7 @@ import "./chunk-JV5HRP3S.js";
18
18
  import {
19
19
  setupCommandAsync,
20
20
  verifyCommand
21
- } from "./chunk-L7Z7ZLM5.js";
21
+ } from "./chunk-U6NDB43U.js";
22
22
  import "./chunk-73U6W5ZU.js";
23
23
  import {
24
24
  AuthHandler,
@@ -139,7 +139,7 @@ import {
139
139
  validateCommand,
140
140
  validateWorkflow,
141
141
  wrapInMarkdownFence
142
- } from "./chunk-LSQ6TVSS.js";
142
+ } from "./chunk-5HHTFAHY.js";
143
143
  import "./chunk-FHXDRCIW.js";
144
144
  import "./chunk-HFOQKCD2.js";
145
145
  import "./chunk-RSMG2DPB.js";
@@ -166,7 +166,7 @@ import {
166
166
  loadConfig,
167
167
  runDoctor,
168
168
  validateNexusEnv
169
- } from "./chunk-UZUECKIV.js";
169
+ } from "./chunk-Z3QSRADW.js";
170
170
  import {
171
171
  buildOpenAICompatAdapters,
172
172
  readOpenAICompatEnv
@@ -183,7 +183,7 @@ import {
183
183
  executeVoting,
184
184
  mapOutcomeToDecision,
185
185
  registerConsensusVoteTool
186
- } from "./chunk-LWB4RR47.js";
186
+ } from "./chunk-CXA4H3PZ.js";
187
187
  import {
188
188
  loadUsageEvents,
189
189
  rollupByModel
@@ -11,7 +11,7 @@ import {
11
11
  resetCorrelationTracker,
12
12
  runConsensusForGoal,
13
13
  unwrapVoteOrThrow
14
- } from "./chunk-LWB4RR47.js";
14
+ } from "./chunk-CXA4H3PZ.js";
15
15
  import "./chunk-3P6N3XZF.js";
16
16
  import "./chunk-OQB3XC5O.js";
17
17
  import "./chunk-WX5TASVN.js";
@@ -49,4 +49,4 @@ export {
49
49
  runConsensusForGoal,
50
50
  unwrapVoteOrThrow
51
51
  };
52
- //# sourceMappingURL=consensus-vote-3IHQNBNY.js.map
52
+ //# sourceMappingURL=consensus-vote-EOXPISAA.js.map
package/dist/index.d.ts CHANGED
@@ -32451,6 +32451,11 @@ declare function createCorrelationTracker(config?: Partial<HigherOrderVotingConf
32451
32451
  *
32452
32452
  * Traditional voting assumes independence between voters. Higher-order voting
32453
32453
  * uses Bayesian-optimal aggregation that handles correlated agents better,
32454
+ * BUT NOTE (#4701): `calculateOutcome` — the `IVotingStrategy` entry point the
32455
+ * `ConsensusEngine` calls — uses `aggregateSimpleInternal` and ignores weights.
32456
+ * `aggregateWithCorrelation` is reached only via `runHigherOrderVoting`, whose
32457
+ * `posteriorApproval` feeds contrarian escalation, not the verdict. So selecting
32458
+ * `higher_order` does not currently buy a correlation-weighted approve/reject.
32454
32459
  * resulting in more accurate consensus decisions.
32455
32460
  *
32456
32461
  * @module consensus/higher-order-voting
package/dist/index.js CHANGED
@@ -541,7 +541,7 @@ import {
541
541
  withLogging,
542
542
  withRetry,
543
543
  withRetryWrapper
544
- } from "./chunk-LSQ6TVSS.js";
544
+ } from "./chunk-5HHTFAHY.js";
545
545
  import {
546
546
  FALLBACK_SCANNER_DATA,
547
547
  buildPlanFromAnalysis,
@@ -575,7 +575,7 @@ import {
575
575
  getKnownNexusVarNames,
576
576
  startStdioServer,
577
577
  validateNexusEnv
578
- } from "./chunk-UZUECKIV.js";
578
+ } from "./chunk-Z3QSRADW.js";
579
579
  import {
580
580
  OPENAI_MODELS,
581
581
  OPENAI_MODEL_ALIASES,
@@ -633,7 +633,7 @@ import {
633
633
  generateProposalId,
634
634
  parseAgentPairKey,
635
635
  registerConsensusVoteTool
636
- } from "./chunk-LWB4RR47.js";
636
+ } from "./chunk-CXA4H3PZ.js";
637
637
  import "./chunk-3P6N3XZF.js";
638
638
  import {
639
639
  allOf
@@ -4728,7 +4728,7 @@ function buildVotingInput(plan, config) {
4728
4728
  }
4729
4729
  async function executeSingleVote(plan, config, log) {
4730
4730
  try {
4731
- const { executeVoting } = await import("./consensus-vote-3IHQNBNY.js");
4731
+ const { executeVoting } = await import("./consensus-vote-EOXPISAA.js");
4732
4732
  const input = buildVotingInput(plan, config);
4733
4733
  const result = await executeVoting(input, log);
4734
4734
  return parseVotingResult(result);
@@ -8,9 +8,9 @@ import {
8
8
  runWizard,
9
9
  setupCommand,
10
10
  setupCommandAsync
11
- } from "./chunk-L7Z7ZLM5.js";
11
+ } from "./chunk-U6NDB43U.js";
12
12
  import "./chunk-73U6W5ZU.js";
13
- import "./chunk-UZUECKIV.js";
13
+ import "./chunk-Z3QSRADW.js";
14
14
  import "./chunk-ROAVF3S5.js";
15
15
  import "./chunk-3P6N3XZF.js";
16
16
  import "./chunk-OQB3XC5O.js";
@@ -41,4 +41,4 @@ export {
41
41
  setupCommand,
42
42
  setupCommandAsync
43
43
  };
44
- //# sourceMappingURL=setup-command-H4XOEBF5.js.map
44
+ //# sourceMappingURL=setup-command-GVDJEHTI.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "description": "Governance substrate for AI coding agents — adversarial PR review, drift-detected rules, tamper-evident audit, and closed-loop outcome routing for Claude, Codex, Gemini, and OpenCode",
5
5
  "mcpName": "io.github.nexus-substrate/nexus-agents",
6
6
  "license": "MIT",