Development record
ultra-v0.6.8 A1: recordAttributionOptIn in internal/core/ahoy/attribution_hook.go returns silently when readConfig or writeConfig fails, so ahoy install --attribution writes the prepare-commit-msg hook to disk but attribution.hook: true never lands in config.json and the receipt still reports success. attributionOptedIn then returns false, no gap is raised, and every later plain install is a no-op for the hook — the silent degradation the opt-in exists to remove. Fix: append a change-note on each error path exactly as registerRepo does for its history-lock failure.
ultra-v0.6.8 A1: recordAttributionOptIn in internal/core/ahoy/attribution_hook.go returns silently when readConfig or writeConfig fails, so ahoy install --attribution writes the prepare-commit-msg hook to disk but attribution.hook: true never lands in config.json and the receipt still reports success. attributionOptedIn then returns false, no gap is raised, and every later plain install is a no-op for the hook — the silent degradation the opt-in exists to remove. Fix: append a change-note on each error path exactly as registerRepo does for its history-lock failure.
Frontmatter
| id | iss-2608291814553362 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2608291814553362-ahoy-attribution-opt-in-persist-failure.md
open on GitHub ↗ · commit history ↗