Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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-<N>.json runs-at-head <head_sha>
uv run --project ~/.claude/magpie/vetted-ops vetted-op-read --caller pr-management-triage --save liveness-<N>.json gql-pr-liveness <N>
uv run --project <framework>/tools/pr-management pr-management triage guard approve-workflow --pr <N> --head <head_sha> --saved-dir <workspace>/saved
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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-<N>.json runs-at-head <head_sha>
uv run --project ~/.claude/magpie/vetted-ops vetted-op-read --caller pr-management-triage --save liveness-<N>.json gql-pr-liveness <N>
uv run --project <framework>/tools/pr-management pr-management triage guard rerun --pr <N> --head <head_sha> --saved-dir <workspace>/saved
```

Expand Down