Skip to content

Add sequant status CLI command #118

Closed

Description

@admarble

Summary

Add a CLI command to display current workflow state in the terminal — a quick-glance alternative to the web dashboard.

Usage

sequant status
# → Shows all tracked issues and their phases

sequant status 42
# → Shows detailed status for issue #42

sequant status --json
# → Output as JSON for scripting

Example Output

sequant status

 ISSUE   TITLE                    PHASE      STATUS
 #42     Add user authentication  qa         in_progress
 #58     Fix cart bug             exec       in_progress  
 #61     Refactor API             spec       completed

3 issues tracked · 2 in progress · 1 ready for next phase
sequant status 42

Issue #42: Add user authentication
Status: in_progress
Worktree: /path/to/worktrees/issue-42
Branch: feature/42-add-user-auth
PR: #87 (https://github.com/...)

Phases:
  ✓ spec      completed   2h ago
  ✓ exec      completed   45m ago
  ○ qa        in_progress started 10m ago

Loop: enabled (iteration 1/3)
Last activity: 2m ago

Implementation

  • Add src/commands/status.ts
  • Read from .sequant/state.json
  • Format with colors/symbols for terminal
  • Support --json for machine-readable output

Relationship to Dashboard

  • sequant status = quick CLI glance (stays in terminal)
  • sequant dashboard = web UI for deeper exploration
  • Both read from same state file

Acceptance Criteria

  • sequant status shows summary table of all issues
  • sequant status <number> shows detailed view for one issue
  • --json flag outputs JSON
  • Colored output for phase status (green=done, yellow=in_progress, etc.)
  • Graceful handling when no state file exists
  • Helpful message when no issues are tracked

Dependencies

Activity

  1. added
    cli
    enhancement
    on Jan 18, 2026
  2. admarble commented on Jan 18, 2026

    @admarble
    ContributorAuthor

    Completed in feature/dashboard branch (commit 78d221a). CLI now supports:

    • sequant status 42 - positional arg for issue detail
    • sequant status --issues - all tracked issues
    • sequant status --json - JSON output
    • sequant status --rebuild - rebuild from logs
    • sequant status --cleanup [--dry-run] [--max-age N] - cleanup stale entries

    Will be merged to main with the dashboard feature.

  3. added 4 commits that reference this issue on Jan 19, 2026
  4. added a commit that references this issue on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clienhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions