Skip to content

feat(cli): help text, daemon-health-rollup, project-status, E2E tests (closes #1)#2

Merged
Shooksie merged 2 commits intomainfrom
feat/cli-polish
Apr 1, 2026
Merged

feat(cli): help text, daemon-health-rollup, project-status, E2E tests (closes #1)#2
Shooksie merged 2 commits intomainfrom
feat/cli-polish

Conversation

@Shooksie
Copy link
Copy Markdown
Contributor

@Shooksie Shooksie commented Apr 1, 2026

Summary

  • Help text on all 51 commands — every subcommand now has a #[command(about = "...")] description visible in --help; previously only mcp-serve had one
  • daemon-health-rollup — new command that aggregates desired vs observed daemon state fleet-wide: total / desired_running / observed_running / aligned / degraded / unobserved; addresses the health visibility gap in the P1 fleet management story
  • project-status — new command that returns a single project's metadata + daemon desired/observed state in one call; supports --refresh for a live daemon poll
  • 5 E2E integration tests in tests/founder_bootstrap.rs covering the full founder setup flow: db-init → team-create → project-create → project-list → founder-overview → daemon-health-rollup → project-status (including error path for missing project)

Test plan

  • cargo test passes — 61 tests, 0 failures (56 pre-existing + 5 new)
  • ao-fleet --help shows one-line descriptions for every subcommand
  • ao-fleet daemon-health-rollup --help shows rollup description
  • ao-fleet project-status --help shows status description

🤖 Generated with Claude Code

Shooksie and others added 2 commits April 1, 2026 06:11
… tests

- Add `#[command(about = "...")]` to all 51 subcommand structs (was missing
  on every command except mcp-serve); `--help` now shows meaningful
  one-line descriptions for all 49 commands
- Add `daemon-health-rollup` command: aggregates desired vs observed daemon
  state across the fleet (total / desired_running / observed_running /
  aligned / degraded / unobserved) — critical for the P1 fleet story
- Add `project-status` command: shows a single project's daemon state
  (desired + observed) plus project metadata in one call
- Expose CLI handlers via `lib.rs` so integration tests can import them
- Add `tests/founder_bootstrap.rs` with 5 E2E tests covering the full
  founder bootstrap flow: db-init → team-create → project-create →
  project-list → founder-overview → daemon-health-rollup → project-status
- 61 tests pass (56 pre-existing + 5 new), zero regressions

Closes #1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Shooksie Shooksie merged commit ef72faf into main Apr 1, 2026
1 check passed
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