nexus-agents 2.125.21 → 2.125.25

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.
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-CH7QIDHQ.js";
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.125.21" : "dev";
43
+ var VERSION = true ? "2.125.25" : "dev";
44
44
 
45
45
  // src/config/schemas-core.ts
46
46
  import { z } from "zod";
@@ -2099,7 +2099,7 @@ async function runDoctorFix(result) {
2099
2099
  writeLine2("\u2500".repeat(40));
2100
2100
  let fixCount = 0;
2101
2101
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2102
- const { runSetup } = await import("./setup-command-553K2C2F.js");
2102
+ const { runSetup } = await import("./setup-command-PRTMR4DK.js");
2103
2103
  const setupResult = runSetup({
2104
2104
  skipMcp: true,
2105
2105
  skipRules: true,
@@ -2211,4 +2211,4 @@ export {
2211
2211
  startStdioServer,
2212
2212
  closeServer
2213
2213
  };
2214
- //# sourceMappingURL=chunk-B6X3YEEP.js.map
2214
+ //# sourceMappingURL=chunk-B3TJNOKQ.js.map
@@ -48,7 +48,7 @@ import {
48
48
  } from "./chunk-Z7EEKYOH.js";
49
49
  import {
50
50
  withPrerequisite
51
- } from "./chunk-Q2EZE5MP.js";
51
+ } from "./chunk-QAI5JEE2.js";
52
52
  import {
53
53
  NOOP_NOTIFIER,
54
54
  RateLimiter,
@@ -123,7 +123,7 @@ import {
123
123
  DEFAULT_TASK_TTL_MS,
124
124
  DEFAULT_TOOL_RATE_LIMITS,
125
125
  clampTaskTtl
126
- } from "./chunk-B6X3YEEP.js";
126
+ } from "./chunk-B3TJNOKQ.js";
127
127
  import {
128
128
  resolveInsideRoot
129
129
  } from "./chunk-NUBSJGQZ.js";
@@ -49800,4 +49800,4 @@ export {
49800
49800
  shutdownFeedbackSubscriber,
49801
49801
  createEventBusBridge
49802
49802
  };
49803
- //# sourceMappingURL=chunk-5NG2GBNM.js.map
49803
+ //# sourceMappingURL=chunk-F6VJEXXJ.js.map
@@ -792,6 +792,16 @@ function recordRemediationShadow(signals, sink = getRemediationShadowSink()) {
792
792
  function priorityLabel(priority) {
793
793
  return priority;
794
794
  }
795
+ var REQUIREMENT_BY_PRIORITY = {
796
+ p0: { autoRemediate: true, algorithm: "unanimous", requiresDryRun: true },
797
+ p1: { autoRemediate: true, algorithm: "supermajority", requiresDryRun: false },
798
+ p2: { autoRemediate: true, algorithm: "higher_order", requiresDryRun: false },
799
+ p3: { autoRemediate: true, algorithm: "simple_majority", requiresDryRun: false },
800
+ p4: { autoRemediate: false, requiresDryRun: false }
801
+ };
802
+ function consensusFor(priority) {
803
+ return REQUIREMENT_BY_PRIORITY[priority];
804
+ }
795
805
  function classifySignalPriority(signal) {
796
806
  if (isSecuritySignal(signal)) return "p0";
797
807
  switch (signal.severity) {
@@ -1272,6 +1282,8 @@ export {
1272
1282
  withPrerequisite,
1273
1283
  createFitnessScoreCalculator,
1274
1284
  calculateFitnessScore,
1285
+ consensusFor,
1286
+ classifySignalPriority,
1275
1287
  ImprovementReviewInputSchema,
1276
1288
  filterByLookback,
1277
1289
  detectCliPerformanceFloor,
@@ -1284,4 +1296,4 @@ export {
1284
1296
  runImprovementReview,
1285
1297
  registerImprovementReviewTool
1286
1298
  };
1287
- //# sourceMappingURL=chunk-Q2EZE5MP.js.map
1299
+ //# sourceMappingURL=chunk-QAI5JEE2.js.map