Repository navigation
Description
Split from #4714.
Problem or Motivation. The review shows toil as docs/DESIGN.md C12 (e) defines: stacked columns of hours each week from zero, 3 categories plus Other, with labeled totals (#4714). The SRE guideline names the 3 counts: the items that wait for a person (devops roadmap inbox), the hand steps of the runbooks and the commands that a person runs again after a job (docs/guidelines/sre.md:186).
Why this part is deferred. The waiting items have a source, but the runbook hand steps and the repeated commands have no source in the repository or in the telemetry: the catalog has no fact that counts them, and a person must supply the counts. The issue names no source for them, so the source is an open question. The part also adds to a task group that the stage job found over its 64000-token budget.
Acceptance Criteria.
- The toil fact holds the 3 counts of one week and the hours of that week, and it names the source of each count.
data.jsonholds the toil hours of each week as stacked columns from zero, with 3 categories plusOtherand labeled totals, as C12 (e) says.- A week with no count gives a fact with the reason of the missing value, never the value 0.
uv run pytest tests/roadmap/project_reviewpasses.
Proposed design
Problem statement
The project review catalog has no toil fact. It cannot show the weekly toil that docs/DESIGN.md C12(e) requires. The SRE guideline names three counts. Only the waiting-items count has a source. This proposal adds that count and the missing-value reason. It defers the other two counts and the chart.
Acceptance criteria
Requirement: Toil fact for the waiting-items count
The catalog SHALL add a toil fact for one week with the waiting-items count, the hours and the source of the count.
Scenario: The waiting-items count has a source
- WHEN the catalog builds the toil fact for a week and
devops roadmap inboxgives the count - THEN the fact holds the count, the hours and the source, and
uv run pytest tests/roadmap/project_reviewpasses
Requirement: Missing counts give a reason
The toil fact SHALL record the runbook hand-step count and the repeated-command count as missing with a reason, and it SHALL never write 0.
Scenario: The two counts have no source
- WHEN the catalog builds the toil fact for a week and no source gives the runbook hand-step count or the repeated-command count
- THEN the fact holds a missing value with a reason for each count, and the test asserts that neither value is 0
Requirement: The project review tests pass
The change SHALL pass the project review test suite.
Scenario: Run the project review tests
- WHEN a developer runs
uv run pytest tests/roadmap/project_review - THEN the command exits 0 and reports no failures
Existing Tool Considered
No alternatives check has run. docs/guidelines/sre.md:186 names devops roadmap inbox as the source of the waiting-items count. That command covers only that count. No open tool covers the runbook hand steps or the repeated commands. A person must supply those counts, so this proposal defers them and builds no counter. The remaining catalog fact is a small change to existing code, about 2,000 tokens and 1 hour.
Key questions
None.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 26, 2026
project-review, and .github/labels.yml declares no scope/project-review label. Add the label to the file to give the scope to this item.Both work on the project review fact catalog; #4692 created the catalog infrastructure, while this candidate adds one specific toil fact to it.devops-cli-service commentedon Nov 28, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.