Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .console/log.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,11 @@ board, queue, backend rows, action submenu, log view header.

## 2026-05-08 — Global Gate three-liner; Execution Budget → Global Rate (single-line); spacers + ≥ spacing


## 2026-05-08 — Reorder pane sections by operator timeline

Swapped board ↔ campaigns in section build order. Final timeline:
Workers / Active (Present) → Recent (Past) → Campaigns / Board / Queue
(Future) → Global Rate / Backend Limits (Capacity) → Services (Infra)
→ System Resources / Global Gate (bottom-anchored).

30 changes: 15 additions & 15 deletions src/operator_console/watcher_status_pane.py
Original file line number Diff line number Diff line change
Expand Up @@ -874,21 +874,7 @@ def _build_sections(
recent_lines.append((f" {icon} {ts} {_tc(role):<10} {tag:<22} {title}", attr))
sections.append({"id": "recent", "lines": recent_lines, "sel_local": -1})

# ── board ──
board_items = plane.get("board", [])
if board_items:
board_lines: list[tuple[str, int]] = [
(f" Board ({len(board_items)} Queued)", C["HEAD"] | curses.A_BOLD),
]
for item in board_items:
repo = _tc(item.get("repo", "?"))[:14]
state = item.get("state", "")
icon = "·" if "backlog" in state.lower() else "→"
title = item.get("title", "?")[:max(w - 20, 8)]
board_lines.append((f" {icon} {repo:<14} {title}", C["DIM"]))
sections.append({"id": "board", "lines": board_lines, "sel_local": -1})

# ── campaigns ──
# ── campaigns ── (Future — high-level workstreams)
campaigns = data.get("campaigns", [])
if campaigns:
camp_lines: list[tuple[str, int]] = [
Expand All @@ -906,6 +892,20 @@ def _build_sections(
camp_lines.append((f" {icon} {slug}", attr))
sections.append({"id": "campaigns", "lines": camp_lines, "sel_local": -1})

# ── board ── (Future — items in motion)
board_items = plane.get("board", [])
if board_items:
board_lines: list[tuple[str, int]] = [
(f" Board ({len(board_items)} Queued)", C["HEAD"] | curses.A_BOLD),
]
for item in board_items:
repo = _tc(item.get("repo", "?"))[:14]
state = item.get("state", "")
icon = "·" if "backlog" in state.lower() else "→"
title = item.get("title", "?")[:max(w - 20, 8)]
board_lines.append((f" {icon} {repo:<14} {title}", C["DIM"]))
sections.append({"id": "board", "lines": board_lines, "sel_local": -1})

# ── queue ──
queue = data.get("queue", [])
if queue:
Expand Down
Loading