Skip to content

docs(ci-cd-pipeline): the Half-State Patrol section describes PM_SWEEP_CLOSED_WINDOW_PAGES: '0', a knob the workflow no longer sets — the closed-card reader is ON with PM_SWEEP_CLOSED_FLOOR #8043

Description

@os-zhuang

Split from #7852 (half ②) by the director seat under decision batch #54 (maintainer 「同意」, 2026-09-06). #7852 itself is now pm:awaiting-maintainer for half ① (the repository variable HALF_STATE_ANCHOR_ISSUE only a maintainer can set); this card is the docs correction, which a dev can land independently.

The defect

content/docs/guide/ci-cd-pipeline.md:1887 (Half-State Patrol section) says:

the sweeper's closed-card reader … is switched off here via PM_SWEEP_CLOSED_WINDOW_PAGES: '0'

.github/workflows/half-state-patrol.yml does not set that variable anywhere (it appears only in the header comments at :39 / :80 as history). It sets

PM_SWEEP_CLOSED_FLOOR: '2026-08-28'

and its own header says the reader is on with a dated floor, page window back to the script's upstream default of 4.

What to do

  • Rewrite the sentence (and any neighbouring claim in that section that repeats the retired mechanism) to describe the actual configuration: reader on, floor 2026-08-28, window default 4, and why.
  • Add a pin so a false statement inside the section cannot survive the next divergence: scripts/__tests__/ci-cd-pipeline-doc.test.ts today reads headings and file names only; extend it (or add a sibling) to assert that every PM_SWEEP_* variable the doc names is one the workflow actually sets — a control that the current wrong name reds it.
  • skip-changeset (docs + test only).

Re-check before claiming

grep -n "PM_SWEEP_CLOSED" .github/workflows/half-state-patrol.yml content/docs/guide/ci-cd-pipeline.md

Activity

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

    documentationImprovements or additions to documentationdomain:devxobjectui devx stream: fix lands on .github/, scripts/ or release pipeline — devx lane cross-repopriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions