Skip to content

Improve status output#14

Merged
cmtonkinson merged 1 commit intomainfrom
improve-status-output
Feb 14, 2026
Merged

Improve status output#14
cmtonkinson merged 1 commit intomainfrom
improve-status-output

Conversation

@cmtonkinson
Copy link
Owner

Summary

Implements #6 - Improves the gov status output with enhanced visual layout for better clarity and efficiency.

Changes

Two-Column Layout

  • Left: Supervisor status in bordered box
  • Right: Workers status in bordered box
  • Saves ~40% vertical space for operational status
  • Only activates when terminal width >= 100 columns (graceful fallback to single-column)

Clear Visual Separation

  • Each major section now has clear bordered boxes (requested: "literally draw boxes around them")
  • Distinct border colors for different sections
  • Better visual hierarchy and scanability

Recent Supervisor Logs

  • New section showing last 5 lines of supervisor logs
  • Placed below operational status, before tasks
  • Makes it easier to see what's happening without running gov why

Layout Structure

Overall Metrics
────────────────────────────────────────

┌─────────────────┐  ┌─────────────────┐
│  Supervisor     │  │  Workers (2)    │
│                 │  │                 │
│  Phase: start   │  │  PID  Role  ... │
│  State: running │  │  123  default   │
│  ...            │  │  456  reviewer  │
└─────────────────┘  └─────────────────┘

Recent Supervisor Logs
────────────────────────────────────────
[Last 5 lines of supervisor log]

Tasks
────────────────────────────────────────
backlog=5 merged=12 in-progress=3
[Task table]

Backward Compatibility

  • Plain text mode (piped/redirected output) unchanged
  • All visual enhancements only apply to TTY output
  • Tests pass without modification

Testing

  • ✅ All existing tests pass
  • ✅ Manual testing in terminals of various widths (80, 120, 200 cols)
  • ✅ Verified responsive layout fallback

🤖 Generated with Claude Code

Improve status output with enhanced visual layout:

- Two-column layout: supervisor on left, workers on right (when terminal width >= 100)
- Clear bordered boxes around each section for better visual separation
- Recent supervisor logs section (last 5 lines) below operational status
- Responsive design: falls back to single-column on narrow terminals
- All enhancements only in styled (TTY) output; plain text mode unchanged

Layout structure:
1. Overall Metrics (full-width)
2. Supervisor + Workers (side-by-side in boxes)
3. Recent Supervisor Logs (full-width, 5 lines)
4. Planning Steps (if applicable)
5. Tasks (full-width)

This saves significant vertical space and makes it easier to scan
supervisor and worker status simultaneously, addressing the request
to "literally draw boxes around" sections.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@cmtonkinson cmtonkinson merged commit 13b16aa into main Feb 14, 2026
2 checks passed
@cmtonkinson cmtonkinson deleted the improve-status-output branch February 15, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant