You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stack-review cannot build a ledger without a root .gitattributes #2036
Expected. The absent file contributes zero patterns. The ledger exits 0 with the same JSON as the omitted-option control, and findings reads it.
Actual.ledger exits 1 with FileNotFoundError and writes 0 bytes. findings exits 1 with JSONDecodeError. For the control, drop the --gitattributes option and its value, then rerun both commands.
Surface area (optional)
The fix belongs in the ledger CLI and its packaged copy. A readable attributes file contributes linguist-generated patterns. Directory and decoding errors still surface. A missing parent on an explicitly supplied attributes path warrants one stderr diagnostic before the fallback ledger is emitted.
Environment (optional)
Reproduced on Windows with Python 3.12.13 and Linux with Python 3.12.12, both with uv 0.11.14.
Generative AI disclosure. AI-assisted with Codex (GPT-6) for reproduction and drafting.
Activity