@nexus-cortex/cli 4.106.2 → 4.107.1

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 +19 -0
  2. package/package.json +2 -2
package/.env.defaults CHANGED
@@ -322,6 +322,8 @@ MENTORSHIP_HELPER_MODEL=deepseek-flash
322
322
  # +17pp, cell-d-k3 judges) was measured with thinking OFF on the wire despite the "@max" configs (HB-MENTOR-THINKING); the
323
323
  # plans were real and non-empty even so. `none` reproduces that baseline. cell-m A/Bs {pro, deepseek-flash} × {on, none}.
324
324
  #CORTEX_MENTOR_REASONING=on
325
+ # [LEDGER 2026-09-11 @4.107.0] cell-n-r1 (TB2.1 hard core 13 tasks x K=2, n~25/arm, $17.92 peak): CONTROL WINS — flash-none 10/24 (0.42) vs pro-high 9/25, flash-high 7/25, flash-max 7/26, fh-plan (planner on/resolver off) 7/25. Thinking-on resolvers false-accept ~50% vs 20% off; every thinking-on config costs 45-150 s per mentor call. STATUS: `none` CONFIRMED for the k=5; thinking-on DARK. Ledger .cortex/bench/r-cell-n-r1-2026-09-11.md
326
+ # [LEDGER 2026-09-11 @4.106.1] cell-m-r1 (5 arms, n=8): DELIVERY FIXED for flash — flash-high 18/18 mentor calls delivered (11 thinking-on, 7 thinking-off-retry at the 16K cap); flash-max/pro-high hit the 90 s surface timeouts (→ 4.106.2). Rates: thinking-on arms 5/8 ×3 vs none 4/8, 3/8 — direction only, CIs overlap. STATUS: `none` stays the k=5 COMMON; proper A/B = flash-none vs flash-high on 4.106.2 + ALLOWANCE=16000, hard core K=3 (operator go).
325
327
  # [LEDGER 2026-09-10 @4.105.0] cell-m pilot (8 arms, n=4): `on` is BROKEN for DeepSeek planners as shipped — reasoning shares max_tokens (4000), so pro@low/high/max returned 0/10 lift plans + 1/8 resolver verdicts (blank after 50-75 s) and flash 3/10 + 2/9; every blank verdict fail-opened to MEETS. `none` = 8/8 plans, 12/12 verdicts, 5-9 s. STATUS: keep `none` (k=5 COMMON) until HB-MENTOR-BUDGET ships (max_tokens = content budget + reasoning allowance; finish_reason=length → retry thinking-off). Ledger .cortex/bench/r-cell-m-2026-09-10.md
326
328
  # CORTEX_MENTOR_CONSULT_REASONING — on|none. The AskForAdvice consult hint (400-token budget). Default none: the
327
329
  # 08-30 measurement — thinking-on hints came back BLANK (reasoning ate the budget); the m88 results were thinking-off.
@@ -347,12 +349,28 @@ MENTORSHIP_HELPER_MODEL=deepseek-flash
347
349
  # completion_tokens 2045 = 1641 reasoning + ~400 content). UNTESTED on the bench — the flash-none vs flash-high re-pilot
348
350
  # (K=2) is the efficacy test; until then CORTEX_MENTOR_REASONING=none stays the k=5 COMMON.
349
351
  #CORTEX_MENTOR_REASONING_ALLOWANCE=
352
+ # [LEDGER 2026-09-11 @4.107.0] cell-n-r1 at 16000 (cap 20K): flash@high/max still truncated ~30% (retry rescued, ~100 s); reasoningTok p90 16.8K/15.3K. Moot while thinking-on is DARK.
353
+ # [LEDGER 2026-09-11 @4.106.1] cell-m-r1: flash@high thinking-on calls used 10.2K/10.6K reasoning tokens (med/p90) when they delivered and hit the 16K cap on 7/18 → 12K is ~50% short for flash@high; set 16000 on the next run (cap 20K). flash@max delivered at 3.8K/13.4K under 28K.
350
354
  # CORTEX_MENTOR_THINKING_TIMEOUT_MS — integer ms (4.106.2). A thinking-on mentor call (lift planner / EndTurn resolver / loop-exit
351
355
  # planner) races against max(surface timeout, this); the FIRST request is aborted at 60% of it so the thinking-off retry always
352
356
  # fits, and the event banks abortedFirstCall. Empty = per-effort table low 120000 / medium 180000 / high 240000 / max 300000.
353
357
  # [LEDGER 2026-09-10 @4.106.2] BUILT from cell-m-r1 (4.106.1): pro@high and flash@max reasoned past the 90 s surface timeouts →
354
358
  # banked deliveredBy=none (the retry never ran); flash@high delivered 6 thinking-on + 6 thinking-off-retry. UNTESTED on the bench.
355
359
  #CORTEX_MENTOR_THINKING_TIMEOUT_MS=
360
+ # [LEDGER 2026-09-11 @4.107.0] cell-n-r1: 0 `none` deliveries (the wall is gone); pro@high aborted at 144 s (60% of 240 s) on 38/50 calls — pro cannot answer inside the first-call share on these prompts. Moot while thinking-on is DARK.
361
+ # PER-SURFACE REASONING SWITCH (4.107.0) — on|none per mentor surface, wins over CORTEX_MENTOR_REASONING; empty = follow the
362
+ # global lever. Built from the cell-m-r1 quality read (ledger §6): thinking-ON lift plans are task-specific/adversarial, the
363
+ # thinking-OFF resolver is the strict judge (0 false accepts) — "planner on, resolver off" is the candidate config.
364
+ # Also 4.107.0: the lift plan is handed to the resolver / deadline-exit / loop-exit judges as an ADVISORY anchor (the TASK wins
365
+ # on disagreement); events bank liftPlanChars.
366
+ # [LEDGER 2026-09-11 @4.107.0] BUILT; first bench test = cell-n-r1 arm `fh-plan` (CORTEX_LIFT_PLAN_REASONING=on +
367
+ # CORTEX_ENDTURN_RESOLVER_REASONING=none under CORTEX_MENTOR_REASONING=none).
368
+ #CORTEX_LIFT_PLAN_REASONING=
369
+ # [LEDGER 2026-09-11 @4.107.0] cell-n-r1 arm fh-plan (LIFT_PLAN_REASONING=on @high + resolver none): 7/25 vs control 10/24 — the thinking-on planner did not help on the hard core. DARK.
370
+ #CORTEX_ENDTURN_RESOLVER_REASONING=
371
+ #CORTEX_DEADLINE_EXIT_MENTOR_REASONING=
372
+ #CORTEX_LOOP_TOOL_BLOCK_REASONING=
373
+ # [LEDGER 2026-09-11 @4.106.2] evidence for the table: cell-m-r1 (4.106.1, 90 s surface): pro@high lift 0/7 delivered (all 91 s), resolver p90 90.9 s; flash@max 4/13 timed out. UNTESTED on the bench — first run on 4.106.2 must show abortedFirstCall + deliveredBy≠none on pro/max.
356
374
 
357
375
  # [LEDGER 2026-09-02 @4.90.0] ON — the VISION HAND-OFF (operator design): text-only primaries keep the ReadImage
358
376
  # tool; the orchestrator sends the image + the caller's `prompt` to this vision card THROUGH THE HELPER MIDDLEWARE
@@ -535,6 +553,7 @@ CORTEX_LIFT_NUDGE=true
535
553
  # per-step Bash timeouts from the box's REAL resources; fail-open to observations alone).
536
554
  # [LEDGER 2026-09-04 @4.91.1] BUILT DARK / FIRE-CHECKED — v1 shipped gated-off (typecheck clean, planner tests, orchestrator e2e 26/26 no-regression, core build clean). LIVE FIRE-CHECK PASSED (lift_plan event fired:true/planChars>0/criteriaStated:true; negative control clean). ISOLATED EVAL: plan quality EXCELLENT at max+4000 (criteria-anchored, adversarial, anti-self-test) — but caught max+1200=empty (defaults bumped to max/4000/90s). Still UNTESTED for pass-rate lift: needs the treatment bench (grind-retire + criteria-misalign score-lift) BEFORE trusting efficacy. Adapter must add these to its env passthrough or the bench arm runs dark. Keep false.
537
555
  # [LEDGER 2026-09-06 @4.93.0] ON (reson standard baseline). Part of the reson stack (GATE+REQ+LIFT+RESOLVER) that shipped through resolver-k5 (proven net-positive as a stack). NOTE: k5 held LIFT on in BOTH arms (shared baseline, not the A/B variable) — its independent efficacy stands from the 2026-09-04 isolated eval (plan quality excellent at max/4000); k5 ratifies the reson stack as standard, not LIFT in isolation.
556
+ # [LEDGER 2026-09-11 @4.107.1] PLANNER DOCTRINE +4 bullets (HB-PLAN-DOCTRINE, cell-n-r1 census): ONE INSTALL LAYER (uv owns venv+packages / bun / reuse what is present — no python→.venv→python stacks), LONG WAITS (background + poll ≤60 s, no minute-long sleeps), EXACT-OUTPUT (byte-level, never parse→re-serialize), EXPECTED LITERALS ARE LAW + graders re-parameterize (derive at run time, never bake constants). Prompt-only; efficacy = next hard-core run on 4.107.1 vs cell-n-r1 flash-none 10/24. Same release: EndTurn discoveryTier standard→essential (HB-ENDTURN-TIER, not a lever).
538
557
  CORTEX_LIFT_PLAN=true
539
558
  #CORTEX_LIFT_PLAN_EFFORT=max
540
559
  #CORTEX_LIFT_PLAN_BUDGET_TOKENS=4000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cortex/cli",
3
- "version": "4.106.2",
3
+ "version": "4.107.1",
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.106.2",
22
+ "@nexus-cortex/core": "4.107.1",
23
23
  "chalk": "^4.1.2",
24
24
  "cli-spinners": "^2.9.0",
25
25
  "commander": "^11.0.0",