CLI: make --changed-only non-git feedback unambiguous #36
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/fallow-py#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Source
Triaged from DeepSeek v4 Pro audit via #35.
Problem
--changed-onlyis a deprecated alias for--since HEAD~1. In a non-Git workspace, current behavior can surface both:changed-only-deprecatedsince-not-available-non-gitThat is technically explainable but operator-hostile. The user asked for
--changed-only; the actionable message should say that diff-scoped analysis cannot be applied outside Git and that full analysis was used. The deprecation notice can be secondary or omitted in that path.Current references
src/pyfallow/cli.pyaround_apply_cli_config()tests/test_pyfallow.py--changed-onlyremains deprecated and--sinceis preferredTarget behavior
For
--changed-onlyinside a Git workspace:--since HEAD~1.For
--changed-onlyoutside a Git workspace:Acceptance criteria
--changed-onlyJSON output and stderr/debug behavior.--sincebehavior remains unchanged.--changed-onlycompatibility remains unchanged or is explicitly documented if changed.--changed-onlybeing deprecated.Out of scope
--changed-onlyentirely.codex referenced this issue2026-05-12 08:37:36 +02:00