nexus-agents 4.3.2 → 4.3.3

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.
@@ -52,7 +52,7 @@ import {
52
52
  } from "./chunk-OQLFRJCW.js";
53
53
 
54
54
  // src/version.ts
55
- var VERSION = true ? "4.3.2" : "dev";
55
+ var VERSION = true ? "4.3.3" : "dev";
56
56
 
57
57
  // src/config/schemas-core.ts
58
58
  import { z } from "zod";
@@ -2339,7 +2339,7 @@ async function runDoctorFix(result) {
2339
2339
  writeLine2("\u2500".repeat(40));
2340
2340
  let fixCount = 0;
2341
2341
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2342
- const { runSetup } = await import("./setup-command-GVDJEHTI.js");
2342
+ const { runSetup } = await import("./setup-command-R6LRVQ7P.js");
2343
2343
  const setupResult = runSetup({
2344
2344
  skipMcp: true,
2345
2345
  skipRules: true,
@@ -2452,4 +2452,4 @@ export {
2452
2452
  startStdioServer,
2453
2453
  closeServer
2454
2454
  };
2455
- //# sourceMappingURL=chunk-Z3QSRADW.js.map
2455
+ //# sourceMappingURL=chunk-TXAWKJWL.js.map
package/dist/cli.js CHANGED
@@ -18,7 +18,7 @@ import "./chunk-JV5HRP3S.js";
18
18
  import {
19
19
  setupCommandAsync,
20
20
  verifyCommand
21
- } from "./chunk-U6NDB43U.js";
21
+ } from "./chunk-BG7IE3V5.js";
22
22
  import "./chunk-73U6W5ZU.js";
23
23
  import {
24
24
  AuthHandler,
@@ -139,7 +139,7 @@ import {
139
139
  validateCommand,
140
140
  validateWorkflow,
141
141
  wrapInMarkdownFence
142
- } from "./chunk-5HHTFAHY.js";
142
+ } from "./chunk-GWL7WO64.js";
143
143
  import "./chunk-FHXDRCIW.js";
144
144
  import "./chunk-HFOQKCD2.js";
145
145
  import "./chunk-RSMG2DPB.js";
@@ -166,7 +166,7 @@ import {
166
166
  loadConfig,
167
167
  runDoctor,
168
168
  validateNexusEnv
169
- } from "./chunk-Z3QSRADW.js";
169
+ } from "./chunk-TXAWKJWL.js";
170
170
  import {
171
171
  buildOpenAICompatAdapters,
172
172
  readOpenAICompatEnv
package/dist/index.d.ts CHANGED
@@ -33549,8 +33549,18 @@ interface PipelineStateSnapshot {
33549
33549
  * include `trust-classifier`, `input-sanitizer`, `firewall-pipeline`, and
33550
33550
  * `mcp/middleware/request-context`; threading the value into
33551
33551
  * `TaskContract.metadata.trustTier` is owner-scoped follow-up work — see
33552
- * the corresponding issue. When absent, `trustTierRule` allows (the
33553
- * existing fail-open default for unknown trust).
33552
+ * the corresponding issue.
33553
+ *
33554
+ * ABSENT MEANS UNTRUSTED, NOT ALLOWED (#4821). An absent or non-numeric
33555
+ * value is coerced to `4` and DENIES — see `trustTierRule` below. This doc
33556
+ * previously claimed the opposite ("fail-open default for unknown trust"),
33557
+ * describing a pre-hardening behaviour the code no longer has.
33558
+ *
33559
+ * That is the correct default and should stay: fail-closed on unknown
33560
+ * provenance is what `.rules/untrusted-input.md` requires. Do not "fix" the
33561
+ * rule to match the old comment. The practical consequence, worth knowing
33562
+ * before planning enforcement work, is that an UNWIRED producer is the DENY
33563
+ * case rather than the safe one.
33554
33564
  */
33555
33565
  readonly trustTier?: string;
33556
33566
  }
package/dist/index.js CHANGED
@@ -541,7 +541,7 @@ import {
541
541
  withLogging,
542
542
  withRetry,
543
543
  withRetryWrapper
544
- } from "./chunk-5HHTFAHY.js";
544
+ } from "./chunk-GWL7WO64.js";
545
545
  import {
546
546
  FALLBACK_SCANNER_DATA,
547
547
  buildPlanFromAnalysis,
@@ -575,7 +575,7 @@ import {
575
575
  getKnownNexusVarNames,
576
576
  startStdioServer,
577
577
  validateNexusEnv
578
- } from "./chunk-Z3QSRADW.js";
578
+ } from "./chunk-TXAWKJWL.js";
579
579
  import {
580
580
  OPENAI_MODELS,
581
581
  OPENAI_MODEL_ALIASES,
@@ -8,9 +8,9 @@ import {
8
8
  runWizard,
9
9
  setupCommand,
10
10
  setupCommandAsync
11
- } from "./chunk-U6NDB43U.js";
11
+ } from "./chunk-BG7IE3V5.js";
12
12
  import "./chunk-73U6W5ZU.js";
13
- import "./chunk-Z3QSRADW.js";
13
+ import "./chunk-TXAWKJWL.js";
14
14
  import "./chunk-ROAVF3S5.js";
15
15
  import "./chunk-3P6N3XZF.js";
16
16
  import "./chunk-OQB3XC5O.js";
@@ -41,4 +41,4 @@ export {
41
41
  setupCommand,
42
42
  setupCommandAsync
43
43
  };
44
- //# sourceMappingURL=setup-command-GVDJEHTI.js.map
44
+ //# sourceMappingURL=setup-command-R6LRVQ7P.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
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",