Development record
The pre-commit guard discards the sources refresh's stdout and stderr (>/dev/null 2>&1), so an older abcd that has the source verb but projects fewer patterns rewrites the generated block weaker and the commit prints nothing about it: a silent downgrade. A binary with no source verb prints 'refresh failed' on every commit, noise that teaches the committer to ignore the one line that matters. The guard should print the binary's one-line count, and one clear remedy line when the binary lacks the verb.
issueresolvedmajoriss-2609252007422630
The pre-commit guard discards the sources refresh's stdout and stderr (>/dev/null 2>&1), so an older abcd that has the source verb but projects fewer patterns rewrites the generated block weaker and the commit prints nothing about it: a silent downgrade. A binary with no source verb prints 'refresh failed' on every commit, noise that teaches the committer to ignore the one line that matters. The guard should print the binary's one-line count, and one clear remedy line when the binary lacks the verb.
Grounds
- pursued: a refresh that wrote fewer patterns is visible on the commit that ran it; a commit whose refresh output is missing, or a verb-less binary reported as a failure, would show it wrong
Frontmatter
| id | iss-2609252007422630 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | major |
.abcd/work/issues/resolved/iss-2609252007422630-the-pre-commit-guard-discards-the.md
open on GitHub ↗ · commit history ↗