Skip to content

Keep the staged CLI from erasing unverified checks in PR Validation #1298

Done

Description

@eowca

The staged host CLI can silently erase the warning that a PR's displayed check pass is unverified. A reader then sees the current head and exit 0 in Validation even though current loop-zero refuses the receipt.

I ran check on a clean scratch repo with the staged host revision b0ab7dd3, using true as its only check. On the same head, current main rejected that receipt and rendered (unverified, run loopzero check). Refreshing that exact body with the staged CLI removed the warning while preserving the old exit 0. Both revisions replace the same generated checks block. The old renderer prints the receipt head and exits without checking its settings. Staged renderer · Current renderer

Acceptance

  • Advance the staged CLI used for PR body writes to a verified revision containing Mark outdated check receipts in PR Validation #1160. Cover automated check refresh and explicit PR resync.
  • With a stale same-head receipt and an existing PR body containing behavioral evidence, both refresh paths retain the unverified warning and the behavioral evidence. A fresh compatible receipt clears the warning.
  • Document the order for this rollout in the existing pin and rollback guidance. Keep the existing PR block and receipt format. Setup

Activity

  1. eowca commented on Nov 26, 2026

    @eowca
    ContributorAuthor

    The staged b0ab7dd writer predates #1160. Current main at 5bbce07 preserves the same-head warning and manual evidence through automatic refresh and explicit resync in offline tests, and a fresh receipt clears the warning. Advance both staged PR-body write paths to that revision (or a newer verified descendant of 3ff80bd) before resuming writes, then regenerate the receipt. Coverage and rollback guidance are in #1332.

  2. eowca commented on Nov 26, 2026

    @eowca
    ContributorAuthor

    Verified the host staging symlink now resolves to 72f087e, which contains #1160. PR #1332 merged as 5790a52 after its candidate passed. Its offline regression covers both PR-body write paths, preservation of manual evidence, and clearing the warning after a fresh compatible receipt.

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