@nexus-cortex/cli 4.90.2 → 4.91.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.example +9 -1
  2. package/package.json +2 -2
package/.env.example CHANGED
@@ -7,7 +7,7 @@
7
7
  # ║ .cortex/bench/r-*.md. K=5 CONFIG (settled 2026-09-03 @4.90.1, r-v4-validation): ║
8
8
  # ║ ON set + CORTEX_ENDTURN_GATE=true + CORTEX_ENDTURN_REQUIREMENTS=strict + ║
9
9
  # ║ ENABLE_WEBTOOLS=false (bench pin) + VISION_HELPER_MODEL on + TOOL_TIMEOUT_MODE=auto; ║
10
- # ║ MENTOR_AUTO / EFFORT_TAIL / EFFORT_PULSE dark. Pin nexus-cortex@4.90.1 (4.90.0's ║
10
+ # ║ MENTOR_AUTO / EFFORT_TAIL / EFFORT_PULSE dark. Pin nexus-cortex@4.90.2 (4.90.0.s ║
11
11
  # ║ timeout-promote was inert). Both models. ║
12
12
  # ╚══════════════════════════════════════════════════════════════════════════════════╝
13
13
  # Copy to .env and fill in the API keys for the providers you use. Every other value
@@ -271,6 +271,10 @@ MENTORSHIP_HELPER_MODEL=deepseek-v4-pro
271
271
  # montage of individually LABELED squares (def-a3e7920cf9): grid/crop-aware prompts beat whole-image reads; a stronger
272
272
  # vision card is the next lever once available.
273
273
  VISION_HELPER_MODEL=deepseek-v4-flash-vision-exp
274
+ # Per-turn cap on ReadImage→vision-helper hand-offs (0 = unlimited). Past the cap ReadImage returns a
275
+ # "consolidate your reads into ONE labeled montage / change approach" reminder instead of another vision call.
276
+ # [LEDGER 2026-09-03 @4.91.0] ON=8 (NEW) — v4 gcode-to-text: 14 (flash) / 34 (pro) slice reads burned the whole task budget without converging (def-fcb719427f); chess flash passed with 6 reads. Cap event kind: vision_handoff_capped. Measure at k=5 (gcode budget_frac, chess flips).
277
+ VISION_HANDOFF_MAX=8
274
278
  # Periodic mentorship review every N turns
275
279
  MENTORSHIP_TURN_BASED_ENABLED=false
276
280
  # Turns between periodic reviews (1-50)
@@ -754,6 +758,10 @@ CORTEX_SURRENDER_NUDGE=true
754
758
  # N-in-window → one diversify nudge; 2N → break. Default off; bench/serving arm it.
755
759
  # [LEDGER 2026-09-02 @4.89.0] ON — guard stack; the retry-loop ladder (retry_loop = 65-74% of fails pre-guards). Code defaults NEARDUP_NUDGE_AT=12 (8 regressed rstan-class grinds) / NEARDUP_WINDOW=30 (break rung unreachable at 20).
756
760
  CORTEX_NEARDUP_BREAKER=true
761
+ # Slice-reader nudge: after the 3rd bash slice-read (sed -n N,Mp / head -n / tail -n) of the SAME file in a session,
762
+ # append a one-line reminder to read the file once with Read (offset/limit) instead. Event kind: slice_read.
763
+ # [LEDGER 2026-09-03 @4.91.0] ON (NEW) — doctrine gap flagged 08-29 (A′ doctrine-mine) and recurring in v4 make-doom on BOTH models (5 sed slices of /app/vm.js each); the Bash description's Read-preference line alone does not hold under the bash-edit frame. Post-tool reminder = no turn-1 prompt mass.
764
+ CORTEX_SLICE_NUDGE=true
757
765
  # [LEDGER 2026-09-02 @4.89.0] code default 30 (4.88.0) — 20 made the break rung (2N=24) unreachable; preserves 40%/80% density semantics.
758
766
  #NEARDUP_WINDOW=30
759
767
  # [LEDGER 2026-09-02 @4.89.0] code default 12 (4.88.0) — 8 misfired on persistence-wins grinds (rstan-to-pystan regressed both arms).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexus-cortex/cli",
3
- "version": "4.90.2",
3
+ "version": "4.91.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.90.2",
22
+ "@nexus-cortex/core": "4.91.0",
23
23
  "chalk": "^4.1.2",
24
24
  "cli-spinners": "^2.9.0",
25
25
  "commander": "^11.0.0",