Repository navigation
Description
Problem or Motivation
No command reviews the project for a version range or a period. The data is in git, GitHub, OpenSpec, Prometheus, Loki and the gateway counters, but nothing joins it. The Service data goes away after 30 days.
Measured on this repository on 2026-11-11:
devops gh metricsselects releases by count. Its "Total Releases Tracked" stat shows 10, and the repository has 274v*tags.- Tag times use mixed time zones. A string compare of the times gave 23 issues in place of 74 for v0.111.0..v0.112.1.
- All three candidate designs added the Service SLIs of 7 repositories together. The 7-day devops-cli stage success is 0.372 (58.3 successes, 98.5 errors), not 0.927.
- The implement counters disagree. In 7 days,
devops_cli_service_implement_failures_totalgrew by 48.8 anddevops_cli_service_implement_jobs_total{result="failed"}grew by 0. 25.7 of the failures have no repo label. - No SLO, error-budget or burn-rate rule exists. The cluster has no PrometheusRule object and no Prometheus operator.
- Prometheus and Loki keep 30 days, Tempo 7 days and Actions 90 days.
The owner asked on 2026-11-11 for a project review analysis:
- A person or a job runs it for a version (for example v0.111.0..v0.112.1) or for a period (the last 7 days, or two dates).
- It gives a summary of project activity, git changes and metrics, releases, code change hotspots, how the functionality changed, new issues, the analysis of alternatives, Service job performance, cost, and charts.
- It follows the project design spec (a clean, scientific look) on a phone and on a wide screen, in light and dark. It defines no visual system of its own.
- It connects open tools through their standard interfaces. devops-cli code is one thin generic adapter, only where no tool covers the need.
- GitHub stays the source of truth. The status shows in issues and releases.
- The report files go to the cluster content store, with links from the release and the issues.
- It shows Service job performance in SRE terms: SLIs, SLOs, error budgets, burn rates, the four golden signals, toil and capacity. A period with an incident gets a postmortem-style section.
Goal
One command, devops roadmap review run, takes a version window (--version A..B) or a period (--since/--until, --week YYYY-Www, --last Nd). It resolves the window to two first-parent SHAs and two UTC times. The window is half-open: the start is out and the end is in.
One query catalog (YAML with a JSON Schema) names about 50 facts. Readers get the facts through standard interfaces: git, the OpenSpec CLI JSON, the listing snapshot, GitHub REST through devops gh, and the Prometheus and Loki HTTP APIs. Each Service query carries the repository label. The command writes data.json. Each fact has a value, unit, n, source, query, read time and status.
Then the command renders one self-contained HTML page and a short Markdown summary. vl-convert renders the Vega-Lite charts as static SVG, in the tokens of the project design spec. A model writes only the prose. The prose holds no digits, and code puts in every number.
A weekly CronWorkflow makes the review of each complete ISO week. A person, an agent or a submitted Workflow makes a version review on demand. The files go to the content store. GitHub shows the status: one comment for each weekly review on the brain tracker issue of the repository, and one marked link line in each release body. One Sloth spec holds the SLOs and generates the burn-rate rules as plain rule groups.
Decisions
Owner, 2026-11-11:
- Windows: the job reviews each complete ISO week, with narrative. Version reviews run on demand (
devops roadmap review run --version A..B). Each release links to the weekly review that holds it. - SLOs, in a 28-day window: Service round success 99% for each row and repository; runner Jobs that end within 3,600 s, 90%; gateway request success 99.5%; gateway latency under 60 s, 95%. No burn trigger with fewer than 20 events in the long window. The implement-delivery SLO comes after the counter fix (fix(roadmap): count each implement outcome once with its repo #4703).
- Incident section triggers (SRE workbook values): a burn rate of 14.4x or more for 1 h or more, with at least 20 events; 50% or more of a budget used in the window; a critical alert or NodeNotReady for 30 min or more; a revert commit on main.
- vl-convert-python (BSD-3-Clause) and lizard (MIT) go into a new optional extra
review. The dev environment, CI and the Service image install it. - Report links can be in public GitHub text. They point to the content store host behind Access. Reports of public repositories also stay behind Access. The base URL is a setting, not a value in git.
- The narrative uses the DeepSeek flash route through the gateway (Sonnet is on hold), with a cap of 0.05 USD for each run.
- The weekly review comment goes on the brain tracker issue of each repository (decision 1 of feat(roadmap): track the project brain #4624). The review files no issue. Its candidates go to the brain intake path.
- The content store has a permissive license (owner rule). The publish item (feat(roadmap): publish the project review and link it on GitHub #4733) uses the store that the content store plan (feat(k8s): track the cluster content store #4742) picks, through its standard interface (the S3 API or plain HTTP).
Design choice: the cli-static-report design, with 14 grafts from the other two designs and 9 removals. Two judges scored three designs. With each score normalized and added: cli-static-report 1.49, dashboards-plus-narrative 1.40, Quarto notebook 1.16. A trial of cli-static-report gave the measured numbers of both test windows; collection took 2.4 s and 11.5 s, and the render took 1.3-1.5 s.
Owner rules for every child (2026-11-11): connect open tools through their standard interfaces, with no custom logic for each tool; each inner timeout is shorter than the one around it; new dependencies have permissive licenses only; each push carries a branch that holds the current origin/main and merges cleanly (fetch and rebase right before each push). Each child starts from origin/main and does not stack on an unmerged child.
Ordered child list
Each line gives the issue, its title, its child number in the order and the items to merge first. "Start now" marks an item with no unmet dependency. "+ #n" names an item outside this tracker to merge first.
- feat(roadmap): collect the git facts of a project review window #4686 feat(roadmap): collect the git facts of a project review window (child 1, start now). Depends on: none.
- feat(roadmap): read project review facts through a catalog #4692 feat(roadmap): read project review facts through a catalog (child 2). Depends on: feat(roadmap): collect the git facts of a project review window #4686.
- fix(roadmap): count each implement outcome once with its repo #4703 fix(roadmap): count each implement outcome once with its repo (child 3, start now). Depends on: none.
- feat(monitoring): define the Service SLOs in a Sloth spec #4709 feat(monitoring): define the Service SLOs in a Sloth spec (child 4, start now). Depends on: none.
- feat(roadmap): report SLOs and incidents in the project review #4714 feat(roadmap): report SLOs and incidents in the project review (child 5). Depends on: feat(roadmap): read project review facts through a catalog #4692, feat(monitoring): define the Service SLOs in a Sloth spec #4709.
- feat(roadmap): render the project review as an HTML page #4720 feat(roadmap): render the project review as an HTML page (child 6). Depends on: feat(roadmap): collect the git facts of a project review window #4686, feat(roadmap): read project review facts through a catalog #4692 + the design spec items of feat(design): track the project design spec #4735: the tokens (feat(design): add the design tokens and their build #4738), the report stylesheet and layout, and the chart theme adapter (the last two not filed yet).
- feat(roadmap): write the project review narrative with a model #4726 feat(roadmap): write the project review narrative with a model (child 7). Depends on: feat(roadmap): render the project review as an HTML page #4720.
- feat(roadmap): choose the review facts by project profile #4730 feat(roadmap): choose the review facts by project profile (child 8). Depends on: feat(roadmap): read project review facts through a catalog #4692 + feat(roadmap): a toolchain preset sets the implement checks #4635.
- feat(roadmap): publish the project review and link it on GitHub #4733 feat(roadmap): publish the project review and link it on GitHub (child 9). Depends on: feat(roadmap): render the project review as an HTML page #4720 + the content store and its client (feat(k8s): track the cluster content store #4742, child 4 there) and the brain tracker issue of each repository (feat(roadmap): track the project brain #4624).
- feat(k8s): run the project review for each complete week #4736 feat(k8s): run the project review for each complete week (child 10). Depends on: feat(roadmap): write the project review narrative with a model #4726, feat(roadmap): publish the project review and link it on GitHub #4733 + feat(k8s): let Argo Workflows run roadmap pods in devops #4566; person step: the store write credential.
- ci(release): link the project review from each release #4741 ci(release): link the project review from each release (child 11). Depends on: feat(roadmap): publish the project review and link it on GitHub #4733; person step: the repository variable of the review base URL.
Conditional, held, deferred and dropped items (not filed)
| Item | State | Condition or reason |
|---|---|---|
| fix(gh): count all release tags in the velocity gauges | folded | Owner decision 1 of #4675 replaces the release gauges with the Grafana GitHub data source. The item folds into "feat(monitoring): read project facts with the GitHub data source" (child 16 of #4675). A comment on #4675 gives the evidence (the stat shows 10, the repository has 274 v* tags) and the check. |
| feat(monitoring): add the implement-delivery SLO | conditional | File when #4703 merges and the 7-day increase of the jobs counter is within 10% of the runner Jobs that kube-state-metrics shows as started. |
| A data-only review for each minor release | dropped | Owner decision 1. It makes about 57 reports and 30 MB of HTML a week that few people read. |
| A public read path for reports of public repositories | deferred | Owner decision 5 keeps them behind Access. Look at it again after the content store exists. |
| A PrometheusRule output for the SLOs | dropped | The cluster has no Prometheus operator. Sloth writes plain rule groups into a values file. |
| A second "Project review" tracker issue for each repository | dropped | The brain tracker issue of each repository holds the review comments. |
| The review's own token-to-Vega mapping | dropped | The chart adapter of the design spec (vega_config(mode)) does it. |
| A copy of the rag-ingest CronWorkflow | dropped | It uses the singular schedule field that Argo v4 removed. #4566 fixes the pattern. |
| Quarto, Plotly, matplotlib, MkDocs, Altair, git-cliff, PyDriller and Grafana-only charts | rejected | See Existing Tool Considered. |
Related open items
#4624 (project brain) owns the brain tracker issue of each repository, the shared listing snapshot and the brain intake path. The review reads them and files nothing itself. #4627 (project profile) and #4635 give resolve_profile, which #4730 reads. #4517 holds #4566 (Argo runs pods in devops), which #4736 waits for, and #4558 (Job labels), which #4736 uses. #3655 and #4621 (Service dashboard) and the SLO panels of the design spec read the same Sloth spec as #4709. #4578 (gateway spend by repository) and #3578 (a gateway caller with no end-user header) limit the cost section. #4735 (project design spec) owns the tokens (#4738), the report stylesheet and layout, and the chart theme adapter that #4720 uses. #4742 (content store) owns the store and the client that #4733 uses. #4675 (readable dashboards) owns the release count fix of the Velocity dashboard that the review links.
Owner questions
All questions of this plan are decided (see Decisions). Person steps:
- Set the repository variable that holds the review base URL (ci(release): link the project review from each release #4741).
- Run
uv run devops k8s push-secretsfor the content store write credential of the review job (feat(k8s): run the project review for each complete week #4736), after the store exists.
Measure of the whole
| Measure | Today | Target |
|---|---|---|
| Command that reviews a version or a period | none | devops roadmap review run for both |
| "Total Releases Tracked" stat (#4675) | 10 | equal to git tag -l 'v*' | wc -l (274 today) |
| Scope of a Service SLI | 7 repositories added together (0.927) | each repository (devops-cli stage 0.372) |
| SLOs with an error budget and burn rates | 0 | 4 |
| Implement failures with no repo label in 7 days | 25.7 | 0 |
| Weekly reviews published and linked on GitHub | none | each complete ISO week, within 1 h |
| Run time of a weekly review | no run | 3-6 min, never over 1,800 s |
| Model cost of a weekly review | no run | 0.01 USD or less |
| GitHub requests of a weekly review | no run | 45 or fewer |
Target Subsystem
SDLC, Git & PR Governance (roadmap), with monitoring (Prometheus rules and Grafana links), Kubernetes manifests (Argo Workflows), the release workflow and the container image.
Existing Tool Considered
Used: git; the OpenSpec CLI JSON; lizard 1.24.3 (MIT); GitHub REST through the devops gh session; the Prometheus and Loki HTTP APIs through the existing clients; Sloth v0.16.0 (Apache-2.0) for the SLO rules; Vega-Lite v6 with vl-convert-python 1.9.0.post1 (BSD-3-Clause); Jinja2; pydantic and pydantic-ai; Argo Workflows; and the client of the content store.
Rejected, with evidence:
- Quarto: its renderer never ran here, its docs say that
renderingsdoes not work with fig- and tbl- labels, and it adds 420 MB and 22 Jupyter packages. - PyDriller: it disagrees with git at the range edges (38 against 37 commits).
- Grafana-only charts: the histogram has no computed p50 or p90 lines, the XY chart has no point labels, and the Service data lasts 30 days.
- Plotly, matplotlib, MkDocs, Altair and git-cliff: the design spec chart adapter and vl-convert cover the need with fewer packages.
Written cost (AGENTS.md rule 3): about 900-1,200 lines of custom code with tests, in one package. That is the window resolver, one catalog dispatcher, six readers (four wrap existing clients), about 40 lines of SLO math for a past window, the narrative validators, and due and publish. 12 issue-size items (11 filed; the velocity item folds into #4675). On the DeepSeek implement path (about 0.33 USD an issue), about 4-6 USD with repair rounds. Elapsed time: about 1-2 weeks. Run cost: about 0.004 USD of model spend and about 45 GitHub requests for each weekly run; about 1.5 MB of storage for each weekly window (80-100 MB a year); about +90 MB of image.
Findings outside this plan
- The Dependabot alerts API returns HTTP 403 for this repository (Dependabot is disabled). The review states this and shows no Dependabot count.
- The Loki patterns API returns 404. The review uses
topkovercount_over_time. - A filtered list of Actions runs stops at 1,000 results. One 12-hour slice held 969 runs. Each reader of runs must split the list.
- One intake run of this filing stopped on a short connect failure to the model gateway, and a rerun 1 min later worked (fix(ai): a short connect failure to the gateway stops intake #4753).
Acceptance Criteria
- Each child is merged, or closed with evidence.
devops roadmap review run --version v0.111.0..v0.112.1gives 37 commits, 37 merged pull requests and 2 releases, with v0.111.0 excluded.- The review of each complete ISO week is in the content store, with one comment on the brain tracker issue and one link line in each release of that week.
- The measures of the whole meet their targets over 2 complete weeks after feat(k8s): run the project review for each complete week #4736 merges.
Dependencies
None for the tracker. The children carry their own.
Alternatives check of 2026-11-23: partly.
Tool: apache/devlake (https://github.com/apache/devlake), Apache-2.0, last activity 2026-11-23, maintained.
Reason: Searches found Apache DevLake, an open dev data platform that joins git, GitHub and CI data into DORA and activity dashboards, so it covers the data join and part of the activity metrics, but not the version window, SLO analysis or report output.
Covers:
- Joins git, GitHub and CI data into one SDLC view
- Prebuilt DORA and engineering-lead activity dashboards
- Blueprint sync with SQL-customizable metrics
Lacks:
- No version-window or period-scoped review command
- No Prometheus/Loki SLI, SLO, error-budget or burn-rate analysis
- No self-contained HTML report in the project tokens
- No publish path with GitHub comment and release links
- Brings MySQL and Grafana instead of a thin adapter
Proposed design
Problem statement
No command reviews the project for a version range or for a period. The data is in git, GitHub, OpenSpec, Prometheus, Loki and the gateway counters, but nothing joins it. The Service data goes away after 30 days. The owner asked for one command that collects about 50 facts, renders one self-contained HTML page and a short Markdown summary, and publishes them with links on GitHub. This issue is the tracker for the children that deliver the review command, its report and its publication.
Acceptance criteria
Requirement: Ordered child list
The tracker SHALL list each child issue with its number, its Conventional Commit title, its order and its merge-first items.
Scenario: A check reads the ordered child list
- WHEN A check reads the ordered child list of the tracker body
- THEN Each line holds an issue number, a Conventional Commit title, its order and its merge-first items.
Requirement: Child completion
The tracker SHALL count a child complete only when its pull request merged or its issue closed with an evidence comment.
Scenario: A child closes with no merge
- WHEN A child issue closes with no merged pull request and no evidence comment
- THEN The tracker does not count that child as complete.
Requirement: Startable child
A child that the tracker marks start now MUST have no unmerged merge-first item.
Scenario: A start-now child names an open merge-first item
- WHEN A start-now child names an open merge-first item
- THEN The tracker lists that child as not startable.
Requirement: Version window resolution
The review command MUST resolve --version A..B to the first-parent SHAs and the UTC times of both tags, with the start excluded.
Scenario: The window v0.111.0..v0.112.1
- WHEN The command runs --version v0.111.0..v0.112.1 on a fixture repository
- THEN It reports 37 commits, 37 merged pull requests and 2 releases, and it excludes the v0.111.0 tag.
Requirement: Period window resolution
The review command MUST resolve --since/--until, --week YYYY-Www and --last Nd to one half-open UTC window.
Scenario: An ISO week starts on Monday at 00:00 UTC
- WHEN The command runs with --week 2026-W45
- THEN The window starts at 2026-11-02T00:00:00Z and ends at 2026-11-09T00:00:00Z, and it excludes the start.
Requirement: Per-repository Service SLI
Each Service query of the catalog MUST carry the repository label, and no query SHALL add the repositories together.
Scenario: The stage success of one repository
- WHEN The catalog reads the 7-day stage success of dan-petty/devops-cli from a fake Prometheus
- THEN The query holds a repo selector, and the fact holds the value of that repository only.
Requirement: Implement outcome counter
The implement outcome counters MUST count each outcome once with its repo label.
Scenario: The 7-day failure increase
- WHEN The review reads the implement counters for 7 days
- THEN The increase of devops_cli_service_implement_failures_total equals the increase of devops_cli_service_implement_jobs_total{result="failed"}, and no failure series lacks a repo label.
Requirement: SLO rules from one Sloth spec
The project MUST define the 4 owner SLOs in one Sloth spec and MUST generate plain Prometheus rule groups from it.
Scenario: The generated rules hold no custom resource
- WHEN The Sloth spec renders into the monitoring values file
- THEN The output holds 4 SLOs with error budgets and burn-rate rules, and it holds no PrometheusRule object.
Requirement: Fact provenance
Each fact in data.json MUST hold its value, unit, n, source, query, read time and status.
Scenario: A catalog entry with no source
- WHEN A catalog entry names no source or no query
- THEN The run fails with an error that names the entry, and it writes no data.json.
Requirement: Digit-free prose
The model SHALL write only prose, and the code MUST put every digit into the rendered page.
Scenario: A narrative that holds a digit
- WHEN The model reply holds a digit or a number
- THEN The run rejects the reply and renders no page.
Requirement: Report sections
The report MUST hold each section of the owner request in order, and the workflow grades and improvements MUST come after Service job performance and before cost.
Scenario: The section order of the page
- WHEN The page renders for a window
- THEN The page holds project activity, git changes and metrics, releases, code change hotspots, how the functionality changed, new issues, analysis of alternatives, Service job performance, workflow grades and improvements, cost and charts, in that order.
Requirement: SRE performance section
The report MUST show Service job performance with the SLIs, SLOs, error budgets, burn rates, the four golden signals, toil and capacity.
Scenario: The Service job performance section
- WHEN The page renders for a window
- THEN The page holds the SLI, SLO, error-budget and burn-rate rows, the four golden signals, the toil and the capacity for each Service row.
Requirement: Report design tokens
The report MUST use the project design tokens and the shared report stylesheet, and it MUST hold no color literal outside the token CSS.
Scenario: The first rendered report
- WHEN The first report renders for a window
- THEN It holds 0 color literals outside the token CSS, and it passes the headless render check.
Requirement: Incident section trigger
The report MUST open a postmortem-style incident section when a 28-day SLO's 1 h burn rate is at least 14.4x with at least 20 events, 50% of a budget is used, a critical alert or NodeNotReady lasts 30 min or more, or a revert commit is on main.
Scenario: A 1 h burn rate of 14.4x with 20 events
- WHEN The catalog reads a 1 h burn rate of 14.4x with 20 events for a 28-day SLO
- THEN The report holds a postmortem-style incident section.
Requirement: Standards documents
Each child pull request SHALL update the standards document that the plan names with its feature.
Scenario: #4709 updates docs/SDLC.md Phase 7
- WHEN The feat(monitoring): define the Service SLOs in a Sloth spec #4709 change is applied
- THEN docs/SDLC.md Phase 7 names the Service SLOs beside the DORA metrics.
Requirement: Weekly publication and links
Each weekly review MUST write its files to the content store and MUST add one comment on the brain tracker issue and one link line in each release body of that week.
Scenario: A complete ISO week
- WHEN A weekly run of a complete ISO week writes to a fake content store and a fake GitHub
- THEN The store holds one HTML page and one Markdown summary, the brain tracker issue holds one comment, and each release of that week holds one marked link line.
Requirement: Run budget of a weekly review
Each weekly run MUST finish within 1,800 s, spend 0.01 USD or less and use 45 or fewer GitHub requests.
Scenario: A weekly run over budget
- WHEN A weekly run record holds a duration over 1,800 s, a spend over 0.01 USD or more than 45 GitHub requests
- THEN The check fails the run and names the measure that is over its budget.
Requirement: Child branch base
Each child pull request SHALL start from origin/main and SHALL not stack on an unmerged child.
Scenario: A child pull request is ready to merge
- WHEN A child pull request is ready to merge
- THEN Its branch holds the current origin/main, and no merge-first child is unmerged.
Existing Tool Considered
Apache DevLake (https://github.com/apache/devlake, Apache-2.0, last activity 2026-11-14) is the closest open, maintained tool. It joins git, GitHub and CI data into DORA and activity dashboards. It lacks a version- or period-scoped review command. It lacks the Prometheus and Loki SLI, SLO, error-budget and burn-rate analysis, and the incident and postmortem section. It lacks a self-contained HTML report in the project design tokens, digit-free model prose and the publish path with GitHub links. It also brings MySQL and Grafana in place of a thin adapter. The plan keeps DevLake as the existing tool and builds one thin generic adapter for the gaps, as the open-tools rule requires (CONTRIBUTING.md:23). The adapter uses the existing git, gh, Prometheus and Loki clients. Written cost of that code: about 900-1,200 lines with tests, about 4-6 USD of implement spend and about 1-2 weeks of elapsed time. Run cost: about 0.004 USD of model spend and about 45 GitHub requests for each weekly run. Storage cost: about 1.5 MB for each weekly window, and about +90 MB of image.
Key questions
- Which open, maintained tool or library covers the need of the project review?: Apache DevLake is the closest open, maintained tool. It joins git, GitHub and CI data into DORA and activity dashboards. It lacks a version- or period-scoped review command, the Prometheus and Loki SLI, SLO, error-budget and burn-rate analysis, an incident section, a self-contained HTML report in the project design tokens, digit-free model prose and the publish path with GitHub links. It also brings MySQL and Grafana in place of a thin adapter. The plan keeps DevLake as the existing tool and builds one thin generic adapter for the gaps, as the open-tools rule requires. (best practice) [sources: CONTRIBUTING.md:23]
- Chosen: apache/devlake. It is Apache-2.0, maintained, and it covers the join of git, GitHub and CI data. It lacks the rest, so the plan keeps one thin adapter only for the gaps.
- Rejected: ejwa/gitinspector. It is GPL-3.0, and it reports git statistics only, with no GitHub, Prometheus or Loki fact.
- Rejected: a custom review stack with no existing tool. It would rebuild the join that DevLake already covers, against the open-tools rule.
- Which window does the job review each week, and when does a version review run?: The job reviews each complete ISO week, with narrative. An ISO week runs from Monday 00:00 UTC to the next Monday. A version review runs on demand with
devops roadmap review run --version A..B. Each release links to the weekly review that holds it. (best practice) [sources: docs/guidelines/sre.md:228, docs/commands/roadmap.md:668]- Chosen: a review of each complete ISO week. Owner decision 1 makes the weekly review the scheduled unit and the version review an on-demand run. The SRE guideline already puts the weekly SLI read and its comment on the project review of the week.
- Rejected: a data-only review for each minor release. Owner decision 1 drops it: about 57 reports and 30 MB of HTML a week that few people read.
- How does the command resolve a version or a period to a window?: The command resolves each tag to its first-parent commit SHA and UTC commit time with git. It uses the half-open window [start, end): the base commit and start time are out, and the head commit and end time are in. [sources: docs/commands/roadmap.md:655, openspec/specs/roadmap-project-review/spec.md:9, openspec/specs/roadmap-project-review/spec.md:15]
- Which SLOs and incident triggers does the plan use?: The plan uses the 4 owner SLOs in a 28-day window. Service round success is 99% for each row and repository. Runner Jobs that end within 3,600 s are 90%. Gateway request success is 99.5%, and gateway latency under 60 s is 95%. No burn trigger starts with fewer than 20 events. The 1 h page trigger is 14.4x. The other triggers are 50% of a budget used, a critical alert or NodeNotReady for 30 min or more, and a revert commit on main. The implement-delivery SLO comes after fix(roadmap): count each implement outcome once with its repo #4703. (best practice) [sources: k8s/README.md:546, k8s/README.md:548, k8s/README.md:560, docs/guidelines/sre.md:246]
- Chosen: the 4 owner SLOs with the owner triggers. Each SLO has a measured signal, the owner set the objective, and k8s/README.md:560 records the 14.4x owner value.
- Rejected: all 5 cluster table rows. SLO 5 is the dashboard default (k8s/README.md:546), not one of the 4 owner targets of decision 2.
- Rejected: an SLO for each workflow and command. Most have no data, and the implement counters disagree by 48.8 against 0 in 7 days.
- Rejected: alerts only, with no SLO. The owner asked for error budgets and burn rates, and alerts give neither.
- How do the SLOs become Prometheus rules?: One Sloth spec renders plain Prometheus rule groups into the monitoring values file, under
serverFiles.devops_cli_alerting_rules.yml, which the prometheus chart reads. The cluster installs the prometheus-operator CRDs but no operator release, so the plan does not rely on a PrometheusRule object for the SLOs. The SRE guideline makes the Sloth spec the one source of an SLO and forbids a hand-written SLO recording rule or burn-rate alert. (best practice) [sources: docs/guidelines/sre.md:240, k8s/README.md:294, k8s/README.md:575, k8s/devops/monitoring/prometheus-rules-values.yaml]- Chosen: Sloth spec into the values file. Sloth generates the recording rules and burn-rate alerts from one spec, and the chart reads the plain rule groups from the values file (k8s/README.md:575).
- Rejected: a PrometheusRule custom resource. The cluster installs the CRDs but no operator release (k8s/README.md:294), so the plan does not rely on a PrometheusRule object for the SLOs.
- Rejected: hand-written rules. SRE2 forbids a hand-written SLO recording rule or burn-rate alert, so the SLOs and the burn rates would have two sources and drift apart (docs/guidelines/sre.md:240).
- Which report design does the tracker take?: The static HTML report design called cli-static-report. It is one self-contained HTML file with the token CSS and the shared report.css inline. The charts are light and dark inline SVG pairs that token selectors switch. The outline is title, byline, summary, numbered sections with figures and tables, a postmortem section when the period has an incident, and an appendix 'Method and data'. (best practice) [sources: docs/DESIGN.md:263]
- Chosen: cli-static-report. It is the report shape that docs/DESIGN.md:263 records: one self-contained HTML file, token CSS and report.css inline, and inline SVG chart pairs.
- Rejected: dashboards-plus-narrative. It depends on the Service data that goes away after 30 days, and it does not give one self-contained report file.
- Rejected: Quarto notebook. Its renderer never ran here, and it adds 420 MB and 22 Jupyter packages.
- Which renderer makes the charts of the page?: Altair with Vega-Lite v6 and vl-convert-python, in the
vega_config(mode)theme adapter of the design spec. Each chart renders as a light and a dark SVG with text kept as text. (best practice) [sources: docs/DESIGN.md:265, pyproject.toml:96]- Chosen: Altair/Vega-Lite with vl-convert. The design spec names Altair with vl-convert and a Vega-Lite config that reads the tokens, and the static SVG keeps the page self-contained (docs/DESIGN.md:265).
- Rejected: Grafana-only charts. The histogram has no computed p50 or p90 line, the XY chart has no point labels, and the Service data lasts 30 days.
- Rejected: Plotly or matplotlib. They add packages for the output that the chart adapter gives.
- Which model writes the narrative, and what bounds its cost?: The DeepSeek flash route through the gateway, with a cap of 0.05 USD for each run. The model writes only prose, and the code puts in every number. (best practice) [sources: SECURITY.md:40, docs/DESIGN.md:263]
- Chosen: DeepSeek flash with a 0.05 USD cap. SECURITY.md:40 names deepseek-v4.1-flash-1017 for every chat slot and records the owner hold on claude-sonnet-5-5. The cap holds the weekly model spend under the 0.01 USD target.
- Rejected: Sonnet. The owner holds claude-sonnet-5-5 since 2026-11-11 (SECURITY.md:40).
- Rejected: a model that writes the numbers. A digit in the prose is a claim that no query checks.
- Where does the review show its status on GitHub?: One comment on the brain tracker issue of each repository, and one marked link line in each release body of that week. The review files no issue. Its candidates go to the brain intake path. (best practice) [sources: CONTEXT.md:178, docs/adr/0023-the-project-brain-is-a-derived-index-in-two-cache-tiers-and-two-scheduled-runs-keep-it.md:68]
- Chosen: a comment on the brain tracker issue plus release links. CONTEXT.md:178 and ADR 0023 section 3 make the tracker issue of each repository the durable copy of the repository's insights, and the release body names the version that the window holds.
- Rejected: a second project review tracker issue for each repository. The owner dropped it in decision 7.
- Rejected: one new issue for each review. The review files no issue, and its candidates go to the brain intake path.
- How do the report files reach the content store, and who may read them?: Through the standard interface of the content store that feat(k8s): track the cluster content store #4742 picks, the S3 API or plain HTTP. Reports stay behind Access, also for public repositories. The base URL is a repository variable, not a value in git. The content store has a permissive license, by the owner rule. (best practice) [sources: CONTRIBUTING.md:23, ARCHITECTURE.md:225, config.example.yaml:197]
- Chosen: the content store behind Access, with a setting base URL. The store keeps the files out of git, the standard interface follows CONTRIBUTING.md:23, the shared capability falls back to a local tier (ARCHITECTURE.md:225), and the Cloudflare Access setting of config.example.yaml:197 keeps the reports behind Access.
- Rejected: a public read path for public repositories. Owner decision 5 defers it until the content store exists.
- Rejected: the files in git. A weekly window takes about 1.5 MB, which is 80-100 MB a year.
- How do the new dependencies enter the project?: Owner decision 4 puts vl-convert-python (BSD-3-Clause) and lizard (MIT) in the optional extra
review, which the dev environment, CI and the Service image install. The extra already exists: pyproject.toml:96 holdsreview = ["lizard==1.26.0"], so the renderer child adds vl-convert-python to it. The design spec chart row names the extrareport(docs/DESIGN.md:265). The same pull request updates that row toreview, because the owner decision of 2026-11-11 namesreview. (best practice) [sources: pyproject.toml:93, pyproject.toml:96, docs/DESIGN.md:265, CONTRIBUTING.md:24]- Chosen: the optional extra review. The owner decision names review, the extra already holds lizard (pyproject.toml:96), and no other command needs the packages, so the image growth stays with the jobs that run the review.
- Rejected: core dependencies. Each install and each image would take the about 90 MB.
- Rejected: a separate image. It adds a second build and a second release path for one command.
- Which standards documents does each child update?: CONTRIBUTING.md section 2 gets the review extra. docs/SDLC.md Phase 7 gets the Service SLOs (feat(monitoring): define the Service SLOs in a Sloth spec #4709) and the weekly project review (feat(k8s): run the project review for each complete week #4736). docs/SELF_IMPROVEMENT.md gets the postmortem triggers (feat(roadmap): report SLOs and incidents in the project review #4714), the report links and retention (feat(roadmap): publish the project review and link it on GitHub #4733) and the weekly and version reviews (feat(k8s): run the project review for each complete week #4736), in a new subsection under section 4 and never in Project Review Conventions. That subsection does not use the words SRE or performance, because the invariant test allows only the one negation line. (best practice) [sources: CONTRIBUTING.md:41, docs/SDLC.md:375, docs/SELF_IMPROVEMENT.md:735, tests/invariants/test_agents_md.py:115]
- Chosen: each child updates the standards document that owns its subject. CONTRIBUTING.md:41 owns the extra, docs/SDLC.md:375 owns Phase 7, and docs/SELF_IMPROVEMENT.md:735 owns the project review, so each feature lands beside the rule it changes.
- Rejected: one child updates all three documents at the end. A document would describe a feature before it exists, and the owner rule has each pull request carry its change.
- Who sets the review base URL and the content store write credential?: Recommendation: a person with repository admin sets the repository variable that holds the review base URL before ci(release): link the project review from each release #4741 merges. A person runs
uv run devops k8s push-secretsfor the content store write credential of feat(k8s): run the project review for each complete week #4736 after the store of feat(k8s): track the cluster content store #4742 exists. (a person decides)
Open questions
- Who sets the review base URL and the content store write credential? (a person decides)
Fit
Needs splitting into 12 items:
- feat(roadmap): collect the git facts of a project review window #4686 feat(roadmap): collect the git facts of a project review window (child 1). Merge first: none.
- feat(roadmap): read project review facts through a catalog #4692 feat(roadmap): read project review facts through a catalog (child 2). Merge first: feat(roadmap): collect the git facts of a project review window #4686.
- fix(roadmap): count each implement outcome once with its repo #4703 fix(roadmap): count each implement outcome once with its repo (child 3). Merge first: none.
- feat(monitoring): define the Service SLOs in a Sloth spec #4709 feat(monitoring): define the Service SLOs in a Sloth spec (child 4). Merge first: none.
- feat(roadmap): report SLOs and incidents in the project review #4714 feat(roadmap): report SLOs and incidents in the project review (child 5). Merge first: feat(roadmap): read project review facts through a catalog #4692 and feat(monitoring): define the Service SLOs in a Sloth spec #4709.
- feat(roadmap): render the project review as an HTML page #4720 feat(roadmap): render the project review as an HTML page (child 6). Merge first: feat(roadmap): collect the git facts of a project review window #4686, feat(roadmap): read project review facts through a catalog #4692, feat(design): add the design tokens and their build #4738, feat(design): add the shared report stylesheet and layout #4754 and feat(design): render report charts from the design tokens #4758.
- feat(roadmap): write the project review narrative with a model #4726 feat(roadmap): write the project review narrative with a model (child 7). Merge first: feat(roadmap): render the project review as an HTML page #4720.
- feat(roadmap): choose the review facts by project profile #4730 feat(roadmap): choose the review facts by project profile (child 8). Merge first: feat(roadmap): read project review facts through a catalog #4692 and feat(roadmap): a toolchain preset sets the implement checks #4635.
- feat(roadmap): publish the project review and link it on GitHub #4733 feat(roadmap): publish the project review and link it on GitHub (child 9). Merge first: feat(roadmap): render the project review as an HTML page #4720, feat(k8s): track the cluster content store #4742 and feat(roadmap): track the project brain #4624.
- feat(k8s): run the project review for each complete week #4736 feat(k8s): run the project review for each complete week (child 10). Merge first: feat(roadmap): write the project review narrative with a model #4726, feat(roadmap): publish the project review and link it on GitHub #4733 and feat(k8s): let Argo Workflows run roadmap pods in devops #4566. Person step: the store write credential.
- ci(release): link the project review from each release #4741 ci(release): link the project review from each release (child 11). Merge first: feat(roadmap): publish the project review and link it on GitHub #4733. Person step: the repository variable of the review base URL.
- feat(roadmap): report job grades and fix effects in the project review #5219 feat(roadmap): report job grades and fix effects in the project review (child 12). Merge first: feat(roadmap): read project review facts through a catalog #4692, feat(roadmap): render the project review as an HTML page #4720, feat(roadmap): publish the project review and link it on GitHub #4733 and feat(roadmap): find a success or efficiency change after a release #5175.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.A planned feature requested by the owner, not a blocker or regression.It joins six data sources into one review with SRE analysis, giving the team a single view of project health.It spans a new command, a query catalog of about 50 facts, HTML and SVG rendering, a CronWorkflow, SLO rules, and content store integration.Both deal with project metrics and analytics, but #926 delivers the devops gh metrics command and a Grafana dashboard, while this candidate delivers a new devops roadmap review run command that joins multiple sources into one HTML report widan-petty commentedon Nov 11, 2026
Standards documents for the children
Each child pull request changes these documents together with its feature (AGENTS.md rule 8). This list names only the documents that the child issue does not name.
reviewfirst:CONTRIBUTING.mdsection 2 Local Environment Setup: the optional extrareviewand the tools that it installs.docs/SDLC.mdPhase 7: the Service SLOs beside the DORA metrics.docs/SELF_IMPROVEMENT.md: the postmortem triggers.docs/SELF_IMPROVEMENT.md: the report links and their retention.docs/SELF_IMPROVEMENT.md: the weekly reviews and the version reviews.docs/SDLC.mdPhase 7: the weekly project review.Two rules for
docs/SELF_IMPROVEMENT.md:SREor the wordperformance, in any case, in that file.test_personas_in_self_improvement_are_validintests/invariants/test_agents_md.pylets only one line hold them.dan-petty commentedon Nov 11, 2026
Scope from the design spec plan (2026-11-11)
The design spec tracker #4735 adds the design items to this tracker.
Scope added. The project review page (#4720) uses
report_css(), the report outline of #4754, and therender_svg_pairfigures andvega_config(mode)of #4758, with the tokens of #4738. The design items that #4720 lists as "not filed yet" are now:Acceptance criteria added. The first report renders with 0 color literals outside the token CSS, and it passes the headless render check of #4754.
Dependencies added. #4754 and #4758 (for child 6, #4720).
dan-petty commentedon Nov 12, 2026
New child: workflow grades and improvements
The owner wrote on 2026-11-12, word for word: "I'd like to see these kind of optimizations and improvements showing up in the routine project report".
Add this line to the ordered child list:
Item 2 of the owner request gets one more part, after Service job performance and before cost: workflow grades and improvements. The section has these parts:
Each improvement item names its signal with a
devops-signalline in its body. The review reads the lines from the listing snapshot, and #5175 computes each compare one time. The section adds 0 GitHub requests and no model call, so the targets of the measure of the whole stay the same.devops-cli-service commentedon Nov 14, 2026
Alternatives check: partly
Reason: The searches found Apache DevLake, an open-source dev data platform that ingests data from git, GitHub and CI tools and visualizes it as DORA/activity dashboards, so it covers part of the "join the sources into one project view" need. It does not provide a version- or period-scoped review command, the Prometheus/Loki SLI-SLO-error-budget-burn-rate analysis, a self-contained HTML report in the project design tokens, the model-written narrative or publishing to the content store, so it only partly covers the issue.
Tool: apache/devlake (https://github.com/apache/devlake)
Covers:
Lacks:
devops roadmap review runstyle command that resolves a version window (--version A..B) or a period (--since/--until, --week, --last) to first-parent SHAs and UTC timesTools considered:
Searches run:
Sources:
Checked on 2026-11-14. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 14, 2026
Owner question: Who sets the review base URL and the content store write credential? (a person decides)
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
dan-petty commentedon Nov 21, 2026
Answer to the owner question "Who sets the review base URL and the content store write credential?":
PROJECT_REVIEW_URLbefore the merge of ci(release): link the project review from each release #4741. This replaces "before the first release after the merge" in ci(release): link the project review from each release #4741, because about 19 releases run each day. I use the Settings page oruv run devops gh api -X POST repos/dan-petty/devops-cli/actions/variables -f name=PROJECT_REVIEW_URL -f value=<base URL>. The value stays out of git. The release step of ci(release): link the project review from each release #4741 fails closed while the variable is empty. The URL works only after the files host of feat(k8s): serve the report buckets on a files host #4759 exists.devopsand uses Secretdevops/object-store-devopsof identitydevopsfrom feat(k8s): apply store buckets, keys and rules from git #4756. That identity writesreportsandreports-private, which the review needs, and alsocache. I push that Secret before the merge of feat(k8s): apply store buckets, keys and rules from git #4756.uv run devops k8s push-secrets --only devops/object-store-devops --plan. Merge only when every key showsunchanged. No new push is necessary.The same answer applies to the question of #4736.