Skip to content

docs: fix the stale statements that the content census found #4894

Done

Description

@dan-petty

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.md make the new rules of feat(docs): track current content and brain-fed reference docs #4880 start red.
  • The .github/workflows/ci.yml comment near line 354 names tests/test_architectural_invariants.py, which moved to tests/invariants/.
  • CONTRIBUTING.md (line 34) and docs/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:

#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 check and uv run devops ci docs pass.
  • The PR body cites the evidence for each fix.
  • Only CONTRIBUTING.md states 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

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    on Nov 12, 2026
  2. added
    type/docs
    status/new
    value/medium
    on Nov 12, 2026
  3. added
    value/medium
    effort/medium
    and removed
    value/medium
    on Nov 12, 2026
  4. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/docs. The docs prefix of the title gives the type.
    • Priority: P2-Medium. The item corrects documentation accuracy and unblocks the new census rules, but it does not stop users.
    • Value: Medium. Accurate documents and one missing settings field help agents and users, but the change adds no major feature.
    • Effort: Medium. The item fixes 19 findings in about 10 files, adds one settings line, moves archive sections and waits for open docs PRs.
    • Related: fix(docs): rule documents name files that are gone or moved #3508, which asks for a different change. 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.
  5. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/docs. The docs prefix of the title gives the type.
    • Priority: P2-Medium. The stale statements make the new content-census rules of #4880 fail on main, blocking that check from passing green.
    • Value: Medium. Fixing 19 wrong statements across docs and one settings line removes confusion for agents and unblocks the census gate.
    • Effort: Medium. Nineteen findings across eight files, plus section moves to archive and one code line, require a multi-file PR.
    • Related: fix(docs): rule documents name files that are gone or moved #3508, which asks for a different change. 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.
  6. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    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.

  7. added
    status/ready
    and removed
    status/new
    on Nov 16, 2026
  8. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at 7ba78c5 (see proposed design in issue body).

  9. added
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/ready
    status/in-progress
    on Nov 28, 2026
  10. removed
    status/in-review
    owner/agent
    on Nov 28, 2026
  11. devops-cli-service commented on Nov 28, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-28 23:51 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumsource/agenttype/docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions