Follow-up to #2772. With the active-run, hand-over and app reads grouped and home reading its asks once, askCandidatesFor (src/web/studio/asks.ts) still reads per open pull once the pull has a check result:
green check: isStalePull, staleGreen, mergesAgainSince (crew/stale_asks.ts), waitsForReviewer / waitsForPerson / reviewAttempts (crew/review.ts, which read crew roles, agents and reviews per pull)
a pull handed over: handoverOf's tail (approval, comments, directors, rounds) — rare, but per pull
Measured with test/asks-counts.test.ts's seed plus a failed pull, two green pulls and a handed-over pull: about 10 statements per open pull.
Done when:
each of those is a grouped helper beside its singular one (ids in, Map out, the CLAUDE.md recipe), used from askCandidatesFor;
test/asks-counts.test.ts's rounds include failed, green (a person's and the crew's, assisted and autonomous) and handed-over pulls, and home's statement count still does not grow with them.
Follow-up to #2772. With the active-run, hand-over and app reads grouped and home reading its asks once,
askCandidatesFor(src/web/studio/asks.ts) still reads per open pull once the pull has a check result:lastHumanWord(listComments,listReviews),automaticRunsSince,latestDecision(…, "retry")isStalePull,staleGreen,mergesAgainSince(crew/stale_asks.ts),waitsForReviewer/waitsForPerson/reviewAttempts(crew/review.ts, which read crew roles, agents and reviews per pull)handoverOf's tail (approval, comments, directors, rounds) — rare, but per pullMeasured with
test/asks-counts.test.ts's seed plus a failed pull, two green pulls and a handed-over pull: about 10 statements per open pull.Done when:
Mapout, the CLAUDE.md recipe), used fromaskCandidatesFor;test/asks-counts.test.ts's rounds include failed, green (a person's and the crew's, assisted and autonomous) and handed-over pulls, and home's statement count still does not grow with them.