Mouth: NotSent for a failure before the PUT; SendFailed means a PUT was attempted #91
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/mouth-notsent"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Kind table (v2 send receipt,
chat_send_receipt.v2)NotSent(new)resendfalse)SendFailedresendtrue under the same request idResendUnknownNotSentid lands here, so send it as a first sendRules:
NotSentis every failure before the PUT insend(start or room join,speakableRoomId, the room-head read for the basis check, including its timeout). The attempt is recorded only immediately before a PUT, as before. A resend that fails before its PUT isSendFailed, notNotSent: the earlier try it repeats may have posted. A v1 caller has no word forNotSentand is answeredSendFailed. Open-direct keeps its own outcome wordSendFailed(its own contract, not touched).Finding:
eureka-body:finding:cut-cut-persona-live-drain.s8.sendfailed-before-put-unvouched.Audit of
SendFailedreturns intools/persona-matrix-mouth.mjs:sendcatch (now split by aputAttemptedflag set right before the PUT);openDirectNowcatch (different receipt, unchanged).Tests: head read 500, head read hang and start failure give
NotSentwith zero PUTs and no recorded attempt; a resend of that id isResendUnknown, and the same id then posts as a first send; a failing PUT givesSendFailedwith the attempt recorded and a vouched resend; a resend failing before its PUT isSendFailed. Run on Yggdrasil withVOIDBOT_CULTLIB_ROOTat the running pin: 341 pass, 0 fail (persona-matrix-mouth*.test.mjs,persona-chat-images.test.mjs). The running mouth was not touched.Huginn side: map
NotSentto a kept-owed first send;docs/bridge.md"Send requests" documents both kinds.Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com