@nexus-cortex/cli 4.124.8 → 4.124.10

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 +16 -0
  2. package/package.json +2 -2
package/.env.defaults CHANGED
@@ -1196,8 +1196,24 @@ CORTEX_ENDTURN_GATE=true
1196
1196
  # justifying `why` (≥ 20 chars) — the writer is told to resend with the reason. Chooser: `unsafe` names the concrete cases (Jev scored the
1197
1197
  # freecad C-d at unsafe 0.34 under the old wording — the miss that started R180); new `questionable` ("would c1 lose work already produced?")
1198
1198
  # ≥ 0.5 → restrict to templates + full screen unless `why` justifies c1. Banked guard outcomes: blocked / held / allowed_by_why / allowed_by_jev.
1199
+ # [LEDGER 2026-09-22 @4.124.9] R184 MENU DIVERSITY (operator: "fix the chooser then!"). E2 field, 3371 frame turns: the writer gave ONE candidate
1200
+ # on 89% (2 on 10%, 3 on 0.8%) — Jev chose c1 85%, a template 12%, c2/c3 on 93 turns; the chooser had no menu. CORTEX_FRAME_MIN_CANDIDATES (1..3;
1201
+ # unset = 2 when the chooser is on and the cap allows): fewer distinct candidates (normalized keystrokes) → the turn is handed back UNEXECUTED
1202
+ # with "MENU NEEDS ALTERNATIVES: 2–3 genuinely different actions", once per turn, at most 5 re-asks per session, then fail-open (single candidates
1203
+ # run as given). Turn-0 contract gains a THE MENU clause when min ≥ 2. Banked on frame_turn: distinctCandidates, diversityReasks, diversityReask.
1204
+ # Cost bound: ≤ 5 extra writer calls per session. E3 (chooser with a real menu) is the next cell; E1/E2 cells stay on 4.124.4/.5.
1199
1205
  #CORTEX_FRAME_CONTRACT_EXTRA=
1206
+ # [LEDGER 2026-09-22 @4.124.10] R185 CANDIDATE AUTHOR (operator: the turn-prediction slot wired into a proper chooser, as R178 §1 framed it —
1207
+ # "predict the agent, not the human"). CORTEX_FRAME_AUTHOR=off|helper (unset = helper when the chooser is on): whenever the writer offers fewer
1208
+ # distinct candidates than CORTEX_FRAME_CANDIDATES, the helper model (HELPER_MODEL_ID, thinking off, ≤400 output tokens, one call ~2–4 s) is
1209
+ # given the task, state card, screen tail and the writer's own analysis/plan/candidates and asked for the missing number of GENUINELY DIFFERENT
1210
+ # next actions (LABEL | KEYS | WAIT | WHY lines). They join the menu as source `predictor` (ids continue the c-numbering), pass the keystroke
1211
+ # guard and named-template resolution like writer candidates, and Jev picks among writer + author + templates; the escape stays the writer's c1.
1212
+ # With an author present the R184 re-ask does not fire. Banked per frame_turn: authored, authorMs, author; meta.pickSource. Cost ≈ one helper
1213
+ # call per turn where the writer gave one candidate (89% of E2 turns): ~$0.0005 and ~3 s each. Cell E3 = this + chooser on, pin 4.124.10.
1200
1214
  #CORTEX_FRAME_KEY_GUARD=
1215
+ #CORTEX_FRAME_MIN_CANDIDATES=
1216
+ #CORTEX_FRAME_AUTHOR=
1201
1217
  # (no lever) R169 HB-NEARDUP-SCRATCH-STEM — REFUTED before shipping (2026-09-17, pilot-12 trajectory replay). The distiller's 16
1202
1218
  # "repeated-identical-retry" candidates were re-read: the two stuck sessions (coq-block-bound base arm: `cat > /tmp/tN.v <<EOF` with a
1203
1219
  # DIFFERENT proof body each attempt; rs-archive-clone: 191 distinct `python3 -c` bodies) are unconverged EXPLORATION, not retries —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cortex/cli",
3
- "version": "4.124.8",
3
+ "version": "4.124.10",
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.8",
22
+ "@nexus-cortex/core": "4.124.10",
23
23
  "chalk": "^4.1.2",
24
24
  "cli-spinners": "^2.9.0",
25
25
  "commander": "^11.0.0",