Repository navigation
Description
Problem or Motivation
ADR 0021 rule 5 says each new job starts in mode plan. The docs audit and Pages health jobs file issues in 7 repositories. A false positive in mode on files noise in each of them. The jobs need a measured run before mode on.
Proposed Solution & Architectural Design
- Run
docs-auditandpages-healthin modeplanfor 2 scheduled runs on:- devops-cli (all check families, and the Pages site);
- dreamscaper (public and small,
docs/api.mdnames an API that the check reads againstsrc/, no Pages site, sopages-healthmust give 0 groups there).
- Post the would-be creates, edits and closes, with the counts for each check family, in one tracker comment.
- Judge a sample of 20 findings for each check family as true or false.
- Set mode
onin the ConfigMap for each rule family at 90% precision or more. Keep the model family ("possible missing implementation") inplanuntil it shows 80% or more. - Then enable the other 5 Service repositories in mode
planfor 1 run, check that the first run files 3 issues or fewer for each repository, then set themon.
Target Subsystem
Kubernetes manifests (k8s/devops/configmap.example.yaml and the live ConfigMap), SDLC, Git & PR Governance.
Existing Tool Considered
The plan mode of the steps (#5154, #5155, #5158) and the Loki log of each run give the evidence. No new tool and no new code. Cost (estimate): about 100,000 tokens, 0.5 day of work and 2 weekly runs elapsed.
Acceptance Criteria
- A tracker comment holds the counts and the judged sample for each check family on both repositories.
- The ConfigMap sets mode
ononly for the families that meet the precision target. - After 2 runs in mode
on, each repository has 0 duplicate finding issues.
Dependencies
- feat(roadmap): the docs audit finds documented features the code lacks #5158 and feat(k8s): schedule the docs and Pages steps for each Service repo #5159.
Source: #5151
Alternatives check of 2026-11-16: not-applicable.
Class: chore, no search.
Tool: none found.
Proposed design
Problem statement
The docs-audit and pages-health rows file finding issues in seven repositories. A false positive in mode on puts noise in each repository. ADR 0021 section 8 rule 5 starts a new row in mode plan. This change sets both rows to mode plan in the example ConfigMap. A person sets the same value in the live ConfigMap. This change defers the measured trial and the flip to mode on.
Acceptance criteria
Requirement: The two rows start in mode plan
The example ConfigMap k8s/devops/configmap.example.yaml SHALL set the settings roadmap.docs_audit.mode and roadmap.pages_health.mode to plan.
Scenario: The k8s check accepts the two rows
- WHEN
uv run devops ci --check --only k8sruns on the change - THEN The command exits 0 and reports no finding on
k8s/devops/configmap.example.yaml.
Requirement: Pending a person after the merge
A person MUST set the settings roadmap.docs_audit.mode and roadmap.pages_health.mode to plan in the live ConfigMap of the Service after the merge.
Scenario: The live ConfigMap holds both rows in mode plan
- WHEN A person applies the live ConfigMap change after the merge
- THEN The command
kubectl -n devops get configmap -o yamlshows both settings with the valueplan.
Existing Tool Considered
The alternatives check of 2026-11-16 in the issue body gives the verdict not-applicable, the class chore and the tool line Tool: none found. The issue body holds that check, so this proposal does not restate it. No open, maintained tool or library covers an edit of two row modes in a ConfigMap. This change builds no product code, so it has no build cost. The deferred trial costs about 100,000 tokens, 0.5 day of work and 2 weekly runs, as the issue body records.
Key questions
- Which mode do the
docs-auditandpages-healthrows take in this change?: Modeplan. (best practice) [sources: docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md, src/devops_cli/roadmap/steps/pages_health.py]- Chosen: Mode
plan. Modeplanwrites the plan to the log and no issue to GitHub, so a false positive files no noise. - Rejected: Mode
on. A false positive files a finding issue in each of the seven repositories before the trial runs.
- Chosen: Mode
- Do the settings of the two rows exist in the repository?: The setting
pages_healthis defined atsrc/devops_cli/config/settings.py:2507. The filesrc/devops_cli/roadmap/steps/pages_health.pyserves it. The code map lists nodocs_auditsetting, so thedocs-auditrow comes with dependency feat(roadmap): the docs audit finds documented features the code lacks #5158. Both dependencies feat(roadmap): the docs audit finds documented features the code lacks #5158 and feat(k8s): schedule the docs and Pages steps for each Service repo #5159 must land before this change sets either row. [sources: src/devops_cli/config/settings.py:2507, src/devops_cli/roadmap/steps/pages_health.py]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
Watched files
A commit on the default branch that changes one of these files starts the next refine round.
src/devops_cli/config/settings.py
Activity
dan-petty commentedon Nov 12, 2026
Both concern docs quality checks, but #4920 asks for a new drift report tool while the candidate asks for enabling existing audit jobs after a precision measurement period.dan-petty commentedon Nov 15, 2026
The item cannot be delivered by a code change. It is a live measurement over 2 weekly scheduled runs, a person's judgment of 20 findings per check family, and a change to the live ConfigMap in 7 repositories.
mode: onis a live ConfigMap edit after the evidence.docs-auditandpages-healthin modeplanon devops-cli and dreamscaper, one tracker comment with the counts, and a judged sample of 20 findings for each family.ononly where the precision is 90% or more, and the model family needs 80%. That is a person's decision on data that does not exist in the repository.No artifact is written. A person runs the two rounds, records the counts and the judged sample in the tracker comment, and edits the live ConfigMap for the families that meet the target.
devops-cli-service commentedon Nov 16, 2026
Alternatives check: not-applicable
Class: chore. The check makes no search and no model call for an item of this class.
Tool: none found
Checked on 2026-11-16. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 17, 2026
Owner question: Which rule families meet their precision target? (a person decides)
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 21, 2026
Owner question: See the first point of Open questions in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 21, 2026
Owner question: See the first point of Open questions and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 25, 2026
Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies and Watched files in the section Proposed design of the body.