Repository navigation
Description
Problem or Motivation
docs/SRE.md (merged in #5488) mixes three kinds of text:
- general SRE rules and methods that apply to each managed project;
- decisions of the homelab environment: tiers, SLO objectives, accepted exceptions, the runbook index;
- about 40 measured values with a read date: SLIs, budgets, alert counts, restarts, backups, nodes, dashboards, and 16 queries.
The production readiness extension draft has the same mix: 90 guideline rows and a hand-read state of each row. The owner directions of 2026-11-13:
- split the details of the current environment from the general guidelines for this project and all managed projects;
- some metrics come from programmatic analysis;
- no agent updates each detail of the metric results and of the service layout by hand.
The owner decisions of 2026-11-13 also apply: live metric values and snapshots stay out of git (the published project review report, #4733, holds them); the gaps live in GitHub, not in tables in git; and the description of a service lives in one place.
Proposed Solution & Architectural Design
- Move
docs/SRE.mdtodocs/guidelines/sre.md. Keep only the guideline text. Replace issue numbers, dates and environment paths with roles, such as "the catalog of the environment". - Add
docs/guidelines/production-readiness.mdfrom the extension draft, and its line indocs/guidelines/index.md. Its Evidence column becomes "Measured by": a Scorecard check, a kube-linter check, a command or a query. It holds no state. The review steps take the readiness report of the launch branch (feat(roadmap): report production readiness in the project review #5537) as the record of a launch, not a hand copy of each row. - Add
k8s/catalog.toml: one entry for each service of the SRE spec, with its name, its Argo CD Applications, its tier, its data class and its dependencies. It holds no SLO id and no dashboard uid: the Sloth specs andk8s/monitoring/dashboards/services.tomlhold them. It holds adescriptiononly for a service whose UI object carries nogethomepage.dev/descriptionannotation: the 11 service UIs of feat(k8s): list each service UI on the start page #4600 get their description from that annotation, and until feat(k8s): list each service UI on the start page #4600 merges the catalog shows no description for them. The catalog generator (feat(k8s): generate the service catalog from the rendered Applications #5535) reads this file and the annotations. - Add the section "Service levels" to
k8s/README.md: a link tok8s/catalog.tomland no service table in prose, the SLO rows (SLI and objective) until feat(monitoring): define the Service SLOs in a Sloth spec #4709 moves them to the Sloth specs, the owner value of incident trigger 1 until feat(roadmap): add incident and supervise jobs that read the SLOs #5477 makes it a setting, the accepted exceptions, one line of runbook links, and one link to the gap tracker issue of SRE and production readiness. - Hold no gap row in a document (owner decision of 2026-11-13). Each gap of the SRE spec (Table 8) and of the extension draft (Table 10) is a sub-issue of the gap tracker issue, or a task-list reference in it when the gap issue already has another parent. The issue type gives the change:
docsfor a spec change,featorfixfor a code change. When a gap issue closes, no document changes. - Add the 4 rules for a live value change to the section "Homelab Values at Deploy Time" of
k8s/README.md. - Remove Current state, the queries, the Gaps section and every measured value. Link the service dashboards,
devops prometheus rules,devops roadmap review runand the readiness report. - Update the links in
.nav.yml,docs/CLUSTER.md,docs/DESIGN.md,docs/index.mdandk8s/README.md.
This item follows the amendments of PR #5492 (it adds docs/guidelines/index.md, the guideline test and the .nav.yml glob) and PR #5489. The gap tracker issue is filed before this pull request opens.
Target Subsystem
SDLC, Git & PR Governance
Existing Tool Considered
A docs change needs no tool. Sloth (#4709), kubernetes-mixin (#4993), KRR (#4992), OpenSSF Scorecard and the project review (#4714, #4692) give the values that this change removes from the text. GitHub sub-issues hold the state of each gap, so no document copies it.
Cost: about 400k tokens, about 1 agent-day.
Acceptance Criteria
-
tests/invariants/test_guidelines.pypasses on both new guideline files: no issue number, no ISO date, no path of the environment tree. -
uv run devops docs site build --strictpasses, so no link is broken. -
uv run devops docs checkpasses. -
k8s/README.md"Service levels" links the gap tracker issue, and holds no gap row, no measured number and no service table. - Each gap of SRE.md Table 8 and of draft Table 10 that is open is a sub-issue of the gap tracker, or a task-list reference in it.
-
k8s/catalog.tomlhas one entry for each service of the old Table 2, no SLO id, no dashboard uid, and adescriptiononly for a service with no UI annotation of feat(k8s): list each service UI on the start page #4600. - No file links
docs/SRE.md.
Activity
dan-petty commentedon Nov 13, 2026
Both concern the production-readiness guideline, but #5537 adds the programmatic readiness report while this candidate restructures the docs that link to it.dan-petty commentedon Nov 13, 2026
The gap tracker of SRE and production readiness is #5541 (owner decision 4 of 2026-11-13).
k8s/README.mdlinks feat(monitoring): track the SRE and production readiness spec gaps #5541.docs/SRE.mdTable 8 and of draft Table 10. It has 6 sub-issues and 36 reference lines (the gap issues that already have another parent). feat(roadmap): run the implement agent shell in a real sandbox #2695 is a sub-issue of feat(roadmap): track the agentic jobs spec gaps #5543, and feat(monitoring): track the SRE and production readiness spec gaps #5541 names it under "Gaps in other trackers".