nexus-agents 8.14.0 → 8.14.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-GLIEFVVU.js";
3
+ } from "./chunk-ZFJ2NREZ.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-KHJACO7N.js";
@@ -2246,4 +2246,4 @@ export {
2246
2246
  VOTING_THRESHOLDS,
2247
2247
  ConsensusMetricsSchema
2248
2248
  };
2249
- //# sourceMappingURL=chunk-GZTMRQCU.js.map
2249
+ //# sourceMappingURL=chunk-5CGSXWPS.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-DO63GVEY.js";
24
+ } from "./chunk-CFUQFDBO.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-ZVBGJJHJ.js";
@@ -48,7 +48,7 @@ import {
48
48
  simulationDeniedResult,
49
49
  toJobSummary,
50
50
  writeJobCancelled
51
- } from "./chunk-MSOUT5RH.js";
51
+ } from "./chunk-YJUJMFLI.js";
52
52
  import {
53
53
  allOf
54
54
  } from "./chunk-OQB3XC5O.js";
@@ -67,7 +67,7 @@ import {
67
67
  } from "./chunk-EIEC22PA.js";
68
68
  import {
69
69
  withPrerequisite
70
- } from "./chunk-357SIWOH.js";
70
+ } from "./chunk-PU677Y7C.js";
71
71
  import {
72
72
  NOOP_NOTIFIER,
73
73
  RateLimiter,
@@ -92,7 +92,7 @@ import {
92
92
  withAuditTrail,
93
93
  withProgressHeartbeat,
94
94
  wrapToolWithTimeout
95
- } from "./chunk-GZTMRQCU.js";
95
+ } from "./chunk-5CGSXWPS.js";
96
96
  import {
97
97
  createAuditTrail,
98
98
  createGraphAuditBridge,
@@ -38618,6 +38618,7 @@ var WORKFLOW_METADATA = [
38618
38618
  nodeCount: 4,
38619
38619
  hasConditionalEdges: true
38620
38620
  },
38621
+ /** Empty code is rejected at the run_graph_workflow tool boundary (#5528). */
38621
38622
  {
38622
38623
  name: "security-scan",
38623
38624
  description: "Multi-step security analysis. Scans imports and patterns, routes to critical or standard report.",
@@ -41241,7 +41242,7 @@ function recordTriageSuccess(category, confidence, durationMs) {
41241
41242
  memory.recordLearning({
41242
41243
  pattern: `triage \u2192 ${category}`,
41243
41244
  context: `confidence=${String(confidence)} duration=${String(durationMs)}ms`,
41244
- confidence: 0.8,
41245
+ confidence,
41245
41246
  source: "manual"
41246
41247
  });
41247
41248
  } catch (error) {
@@ -41426,6 +41427,9 @@ function createGraphWorkflowHandler(logger57, notifier, auditLogger) {
41426
41427
  if (input.workflow === "list") {
41427
41428
  return toolSuccess(JSON.stringify(getGraphWorkflowList(), null, 2));
41428
41429
  }
41430
+ const code = input.inputs["code"];
41431
+ if (input.workflow === "security-scan" && (typeof code !== "string" || code.trim() === ""))
41432
+ return toolStructuredError({ errorCategory: "validation", message: "Missing inputs.code" });
41429
41433
  notifier.info("run_graph_workflow", {
41430
41434
  event: "graph_workflow_start",
41431
41435
  workflow: input.workflow
@@ -42081,8 +42085,12 @@ async function createFullResponse(input, logger57) {
42081
42085
  satisfaction,
42082
42086
  passed: analysis.ok ? analysis.value.passed : false
42083
42087
  });
42084
- recordSpecSuccess(satisfaction, durationMs);
42085
- recordSpecOutcome(true, durationMs);
42088
+ if (result.value.validation.allMet) {
42089
+ recordSpecSuccess(satisfaction, durationMs);
42090
+ recordSpecOutcome(true, durationMs);
42091
+ } else {
42092
+ recordSpecOutcome(false, durationMs, "acceptance criteria unmet");
42093
+ }
42086
42094
  const output2 = {
42087
42095
  mode: "execute",
42088
42096
  execution: result.value,
@@ -47395,7 +47403,7 @@ ${contextBlock}`;
47395
47403
  const strategy = config.votingStrategy ?? "higher_order";
47396
47404
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47397
47405
  try {
47398
- const { executeVoting } = await import("./consensus-vote-TMWNYIHD.js");
47406
+ const { executeVoting } = await import("./consensus-vote-RO7YBCM2.js");
47399
47407
  const votingResult = await executeVoting(
47400
47408
  {
47401
47409
  proposal: buildVoteProposal(plan, research),
@@ -56059,4 +56067,4 @@ export {
56059
56067
  shutdownFeedbackSubscriber,
56060
56068
  createEventBusBridge
56061
56069
  };
56062
- //# sourceMappingURL=chunk-LMYHGHZN.js.map
56070
+ //# sourceMappingURL=chunk-5TXA5LK7.js.map