nexus-agents 8.9.1 → 8.9.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.
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-OQB3XC5O.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-DJFYMDMD.js";
9
+ } from "./chunk-DQ5FYBSF.js";
10
10
  import {
11
11
  capitalize
12
12
  } from "./chunk-6T3EPABN.js";
@@ -1201,7 +1201,7 @@ async function runDoctorFix(result) {
1201
1201
  writeLine2("\u2500".repeat(40));
1202
1202
  let fixCount = 0;
1203
1203
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1204
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-CWU367E6.js");
1204
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-KVIXN5DN.js");
1205
1205
  const outcome = describeDataDirFix2(initDataDirectories2());
1206
1206
  writeLine2(outcome.line);
1207
1207
  if (outcome.counted) fixCount++;
@@ -1303,4 +1303,4 @@ export {
1303
1303
  startStdioServer,
1304
1304
  closeServer
1305
1305
  };
1306
- //# sourceMappingURL=chunk-KE5IGD6G.js.map
1306
+ //# sourceMappingURL=chunk-6VGKI5QE.js.map
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "8.9.2" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-DQ5FYBSF.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-P2DV7PDG.js";
10
+ } from "./chunk-MJHNCHJI.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2159,4 +2159,4 @@ export {
2159
2159
  runImprovementReview,
2160
2160
  registerImprovementReviewTool
2161
2161
  };
2162
- //# sourceMappingURL=chunk-FMKEGR6N.js.map
2162
+ //# sourceMappingURL=chunk-I4TQ5VQ7.js.map
@@ -23,10 +23,10 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-P2DV7PDG.js";
26
+ } from "./chunk-MJHNCHJI.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-DJFYMDMD.js";
29
+ } from "./chunk-DQ5FYBSF.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
@@ -6972,4 +6972,4 @@ export {
6972
6972
  CONSENSUS_VOTE_TOOL_SCHEMA,
6973
6973
  registerConsensusVoteTool
6974
6974
  };
6975
- //# sourceMappingURL=chunk-P64GQUQW.js.map
6975
+ //# sourceMappingURL=chunk-JLCOIDJJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-DJFYMDMD.js";
3
+ } from "./chunk-DQ5FYBSF.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-46YGVSBD.js";
@@ -2246,4 +2246,4 @@ export {
2246
2246
  VOTING_THRESHOLDS,
2247
2247
  ConsensusMetricsSchema
2248
2248
  };
2249
- //# sourceMappingURL=chunk-P2DV7PDG.js.map
2249
+ //# sourceMappingURL=chunk-MJHNCHJI.js.map
package/dist/cli.js CHANGED
@@ -154,7 +154,7 @@ import {
154
154
  validateNexusEnv,
155
155
  validateWorkflow,
156
156
  wrapInMarkdownFence
157
- } from "./chunk-MYERGZK3.js";
157
+ } from "./chunk-2ZOPJGMY.js";
158
158
  import "./chunk-V7PXKAZD.js";
159
159
  import "./chunk-DGWT7DXX.js";
160
160
  import "./chunk-64GMIUM5.js";
@@ -174,7 +174,7 @@ import {
174
174
  doctorCommand,
175
175
  initDataDirectories,
176
176
  runDoctor
177
- } from "./chunk-KE5IGD6G.js";
177
+ } from "./chunk-6VGKI5QE.js";
178
178
  import {
179
179
  buildOpenAICompatAdapters,
180
180
  readOpenAICompatEnv
@@ -193,7 +193,7 @@ import {
193
193
  recordAuthenticVote,
194
194
  registerConsensusVoteTool,
195
195
  toRecordDecision
196
- } from "./chunk-P64GQUQW.js";
196
+ } from "./chunk-JLCOIDJJ.js";
197
197
  import {
198
198
  loadUsageEvents,
199
199
  rollupByModel
@@ -230,15 +230,15 @@ import {
230
230
  registerImprovementReviewTool,
231
231
  runImprovementReview,
232
232
  scanForSecrets
233
- } from "./chunk-FMKEGR6N.js";
233
+ } from "./chunk-I4TQ5VQ7.js";
234
234
  import {
235
235
  createDefaultPolicyFirewall,
236
236
  setGlobalPolicyFirewall,
237
237
  stagePolicyFirewallForRollout
238
- } from "./chunk-P2DV7PDG.js";
238
+ } from "./chunk-MJHNCHJI.js";
239
239
  import {
240
240
  VERSION
241
- } from "./chunk-DJFYMDMD.js";
241
+ } from "./chunk-DQ5FYBSF.js";
242
242
  import "./chunk-46YGVSBD.js";
243
243
  import {
244
244
  createUnifiedRegistry,
@@ -19684,7 +19684,7 @@ function startImprovementReviewScheduler(options) {
19684
19684
  let running = false;
19685
19685
  const runOnce = async () => {
19686
19686
  try {
19687
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-RMDGMKIB.js");
19687
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-TGACR3DL.js");
19688
19688
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19689
19689
  const result = await runImprovementReview2(input, { logger: logger22 });
19690
19690
  logger22.info("Scheduled improvement_review complete", {
@@ -11,11 +11,11 @@ import {
11
11
  resetCorrelationTracker,
12
12
  runConsensusForGoal,
13
13
  unwrapVoteOrThrow
14
- } from "./chunk-P64GQUQW.js";
14
+ } from "./chunk-JLCOIDJJ.js";
15
15
  import "./chunk-WANBZFP2.js";
16
16
  import "./chunk-OQB3XC5O.js";
17
- import "./chunk-P2DV7PDG.js";
18
- import "./chunk-DJFYMDMD.js";
17
+ import "./chunk-MJHNCHJI.js";
18
+ import "./chunk-DQ5FYBSF.js";
19
19
  import "./chunk-46YGVSBD.js";
20
20
  import "./chunk-BTPPGHG3.js";
21
21
  import "./chunk-SGOBMAZK.js";
@@ -50,4 +50,4 @@ export {
50
50
  runConsensusForGoal,
51
51
  unwrapVoteOrThrow
52
52
  };
53
- //# sourceMappingURL=consensus-vote-3FCOFDON.js.map
53
+ //# sourceMappingURL=consensus-vote-T6D4XVUA.js.map
@@ -11,9 +11,9 @@ import {
11
11
  loadSelfEvalSignals,
12
12
  registerImprovementReviewTool,
13
13
  runImprovementReview
14
- } from "./chunk-FMKEGR6N.js";
15
- import "./chunk-P2DV7PDG.js";
16
- import "./chunk-DJFYMDMD.js";
14
+ } from "./chunk-I4TQ5VQ7.js";
15
+ import "./chunk-MJHNCHJI.js";
16
+ import "./chunk-DQ5FYBSF.js";
17
17
  import "./chunk-46YGVSBD.js";
18
18
  import "./chunk-AOBIUJX5.js";
19
19
  import "./chunk-7WJGV5DN.js";
@@ -33,4 +33,4 @@ export {
33
33
  registerImprovementReviewTool,
34
34
  runImprovementReview
35
35
  };
36
- //# sourceMappingURL=improvement-review-RMDGMKIB.js.map
36
+ //# sourceMappingURL=improvement-review-TGACR3DL.js.map
package/dist/index.d.ts CHANGED
@@ -35085,17 +35085,11 @@ type DelegatePipelineResult = {
35085
35085
  /**
35086
35086
  * Creates a compiled V2 pipeline for delegate_to_model from a TaskContract.
35087
35087
  *
35088
- * The pipeline has a single 'route' stage guarded by an entry policy gate.
35089
- * Routing logic lives in the stage handler (placeholder here, real handler
35090
- * injected by the MCP tool).
35091
- *
35092
- * Activation (#3703): the compile call now supplies a **default-WARN**
35093
- * `policyEnforcement` bundle, so the entry gate evaluates real policy at the
35094
- * stage boundary in production. WARN mode never throws and never blocks — it
35095
- * only logs + emits `policy.evaluated` events on a violation, generating the
35096
- * autonomy-soak evidence #3653 needs. This is scoped to v2-delegate's own
35097
- * compile call: the shared `compilePlan` default (no enforcement) is
35098
- * unchanged, so every other `compilePlan` caller is unaffected.
35088
+ * The pipeline has a single 'route' stage and no policy gate (#4657), so the
35089
+ * compile call passes no `policyEnforcement` bundle: with zero gates there is
35090
+ * no node that would consult one, and supplying it read as "policy enforced
35091
+ * at the stage boundary" when nothing was. Routing logic lives in the stage
35092
+ * handler (placeholder here, real handler injected by the MCP tool).
35099
35093
  */
35100
35094
  declare function createDelegatePipeline(task: TaskContract): DelegatePipelineResult;
35101
35095
  /** Minimal input shape matching DelegateInput. Avoids circular mcp/tools import. */
@@ -35126,8 +35120,14 @@ interface DelegateContractOpts {
35126
35120
  declare function delegateInputToTaskContract(input: DelegateInputLike, opts?: DelegateContractOpts): TaskContract;
35127
35121
  /**
35128
35122
  * Compiles and executes a V2 pipeline for the given TaskContract.
35129
- * Evaluates policy before execution — block mode halts the pipeline.
35130
35123
  * Returns metrics for observability — never throws.
35124
+ *
35125
+ * The pre-execution policy check evaluates stage type 'route' — the real type
35126
+ * of the only stage — which `trustTierRule` allows at every tier, so under the
35127
+ * current rule set this path never reports `policyBlocked` (#4657). The
35128
+ * execute-stage seams that can refuse are `v2-orchestrate.ts` and
35129
+ * `dev-pipeline.ts`; this graph is fire-and-forget instrumentation beside the
35130
+ * real delegation and must not claim a refusal it cannot perform.
35131
35131
  */
35132
35132
  declare function executeDelegatePipeline(task: TaskContract): Promise<PipelineMetrics>;
35133
35133
  /**
package/dist/index.js CHANGED
@@ -552,7 +552,7 @@ import {
552
552
  withLogging,
553
553
  withRetry,
554
554
  withRetryWrapper
555
- } from "./chunk-MYERGZK3.js";
555
+ } from "./chunk-2ZOPJGMY.js";
556
556
  import {
557
557
  FALLBACK_SCANNER_DATA,
558
558
  buildPlanFromAnalysis,
@@ -585,7 +585,7 @@ import {
585
585
  connectTransport,
586
586
  createServer,
587
587
  startStdioServer
588
- } from "./chunk-KE5IGD6G.js";
588
+ } from "./chunk-6VGKI5QE.js";
589
589
  import {
590
590
  OPENAI_MODELS,
591
591
  OPENAI_MODEL_ALIASES,
@@ -643,7 +643,7 @@ import {
643
643
  generateProposalId,
644
644
  parseAgentPairKey,
645
645
  registerConsensusVoteTool
646
- } from "./chunk-P64GQUQW.js";
646
+ } from "./chunk-JLCOIDJJ.js";
647
647
  import "./chunk-WANBZFP2.js";
648
648
  import {
649
649
  allOf
@@ -701,7 +701,7 @@ import {
701
701
  import {
702
702
  ImprovementReviewInputSchema,
703
703
  registerImprovementReviewTool
704
- } from "./chunk-FMKEGR6N.js";
704
+ } from "./chunk-I4TQ5VQ7.js";
705
705
  import {
706
706
  AgentPerformanceSchema,
707
707
  ConsensusAlgorithmSchema,
@@ -737,10 +737,10 @@ import {
737
737
  toolSuccess,
738
738
  toolSuccessStructured,
739
739
  validateToolInput
740
- } from "./chunk-P2DV7PDG.js";
740
+ } from "./chunk-MJHNCHJI.js";
741
741
  import {
742
742
  VERSION
743
- } from "./chunk-DJFYMDMD.js";
743
+ } from "./chunk-DQ5FYBSF.js";
744
744
  import {
745
745
  AuditTrail,
746
746
  createAuditTrail,
@@ -4190,7 +4190,7 @@ function buildVotingInput(plan, config) {
4190
4190
  }
4191
4191
  async function executeSingleVote(plan, config, log) {
4192
4192
  try {
4193
- const { executeVoting } = await import("./consensus-vote-3FCOFDON.js");
4193
+ const { executeVoting } = await import("./consensus-vote-T6D4XVUA.js");
4194
4194
  const input = buildVotingInput(plan, config);
4195
4195
  const result = await executeVoting(input, log);
4196
4196
  return parseVotingResult(result);
@@ -2,11 +2,11 @@ import {
2
2
  NEXUS_DATA_DIR,
3
3
  describeDataDirFix,
4
4
  initDataDirectories
5
- } from "./chunk-KE5IGD6G.js";
5
+ } from "./chunk-6VGKI5QE.js";
6
6
  import "./chunk-MZUUIMRQ.js";
7
7
  import "./chunk-WANBZFP2.js";
8
8
  import "./chunk-OQB3XC5O.js";
9
- import "./chunk-DJFYMDMD.js";
9
+ import "./chunk-DQ5FYBSF.js";
10
10
  import "./chunk-6T3EPABN.js";
11
11
  import "./chunk-OJSG734P.js";
12
12
  import "./chunk-VQRXDFVF.js";
@@ -26,4 +26,4 @@ export {
26
26
  describeDataDirFix,
27
27
  initDataDirectories
28
28
  };
29
- //# sourceMappingURL=setup-data-dir-CWU367E6.js.map
29
+ //# sourceMappingURL=setup-data-dir-KVIXN5DN.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "8.9.1",
3
+ "version": "8.9.2",
4
4
  "description": "Governance substrate for AI coding agents — adversarial PR review, drift-detected rules, tamper-evident audit, and closed-loop outcome routing for Claude, Codex, Gemini, and OpenCode",
5
5
  "mcpName": "io.github.nexus-substrate/nexus-agents",
6
6
  "license": "MIT",
@@ -1,7 +0,0 @@
1
- // src/version.ts
2
- var VERSION = true ? "8.9.1" : "dev";
3
-
4
- export {
5
- VERSION
6
- };
7
- //# sourceMappingURL=chunk-DJFYMDMD.js.map