@nexus-cortex/cli 4.109.0 → 4.111.0

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 +25 -0
  2. package/package.json +2 -2
package/.env.defaults CHANGED
@@ -915,6 +915,31 @@ CORTEX_ENDTURN_GATE=true
915
915
  # MAX_NUDGES per turn (default 2; 0 = off; max 10) with a firmer second text; event budget_continue_nudge carries {nudge, maxNudges}.
916
916
  # [LEDGER 2026-09-16 @4.109.0] BUILT + unit-tested (TurnEndGuards.test.ts R157, timeBudget.test.ts). Field: PENDING.
917
917
  #CORTEX_BUDGET_CONTINUE_MAX_NUDGES=
918
+ # CORTEX_MENTOR_CONSULT_BUDGET_TOKENS — R158 HB-CONSULT-BUDGET (4.110.0, 2026-09-16). tb4-flash-v3 pretrain-shard-corruption: the
919
+ # AskForAdvice mentor answer (mentor thinking off, 400-token content cap) came back finish_reason=length, 1721 chars, cut mid-sentence,
920
+ # and the episode banked truncated:false (the flag was only set on the thinking-on empty-content path). Default hint cap 400 -> 800
921
+ # (clamp 100..4000); `truncated` now follows finish_reason=length on every helper call.
922
+ # [LEDGER 2026-09-16 @4.110.0] BUILT + unit-tested (mentorRole.test.ts). Field: PENDING.
923
+ #CORTEX_MENTOR_CONSULT_BUDGET_TOKENS=
924
+ # CORTEX_ENDTURN_RESOLVER_MAX_REJECTS_BUDGETED — R160 HB-RESOLVER-BUDGET-CAP (4.111.0, 2026-09-16). Dig into the 27 confident-wrong
925
+ # TB4.0 finishes (tb4-flash-v3): the EndTurn resolver was NOT the weak link — it saw the gap in 16 of the 22 sessions it judged (kv-live-
926
+ # surgery "3.2x, not 5x"; rs-archive-clone "bad 3 of 288 — match the reference's decision boundary") and VETOED; the model came back
927
+ # with the same attestation, the second GAP hit CORTEX_ENDTURN_RESOLVER_MAX_REJECTS=2 and the finish shipped as a fallback-accept a
928
+ # median 24 min into an 8-h budget (median 3.5 min after the last veto). The liveness cap was sized for chat turns, not 8-h tasks.
929
+ # Now the cap is BUDGET-AWARE: while >= CORTEX_BUDGET_CONTINUE_MIN_REMAINING (0.5) of the wall budget remains, up to MAX_REJECTS_BUDGETED
930
+ # vetoes (default 6; clamp 0..20; 0 = liveness cap only); below that fraction or without a deadline, the liveness cap (2) as before.
931
+ # From the second veto the fix plan carries an escalation line ("veto N of M, ~Xh left — close it or name the hard limit under
932
+ # open_items"). Event endturn_resolver gains {cap, capLiveness, capBudgeted, remainingFrac}. Cost: false GAPs on passing work (4 of the
933
+ # 9 judged passes ended on a GAP and still passed) now cost up to 4 more judge cycles — tokens, not correctness. A/B lever.
934
+ # [LEDGER 2026-09-16 @4.111.0] BUILT + unit-tested (endTurnResolver.test.ts R160). Field: PENDING (first read on the next TB4.0 cell).
935
+ #CORTEX_ENDTURN_RESOLVER_MAX_REJECTS_BUDGETED=
936
+ # (no lever) 4.110.0 closes the 4.109.0 disclosures (2026-09-16): R154 image-rejection heal now also covers the STREAMING loop
937
+ # (continuation re-streamed once after the stub; stream empty-retry and stream R29a synthesis wrapped like the non-streaming calls);
938
+ # the sub-agent console fallback prints a progress beat only on a turn change or every 30 s (was every second: 500+ ticker lines per
939
+ # session log); Bash doctrine gains a dependency-manifest rule (live-database-cutover swapped psycopg2-binary for a source build and the
940
+ # grader's fresh install failed). Bench-side (not levers): the adapter sets CORTEX_STATE_DIR=/tmp/.cortex-state so a model's git
941
+ # commands in /app can never clobber the live session (R155 belt-and-braces); bootstrap-executor.sh gates on vCPU per lane
942
+ # (TB2_MIN_VCPU_PER_LANE=3, TB2_VCPU_AUTOSCALE) and passes TB2_VERIFIER_TIMEOUT_MULT (default 2x) as harbor --verifier-timeout-multiplier.
918
943
  #CORTEX_HERDR_REPORTING=
919
944
  #CORTEX_HERDR_AGENT_NAME=
920
945
  #CORTEX_HERDR_BIN=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cortex/cli",
3
- "version": "4.109.0",
3
+ "version": "4.111.0",
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.109.0",
22
+ "@nexus-cortex/core": "4.111.0",
23
23
  "chalk": "^4.1.2",
24
24
  "cli-spinners": "^2.9.0",
25
25
  "commander": "^11.0.0",