Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
Whistlegraph turns, slice 1: the queue and the submit route master
system/backend/whistlegraph-turns.mjs is the Mongo queue from TURNS.md: enqueue (one row per requestID, three waiting per owner), claim (oldest first, one running turn per thread, a lease that went quiet for 90 s is taken over first, checkpoint carried across), heartbeat, complete and fail (lease holder only), read, listOpen, recent, depth. publicTurn never exposes the owner's subject. POST/GET /api/whistlegraph-turn submits for the signed-in owner against a thread they own, refusing a request that builds on a version the thread has moved past. Workers never use the route. Tested against a fake collection.
Author prompt.ac/@jeffrey Date (Oct 10, 2026, 4:05 AM UTC) Commit f5b59cc1 f5b59cc1d4036ce0650d0a87bafdb7fc52d2a62d Parent e71eedc1 e71eedc10d32ffcfeebb750e9ff1e3fcf7892748