feat(cli): help text, daemon-health-rollup, project-status, E2E tests (closes #1)#2
Merged
feat(cli): help text, daemon-health-rollup, project-status, E2E tests (closes #1)#2
Conversation
… 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#[command(about = "...")]description visible in--help; previously onlymcp-servehad onedaemon-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 storyproject-status— new command that returns a single project's metadata + daemon desired/observed state in one call; supports--refreshfor a live daemon polltests/founder_bootstrap.rscovering 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 testpasses — 61 tests, 0 failures (56 pre-existing + 5 new)ao-fleet --helpshows one-line descriptions for every subcommandao-fleet daemon-health-rollup --helpshows rollup descriptionao-fleet project-status --helpshows status description🤖 Generated with Claude Code