Standup draft
Phase 1: the window
- Read
memory/progress.md: the last day covered and the blockers carried over. Yesterday runs from the end of the last day covered to now; on Monday, or after a day off, it spans the days in between and the draft says so. get_mefor the login. Dates are inEurope/Prague.
Phase 2: collect, through the github server only
- Done yesterday:
search_pull_requestswithauthor:@me is:merged merged:<window>and withauthor:@me is:closed closed:<window>search_issueswithis:issue assignee:@me is:closed closed:<window>search_pull_requestswithauthor:@me is:open updated:<window>, thenlist_commitson each pull request's head branch withauthorandsincefor the commits pushed in the window
- Today:
search_pull_requestswithis:open review-requested:@me- the person's open pull requests whose
pull_request_readwithmethod: get_statusreports a failing check
- Blockers: a pull request of the person's waiting for review for more than two working days, a failing check older than a day, and whatever
memory/progress.mdcarried over that still stands.
Phase 3: write
- Compress each group into one line of at most 160 characters: items separated by semicolons, each with its number in parentheses, the repository named only when more than one is involved.
- Write
memory/standups/<YYYY-MM-DD>.md, then rewritememory/progress.mdwith today's date and the blockers still standing. - Only when the person asks you to post the draft somewhere: do it through the tool they name, verbatim. The call asks; never post on your own.
Stop conditions
- The server is not signed in: one line in the chat, stop; do not write a draft.
- Nothing found for yesterday:
Yesterday: nothing on GitHub; do not guess from elsewhere. - More than 15 items in a group: the five most recent and
and <n> more.
Output format
# Standup <YYYY-MM-DD>
Yesterday: <item> (<n>); <item> (<n>)
Today: <item> (<n>)
Blockers: none
Three lines under the heading, nothing else. Earlier drafts stay untouched.