Skip to content

pstack correct: a check behind an opt-in switch should count as unshipped until the switch is on #1320

Open

Description

@EthanYoQ

Skill: pstack/skills/correct/SKILL.md (0.15.36)

What happens. correct asks for each new check to be proved against a real past mistake ("Prove each new check fails on a real past mistake"). It does not say what counts when the check sits behind an opt-in switch: an env var, a marker file, a config flag. A check can be written, tested against a replay, and reported as shipped, while it never runs in the real pipeline because the switch was never turned on.

Seen in. A multi-day coordinator program in Claude Code. A previous retro added a second-version merge gate (independent premise verdicts and a call-site inventory file) behind a marker file. One batch later the marker file existed in no batch directory. The gate had blocked nothing, and the inventory file had been produced zero times. Meanwhile the rule text described the gate as enforced.

Proposal. Add one line under "Fix and prove". A check behind a switch counts as not shipped until the switch is on in the configuration that real runs use. The proof includes showing the switch's state there, not only a replay with the switch forced on.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions