@nexus-cortex/cli 4.108.11 → 4.108.13

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 +14 -0
  2. package/package.json +2 -2
package/.env.defaults CHANGED
@@ -1142,6 +1142,20 @@ CORTEX_SURRENDER_NUDGE=true
1142
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 >
1143
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
1144
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.
1151
+ # [LEDGER 2026-09-13 @4.108.13] R135 HB-POLL-LOOP: a legitimate POLL-AND-WAIT (`sleep 115; curl -s …/config | python3 -c …` on a 48-sim-hour
1152
+ # task) was scored as a stuck approach → 3 neardup-similarity tool blocks removed Bash → the model routed around via CreateArtifactTool and
1153
+ # finalized without observing its eval window (TB4.0 ctr-optimization). Now: detectPollPattern (wait + read-only probe, no write verbs) —
1154
+ # an ok poll feeds NEITHER lens NOR the failure ladder and instead returns `poll_steer` at the 3rd consecutive same-probe poll (then every
1155
+ # 10th): "move the wait off the turn: run_in_background / persistentSession + BashOutput; foreground waits <= 60 s". loop_tool_block never arms
1156
+ # on a poll and (last-executor guard) never removes the only execution tool — it downgrades to the reminder (`loop_block_downgraded`).
1157
+ # R135b: byte-identical Bash polls count toward MAX_LOOP_REPETITIONS only when the RESULT is also identical (R137's rule). Failing polls still
1158
+ # climb the ladder (soft exit) but are never hard-blocked. Tests: pollPattern.test.ts, LoopLadder.test.ts R135/R135b, loopToolBlock.test.ts.
1145
1159
  CORTEX_NEARDUP_BREAKER=true
1146
1160
  # Slice-reader nudge: after the 3rd bash slice-read (sed -n N,Mp / head -n / tail -n) of the SAME file in a session,
1147
1161
  # 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.11",
3
+ "version": "4.108.13",
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.11",
22
+ "@nexus-cortex/core": "4.108.13",
23
23
  "chalk": "^4.1.2",
24
24
  "cli-spinners": "^2.9.0",
25
25
  "commander": "^11.0.0",