Repository navigation
v2.97.0 — Steering with limits: open work measured and held, lanes for heavy runs
Why.
- Comparing Kenni with a second adopter project (#411–#417): the template costs both about the same per commit, yet Kenni moves slower — 65 issues in progress at once, 156 opened against 26 closed in two weeks, 32 template releases in 30 days. The improvement loop measured none of it.
outcomesread only the 100 most recently updated issues and 50 sub-issues per epic, so a long-running product epic was invisible (#417).
What changes.
- [recommended]
outcomesreads every open issue and every issue changed in the window, paged and under a budget (rateLimit, a page cap). Sub-issues are read past 50 and resolved only for alabel:/title:marker. A cut list sayscomplete: falseand names the cut; an epic whose sub-issues were not all read ismissing, never usable. - [optional] New reading
process_kpis.py intake(telemetry): issues opened and closed per week, the open backlog, and the issues in progress (label and the workers' latest reports, other hosts fetched first) with claim time, days since the claim and growth — commits on their branches and commits landed through their merge events. - [optional]
process_context.py --costmeasures the anchor load: anentry_loadblock with lines and tokens per harness anchor, subtree anchors and overlays per command;--trendgives the same sums at each template release. - [recommended]
template_update.py --dry-runnames what an update requires: per release since the installed one its[required]changes and the counts of the others, and the overlays whose anchored sections the template changed. - [optional] Release notes carry a mark from this release on: every change is
[required],[recommended]or[optional].requiredmeans security, a broken contract, data loss or a defect that blocks work. - [required] Work-in-progress limits from the mandate. A new
steeringblock (optimization.md; the key names of an existing project's block are kept):dispatch.py startholds an issue's first start to its track's limit (wip_per_track,process_issues_in_progressfor the trackprocess), exits 3 at the limit and names it;--over-wip "<reason>"starts anyway and records it. Oncetracksis set, a first start needs--track <name>— a steward that starts work without it is refused. In progress counts both hosts (reports published and fetched on a first start; the train andfinishpublish theirdone); silent work isdormantafter 14 days. A grown issue (growth_max_commits,growth_max_days) gets a "split or finish" note. - [recommended] The process share has a limit.
shareand the tower judge the process-only share againststeering.process_share_maxover its weeks (default 40 % over 4); the weekly pass ranks an action when it is over. - [optional] Update cadence.
template_update.py --dry-runnames the last update and, withsteering.kit_update_cadence_days, whether the next is due, due now (a[required]change) or can wait. - [recommended]
finish --testsand the train hold lanefull. Two heavy runs on one host no longer overlap; the train holds it from after the preboard to before its push. A train that cannot take it endslane-held, nobody blamed. Only with the template'slane.py. - [recommended]
report.pyrefuses a worker that is no branch (or a detachedHEAD): the train and the tower match reports by branch.doneandidlemay name a known branch already deleted after its merge.
Effect.
- The steward and the weekly pass see open work and growth, not only merged work, and the steward starts nothing in a full track; an update can be batched when nothing in it is required.
Changed sections.
optimization.md(Goals and how they are measured; The process as a check graph)improvement-weekly.md(Inputs; Steps; Report)releases.md(Updating the process template)testing.md(Test economy)tower.md(Dispatch and the model policy)train.md(Departure; The run; Red, undefined, aborted)modules/github-issues.md(Example label schema)modules/telemetry.md(The KPI cockpit)commands/prime.md,commands/report.md,commands/steward.md(Loop; Housekeeping)
Update.
- New optional configuration: the mandate's
steeringblock. Without it nothing changes in dispatch. - With
steering.tracksset, every first start needs--track <name>: update the steward's overlay and any script that callsdispatch.py startorqueue add; file work already running withdispatch.py track --issue N --track <name>. - A report under a name that is no branch now exits 2.
outcomesmakes moreghcalls (a few pages per run); on a large repository a run can endcomplete: false.
Details: Plan v2.96, Plan v2.97 #411 #412 #413 #414 #415 #416 #417