nexus-agents 2.125.21 → 2.125.24

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.24" : "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-63KWDRWL.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-647PSXJ5.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