Development record
ahoy's stepRules (internal/core/ahoy/apply.go stepRules) writes the empty .abcd/rules.json skeleton through writeRepoJSON (an atomic rename, no re-check) after the interactive prompt phase, so a rules.json written after detection set rules.missing (detect.go) is replaced by the empty-domains skeleton and the receipt says it wrote rules: a silent loss of a hand-written override, with the whole prompt phase as the window.
issueresolvedminoriss-2609281931185016
ahoy's stepRules (internal/core/ahoy/apply.go stepRules) writes the empty .abcd/rules.json skeleton through writeRepoJSON (an atomic rename, no re-check) after the interactive prompt phase, so a rules.json written after detection set rules.missing (detect.go) is replaced by the empty-domains skeleton and the receipt says it wrote rules: a silent loss of a hand-written override, with the whole prompt phase as the window.
Grounds
- pursued: a rules.json written after detection survives ahoy's apply byte for byte and the receipt carries no rules write; TestRulesSkeletonNeverReplacesARulesFileWrittenMeanwhile going red again, or a rules write reported for a kept file, would show it wrong
Frontmatter
| id | iss-2609281931185016 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609281931185016-ahoy-s-steprules-internal-core-ahoy.md
open on GitHub ↗ · commit history ↗