Development record
ultra-v0.6.8 follow-up (review of the branch): registerRepo in internal/core/ahoy/apply.go appends the raw lock error to the install receipt's change-notes ('history registration for <sha> skipped (' + lockErr.Error() + ')'), and that error carries the absolute lock path under the user's home (~/.abcd/history/...), so the receipt and --json output name the home directory and username — bypassing the receiptPath scrub that note() routes every written path through. The same shape recurs in recordAttributionOptIn's new notes (an os.PathError naming <repo>/.abcd/config.json). Fix: render every change-note that embeds an error through receiptPath, whose embedded-root pass covers sentences.
ultra-v0.6.8 follow-up (review of the branch): registerRepo in internal/core/ahoy/apply.go appends the raw lock error to the install receipt's change-notes ('history registration for <sha> skipped (' + lockErr.Error() + ')'), and that error carries the absolute lock path under the user's home (~/.abcd/history/...), so the receipt and --json output name the home directory and username — bypassing the receiptPath scrub that note() routes every written path through. The same shape recurs in recordAttributionOptIn's new notes (an os.PathError naming <repo>/.abcd/config.json). Fix: render every change-note that embeds an error through receiptPath, whose embedded-root pass covers sentences.
Frontmatter
| id | iss-2608291941060605 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2608291941060605-install-change-notes-embed-unscrubbed.md
open on GitHub ↗ · commit history ↗