Files
club-3090/scripts
noonghunnaandClaude Opus 4.8 38227cea93 c3 Orchestration: power-cap menu, remove prune, move cap-sweep to Doctor
Reworks the Orchestration tab's control set per maintainer direction:

- Power cap → a MENU ([c] opens PowerCapMenuScreen) instead of a stateful on/off
  toggle: [d] apply default cap (230W) · [u] clear cap (uncap to hw default) ·
  [m] custom wattage (type a value).  Each choice routes through the standard
  confirm gate.  gpu-mode.sh power-cap now ALSO accepts a numeric wattage (applied
  to both cards, validated against each card's [min,max]); power_cap_set(<W>)
  builds it.  (The menu blurs its Input on open + uses priority shortcut bindings
  so d/u/m reach the screen — a focused Input otherwise swallows printable keys.)
- Prune / prune-all REMOVED from the cockpit (was Orchestration-only): binding,
  action, palette entry, help/footer text, the prune() service method + its tests.
  `gpu-mode prune[-all]` stays on the CLI for manual cleanup.
- Power-cap SWEEP [w] moved Orchestration → Doctor (a tuning/diagnostic bench, not
  a live-estate control): context-gate → tab-doctor, action guard updated, surfaced
  in the Doctor hint + help.
- Help/docstrings refreshed (Orchestration + the stale Doctor help line now lists
  the real v/V/R/F verbs + the relocated [w]).

Scene start/stop path unchanged (⏎ → reconcile-gated scene_switch → gpu-mode
<mode>).  +3 power-cap tests (menu→default/clear/custom, cap-sweep on Doctor),
power_cap_set custom-wattage + reject-invalid tests; per-tab check_action updated.
Suite: serve-cockpit 670 (+1 skip), tui-core 66.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-22 16:17:59 +00:00
..
…