aboutsummaryrefslogtreecommitdiff
path: root/hooks/settings-snippet.json
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-02 05:58:03 -0400
committerCraig Jennings <c@cjennings.net>2026-07-02 05:58:03 -0400
commit80993778f0b181c912632252aef25d6d63c3d2a6 (patch)
tree93d4b1b2e01daccb35ca92b185367e7ae0afc1c9 /hooks/settings-snippet.json
parent5eae9e07a529f557819d514e8ae58d17e0e0ec7d (diff)
downloadrulesets-80993778f0b181c912632252aef25d6d63c3d2a6.tar.gz
rulesets-80993778f0b181c912632252aef25d6d63c3d2a6.zip
fix(inbox-send): never overwrite on filename collision
Two sends in the same minute whose text starts with the same phrase derived identical filenames, and the second silently replaced the first. A message was lost this way in the wild. An existing target now gets a -2/-3 stem suffix, extension preserved, on both the text and file paths. Four red-first tests reproduce the loss with a fixed timestamp so the same-minute case is deterministic.
Diffstat (limited to 'hooks/settings-snippet.json')
0 files changed, 0 insertions, 0 deletions