Repository navigation
Description
Problem or Motivation
The content census at cd6fb76 (2026-11-11) found 22 living high findings. All 22 are still on main at 9208717: 10 paths, 2 variables, 3 flags, 4 closed items named as open, 1 copied constant and 2 identifiers.
- The 44 findings in the dated sections of
docs/SELF_IMPROVEMENT.mdmake the new rules of feat(docs): track current content and brain-fed reference docs #4880 start red. - The
.github/workflows/ci.ymlcomment near line 354 namestests/test_architectural_invariants.py, which moved totests/invariants/. CONTRIBUTING.md(line 34) anddocs/TESTING.md(line 185) state the same coverage rule. This is a duplicated rule of the standards baseline.
Proposed Solution & Architectural Design
Check each finding on main first. Then fix the 19 findings in files that stay:
docs/TESTING.mdlines 250 and 256 (FakeValkeyClient; test(core): the data directory, run store and gitignore tests start no git and reach git through the git fake #2174, test(roadmap): the roadmap refine, run and intake tests start no git and reach git through the git fake #2178 and test(repos): the repos, branches, github, ssh, devcontainer, tf and openspec tests start no git and reach git through the git fake #2183 named as open).docs/KNOWN_ISSUES.mdlines 11 and 26 (the copied value is 1200.0, not 3600.0).k8s/README.mdlines 144, 346 and 499 (Metrics and logs are kept for two hours #550 named as open at 346).docs/SELF_IMPROVEMENT.mdlines 152, 1046, 1134 and 1136.docs/DASHBOARD_TABS_AUDIT.mdlines 22 and 142.- The knowledge base pages
pyyaml_jinja2.mdline 63 andvalkey.mdline 139 (is_safe_endpoint()).
#3917 removes the other 3 findings (flags in architecture.md, cli_command_reference.md and configuration_and_settings.md) when it deletes those files.
For k8s/README.md line 144 (DEVOPS_CLI_AI_TASK_COMPOSE_MODEL): add Variable(fields=_TASK_VARIABLES) to ai.tasks.compose in src/devops_cli/config/settings.py, because the other review tasks have it and the document routes the whole review to the background tier. If #4827 removes the compose task first, remove the variable from the document.
Move the "Calibration Record" and "Historical Remediation Case Studies" sections of docs/SELF_IMPROVEMENT.md and the done parts of docs/DASHBOARD_TABS_AUDIT.md to docs/agent/archive/ (class record), and leave one link. Fix the ci.yml comment. Replace the coverage rule in docs/TESTING.md with a link to CONTRIBUTING.md. Merge after open docs PRs that touch the same files.
Target Subsystem
SDLC, Git & PR Governance (docs/, k8s/README.md, the knowledge base, .github/workflows/ci.yml).
Existing Tool Considered
No tool applies: the item fixes text and adds one settings line. The census rules of #4880 find these defects later.
Acceptance Criteria
- A recheck of the 19 tokens at the merge commit finds none of them in the changed files, and the history sections hold 0 findings. The drift command of child 12 of feat(docs): track current content and brain-fed reference docs #4880 can make this recheck when it exists.
uv run devops docs checkanduv run devops ci docspass.- The PR body cites the evidence for each fix.
- Only
CONTRIBUTING.mdstates the coverage rule.
Dependencies
None. Merge after open docs PRs that touch the same files.
Source: #4880
Alternatives check of 2026-11-14: not-applicable.
Class: docs, no search.
Tool: none found.
Proposed design
Problem statement
The content census found 22 stale statements in the documentation. 19 are in files that stay on main. The other 3 are in files that #3917 deletes. This issue fixes the 19 stale statements, moves historical sections to the archive, corrects a CI comment path, and removes a duplicated coverage rule.
Acceptance criteria
Requirement: stale-tokens-removed
The 19 stale tokens SHALL not appear in the changed files at the merge commit.
Scenario: recheck-after-merge
- WHEN A recheck of the 19 tokens runs at the merge commit
- THEN None of the 19 tokens are found in the changed files
Requirement: history-sections-archived
The Calibration Record and Historical Remediation Case Studies sections SHALL be moved to docs/agent/archive/ with a link left in the original location.
Scenario: archive-verification
- WHEN The archive folder and the original file are checked after the change
- THEN The moved sections are present in docs/agent/archive/ and the original location holds a link to them
Requirement: docs-checks-pass
The documentation checks SHALL pass after the change.
Scenario: docs-check
- WHEN uv run devops docs check and uv run devops ci docs run
- THEN Both commands exit 0
Requirement: single-coverage-rule
Only CONTRIBUTING.md SHALL state the coverage rule, and docs/TESTING.md SHALL link to it.
Scenario: coverage-rule-dedup
- WHEN The coverage rule text is searched in docs/TESTING.md
- THEN The rule text is replaced with a link to CONTRIBUTING.md
Requirement: ci-comment-path
The ci.yml comment SHALL reference the correct test path under tests/invariants/.
Scenario: ci-comment-path
- WHEN The comment near line 354 of .github/workflows/ci.yml is read
- THEN It names a path under tests/invariants/ instead of tests/test_architectural_invariants.py
Requirement: compose-task-consistent
The DEVOPS_CLI_AI_TASK_COMPOSE_MODEL reference SHALL be consistent with the state of the compose task.
Scenario: compose-task-check
- WHEN The compose task exists in the codebase
- THEN ai.tasks.compose in settings.py declares Variable(fields=_TASK_VARIABLES) and k8s/README.md references it correctly
Existing Tool Considered
No tool applies. This is a documentation fix: text corrections in 8 files, one settings line, and a section move. The alternatives check recorded not-applicable for the docs class on 2026-11-14.
Key questions
- Should the compose task variable be added to settings.py or removed from the document?: Check whether refactor(ai): delete devops ai pipeline and the persona review leftovers #4827 has removed the compose task. If the task exists, add Variable(fields=_TASK_VARIABLES) to ai.tasks.compose in settings.py. If refactor(ai): delete devops ai pipeline and the persona review leftovers #4827 removed it, remove the variable reference from k8s/README.md. (best practice) [sources: k8s/README.md:144, src/devops_cli/config/settings.py]
- Rejected: add-settings-line. The compose task exists and other review tasks already declare Variable(fields=_TASK_VARIABLES).
- Rejected: remove-doc-reference. Only applies if refactor(ai): delete devops ai pipeline and the persona review leftovers #4827 removes the compose task before this issue merges.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 12, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
docsprefix of the title gives the type.The item corrects documentation accuracy and unblocks the new census rules, but it does not stop users.Accurate documents and one missing settings field help agents and users, but the change adds no major feature.The item fixes 19 findings in about 10 files, adds one settings line, moves archive sections and waits for open docs PRs.Both items correct stale documentation statements that name moved or missing files; item 3508 corrected other lines and the candidate corrects the census findings, including a moved test path in ci.yml.dan-petty commentedon Nov 12, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
docsprefix of the title gives the type.The stale statements make the new content-census rules of #4880 fail on main, blocking that check from passing green.Fixing 19 wrong statements across docs and one settings line removes confusion for agents and unblocks the census gate.Nineteen findings across eight files, plus section moves to archive and one code line, require a multi-file PR.Both fix stale document references, but #3508 corrects 3 file-path errors found in one window while the candidate corrects 19 findings from the cd6fb76c census across different files and lines.devops-cli-service commentedon Nov 14, 2026
Alternatives check: not-applicable
Class: docs. The check makes no search and no model call for an item of this class.
Tool: none found
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 16, 2026
Status set to Ready at 7ba78c5 (see proposed design in issue body).
devops-cli-service commentedon Nov 28, 2026
Released in v0.240.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.240.1
devops-cli-service commentedon Nov 28, 2026
Live since 2026-11-28 23:51 UTC
docs(spec): fix four tasks of the drift plan that a build cannot do
docs(spec): fix four tasks of the drift plan that a build cannot do