Commit 4092362
fix(receipts): three bookkeeping paths that swallowed failure with pass
All three wrap a receipt/delivery-note call in 'except Exception: pass' with
a comment saying bookkeeping must never break the real work. That part was
right — the search still returns, the reply still goes out, the tool result
still stands.
'pass' is the part that was not. A receipt path broken for weeks looked
exactly like one that never needed to fire, on the live chat route, the
reply-delivery note, and the dev-mode tool receipt.
Each now records a degradation and returns exactly what it returned before,
opting out of the fail-closed policy: a receipt recorder throwing is a
degraded bookkeeping lane, not a reason to fail a delivered reply.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 18f5804 commit 4092362
3 files changed
Lines changed: 33 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
200 | 208 | | |
201 | 209 | | |
202 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10074 | 10074 | | |
10075 | 10075 | | |
10076 | 10076 | | |
| 10077 | + | |
10077 | 10078 | | |
10078 | 10079 | | |
10079 | 10080 | | |
| |||
16762 | 16763 | | |
16763 | 16764 | | |
16764 | 16765 | | |
16765 | | - | |
16766 | | - | |
| 16766 | + | |
| 16767 | + | |
| 16768 | + | |
| 16769 | + | |
| 16770 | + | |
| 16771 | + | |
| 16772 | + | |
| 16773 | + | |
| 16774 | + | |
| 16775 | + | |
| 16776 | + | |
16767 | 16777 | | |
16768 | 16778 | | |
16769 | 16779 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
68 | 77 | | |
69 | 78 | | |
70 | 79 | | |
| |||
0 commit comments