Run model, state machine, one run per visitor #223

Closed
opened 2026-10-22 08:08:22 +00:00 by time · 4 comments
Collaborator
  • Run record: id, repo, task, status, timestamps, visitor cookie token
  • Statuses: queued → running → ended(finished|safeworded|unlocked)
  • Append-only event log per run (diffs, commits, commentary, unlocks)
  • Reject a new run while the visitor has an active one

Part of #220 (step 3/16). Depends on #222.

DONE: Runs persist and transition through all statuses, a second concurrent run for the same visitor is refused, and events append to the log.

- Run record: id, repo, task, status, timestamps, visitor cookie token - Statuses: queued → running → ended(finished|safeworded|unlocked) - Append-only event log per run (diffs, commits, commentary, unlocks) - Reject a new run while the visitor has an active one Part of #220 (step 3/16). Depends on #222. DONE: Runs persist and transition through all statuses, a second concurrent run for the same visitor is refused, and events append to the log.
time added the queued label 2026-10-22 08:08:22 +00:00
time added ready and removed queued labels 2026-10-22 10:08:14 +00:00

⏱️ Time: Claude Sonnet (Anthropic) is working on this now, on branch time/card-223.

⏱️ Time: Claude Sonnet (Anthropic) is working on this now, on branch `time/card-223`. <!-- time {"beat":"dispatched","launched":true,"worker":"anthropic"} -->

⏱️ Time: sonnet opened PR #239 (15 steps, claude-sonnet-5-5). Review and landing follow on the next beat.

⏱️ Time: `sonnet` opened PR #239 (15 steps, claude-sonnet-5-5). Review and landing follow on the next beat. <!-- time {"beat":"dispatched","worker":"anthropic","pr":239,"steps":15,"seat":"sonnet","model":"claude-sonnet-5-5"} -->

⏱️ Time: PR #239 is up for this card. haiku reviewed it on the PR.

⏱️ Time: PR #239 is up for this card. `haiku` reviewed it on the PR. <!-- time {"beat":"pr","pr":239,"launched":false,"seat":"haiku","as":"seat","review":"venice","seats":["haiku"]} -->

⏱️ Time: the reviewer objected on PR #239. Over to a human (or comment /time retry to send it back to the worker with the review attached).

⏱️ Time: the reviewer objected on PR #239. Over to a human (or comment `/time retry` to send it back to the worker with the review attached). <!-- time {"beat":"needs-human","pr":239} -->
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: teahubxyz/time#223