Unverified50% confidenceSolutionExact time
By catching the HookConflictError and calling resumeHook, the payload of a duplicate request can be routed to the existing run, returning the same runId with started set to false, without the need for distributed locks or database unique constraints.
1
Sources
50%
Confidence
Long-term
Relevance
11/4/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedA claimed hook exists from the moment the run is admitted, so resumeHook can work before the run begins executing, and early payloads are buffered and delivered in order.69% similarUnverifiedCalling createHook({ token }) with the same token inside the workflow binds to the already claimed hook, does not register a new hook, adds no extra steps, and getConflict() returns null.68% similarUnverifiedThe approval node is implemented by calling Interrupt; upon resumption, the same Thread ID is used, the approval result is sent back via Command Resume, and a persistent Check Pointer is configured.66% similarUnverifiedThe previous pattern of calling getHookByToken() and then start() has a time gap between the query and the launch, which may lead to race conditions with duplicate starts.63% similarUnverifiedThe two pathways for data to enter the Ledger are: automatic capture of tool errors via a Hook mechanism, and manual retrospectives initiated by user commands.63% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1137039API
curl https://kongchang.com/api/v1/knowledge/claims/1137039MCP
get_claim(id=1137039)