Skip to content

feat: add pipeline-paused kill switch and per-PR gate verdict audit trail#359

Merged
schmug merged 1 commit into
mainfrom
claude/dmarcheck-routine-LmfQM
May 23, 2026
Merged

feat: add pipeline-paused kill switch and per-PR gate verdict audit trail#359
schmug merged 1 commit into
mainfrom
claude/dmarcheck-routine-LmfQM

Conversation

@schmug
Copy link
Copy Markdown
Owner

@schmug schmug commented May 23, 2026

Summary

  • Kill switch: Both Routines check for a pipeline-paused label on any open issue as step 0. If present, they print a clear no-op message and halt — no PRs opened, no merges, no comments, no label changes.
  • Audit trail: The reviewer Routine now posts the full gate verdict JSON (pass, reasons) as a PR comment on every auto-merged PR, providing an immutable per-PR record of why the gate passed it.
  • Label + docs: setup-labels.sh creates the pipeline-paused label; docs/routine-pipeline.md documents pause/resume steps and the audit trail rationale.

Closes #314

Test plan

  • setup-labels.sh schmug/dmarcheck — verify pipeline-paused label created (yellow E4E669)
  • Apply pipeline-paused to any open issue (e.g. gh issue edit 304 --add-label pipeline-paused) — both Routines should print no-op message and exit without mutating anything
  • Remove the label — Routines resume normal processing on next run
  • On next auto-merge: PR should have a comment containing the gate verdict JSON block

Deferred follow-ups

None.

https://claude.ai/code/session_018i41oh1iF815sGZNvjdacN


Generated by Claude Code

…rail

Both Routines now check for the `pipeline-paused` label (step 0) before
any action and no-op immediately if present. The reviewer also posts the
full gate verdict JSON as a PR comment on every auto-merge, providing an
immutable audit record. setup-labels.sh creates the new label; operator
guide documents pause/resume and the audit trail.

Closes #314

https://claude.ai/code/session_018i41oh1iF815sGZNvjdacN
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
dmarcheck d609f30 May 23 2026, 02:10 PM

@schmug schmug merged commit 0bf909e into main May 23, 2026
5 checks passed
@schmug schmug deleted the claude/dmarcheck-routine-LmfQM branch May 23, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reviewer Routine hardening: per-merge audit comment + kill switch

2 participants