nexus-agents 8.122.0 → 8.122.1

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.
Files changed (133) hide show
  1. package/dist/{ast-rule-runner-G5B2CZJC.js → ast-rule-runner-D63SEZBA.js} +3 -3
  2. package/dist/{child-mcp-config-VFM7PRR7.js → child-mcp-config-SYKZPE4K.js} +2 -2
  3. package/dist/{chunk-EEO4USGR.js → chunk-2FCB5UBG.js} +2 -2
  4. package/dist/{chunk-5CNKQOR4.js → chunk-3NQVZQCT.js} +2 -2
  5. package/dist/{chunk-D5AGHQ4H.js → chunk-3XW3QNOW.js} +7 -7
  6. package/dist/{chunk-5TAH4EWE.js → chunk-5UD62EYQ.js} +4 -4
  7. package/dist/{chunk-KWPY7EDD.js → chunk-62T7LI7Y.js} +2 -2
  8. package/dist/{chunk-7N7EKISU.js → chunk-7IXILU76.js} +2 -2
  9. package/dist/{chunk-4G4PRRUT.js → chunk-BJUIPCJ5.js} +2 -2
  10. package/dist/{chunk-TMWDZZRV.js → chunk-CCFWTYGR.js} +17 -12
  11. package/dist/{chunk-TMWDZZRV.js.map → chunk-CCFWTYGR.js.map} +1 -1
  12. package/dist/{chunk-CW4I2HPW.js → chunk-CTE55G3Y.js} +3 -3
  13. package/dist/{chunk-PX5UWMDQ.js → chunk-DKJITSJK.js} +5 -5
  14. package/dist/{chunk-UKR6W32T.js → chunk-DRNW3QRY.js} +2 -2
  15. package/dist/{chunk-CL6JTRDU.js → chunk-EEXUKXZQ.js} +2 -2
  16. package/dist/{chunk-DWKXSCUQ.js → chunk-ELTV6L22.js} +2 -2
  17. package/dist/{chunk-6DHJEPY7.js → chunk-FYOVCYC2.js} +41 -41
  18. package/dist/{chunk-JFJRLRY2.js → chunk-G6C4CB2P.js} +2 -2
  19. package/dist/{chunk-YADHVDVX.js → chunk-GLA7UNUU.js} +12 -12
  20. package/dist/{chunk-AFKWMOQR.js → chunk-IL3ES3J6.js} +2 -2
  21. package/dist/{chunk-UZPOIH4H.js → chunk-KMPEC7MU.js} +3 -3
  22. package/dist/{chunk-E4RDTV2V.js → chunk-KQZTTSNI.js} +3 -3
  23. package/dist/{chunk-5SOZUWX2.js → chunk-LTYFP4MJ.js} +9 -9
  24. package/dist/{chunk-XDPKIJ6K.js → chunk-MVFKTFMM.js} +2 -2
  25. package/dist/{chunk-KF6GDX55.js → chunk-NRK7Q5UB.js} +4 -4
  26. package/dist/{chunk-QCH2QQR7.js → chunk-PM2ECWCL.js} +22 -10
  27. package/dist/chunk-PM2ECWCL.js.map +1 -0
  28. package/dist/{chunk-5NYRVMYG.js → chunk-SAFMMDQJ.js} +2 -2
  29. package/dist/{chunk-CMHNV3FA.js → chunk-TXXXWVPX.js} +6 -6
  30. package/dist/{chunk-ZCPKLTRI.js → chunk-UCSIPEJK.js} +3 -3
  31. package/dist/{chunk-X7N6AU3J.js → chunk-V4GLPTHB.js} +5 -5
  32. package/dist/{chunk-LQRQ2Y5X.js → chunk-W4VWFQRC.js} +2 -2
  33. package/dist/{chunk-4532N7GD.js → chunk-WBIO7WHW.js} +2 -2
  34. package/dist/{chunk-5NK6T7BL.js → chunk-WW2MBD5I.js} +2 -2
  35. package/dist/{chunk-TIUISB55.js → chunk-XJGVR65R.js} +5 -5
  36. package/dist/{chunk-KJKQGA54.js → chunk-XO7OU6FK.js} +2 -2
  37. package/dist/{chunk-JEAW4KAW.js → chunk-XXOLRZRQ.js} +5 -5
  38. package/dist/{chunk-4AP7SJJ5.js → chunk-Y577A64L.js} +3 -3
  39. package/dist/{chunk-NCWMWLUZ.js → chunk-YCTJNJKU.js} +4 -4
  40. package/dist/{cli-circuit-breaker-IXKZ33FS.js → cli-circuit-breaker-2NCL4BJG.js} +3 -3
  41. package/dist/cli.js +46 -46
  42. package/dist/cli.js.map +1 -1
  43. package/dist/{composite-router-WO3VCCF4.js → composite-router-FMSFSUY4.js} +2 -2
  44. package/dist/{consensus-vote-MF26ZTLH.js → consensus-vote-UBZPRRJA.js} +17 -17
  45. package/dist/{context-retriever-5PP5CUEE.js → context-retriever-JQVOCYWB.js} +8 -8
  46. package/dist/{doctor-deep-BRDW5ZHU.js → doctor-deep-TI74R6WM.js} +3 -3
  47. package/dist/doctor-gateway-report-QQVWP3P5.js +19 -0
  48. package/dist/{doctor-live-SPUKIW4W.js → doctor-live-ESPDY2UT.js} +11 -11
  49. package/dist/{expert-bridge-MO7VQNLB.js → expert-bridge-SLDH3I4Q.js} +4 -4
  50. package/dist/{factory-B5ZMVUD2.js → factory-T5Z4H7I4.js} +10 -10
  51. package/dist/{factory-C3LQWEMZ.js → factory-UO4YVMT4.js} +5 -5
  52. package/dist/{improvement-review-M4OYUDOA.js → improvement-review-EUEAZ4OI.js} +6 -6
  53. package/dist/index.js +32 -32
  54. package/dist/{init-opencode-47UXBCE7.js → init-opencode-4FK75Q4I.js} +6 -6
  55. package/dist/{issue-triage-NOJES3GX.js → issue-triage-UM2N433F.js} +6 -6
  56. package/dist/{openai-compat-adapter-UNZAYQFO.js → openai-compat-adapter-EHKDFXNR.js} +6 -6
  57. package/dist/{pr-reviewer-helpers-6RSTSBNL.js → pr-reviewer-helpers-TOSTLTWB.js} +4 -4
  58. package/dist/{registry-command-7PXXI53X.js → registry-command-YZSKM2GA.js} +2 -2
  59. package/dist/{repo-security-plan-WNSBZGIW.js → repo-security-plan-C66VWEOJ.js} +3 -3
  60. package/dist/{research-helpers-synthesize-3Q7YLL7K.js → research-helpers-synthesize-CWN7TZPP.js} +4 -4
  61. package/dist/{routing-memory-4G5KNUCY.js → routing-memory-IYLRTH55.js} +2 -2
  62. package/dist/{session-memory-FXMXDJPP.js → session-memory-LC2KINJU.js} +3 -3
  63. package/dist/{setup-config-UQYRXPXI.js → setup-config-TLKV6TBJ.js} +3 -3
  64. package/dist/{setup-custom-api-UF26TGHP.js → setup-custom-api-CPJ6OX4O.js} +4 -4
  65. package/dist/setup-data-dir-PYPXAAGX.js +33 -0
  66. package/dist/{tool-memory-KUNEZO7A.js → tool-memory-OQMZREAX.js} +5 -5
  67. package/dist/{unified-registry-OMQ2XXNI.js → unified-registry-QA2DYYO6.js} +11 -11
  68. package/dist/{weather-report-WRGZ5KCF.js → weather-report-C4TRZMJZ.js} +2 -2
  69. package/package.json +1 -1
  70. package/dist/chunk-QCH2QQR7.js.map +0 -1
  71. package/dist/doctor-gateway-report-T4XKS62F.js +0 -19
  72. package/dist/setup-data-dir-WOQ5GS3B.js +0 -33
  73. /package/dist/{ast-rule-runner-G5B2CZJC.js.map → ast-rule-runner-D63SEZBA.js.map} +0 -0
  74. /package/dist/{child-mcp-config-VFM7PRR7.js.map → child-mcp-config-SYKZPE4K.js.map} +0 -0
  75. /package/dist/{chunk-EEO4USGR.js.map → chunk-2FCB5UBG.js.map} +0 -0
  76. /package/dist/{chunk-5CNKQOR4.js.map → chunk-3NQVZQCT.js.map} +0 -0
  77. /package/dist/{chunk-D5AGHQ4H.js.map → chunk-3XW3QNOW.js.map} +0 -0
  78. /package/dist/{chunk-5TAH4EWE.js.map → chunk-5UD62EYQ.js.map} +0 -0
  79. /package/dist/{chunk-KWPY7EDD.js.map → chunk-62T7LI7Y.js.map} +0 -0
  80. /package/dist/{chunk-7N7EKISU.js.map → chunk-7IXILU76.js.map} +0 -0
  81. /package/dist/{chunk-4G4PRRUT.js.map → chunk-BJUIPCJ5.js.map} +0 -0
  82. /package/dist/{chunk-CW4I2HPW.js.map → chunk-CTE55G3Y.js.map} +0 -0
  83. /package/dist/{chunk-PX5UWMDQ.js.map → chunk-DKJITSJK.js.map} +0 -0
  84. /package/dist/{chunk-UKR6W32T.js.map → chunk-DRNW3QRY.js.map} +0 -0
  85. /package/dist/{chunk-CL6JTRDU.js.map → chunk-EEXUKXZQ.js.map} +0 -0
  86. /package/dist/{chunk-DWKXSCUQ.js.map → chunk-ELTV6L22.js.map} +0 -0
  87. /package/dist/{chunk-6DHJEPY7.js.map → chunk-FYOVCYC2.js.map} +0 -0
  88. /package/dist/{chunk-JFJRLRY2.js.map → chunk-G6C4CB2P.js.map} +0 -0
  89. /package/dist/{chunk-YADHVDVX.js.map → chunk-GLA7UNUU.js.map} +0 -0
  90. /package/dist/{chunk-AFKWMOQR.js.map → chunk-IL3ES3J6.js.map} +0 -0
  91. /package/dist/{chunk-UZPOIH4H.js.map → chunk-KMPEC7MU.js.map} +0 -0
  92. /package/dist/{chunk-E4RDTV2V.js.map → chunk-KQZTTSNI.js.map} +0 -0
  93. /package/dist/{chunk-5SOZUWX2.js.map → chunk-LTYFP4MJ.js.map} +0 -0
  94. /package/dist/{chunk-XDPKIJ6K.js.map → chunk-MVFKTFMM.js.map} +0 -0
  95. /package/dist/{chunk-KF6GDX55.js.map → chunk-NRK7Q5UB.js.map} +0 -0
  96. /package/dist/{chunk-5NYRVMYG.js.map → chunk-SAFMMDQJ.js.map} +0 -0
  97. /package/dist/{chunk-CMHNV3FA.js.map → chunk-TXXXWVPX.js.map} +0 -0
  98. /package/dist/{chunk-ZCPKLTRI.js.map → chunk-UCSIPEJK.js.map} +0 -0
  99. /package/dist/{chunk-X7N6AU3J.js.map → chunk-V4GLPTHB.js.map} +0 -0
  100. /package/dist/{chunk-LQRQ2Y5X.js.map → chunk-W4VWFQRC.js.map} +0 -0
  101. /package/dist/{chunk-4532N7GD.js.map → chunk-WBIO7WHW.js.map} +0 -0
  102. /package/dist/{chunk-5NK6T7BL.js.map → chunk-WW2MBD5I.js.map} +0 -0
  103. /package/dist/{chunk-TIUISB55.js.map → chunk-XJGVR65R.js.map} +0 -0
  104. /package/dist/{chunk-KJKQGA54.js.map → chunk-XO7OU6FK.js.map} +0 -0
  105. /package/dist/{chunk-JEAW4KAW.js.map → chunk-XXOLRZRQ.js.map} +0 -0
  106. /package/dist/{chunk-4AP7SJJ5.js.map → chunk-Y577A64L.js.map} +0 -0
  107. /package/dist/{chunk-NCWMWLUZ.js.map → chunk-YCTJNJKU.js.map} +0 -0
  108. /package/dist/{cli-circuit-breaker-IXKZ33FS.js.map → cli-circuit-breaker-2NCL4BJG.js.map} +0 -0
  109. /package/dist/{composite-router-WO3VCCF4.js.map → composite-router-FMSFSUY4.js.map} +0 -0
  110. /package/dist/{consensus-vote-MF26ZTLH.js.map → consensus-vote-UBZPRRJA.js.map} +0 -0
  111. /package/dist/{context-retriever-5PP5CUEE.js.map → context-retriever-JQVOCYWB.js.map} +0 -0
  112. /package/dist/{doctor-deep-BRDW5ZHU.js.map → doctor-deep-TI74R6WM.js.map} +0 -0
  113. /package/dist/{doctor-gateway-report-T4XKS62F.js.map → doctor-gateway-report-QQVWP3P5.js.map} +0 -0
  114. /package/dist/{doctor-live-SPUKIW4W.js.map → doctor-live-ESPDY2UT.js.map} +0 -0
  115. /package/dist/{expert-bridge-MO7VQNLB.js.map → expert-bridge-SLDH3I4Q.js.map} +0 -0
  116. /package/dist/{factory-B5ZMVUD2.js.map → factory-T5Z4H7I4.js.map} +0 -0
  117. /package/dist/{factory-C3LQWEMZ.js.map → factory-UO4YVMT4.js.map} +0 -0
  118. /package/dist/{improvement-review-M4OYUDOA.js.map → improvement-review-EUEAZ4OI.js.map} +0 -0
  119. /package/dist/{init-opencode-47UXBCE7.js.map → init-opencode-4FK75Q4I.js.map} +0 -0
  120. /package/dist/{issue-triage-NOJES3GX.js.map → issue-triage-UM2N433F.js.map} +0 -0
  121. /package/dist/{openai-compat-adapter-UNZAYQFO.js.map → openai-compat-adapter-EHKDFXNR.js.map} +0 -0
  122. /package/dist/{pr-reviewer-helpers-6RSTSBNL.js.map → pr-reviewer-helpers-TOSTLTWB.js.map} +0 -0
  123. /package/dist/{registry-command-7PXXI53X.js.map → registry-command-YZSKM2GA.js.map} +0 -0
  124. /package/dist/{repo-security-plan-WNSBZGIW.js.map → repo-security-plan-C66VWEOJ.js.map} +0 -0
  125. /package/dist/{research-helpers-synthesize-3Q7YLL7K.js.map → research-helpers-synthesize-CWN7TZPP.js.map} +0 -0
  126. /package/dist/{routing-memory-4G5KNUCY.js.map → routing-memory-IYLRTH55.js.map} +0 -0
  127. /package/dist/{session-memory-FXMXDJPP.js.map → session-memory-LC2KINJU.js.map} +0 -0
  128. /package/dist/{setup-config-UQYRXPXI.js.map → setup-config-TLKV6TBJ.js.map} +0 -0
  129. /package/dist/{setup-custom-api-UF26TGHP.js.map → setup-custom-api-CPJ6OX4O.js.map} +0 -0
  130. /package/dist/{setup-data-dir-WOQ5GS3B.js.map → setup-data-dir-PYPXAAGX.js.map} +0 -0
  131. /package/dist/{tool-memory-KUNEZO7A.js.map → tool-memory-OQMZREAX.js.map} +0 -0
  132. /package/dist/{unified-registry-OMQ2XXNI.js.map → unified-registry-QA2DYYO6.js.map} +0 -0
  133. /package/dist/{weather-report-WRGZ5KCF.js.map → weather-report-C4TRZMJZ.js.map} +0 -0
@@ -9,9 +9,9 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-DWKXSCUQ.js";
12
+ } from "./chunk-ELTV6L22.js";
13
13
  import "./chunk-XEPZSDN5.js";
14
- import "./chunk-QCH2QQR7.js";
14
+ import "./chunk-PM2ECWCL.js";
15
15
  import "./chunk-UE7A2XHM.js";
16
16
  import "./chunk-LWOX65CP.js";
17
17
  import "./chunk-PX6F3LHL.js";
@@ -27,4 +27,4 @@ export {
27
27
  loadRules,
28
28
  runAstQaRules
29
29
  };
30
- //# sourceMappingURL=ast-rule-runner-G5B2CZJC.js.map
30
+ //# sourceMappingURL=ast-rule-runner-D63SEZBA.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OITVVSWO.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-QCH2QQR7.js";
6
+ } from "./chunk-PM2ECWCL.js";
7
7
  import "./chunk-UE7A2XHM.js";
8
8
  import "./chunk-LWOX65CP.js";
9
9
  import "./chunk-PX6F3LHL.js";
@@ -49,4 +49,4 @@ async function generateMcpConfig(options) {
49
49
  export {
50
50
  generateMcpConfig
51
51
  };
52
- //# sourceMappingURL=child-mcp-config-VFM7PRR7.js.map
52
+ //# sourceMappingURL=child-mcp-config-SYKZPE4K.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getAdaptiveBonus,
9
9
  getOutcomeStore,
10
10
  hasMeasuredCategory
11
- } from "./chunk-QCH2QQR7.js";
11
+ } from "./chunk-PM2ECWCL.js";
12
12
 
13
13
  // src/cli/doctor-deep.ts
14
14
  var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
@@ -148,4 +148,4 @@ export {
148
148
  runDeepDiagnostics,
149
149
  formatDeepDiagnostics
150
150
  };
151
- //# sourceMappingURL=chunk-EEO4USGR.js.map
151
+ //# sourceMappingURL=chunk-2FCB5UBG.js.map
@@ -8,7 +8,7 @@ import {
8
8
  err,
9
9
  getErrorMessage,
10
10
  ok
11
- } from "./chunk-QCH2QQR7.js";
11
+ } from "./chunk-PM2ECWCL.js";
12
12
  import {
13
13
  findRepoRoot,
14
14
  getActiveWorkspaceRoot,
@@ -213,4 +213,4 @@ export {
213
213
  loadPapersRegistry,
214
214
  savePapersRegistry
215
215
  };
216
- //# sourceMappingURL=chunk-5CNKQOR4.js.map
216
+ //# sourceMappingURL=chunk-3NQVZQCT.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ensureGatewayDiscovered,
3
3
  gatewayDiscoveryGeneration
4
- } from "./chunk-UZPOIH4H.js";
4
+ } from "./chunk-KMPEC7MU.js";
5
5
  import {
6
6
  createLogger,
7
7
  getTimeProvider,
8
8
  isRateLimitText,
9
9
  resolveCliSlot
10
- } from "./chunk-QCH2QQR7.js";
10
+ } from "./chunk-PM2ECWCL.js";
11
11
 
12
12
  // src/pipeline/expert-access-mode.ts
13
13
  var logger = createLogger({ component: "expert-bridge" });
@@ -69,7 +69,7 @@ async function getMcpConfigPath() {
69
69
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
70
70
  mcpConfigInitPromise ??= (async () => {
71
71
  try {
72
- const { generateMcpConfig } = await import("./child-mcp-config-VFM7PRR7.js");
72
+ const { generateMcpConfig } = await import("./child-mcp-config-SYKZPE4K.js");
73
73
  const config = await generateMcpConfig();
74
74
  cachedMcpConfigPath = config.configPath;
75
75
  cachedMcpConfigCleanup = config.cleanup;
@@ -163,8 +163,8 @@ async function getRouter() {
163
163
  }
164
164
  if (cachedRouter !== null) return cachedRouter;
165
165
  routerInitPromise ??= (async () => {
166
- const { createAllAdapters } = await import("./factory-B5ZMVUD2.js");
167
- const { createCompositeRouter } = await import("./composite-router-WO3VCCF4.js");
166
+ const { createAllAdapters } = await import("./factory-T5Z4H7I4.js");
167
+ const { createCompositeRouter } = await import("./composite-router-FMSFSUY4.js");
168
168
  const adapters = createAllAdapters();
169
169
  const superseded = generation !== routerGeneration;
170
170
  if (adapters.size === 0) {
@@ -175,7 +175,7 @@ async function getRouter() {
175
175
  if (superseded) return router;
176
176
  cachedRouter = router;
177
177
  try {
178
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-IXKZ33FS.js");
178
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-2NCL4BJG.js");
179
179
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
180
180
  } catch (error) {
181
181
  const msg = error instanceof Error ? error.message : String(error);
@@ -323,4 +323,4 @@ export {
323
323
  tokenSplitFromUsage,
324
324
  executeExpert
325
325
  };
326
- //# sourceMappingURL=chunk-D5AGHQ4H.js.map
326
+ //# sourceMappingURL=chunk-3XW3QNOW.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-AFKWMOQR.js";
4
+ } from "./chunk-IL3ES3J6.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-LQRQ2Y5X.js";
7
+ } from "./chunk-W4VWFQRC.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-QCH2QQR7.js";
11
+ } from "./chunk-PM2ECWCL.js";
12
12
 
13
13
  // src/scm/factory.ts
14
14
  async function createScmProvider(config) {
@@ -41,4 +41,4 @@ export {
41
41
  createScmProvider,
42
42
  createGitHubProvider
43
43
  };
44
- //# sourceMappingURL=chunk-5TAH4EWE.js.map
44
+ //# sourceMappingURL=chunk-5UD62EYQ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  CACHE_TIMEOUTS,
8
8
  createLogger,
9
9
  getTimeProvider
10
- } from "./chunk-QCH2QQR7.js";
10
+ } from "./chunk-PM2ECWCL.js";
11
11
 
12
12
  // src/security/input-sanitizer.ts
13
13
  var DANGEROUS_HTML_PATTERN = /<(picture|source|img)\b[^>]*>[\s\S]*?<\/\1>|<(picture|source|img)\b[^>]*\/?>/gi;
@@ -509,4 +509,4 @@ export {
509
509
  resolveReputationGatingMode,
510
510
  gateWithReputation
511
511
  };
512
- //# sourceMappingURL=chunk-KWPY7EDD.js.map
512
+ //# sourceMappingURL=chunk-62T7LI7Y.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-QCH2QQR7.js";
3
+ } from "./chunk-PM2ECWCL.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-7N7EKISU.js.map
80
+ //# sourceMappingURL=chunk-7IXILU76.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  redactCredentialShapes
3
- } from "./chunk-QCH2QQR7.js";
3
+ } from "./chunk-PM2ECWCL.js";
4
4
 
5
5
  // src/security/output-sanitizer.ts
6
6
  var REDACTED_KEY_PLACEHOLDER = "[REDACTED_KEY]";
@@ -54,4 +54,4 @@ export {
54
54
  sanitizeErrorDetails,
55
55
  sanitizeStringLeaves
56
56
  };
57
- //# sourceMappingURL=chunk-4G4PRRUT.js.map
57
+ //# sourceMappingURL=chunk-BJUIPCJ5.js.map
@@ -19,23 +19,23 @@ import {
19
19
  toolSuccessStructured,
20
20
  withProgressHeartbeat,
21
21
  wrapToolWithTimeout
22
- } from "./chunk-KF6GDX55.js";
22
+ } from "./chunk-NRK7Q5UB.js";
23
23
  import {
24
24
  VERSION
25
- } from "./chunk-E4RDTV2V.js";
25
+ } from "./chunk-KQZTTSNI.js";
26
26
  import {
27
27
  allOf
28
28
  } from "./chunk-EZNIYU5T.js";
29
29
  import {
30
30
  isGatewayModelAdapter
31
- } from "./chunk-X7N6AU3J.js";
31
+ } from "./chunk-V4GLPTHB.js";
32
32
  import {
33
33
  createEvent,
34
34
  getGlobalRegistry
35
- } from "./chunk-PX5UWMDQ.js";
35
+ } from "./chunk-DKJITSJK.js";
36
36
  import {
37
37
  getToolMemory
38
- } from "./chunk-NCWMWLUZ.js";
38
+ } from "./chunk-YCTJNJKU.js";
39
39
  import {
40
40
  UNVERIFIABLE_STDERR_RE,
41
41
  classifyUnverifiable,
@@ -46,15 +46,15 @@ import {
46
46
  markUnverifiable,
47
47
  sleep,
48
48
  withTimeout
49
- } from "./chunk-5SOZUWX2.js";
49
+ } from "./chunk-LTYFP4MJ.js";
50
50
  import {
51
51
  ensureGatewayDiscovered
52
- } from "./chunk-UZPOIH4H.js";
52
+ } from "./chunk-KMPEC7MU.js";
53
53
  import {
54
54
  sanitizeErrorDetails,
55
55
  sanitizeOutput,
56
56
  sanitizeStringLeaves
57
- } from "./chunk-4G4PRRUT.js";
57
+ } from "./chunk-BJUIPCJ5.js";
58
58
  import {
59
59
  AgentError,
60
60
  CLI_NAMES,
@@ -112,7 +112,7 @@ import {
112
112
  servedCostDetail,
113
113
  stepBus,
114
114
  voteRecordWriteFailedMessage
115
- } from "./chunk-QCH2QQR7.js";
115
+ } from "./chunk-PM2ECWCL.js";
116
116
  import {
117
117
  ensureLearningDir,
118
118
  getOutcomesFile
@@ -6206,7 +6206,7 @@ function logPartialProposal(bounded, log) {
6206
6206
  }
6207
6207
  async function runContrarianCheck(proposal, log, opts) {
6208
6208
  try {
6209
- const { executeExpert } = await import("./expert-bridge-MO7VQNLB.js");
6209
+ const { executeExpert } = await import("./expert-bridge-SLDH3I4Q.js");
6210
6210
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
6211
6211
  logPartialProposal(bounded, log);
6212
6212
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded, opts), {
@@ -7363,7 +7363,12 @@ function toRecordStrategy(strategy) {
7363
7363
  return VOTE_RECORD_STRATEGIES.has(strategy) ? strategy : "simple_majority";
7364
7364
  }
7365
7365
  async function recordAuthenticVote(args) {
7366
- const allSimulated = args.votes.length > 0 && args.votes.every((v) => v.source === "simulation");
7366
+ if (args.votes.length === 0) {
7367
+ const detail = "Authentic vote record NOT persisted: empty panel has no voter attribution.";
7368
+ logger9.warn(detail);
7369
+ return { persisted: false, reason: "empty-panel", detail };
7370
+ }
7371
+ const allSimulated = args.votes.every((v) => v.source === "simulation");
7367
7372
  if (allSimulated) {
7368
7373
  logger9.debug("Skipping authentic vote record \u2014 all votes simulated");
7369
7374
  return {
@@ -9338,4 +9343,4 @@ export {
9338
9343
  CONSENSUS_VOTE_TOOL_SCHEMA,
9339
9344
  registerConsensusVoteTool
9340
9345
  };
9341
- //# sourceMappingURL=chunk-TMWDZZRV.js.map
9346
+ //# sourceMappingURL=chunk-CCFWTYGR.js.map