diff --git a/plugins/magpie-pr-management/skills/pr-triage/actions/approve-workflow.md b/plugins/magpie-pr-management/skills/pr-triage/actions/approve-workflow.md index db20e4f4d..7da7f2591 100644 --- a/plugins/magpie-pr-management/skills/pr-triage/actions/approve-workflow.md +++ b/plugins/magpie-pr-management/skills/pr-triage/actions/approve-workflow.md @@ -4,10 +4,11 @@ # `approve-workflow` — approve pending CI for a first-time contributor **Inspect the diff first** — [`workflow-approval.md`](../workflow-approval.md) holds the protocol. -Only after the maintainer confirms the diff is not malicious, re-list the pending runs at action time (another maintainer may have approved since the sweep): +Only after the maintainer confirms the diff is not malicious, re-list the pending runs at action time (another maintainer may have approved since the sweep) and refresh the liveness read (`guard` checks the head against any saved copy, so a stale one reports a head move that never happened): ```bash uv run --project ~/.claude/magpie/vetted-ops vetted-op-read --caller pr-management-triage --save runs-head-.json runs-at-head +uv run --project ~/.claude/magpie/vetted-ops vetted-op-read --caller pr-management-triage --save liveness-.json gql-pr-liveness uv run --project /tools/pr-management pr-management triage guard approve-workflow --pr --head --saved-dir /saved ``` diff --git a/plugins/magpie-pr-management/skills/pr-triage/actions/rerun.md b/plugins/magpie-pr-management/skills/pr-triage/actions/rerun.md index 3f954456e..c1881ac33 100644 --- a/plugins/magpie-pr-management/skills/pr-triage/actions/rerun.md +++ b/plugins/magpie-pr-management/skills/pr-triage/actions/rerun.md @@ -3,8 +3,11 @@ # `rerun` — rerun the failed CI jobs +Refresh the liveness read with the runs: `guard` checks the head against any saved copy, so a stale one reports a head move that never happened. + ```bash uv run --project ~/.claude/magpie/vetted-ops vetted-op-read --caller pr-management-triage --save runs-head-.json runs-at-head +uv run --project ~/.claude/magpie/vetted-ops vetted-op-read --caller pr-management-triage --save liveness-.json gql-pr-liveness uv run --project /tools/pr-management pr-management triage guard rerun --pr --head --saved-dir /saved ```