You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explain wrong-head, dirty, failed, and changed-plan check receipts #1468
the same reason covers a missing receipt, an older head, a dirty receipt, a failed stage, and a different ordered command list. A check repeated on the same dirty checkout or against the same deterministic failing stage does not clear readiness. #1294 fixed the fingerprint-only variants, and #1382 documented how to produce a compatible receipt. This issue covers the earlier guard.
Reproducer
Run loopzero ready with one of these synthetic receipts: a clean passing report for another SHA, an exact-head dirty report, an exact-head report with a failing stage, or a passing report whose commands differ from the current workflow. The configured workflow and remote PR can be held constant. Each variant returns the same reason from _check_report_problem.
Proposed wording
“Check receipt is for . Run loopzero check at .”
“Check receipt was recorded in a dirty worktree. Run git status --short, settle the changes, then run loopzero check.”
“Check receipt records a failed stage. Fix the failure, then run loopzero check. Retry unchanged only if the failure was transient.”
“The receipt's check plan differs from the trusted workflow. Run loopzero check with the current workflow.”
Acceptance
Readiness distinguishes those causes, with an explicit command or blocking decision for each. A missing receipt still asks for a current check.
Interrupted or incomplete receipts can resume a check without implying their results passed.
Preserve fingerprint-specific remedies, receipt format, validation and exit behavior.
Activity