Files
club-3090/scripts/tests
noonghunnaandClaude Opus 4.8 bb2c30ebca c3 cockpit UX batch 3: honesty + serving actions (fit-vs-live-VRAM, real running config, targeted stop)
From the live-rig UX audit:

- A6 Catalog "fits" respects LIVE free-VRAM, not an empty card: a row whose vram_est
  exceeds live per-GPU free-VRAM (from the estate poll) is downgraded ●→⚠/✗ with a
  reason; with no live data the column reads "(vs empty card)". Never fabricates a
  free number; the live-serving model's own row is exempt (its VRAM is counted as
  used, so it is provably fitting).
- A7 Serving panel shows the REAL running config: probes /v1/models max_model_len
  (running ctx) + docker inspect image, and badges "config differs from catalog slug
  <slug>" only when the probe diverges from the slug's CONFIGURED ctx (registry
  max_ctx, exact int) — not the kv-calc fit ceiling. Registry-derived fields stay
  labelled "(per catalog slug)".
- A4 Targeted serving verbs: [k] stop / [b] restart resolve the serving container by
  matched_slug and route through the existing confirm/reconcile gate (vs [o] stop-ALL
  which kills co-resident services); [n] switch jumps to Run·Catalog.
- #4/N7 Doctor: [y] re-runs the (read-only) doctor read; the full-validation report is
  surfaced from Doctor; clear issues offer the obvious next action.
- A9 ③ Gate ladder shows each step's last outcome (·/⟳/✓/✗) from the run's exit.

Threads a new configured_ctx field through the registry --json contract
(registry-emit.sh → VariantRow → CatalogEntry) so the A7 badge compares the
configured ctx; unifies the K-label convention on registry-emit's ÷1000 so the
running-ctx and catalog labels match. All registry-parity gates pass.

Verified by an implement→gate→repair→verify→critic workflow; folded the findings: the
serving model's own row no longer false-"✗ won't fit"; the divergence badge compares
configured vs probed (not the fit ceiling) so an honest 262K serve on the 295K-fit
qwen doesn't false-badge; the ladder glyph awaits run completion before resolving
⟳→✓/✗ (was stuck at ⟳).

Suite green: cockpit 444; registry-json / switch- / launch-parity / compose-disk gates pass.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-21 00:58:44 +00:00
..