Skip to content

add: solvent status — live at-a-glance agent summary#39

Merged
ianalloway merged 2 commits into
mainfrom
claude/solvent-status
Jun 30, 2026
Merged

add: solvent status — live at-a-glance agent summary#39
ianalloway merged 2 commits into
mainfrom
claude/solvent-status

Conversation

@ianalloway

Copy link
Copy Markdown
Owner

Summary

  • New solvent/status.py: prints a live snapshot of treasury balance, revenue, margin, job counts by status, last job topic/time, and API key presence
  • --watch N auto-refreshes every N seconds (default 5) with screen-clear — replaces a poor-man's TUI when rich isn't installed
  • --json for scripting / monitoring integrations
  • Pure stdlib, works in the zero-dep core install
  • Wired into __main__.py as solvent status

Command triangle:

  • solvent status — quick operational snapshot (this PR)
  • solvent doctor — deep install/stack diagnostics
  • solvent finance — full income statement + runway forecast

Test plan

  • python3 -m pytest tests/test_status.py -v → 24 passed
  • python3 -m pytest -q → 321 passed, 6 skipped
  • solvent status prints balance, job counts, API key grid
  • solvent status --json outputs valid JSON with balance_cents
  • solvent status --watch 2 refreshes and clears screen on Ctrl-C

🤖 Generated with Claude Code

https://claude.ai/code/session_01SGjM79GJpSksy9wSSBa7e6


Generated by Claude Code

New command that prints treasury balance, revenue, margin, job counts
by status, last job activity, and API key presence — all in one screen.
--watch auto-refreshes every N seconds (default 5). --json for scripts.

Complements doctor (deep diagnostics) and finance (accounting detail)
with a quick operational snapshot. Pure stdlib, no optional extras.

24 tests cover helpers, gather(), format_status(), and CLI flags.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SGjM79GJpSksy9wSSBa7e6
@ianalloway ianalloway marked this pull request as ready for review June 30, 2026 16:31
Copilot AI review requested due to automatic review settings June 30, 2026 16:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ianalloway ianalloway merged commit 3953181 into main Jun 30, 2026
5 checks passed
ianalloway pushed a commit that referenced this pull request Jun 30, 2026
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.

3 participants