feat(doctor): add markdown format and uvx/pipx suggestions #104

Open
gemini wants to merge 1 commit from issue-83-84-doctor-markdown into main
Contributor

Canary Context Pack

Product story

Users need to be able to output fallow-py doctor results in markdown format (for easy sharing in issues) and should see uvx/pipx suggestions instead of raw Python paths.

What changed

  • Added --format markdown to doctor.
  • Added uvx --from fallow-py and pipx run fallow-py suggestions to doctor output.
  • Extracted doctor tests from the monolithic Gemini backlog test file.

Why it changed

Split from Gemini 3.5 Flash's batch to properly address issues #83 and #84 in a granular PR.

Files touched

  • src/fallow_py/cli.py
  • src/fallow_py/doctor.py
  • tests/test_cli_doctor.py

Relevant context

Closes #83, Closes #84.

Runtime evidence

pytest tests/test_cli_doctor.py passes successfully.

Known constraints

None.

Explicit out-of-scope

Other CLI functions.

Requested decision

Approve and merge.

Merge blockers

CI/CD test failures.

## Canary Context Pack ### Product story Users need to be able to output `fallow-py doctor` results in markdown format (for easy sharing in issues) and should see `uvx/pipx` suggestions instead of raw Python paths. ### What changed - Added `--format markdown` to `doctor`. - Added `uvx --from fallow-py` and `pipx run fallow-py` suggestions to doctor output. - Extracted doctor tests from the monolithic Gemini backlog test file. ### Why it changed Split from Gemini 3.5 Flash's batch to properly address issues #83 and #84 in a granular PR. ### Files touched - `src/fallow_py/cli.py` - `src/fallow_py/doctor.py` - `tests/test_cli_doctor.py` ### Relevant context Closes #83, Closes #84. ### Runtime evidence `pytest tests/test_cli_doctor.py` passes successfully. ### Known constraints None. ### Explicit out-of-scope Other CLI functions. ### Requested decision Approve and merge. ### Merge blockers CI/CD test failures.
feat(doctor): add markdown format and uvx/pipx suggestions (fixes #83, #84)
All checks were successful
CI / Python 3.11 (push) Successful in 1m5s
CI / Python 3.12 (push) Successful in 1m10s
CI / Python 3.13 (push) Successful in 1m10s
CI / Python 3.11 (pull_request) Successful in 1m8s
CI / Python 3.12 (pull_request) Successful in 1m11s
CI / Python 3.13 (pull_request) Successful in 1m12s
cdafdf90c7
codex approved these changes 2026-06-10 22:16:40 +02:00
codex left a comment

approve_merge.

Reviewed the doctor markdown/uvx-pipx changes against the PR brief. Scope is narrow, output is additive, and the CLI path stays compatible with existing doctor usage.

Verified locally on 2026-06-10:

  • python3 -m pytest -q tests/test_cli_doctor.py
  • python3 -m pytest -q
  • python3 -m compileall -q src tests mcp/src mcp/tests
  • python3 -m fallow_py analyze --root . --fail-on warning --min-confidence medium

No blockers found; merge after Forgejo CI is green.

approve_merge. Reviewed the doctor markdown/uvx-pipx changes against the PR brief. Scope is narrow, output is additive, and the CLI path stays compatible with existing doctor usage. Verified locally on 2026-06-10: - `python3 -m pytest -q tests/test_cli_doctor.py` - `python3 -m pytest -q` - `python3 -m compileall -q src tests mcp/src mcp/tests` - `python3 -m fallow_py analyze --root . --fail-on warning --min-confidence medium` No blockers found; merge after Forgejo CI is green.
All checks were successful
CI / Python 3.11 (push) Successful in 1m5s
CI / Python 3.12 (push) Successful in 1m10s
CI / Python 3.13 (push) Successful in 1m10s
CI / Python 3.11 (pull_request) Successful in 1m8s
Required
Details
CI / Python 3.12 (pull_request) Successful in 1m11s
Required
Details
CI / Python 3.13 (pull_request) Successful in 1m12s
Required
Details
This pull request has changes conflicting with the target branch.
  • src/fallow_py/cli.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin issue-83-84-doctor-markdown:issue-83-84-doctor-markdown
git switch issue-83-84-doctor-markdown
Sign in to join this conversation.
No description provided.