Milestones
Each day (or each release) has one milestone in each repo. Each open issue has the milestone of the day that plans to close it. At the end of the day, the open issues move to the next milestone. The reason: a milestone then always shows what ships, and the owner sees the plan of each day on GitHub.
The script
assets/milestones.tcl uses only the GitHub CLI gh. Check gh auth status first. --gh PROGRAM runs another program in place of gh, such as a fake one for a test. --help prints the usage.
A dry run is the default. It reads the milestones and the issues and prints each change as would run: gh .... Show that output to the owner. Run the same command with --apply only after the owner's yes, because milestones and issue edits are visible to everyone who watches the repo.
Create a plan of days
tclsh assets/milestones.tcl create -R example-org/lumen -R example-org/lumen-web \
--start 2026-12-02 --days 5 --title "v0.{n}.0" --first 4 \
--focus-file focus.txt --due-time 17:00 --tz Europe/Berlin
--titletakes{n}(a counter that starts at--first),{date}(YYYY-MM-DD), and{weekday}. Examples:"v0.{n}.0","{date}","Day {n}: {weekday}".--focus-filehas one line for each day: the focus of that day, such as "Faults first: crashes and data loss". The line becomes the description of the milestone.--due-timeand--tzset the due time of each milestone to the end of the work hours.- A title that exists already stays as it is. The script never deletes or renames a milestone.
Move the open issues at the end of a day
tclsh assets/milestones.tcl shift -R example-org/lumen --from v0.4.0 --to v0.5.0 --close
It moves each open issue of --from to --to. --close also closes --from. Make --to with create first.
Look at the plan
tclsh assets/milestones.tcl list -R example-org/lumen
How to plan
- Fill a day to its capacity, not more. For each worker, the PR limit of
PROCESS.md(such as one) for each work hour. An overfull milestone moves forward each night, and then it tells nothing. - Faults first. The first day after setup takes the bugs that block users and the failures of CI.
- Group by theme. One focus for each day makes the review faster and the release notes clearer.
- Leave room. Keep about a fifth of a day free for the faults that the QA pass finds.
- Write the plan on the status page too (
state/plan), so the owner sees the plan and the progress in one place.
Next: the release.