Skip to content

feat: add doctor subcommand for read-only optimization audit#2

Merged
cs50victor merged 1 commit into
mainfrom
feat/doctor-subcommand
May 30, 2026
Merged

feat: add doctor subcommand for read-only optimization audit#2
cs50victor merged 1 commit into
mainfrom
feat/doctor-subcommand

Conversation

@cs50victor

Copy link
Copy Markdown
Owner
  • Adds frd doctor: read-only audit of which catalog optimizations are applied; writes and runs nothing
  • Exits non-zero when any state-based optimization is pending, so it works as a CI / pre-commit check
  • Reuses status_of (now crate-visible) to classify items, mirroring the wizard's pending/applied split
  • Recurring Run actions (sweep) can't be detected as "done", so they're listed under Maintenance and excluded from the pass/fail verdict
  • New doctor module mirrors wizard as the other command's presentation; no new dependencies

Validation: cargo fmt/clippy/test clean; verified exit 1 on a fresh project and exit 0 against a fully-optimized fixture

@cs50victor cs50victor merged commit 3df3c85 into main May 30, 2026
1 check passed
@cs50victor cs50victor deleted the feat/doctor-subcommand branch May 30, 2026 19:04
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