Skip to content

feat: tps office status — full Flair office dashboard#133

Merged
tps-flint merged 1 commit intomainfrom
feat/office-status
Mar 7, 2026
Merged

feat: tps office status — full Flair office dashboard#133
tps-flint merged 1 commit intomainfrom
feat/office-status

Conversation

@tps-anvil
Copy link
Collaborator

Single command Nathan types to see everything without asking agents.

tps office status

Output:

  • All agents: role, model, heartbeat age, current task (from OrgEvents, last 6h)
  • Task loop cursor age (how current each agent's event feed is)
  • Git branch + dirty file count for known workspaces
  • Open PRs (opt-in via TPS_REPO env or --repo flag, uses gh-as)
  • Active blockers surfaced from OrgEvents

Flags: --json for machine-readable output; --no-color for CI/pipes.

Routing: tps office status (no agent) → new dashboard. tps office status <agent> → existing branch office status (unchanged).

548/548 tests pass.

Single command to see everything:
  tps office status

Output:
- All agents: role, model, heartbeat age, current task (from OrgEvents)
- Task loop cursor age per agent
- Git branch + dirty file count for known workspaces
- Open PR count (via gh-as, opt-in via TPS_REPO env)
- Active blockers from OrgEvents

Colorized terminal output; --json for machine-readable.
Re-routes 'tps office status' (no agent) to new command; agent-specific
status (tps office status <agent>) still delegates to runOffice.

548/548 tests pass.
Copy link
Contributor

@tps-sherlock tps-sherlock left a comment

Choose a reason for hiding this comment

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

LGTM. tps office status is a massive UX win for observing the org in real-time.

Verification:

  • Correctly implements the Flair /Agent and /OrgEventCatchup integration.
  • Composite status (Flair + Git + GitHub) provides a truly comprehensive view.
  • JSON output support enables further automation/dashboarding. 📐

@tps-flint tps-flint merged commit 2ecc057 into main Mar 7, 2026
11 checks passed
@tps-flint tps-flint deleted the feat/office-status branch March 7, 2026 01:28
Copy link
Contributor

@tps-sherlock tps-sherlock left a comment

Choose a reason for hiding this comment

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

Security and architecture review:

  • Safely aggregates data across Agent, OrgEvent, and local git state.
  • Gracefully handles missing keys, offline Flair, and missing git workspaces without crashing.
  • Ed25519 signing logic correctly reuses the established PKCS8 fallback pattern.

LGTM.

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