telegram-gateway.sh discards the save response — ingested memories can vanish silently #120

Open
opened 2026-08-06 21:23:42 +00:00 by tim.lingo · 0 comments
Member

BUG-31 (P2). store_memory in tools/telegram-gateway.sh:42 pipes the save response to /dev/null. If the write fails, the gateway reports nothing and the memory is gone — the user believes it was captured.

Fix known, one file: capture the response, verify it, surface failures.

Same class, unaudited — worth doing in the same pass: memory-import*.sh, photo-to-memory.sh. Any script that saves and discards the answer has this bug by construction.

Why it matters: this is our own read-back-verify rule broken in our own tooling. A save you didn't check isn't a save.


Filed from our local bug register (docs/BACKLOG.md) so it is pickup-able by anyone with time, not just its author. Unassigned on purpose — claim it if you want it.

**BUG-31 (P2).** `store_memory` in `tools/telegram-gateway.sh:42` pipes the save response to `/dev/null`. If the write fails, the gateway reports nothing and the memory is gone — the user believes it was captured. **Fix known, one file:** capture the response, verify it, surface failures. **Same class, unaudited — worth doing in the same pass:** `memory-import*.sh`, `photo-to-memory.sh`. Any script that saves and discards the answer has this bug by construction. **Why it matters:** this is our own read-back-verify rule broken in our own tooling. A save you didn't check isn't a save. --- *Filed from our local bug register (`docs/BACKLOG.md`) so it is pickup-able by anyone with time, not just its author. Unassigned on purpose — claim it if you want it.*
tim.lingo added the ORTHOGONAL label 2026-08-06 21:23:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron#120