nexus-agents 4.29.4 → 4.29.6

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 (123) hide show
  1. package/dist/{child-mcp-config-4CY57QIH.js → child-mcp-config-QOBQRH24.js} +2 -2
  2. package/dist/{chunk-DETBD53N.js → chunk-2DBVUHFA.js} +2 -2
  3. package/dist/{chunk-UBWHBW7S.js → chunk-3IM3OPZH.js} +2 -2
  4. package/dist/{chunk-B5LCD3AL.js → chunk-3RZJU5JS.js} +5 -5
  5. package/dist/{chunk-Q245FDK6.js → chunk-4ZDNZAGJ.js} +2 -2
  6. package/dist/{chunk-4AIIPSOD.js → chunk-6FQTJHBL.js} +4 -4
  7. package/dist/{chunk-NIEIQARS.js → chunk-7BX54AST.js} +7 -7
  8. package/dist/{chunk-QUVWKVKU.js → chunk-CQHUNYJN.js} +2 -2
  9. package/dist/{chunk-45XIFAM3.js → chunk-ESNNN75Z.js} +3 -3
  10. package/dist/{chunk-NHABZOSO.js → chunk-FQUGR66Z.js} +2 -2
  11. package/dist/{chunk-LLJ65HUO.js → chunk-FWRLD7W7.js} +6 -6
  12. package/dist/{chunk-2BTGJXVN.js → chunk-GXZDUDSD.js} +2 -2
  13. package/dist/{chunk-QFO77VBC.js → chunk-GZUHLCRE.js} +2 -2
  14. package/dist/{chunk-NAL4EHFM.js → chunk-HTDLKLLP.js} +2 -2
  15. package/dist/{chunk-XKVMHHAI.js → chunk-IIKPFM4S.js} +60 -46
  16. package/dist/{chunk-XKVMHHAI.js.map → chunk-IIKPFM4S.js.map} +1 -1
  17. package/dist/{chunk-OBMDRABJ.js → chunk-ISA73Z6I.js} +2 -2
  18. package/dist/{chunk-I6JRNQ6S.js → chunk-JPTB4M6V.js} +3 -3
  19. package/dist/{chunk-PSZVTY77.js → chunk-K77KZHXP.js} +2 -2
  20. package/dist/{chunk-V353Q4L7.js → chunk-KXNT76HR.js} +2 -2
  21. package/dist/{chunk-N3SKF4YT.js → chunk-KYTV2JFH.js} +4 -4
  22. package/dist/{chunk-VCM2NHH7.js → chunk-MLPECOSS.js} +5 -5
  23. package/dist/chunk-RN2LHUXX.js +7 -0
  24. package/dist/{chunk-N3NC2XCW.js → chunk-S4TJBGI2.js} +2 -2
  25. package/dist/{chunk-TB3QGUDW.js → chunk-SFZ67DTA.js} +2 -2
  26. package/dist/{chunk-X4DJYX63.js → chunk-SX2K66SG.js} +2 -2
  27. package/dist/{chunk-DTKGR6NY.js → chunk-T6GDTQPM.js} +8 -8
  28. package/dist/{chunk-RV57MIQU.js → chunk-ULZFVZFW.js} +2 -2
  29. package/dist/{chunk-JL52FIXV.js → chunk-UMT3WDMH.js} +32 -6
  30. package/dist/{chunk-JL52FIXV.js.map → chunk-UMT3WDMH.js.map} +1 -1
  31. package/dist/{chunk-XEGZYUPX.js → chunk-UPKYWLPL.js} +7 -7
  32. package/dist/{chunk-IED5SFCF.js → chunk-VOXVWYD4.js} +8 -8
  33. package/dist/{chunk-6Q4XUAE5.js → chunk-WJ5TFKDF.js} +10 -3
  34. package/dist/chunk-WJ5TFKDF.js.map +1 -0
  35. package/dist/{chunk-PU2NTY6U.js → chunk-WYKMINTU.js} +4 -4
  36. package/dist/{chunk-ZE7QW5Z5.js → chunk-XM7LFDFE.js} +4 -4
  37. package/dist/{chunk-2YI27D27.js → chunk-Z22LKOBY.js} +2 -2
  38. package/dist/{cli-circuit-breaker-MROWSOJ4.js → cli-circuit-breaker-PQ2FHTJA.js} +3 -3
  39. package/dist/cli.js +41 -41
  40. package/dist/{composite-router-EHXVYGO5.js → composite-router-SN7T6PM4.js} +2 -2
  41. package/dist/{consensus-vote-4BCQ4GRD.js → consensus-vote-6GHVEPJO.js} +17 -17
  42. package/dist/{context-retriever-3FKBPUAP.js → context-retriever-O7ULA6GX.js} +8 -8
  43. package/dist/{doctor-deep-HZR7I2MR.js → doctor-deep-FC5IBSTN.js} +3 -3
  44. package/dist/{doctor-live-MFE4Z5FD.js → doctor-live-EBBM5XGU.js} +9 -9
  45. package/dist/{expert-bridge-V2O6X3DO.js → expert-bridge-IARKL3BV.js} +4 -4
  46. package/dist/{factory-RUAHWBQX.js → factory-4EUZKQ3C.js} +5 -5
  47. package/dist/{factory-RBAYQAL2.js → factory-P2G2A5RD.js} +9 -9
  48. package/dist/{improvement-review-LF27HN4A.js → improvement-review-Z6CAUHEY.js} +6 -6
  49. package/dist/index.js +31 -31
  50. package/dist/{init-opencode-TCWUATHV.js → init-opencode-Y2L2ZW3Q.js} +6 -6
  51. package/dist/issue-triage-SDH7RVQ6.js +17 -0
  52. package/dist/{pr-reviewer-helpers-2ZWQ7PHT.js → pr-reviewer-helpers-RGCQ35FL.js} +4 -4
  53. package/dist/{registry-command-3EM2YUYM.js → registry-command-EMN2WD4V.js} +2 -2
  54. package/dist/{repo-security-plan-566UGL3B.js → repo-security-plan-WQCQRNPZ.js} +3 -3
  55. package/dist/{research-helpers-synthesize-33AC5GSK.js → research-helpers-synthesize-UPDIAIQH.js} +4 -4
  56. package/dist/{routing-memory-3TBYM4JY.js → routing-memory-2XTCURFY.js} +2 -2
  57. package/dist/{session-memory-KWYEIP5P.js → session-memory-6VZAC4FV.js} +3 -3
  58. package/dist/{setup-config-WC566QZ2.js → setup-config-SMI2G6UE.js} +3 -3
  59. package/dist/{setup-custom-api-HPJTWKC5.js → setup-custom-api-2AEMLGGD.js} +4 -4
  60. package/dist/setup-data-dir-I35NTAVH.js +29 -0
  61. package/dist/{tool-memory-RG6SNNZP.js → tool-memory-7BKRQ64B.js} +5 -5
  62. package/dist/{unified-registry-ZJWVR6JE.js → unified-registry-6DVJR722.js} +10 -10
  63. package/dist/{weather-report-53POQURI.js → weather-report-UUPXHSXM.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-6Q4XUAE5.js.map +0 -1
  66. package/dist/chunk-FCCDE2MC.js +0 -7
  67. package/dist/issue-triage-BOGQS5GP.js +0 -17
  68. package/dist/setup-data-dir-2PDBROZJ.js +0 -29
  69. /package/dist/{child-mcp-config-4CY57QIH.js.map → child-mcp-config-QOBQRH24.js.map} +0 -0
  70. /package/dist/{chunk-DETBD53N.js.map → chunk-2DBVUHFA.js.map} +0 -0
  71. /package/dist/{chunk-UBWHBW7S.js.map → chunk-3IM3OPZH.js.map} +0 -0
  72. /package/dist/{chunk-B5LCD3AL.js.map → chunk-3RZJU5JS.js.map} +0 -0
  73. /package/dist/{chunk-Q245FDK6.js.map → chunk-4ZDNZAGJ.js.map} +0 -0
  74. /package/dist/{chunk-4AIIPSOD.js.map → chunk-6FQTJHBL.js.map} +0 -0
  75. /package/dist/{chunk-NIEIQARS.js.map → chunk-7BX54AST.js.map} +0 -0
  76. /package/dist/{chunk-QUVWKVKU.js.map → chunk-CQHUNYJN.js.map} +0 -0
  77. /package/dist/{chunk-45XIFAM3.js.map → chunk-ESNNN75Z.js.map} +0 -0
  78. /package/dist/{chunk-NHABZOSO.js.map → chunk-FQUGR66Z.js.map} +0 -0
  79. /package/dist/{chunk-LLJ65HUO.js.map → chunk-FWRLD7W7.js.map} +0 -0
  80. /package/dist/{chunk-2BTGJXVN.js.map → chunk-GXZDUDSD.js.map} +0 -0
  81. /package/dist/{chunk-QFO77VBC.js.map → chunk-GZUHLCRE.js.map} +0 -0
  82. /package/dist/{chunk-NAL4EHFM.js.map → chunk-HTDLKLLP.js.map} +0 -0
  83. /package/dist/{chunk-OBMDRABJ.js.map → chunk-ISA73Z6I.js.map} +0 -0
  84. /package/dist/{chunk-I6JRNQ6S.js.map → chunk-JPTB4M6V.js.map} +0 -0
  85. /package/dist/{chunk-PSZVTY77.js.map → chunk-K77KZHXP.js.map} +0 -0
  86. /package/dist/{chunk-V353Q4L7.js.map → chunk-KXNT76HR.js.map} +0 -0
  87. /package/dist/{chunk-N3SKF4YT.js.map → chunk-KYTV2JFH.js.map} +0 -0
  88. /package/dist/{chunk-VCM2NHH7.js.map → chunk-MLPECOSS.js.map} +0 -0
  89. /package/dist/{chunk-FCCDE2MC.js.map → chunk-RN2LHUXX.js.map} +0 -0
  90. /package/dist/{chunk-N3NC2XCW.js.map → chunk-S4TJBGI2.js.map} +0 -0
  91. /package/dist/{chunk-TB3QGUDW.js.map → chunk-SFZ67DTA.js.map} +0 -0
  92. /package/dist/{chunk-X4DJYX63.js.map → chunk-SX2K66SG.js.map} +0 -0
  93. /package/dist/{chunk-DTKGR6NY.js.map → chunk-T6GDTQPM.js.map} +0 -0
  94. /package/dist/{chunk-RV57MIQU.js.map → chunk-ULZFVZFW.js.map} +0 -0
  95. /package/dist/{chunk-XEGZYUPX.js.map → chunk-UPKYWLPL.js.map} +0 -0
  96. /package/dist/{chunk-IED5SFCF.js.map → chunk-VOXVWYD4.js.map} +0 -0
  97. /package/dist/{chunk-PU2NTY6U.js.map → chunk-WYKMINTU.js.map} +0 -0
  98. /package/dist/{chunk-ZE7QW5Z5.js.map → chunk-XM7LFDFE.js.map} +0 -0
  99. /package/dist/{chunk-2YI27D27.js.map → chunk-Z22LKOBY.js.map} +0 -0
  100. /package/dist/{cli-circuit-breaker-MROWSOJ4.js.map → cli-circuit-breaker-PQ2FHTJA.js.map} +0 -0
  101. /package/dist/{composite-router-EHXVYGO5.js.map → composite-router-SN7T6PM4.js.map} +0 -0
  102. /package/dist/{consensus-vote-4BCQ4GRD.js.map → consensus-vote-6GHVEPJO.js.map} +0 -0
  103. /package/dist/{context-retriever-3FKBPUAP.js.map → context-retriever-O7ULA6GX.js.map} +0 -0
  104. /package/dist/{doctor-deep-HZR7I2MR.js.map → doctor-deep-FC5IBSTN.js.map} +0 -0
  105. /package/dist/{doctor-live-MFE4Z5FD.js.map → doctor-live-EBBM5XGU.js.map} +0 -0
  106. /package/dist/{expert-bridge-V2O6X3DO.js.map → expert-bridge-IARKL3BV.js.map} +0 -0
  107. /package/dist/{factory-RBAYQAL2.js.map → factory-4EUZKQ3C.js.map} +0 -0
  108. /package/dist/{factory-RUAHWBQX.js.map → factory-P2G2A5RD.js.map} +0 -0
  109. /package/dist/{improvement-review-LF27HN4A.js.map → improvement-review-Z6CAUHEY.js.map} +0 -0
  110. /package/dist/{init-opencode-TCWUATHV.js.map → init-opencode-Y2L2ZW3Q.js.map} +0 -0
  111. /package/dist/{issue-triage-BOGQS5GP.js.map → issue-triage-SDH7RVQ6.js.map} +0 -0
  112. /package/dist/{pr-reviewer-helpers-2ZWQ7PHT.js.map → pr-reviewer-helpers-RGCQ35FL.js.map} +0 -0
  113. /package/dist/{registry-command-3EM2YUYM.js.map → registry-command-EMN2WD4V.js.map} +0 -0
  114. /package/dist/{repo-security-plan-566UGL3B.js.map → repo-security-plan-WQCQRNPZ.js.map} +0 -0
  115. /package/dist/{research-helpers-synthesize-33AC5GSK.js.map → research-helpers-synthesize-UPDIAIQH.js.map} +0 -0
  116. /package/dist/{routing-memory-3TBYM4JY.js.map → routing-memory-2XTCURFY.js.map} +0 -0
  117. /package/dist/{session-memory-KWYEIP5P.js.map → session-memory-6VZAC4FV.js.map} +0 -0
  118. /package/dist/{setup-config-WC566QZ2.js.map → setup-config-SMI2G6UE.js.map} +0 -0
  119. /package/dist/{setup-custom-api-HPJTWKC5.js.map → setup-custom-api-2AEMLGGD.js.map} +0 -0
  120. /package/dist/{setup-data-dir-2PDBROZJ.js.map → setup-data-dir-I35NTAVH.js.map} +0 -0
  121. /package/dist/{tool-memory-RG6SNNZP.js.map → tool-memory-7BKRQ64B.js.map} +0 -0
  122. /package/dist/{unified-registry-ZJWVR6JE.js.map → unified-registry-6DVJR722.js.map} +0 -0
  123. /package/dist/{weather-report-53POQURI.js.map → weather-report-UUPXHSXM.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-6Q4XUAE5.js";
4
+ } from "./chunk-WJ5TFKDF.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-OBMDRABJ.js.map
27
+ //# sourceMappingURL=chunk-ISA73Z6I.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-TB3QGUDW.js";
3
+ } from "./chunk-SFZ67DTA.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-6Q4XUAE5.js";
6
+ } from "./chunk-WJ5TFKDF.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -886,4 +886,4 @@ export {
886
886
  AttributedInsightSchema,
887
887
  synthesizeResearch
888
888
  };
889
- //# sourceMappingURL=chunk-I6JRNQ6S.js.map
889
+ //# sourceMappingURL=chunk-JPTB4M6V.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-6Q4XUAE5.js";
7
+ } from "./chunk-WJ5TFKDF.js";
8
8
 
9
9
  // src/scm/types.ts
10
10
  var ScmError = class extends Error {
@@ -263,4 +263,4 @@ export {
263
263
  ScmError,
264
264
  GitHubProvider
265
265
  };
266
- //# sourceMappingURL=chunk-PSZVTY77.js.map
266
+ //# sourceMappingURL=chunk-K77KZHXP.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-6Q4XUAE5.js";
5
+ } from "./chunk-WJ5TFKDF.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-V353Q4L7.js.map
90
+ //# sourceMappingURL=chunk-KXNT76HR.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-IED5SFCF.js";
3
+ } from "./chunk-VOXVWYD4.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-Q245FDK6.js";
7
+ } from "./chunk-4ZDNZAGJ.js";
8
8
  import {
9
9
  CLI_NAMES,
10
10
  CircularBuffer,
@@ -23,7 +23,7 @@ import {
23
23
  recordRateLimitEvent,
24
24
  resolveModelIdentitySync,
25
25
  toRateLimitError
26
- } from "./chunk-6Q4XUAE5.js";
26
+ } from "./chunk-WJ5TFKDF.js";
27
27
 
28
28
  // src/config/model-equivalence.ts
29
29
  function canonicalModelKey(modelId) {
@@ -895,4 +895,4 @@ export {
895
895
  getGlobalRegistry,
896
896
  resetGlobalRegistry
897
897
  };
898
- //# sourceMappingURL=chunk-N3SKF4YT.js.map
898
+ //# sourceMappingURL=chunk-KYTV2JFH.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-NAL4EHFM.js";
4
+ } from "./chunk-HTDLKLLP.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-QUVWKVKU.js";
11
+ } from "./chunk-CQHUNYJN.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-2BTGJXVN.js";
14
+ } from "./chunk-GXZDUDSD.js";
15
15
  import {
16
16
  ConfigError,
17
17
  ModelCapability,
@@ -22,7 +22,7 @@ import {
22
22
  getTimeProvider,
23
23
  getTokenEstimator,
24
24
  ok
25
- } from "./chunk-6Q4XUAE5.js";
25
+ } from "./chunk-WJ5TFKDF.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -833,4 +833,4 @@ export {
833
833
  discoverModels,
834
834
  buildOpenAICompatAdapters
835
835
  };
836
- //# sourceMappingURL=chunk-VCM2NHH7.js.map
836
+ //# sourceMappingURL=chunk-MLPECOSS.js.map
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "4.29.6" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-RN2LHUXX.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-6Q4XUAE5.js";
7
+ } from "./chunk-WJ5TFKDF.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -352,4 +352,4 @@ export {
352
352
  SessionMemory,
353
353
  createSessionMemory
354
354
  };
355
- //# sourceMappingURL=chunk-N3NC2XCW.js.map
355
+ //# sourceMappingURL=chunk-S4TJBGI2.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  ok,
7
7
  parseBoolEnv
8
- } from "./chunk-6Q4XUAE5.js";
8
+ } from "./chunk-WJ5TFKDF.js";
9
9
 
10
10
  // src/cli/research-helpers-io.ts
11
11
  import * as fs2 from "fs/promises";
@@ -156,4 +156,4 @@ export {
156
156
  loadPapersRegistry,
157
157
  savePapersRegistry
158
158
  };
159
- //# sourceMappingURL=chunk-TB3QGUDW.js.map
159
+ //# sourceMappingURL=chunk-SFZ67DTA.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-6Q4XUAE5.js";
6
+ } from "./chunk-WJ5TFKDF.js";
7
7
 
8
8
  // src/config/model-availability.ts
9
9
  var DEFAULT_TTL_MS = 6e4;
@@ -150,4 +150,4 @@ export {
150
150
  resetAvailabilityCache,
151
151
  filterAvailableModels
152
152
  };
153
- //# sourceMappingURL=chunk-X4DJYX63.js.map
153
+ //# sourceMappingURL=chunk-SX2K66SG.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-NAL4EHFM.js";
4
+ } from "./chunk-HTDLKLLP.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,22 +23,22 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-4AIIPSOD.js";
26
+ } from "./chunk-6FQTJHBL.js";
27
27
  import {
28
28
  assessPanelIndependence,
29
29
  countDistinctModels,
30
30
  createEvent,
31
31
  getGlobalRegistry
32
- } from "./chunk-N3SKF4YT.js";
32
+ } from "./chunk-KYTV2JFH.js";
33
33
  import {
34
34
  getToolMemory
35
- } from "./chunk-PU2NTY6U.js";
35
+ } from "./chunk-WYKMINTU.js";
36
36
  import {
37
37
  authRemediation,
38
38
  delay,
39
39
  getAvailableClis,
40
40
  withTimeout
41
- } from "./chunk-IED5SFCF.js";
41
+ } from "./chunk-VOXVWYD4.js";
42
42
  import {
43
43
  AgentError,
44
44
  CLI_NAMES,
@@ -66,7 +66,7 @@ import {
66
66
  registerPersistentOutcomeStoreFactory,
67
67
  resolveClassGuardMs,
68
68
  resolveVoteTimeout
69
- } from "./chunk-6Q4XUAE5.js";
69
+ } from "./chunk-WJ5TFKDF.js";
70
70
  import {
71
71
  ensureLearningDir,
72
72
  getOutcomesFile
@@ -6216,7 +6216,7 @@ async function processVotesWithCascade(engineVotes, opts) {
6216
6216
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
6217
6217
  async function runContrarianCheck(proposal, log) {
6218
6218
  try {
6219
- const { executeExpert } = await import("./expert-bridge-V2O6X3DO.js");
6219
+ const { executeExpert } = await import("./expert-bridge-IARKL3BV.js");
6220
6220
  const prompt = [
6221
6221
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
6222
6222
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6803,4 +6803,4 @@ export {
6803
6803
  CONSENSUS_VOTE_TOOL_SCHEMA,
6804
6804
  registerConsensusVoteTool
6805
6805
  };
6806
- //# sourceMappingURL=chunk-DTKGR6NY.js.map
6806
+ //# sourceMappingURL=chunk-T6GDTQPM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTimeProvider
3
- } from "./chunk-6Q4XUAE5.js";
3
+ } from "./chunk-WJ5TFKDF.js";
4
4
 
5
5
  // src/security/audit-trail.ts
6
6
  var MAX_EVENTS = 1e4;
@@ -205,4 +205,4 @@ export {
205
205
  createGraphAuditBridge,
206
206
  createAuditTrail
207
207
  };
208
- //# sourceMappingURL=chunk-RV57MIQU.js.map
208
+ //# sourceMappingURL=chunk-ULZFVZFW.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-4AIIPSOD.js";
10
+ } from "./chunk-6FQTJHBL.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -18,8 +18,9 @@ import {
18
18
  getOutcomeStore,
19
19
  getPipelineEventBus,
20
20
  getTimeProvider,
21
- isDeclaredNeverDeprecate
22
- } from "./chunk-6Q4XUAE5.js";
21
+ isDeclaredNeverDeprecate,
22
+ isRegisteredToolName
23
+ } from "./chunk-WJ5TFKDF.js";
23
24
  import {
24
25
  getNexusDataDir,
25
26
  nexusDataPath
@@ -1116,9 +1117,34 @@ function detectToolFitnessSignals(report, statInWorkspace, windowLabel, neverDep
1116
1117
  ...detectConsolidationCandidates(report, windowLabel)
1117
1118
  ];
1118
1119
  }
1119
- function loadToolFitnessSignals(windowLabel, ledger = getToolFitnessLedger()) {
1120
+ var TOOL_FITNESS_PRODUCER_WIRED = false;
1121
+ function unmeasuredSignal(windowLabel) {
1122
+ return {
1123
+ category: "tool-fitness",
1124
+ signalKey: "tool-fitness:unmeasured:no-producer",
1125
+ severity: "info",
1126
+ title: "tool-fitness: unmeasured \u2014 no production writer feeds the ledger",
1127
+ body: [
1128
+ "No tool-fitness data was collected for this window.",
1129
+ "",
1130
+ "The ledger's only producer (#4723) was reverted by #4731 on 2026-08-24, so",
1131
+ "nothing records tool invocations today. Any records still on disk are that",
1132
+ "writer's residue and are NOT evidence of current tool health \u2014 reporting a",
1133
+ "success rate from them would state a default as a measurement.",
1134
+ "",
1135
+ `- Window: ${windowLabel}`,
1136
+ "- Producer: NONE (tracked in #4656)",
1137
+ "",
1138
+ "This family stays dark until #4656 lands a writer with workspace",
1139
+ "attribution and a bounded append cost."
1140
+ ].join("\n"),
1141
+ evidence: { samples: 0, window: windowLabel }
1142
+ };
1143
+ }
1144
+ function loadToolFitnessSignals(windowLabel, ledger = getToolFitnessLedger(), producerWired = TOOL_FITNESS_PRODUCER_WIRED) {
1145
+ if (!producerWired) return [unmeasuredSignal(windowLabel)];
1120
1146
  try {
1121
- const report = ledger.report();
1147
+ const report = ledger.report().filter((stat) => isRegisteredToolName(stat.tool));
1122
1148
  return detectToolFitnessSignals(
1123
1149
  report,
1124
1150
  (tool, ws) => ledger.statForInWorkspace(tool, ws),
@@ -2133,4 +2159,4 @@ export {
2133
2159
  runImprovementReview,
2134
2160
  registerImprovementReviewTool
2135
2161
  };
2136
- //# sourceMappingURL=chunk-JL52FIXV.js.map
2162
+ //# sourceMappingURL=chunk-UMT3WDMH.js.map