@nexus-cortex/cli 4.124.37 → 4.124.38

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 +26 -0
  2. package/package.json +2 -2
package/.env.defaults CHANGED
@@ -949,6 +949,32 @@ CORTEX_ENDTURN_GATE=true
949
949
  # unchanged low | medium | high) | legacy: the pre-R153c steps. reasoning_exhaustion events now carry {ladder, provider}.
950
950
  # [LEDGER 2026-09-30 @4.124.34] ON (bug fix) — unit-tested (effortLevers.test.ts). NO bench arm.
951
951
  #CORTEX_REASONING_EXHAUST_LADDER=
952
+ # CORTEX_WALL_DROP — HB-WALL-DROP (DARK, 2026-10-01). c22: 69 reasoning-exhaustion walls in ~19.6K calls; each walled turn's ~65K of
953
+ # reasoning stayed in history and rode along in every later call (photonic r2 +196K after three walls) and the retry re-read it uncached.
954
+ # on: the walled assistant turn (reasoning only, no text, no tool call) is removed from the IN-MEMORY history before the retry (the session
955
+ # file keeps it) and the nudge is carried at the tail of the newest tool_result (HB-TURN-STATUS carrier) → the retry is the exact pre-wall
956
+ # prefix + the nudge. A turn with a tool call is never dropped. No tool_result before the wall → the nudge is pushed as a user message.
957
+ # Event wall_drop {iteration, droppedChars, carrier, streaming}. Pairs with CORTEX_REASONING_EXHAUST_BACKOFF=false: post-wall recovery acts
958
+ # ~90% at high OR low (t4cw 17/19 at high vs c22 59/64 at low) while the low step costs a mostly-uncached re-read (effort is in DeepSeek's
959
+ # cache key: post-wall low call hit 0.25 vs high 0.77).
960
+ # [LEDGER 2026-10-01 @next] DARK — BUILT + tested (wallGuard.test.ts 6/6; wallGuard.integration.test.ts sendMessage: retry carries no
961
+ # walled turn + nudge on the tool_result tail; off = pre-existing; streamMessage wall cases skipped — scripted stream has no reasoning deltas).
962
+ #CORTEX_WALL_DROP=
963
+ # CORTEX_OUTPUT_CAP_TOKENS — HB-OUTPUT-CAP (DARK, 2026-10-01). Per-call output cap for the action model (fills maxTokens only when the request
964
+ # did not set one; helper/mentor calls unaffected). c22 acting calls' reasoning: p99 14K, p99.9 40K, 7 of 19,337 above 48K → a wall costs
965
+ # ~48K instead of 65,536 output tokens and minutes of decode. Recommended 48000. Not part of the prompt, so expected cache-neutral (verify).
966
+ # [LEDGER 2026-10-01 @next] DARK — BUILT + tested (both loops: every action request carries the cap).
967
+ #CORTEX_OUTPUT_CAP_TOKENS=
968
+ # CORTEX_WALL_SUMMARY / _TIMEOUT_MS — HB-WALL-SUMMARY (DARK, 2026-10-01). On a reasoning-exhaustion wall, before HB-WALL-DROP removes the
969
+ # turn, one helper call (the EndTurn judge's mentor wire, ~500-token budget) condenses the walled reasoning (head 4K + tail 16K chars) into
970
+ # CONCLUDED / STUCK ON / NEXT; the result rides INSIDE the wall nudge (same cache-safe tail), attributed as written by the harness — item-11c
971
+ # FOREIGN-THINKING doctrine (never the thinking channel). Fail-open: off / no reasoning / timeout (_TIMEOUT_MS, default 30000) / error → the
972
+ # plain nudge. Event wall_summary {iteration, inputChars, summaryChars, ok, ms, streaming}. Aim: break the overthinking spiral without the
973
+ # effort backoff (which busts the cache) — pair with CORTEX_WALL_DROP=on + CORTEX_REASONING_EXHAUST_BACKOFF=false.
974
+ # [LEDGER 2026-10-01 @next] DARK — BUILT + tested (wallGuard.test.ts helpers; integration sendMessage: summary in the nudge, helper error →
975
+ # plain nudge). NO bench arm yet.
976
+ #CORTEX_WALL_SUMMARY=
977
+ #CORTEX_WALL_SUMMARY_TIMEOUT_MS=
952
978
  # CORTEX_KILL_GUARD — HB-KILL-GUARD (2026-09-30, DEFAULT ON). The Bash tool runs every command as `bash -c "<command>"`, so a model's
953
979
  # `pkill -f "<pattern>"` always matches its OWN shell, and `pkill -f node` / `killall node` / `kill $(pgrep -f node)` reaches the harness
954
980
  # server. TB4.0 c21ba cumulative-layout-shift r3 (4.124.36): `pkill -f "next-server"; pkill -f "next start"; ...` → the tool shell got
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cortex/cli",
3
- "version": "4.124.37",
3
+ "version": "4.124.38",
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.124.37",
22
+ "@nexus-cortex/core": "4.124.38",
23
23
  "chalk": "^4.1.2",
24
24
  "cli-spinners": "^2.9.0",
25
25
  "commander": "^11.0.0",