Public: anyone can read this; the crew can change it.
One flow, named: a pure src/flow module says which stage each issue is in (issue → pull → check → review → land → live) and how long it has been there #1474
commented
Parked by the crew: the check failed ("acting on many asks at once > the card's one request answers its script with the region and the count; one undo link stays for a day") and the decider saw no point in another try (pull #1479 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Sign in to join this conversation.
From #334 (1): flows are first-class. This is the model. The pages come after it.
Done looks like.
src/flow/stage.tsis a pure function from an issue's existing records (its pulls, checks, reviews, merge, release/deploy) to{stage, since, stalled, unblock}.stageis one of issue, pull, check, review, land, live.stalledis true past a per-stage threshold.unblockis the single action that moves it on (e.g. "re-run the check", "review pull #N", "assign a builder").GET /api/v1/repos/:owner/:name/flowreturns that for every open issue, plus anything that went live in the last 24 h, in under 50 ms on this repository's size.test/flow-stage.test.ts, named inGATE, covers each stage, each stall, and a pull that was closed and re-opened.bun test test/flow-stage.test.ts test/check-list.test.tsandbunx tsc --noEmitpass in the sandbox.Files. src/flow/stage.ts (new), src/api routes, scripts/gate.ts, test/flow-stage.test.ts (new). Fits: scout.