@nexus-cortex/cli 4.108.10 → 4.108.12

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.
Files changed (2) hide show
  1. package/.env.defaults +11 -0
  2. package/package.json +2 -2
package/.env.defaults CHANGED
@@ -486,6 +486,11 @@ TOOL_TIMEOUT_MS=120000
486
486
  # force a mode. Engagement evidence: decisions event steering_injected{kind:tool_promoted}.
487
487
  TOOL_TIMEOUT_MODE=auto
488
488
  # Identical tool calls before loop detection breaks the turn
489
+ # [LEDGER 2026-09-13 @4.108.11] R137 HB-POLL-REPEAT-BREAKER: the breaker counted 5 identical `BashOutput {bash_id}` polls on a LIVE
490
+ # background job as an infinite loop (TB4.0 validation mp-checkpoint-consolidation: turn force-exited at 42 min while the 580 s fit ran; the
491
+ # banked toolCallIterations became 1000 = this cap value). Now: poll tools (BashOutput, InspectSandbox) count only when the RESULT is also
492
+ # byte-identical and the process is not running; the exit uses an explicit loopBreak flag (true iteration count banked) + a `loop_break`
493
+ # decisions row. Non-poll tools unchanged.
489
494
  MAX_LOOP_REPETITIONS=5
490
495
  # Unified outcome ladder (4.70.0): failing near-duplicate approaches escalate
491
496
  # remind -> diversify -> graceful break (docs/UNIFIED_OUTCOME_LADDER.md).
@@ -1137,6 +1142,12 @@ CORTEX_SURRENDER_NUDGE=true
1137
1142
  # now recognize a RANGE PROGRESSION over one file (sed -n 'A,Bp' / head|tail / tail -n +A|head / awk NR / Read offset+limit with next.start >
1138
1143
  # prev.end) as new work, not a retry; an identical, overlapping or backwards range still counts. Field read (tb4-flash-v1): 25 of 92 loop-guard
1139
1144
  # events fired right after a chunk read (rs-archive-clone 5). Tests: chunkReadProgression.test.ts, LoopLadder.test.ts, sliceBlock.test.ts.
1145
+ # [LEDGER 2026-09-13 @4.108.12] R136 HB-NEARDUP-SCRIPT-SHAPE: DIFFERENT experiment scripts under one shell wrapper (`cd … && timeout N python3 -u
1146
+ # /tmp/{search,unfused,moe_search,grad_diag}.py 2>&1 | grep -vE …`) scored as near-duplicates → 3 neardup-similarity tool blocks → Bash disabled →
1147
+ # a task the previous build PASSED was abandoned (TB4.0 validation mp-checkpoint-consolidation). Now: command IDENTITY (executed script paths;
1148
+ # inline `-c`/heredoc bodies compared by body Dice) gates the similarity lens BEFORE the wrapper-shape compare, and (R136b) the script-path
1149
+ # digest suffixes the approach key for the hash lens + failure ladder (R128's pattern). Same script with tweaked flags / minor-edit inline
1150
+ # grinds still count; commands without identity (ls/grep/git) unchanged. Tests: commandIdentity.test.ts, LoopLadder.test.ts R136 block.
1140
1151
  CORTEX_NEARDUP_BREAKER=true
1141
1152
  # Slice-reader nudge: after the 3rd bash slice-read (sed -n N,Mp / head -n / tail -n) of the SAME file in a session,
1142
1153
  # append a one-line reminder to read the file once with Read (offset/limit) instead. Event kind: slice_read.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cortex/cli",
3
- "version": "4.108.10",
3
+ "version": "4.108.12",
4
4
  "description": "Nexus Cortex CLI - Terminal interface for multi-provider LLM orchestration",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  "prepack": "node ../../scripts/copy-pkg-cortex-scaffold.mjs"
20
20
  },
21
21
  "dependencies": {
22
- "@nexus-cortex/core": "4.108.10",
22
+ "@nexus-cortex/core": "4.108.12",
23
23
  "chalk": "^4.1.2",
24
24
  "cli-spinners": "^2.9.0",
25
25
  "commander": "^11.0.0",