mirror of
https://github.com/storytold/autocraft.git
synced 2026-11-29 17:44:04 +01:00
- The Task Runner does not send a workspace tool call again once the request may have reached the server; autocraft tool and autocraft mcp report the cut-off so the model can look with shell_status. - The listening connection opens in the background with a 5 s connect limit; Db.listen returns a subscription whose listening() says whether notifications arrive, and the relay polls at the short interval until they do. - A call whose bundle lists the workspace server is leased only to the claude harness. - The job serves only calls queued under its call's live lease. - Rows left running by an earlier process of the job are taken over when the server opens, before it listens: shell rows go back to the session to re-attach, others fail with an unknown outcome. - A claimed row keeps its arguments cut to the record size; a delivered result keeps its images as type, size and hash. - A row the session left unsettled gets the result its call returned. - awaitCall's cleanup steps each run when one before them fails. - queueWorkspaceCall refuses a workspace another queued or leased call is bound to, unless that call is the parent.