Files
club-3090/scripts
noonghunna ee573f6cc4 feat(c3): cluster view in the Operate pane — C1 (#610 Phase C)
The cockpit surface for multi-model clusters: the Operate/Orch pane now
groups estate instances (clusters) with their GPUs stacked and a placement
health badge fed by the Phase-A assertion.

- estate_cli.py D3 (#610 addendum 3): report-state's active_estate.instances
  now carries a per-instance placement verdict {requested, actual,
  placement} (only probed for RUNNING instances). ONE source feeds both
  cluster.sh status and the cockpit — no second poll.
- app.py C1: _populate_clusters renders a #cluster-view block below the
  serving line — per cluster a header (● name · slug · :port · badge) with
  GPUs stacked beneath (└─ GPU0 GPU1) + a trailing free-GPU line. The badge
  is the Phase-A verdict: ✓ placed / ⚠ PLACEMENT MISMATCH, so the view shows
  where clusters ACTUALLY landed (the failure mode that opened #610). Hidden
  when the estate declares no clusters — the single-model case is unaffected.
- test-cluster-view headless: grouping + GPU stacking + ✓/⚠ badges + free
  line; empty-when-no-clusters. Serving-panel siblings unaffected.

LIVE-VERIFIED (2x3090): cluster.sh up chat → report-state carries
placement=ok → C1 renders ✓ placed. 8 headless + 239 fast c3 + estate
guards green.

Design: /opt/ai/docs/serve-cockpit-design.md §10 (C1 shipped; C2 wizard is
the remaining Phase-C piece — the CLI wizard covers the capability today).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EfF565T9eSLaqGzidyJ1Pm
2026-07-07 01:27:58 +00:00
..