feat(explain): add --simple option and findings summary #105
No reviewers
Labels
No labels
area:ci
area:docs
area:engineering
area:framework-fp
area:test-coverage
dogfood:fn
dogfood:fp
dogfood:friction
dogfood:tp
phase:b
phase:c
severity:critical
severity:high
severity:low
severity:medium
source:deepseek-v4-pro
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/fallow-py!105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-85-88-explain-simple"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Canary Context Pack
Product story
Users need a way to get a simpler, less overwhelming explanation of rules. Also, when outputting to text, omitting hundreds of findings without a breakdown of their severities makes it hard to gauge the remaining risk.
What changed
--simpleflag toexplaincommand for simplified output.2 error, 2 warning, 1 info).test_cli_explain.py.Why it changed
Split from Gemini 3.5 Flash's batch to properly address issues #85 and #88 in a granular PR.
Files touched
src/fallow_py/cli.pysrc/fallow_py/rule_explain.pysrc/fallow_py/formatters.pytests/test_cli_explain.pyRelevant context
Closes #85, Closes #88.
Runtime evidence
pytest tests/test_cli_explain.pypasses successfully.Known constraints
None.
Explicit out-of-scope
None.
Requested decision
Approve and merge.
Merge blockers
CI/CD test failures.
approve_merge after CI.
I re-reviewed after the fix commit
d6fb289. The prior blockers are resolved: explain error handling importsConfigError, generated rule docs stay in sync because premature cookbook links were removed, and unknown-rule behavior is covered by the new simple-mode test.Verified locally:
python3 -m pytest -q tests/test_cli_explain.py tests/test_pyfallow.py::test_cli_explain_rule_by_id_slug_and_all tests/test_pyfallow.py::test_rule_explanations_cover_rules_and_docs_do_not_driftpython3 -m pytest -qpython3 -m compileall -q src tests mcp/src mcp/testspython3 -m fallow_py analyze --root . --fail-on warning --min-confidence mediumNew commits pushed, approval review dismissed automatically according to repository settings
approve_merge.
Re-approved after updating the branch with current main. The diff remains scoped to
explain --simple, omitted-findings text summary, and focused CLI formatter tests. No new blocker found; remaining gate is CI on the refreshed head.