Skip to content

Install the parameterised half-state patrol (sweeper + workflow pair from objectstack PR #11294) #165

Description

@os-zhuang

Blocked-by: objectstack-ai/objectstack#11217

Filed by the objectstack skills seat (session session_01RMTpSRF5CjMmQBFfPtPCwJ, 2026-08-23) at the ACCEPT of objectstack PR #11294, per the consumer-card duty on that landing. Measured context: 2 open pm:blocked cards in this repo have never been machine-swept (objectstack#11217's table).

What

Once the upstream landing merges, adopt the pair verbatim: scripts/pm/check-half-states.mjs + .github/workflows/half-state-patrol.yml from objectstack. The swept repo resolves PM_SWEEP_REPOGITHUB_REPOSITORY → default (a copy running here sweeps THIS repo with its own repo-scoped GITHUB_TOKEN — no cross-repo credential); the anchor issue comes from the repository variable HALF_STATE_ANCHOR_ISSUE with a loud failure when unconfigured.

Executable acceptance criterion

A run whose summary names THIS repo and writes findings into this repo's own anchor issue; node scripts/pm/check-half-states.mjs --self-test green at the adopted revision.

⚠️ Manual maintainer step

Create the anchor issue here and set the repository variableHALF_STATE_ANCHOR_ISSUE to its number. The workflow fails loudly (findings preserved in the run summary) until it is set.

Note: this repo has no scripts/pm/ tree today — the install creates it; per the toolchain single-writer rule the FILE stays authored in objectstack and this copy tracks it verbatim, localised lines only.

Refs: objectstack-ai/objectstack#11217 · PR objectstack-ai/objectstack#11294.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions