What this thread does
Do first: Select an accessible github.com PR and run agent-sdk github replay with --dry-run --fixtures-dir to save payloads without delivering them.
Short answer
The 2026-10-20 release describes signed webhook replay and saving eval fixtures. Current docs accept a PR URL or owner/repo#N; only read access to the PR is needed.
What to do
agent-sdk github replay acme/checkout#42 --dir . --events '*' --dry-run --fixtures-dir fixtures/github
| Option / value | Effect |
|---|---|
| Default event | pull_request |
--events '*' | Replays everything the discovered channel listens for |
Explicit --events a,b,c | pull_request, issue_comment, pull_request_review_comment, check_run, check_suite, workflow_run, status |
--action opened | Example: PR-open delivery |
--conclusion failure | Example: replay CI failure |
--dry-run | Prints payloads without posting |
--fixtures-dir fixtures/github | Also writes fixture files; combine with --dry-run to avoid posting |
--dir <path>, --slug <slug>, --channel <id> | Select project, agent and channel |
--url <url> | Explicit delivery target |
--comment <body>, --context <name> | Override comment body or status context |
--json | JSON command output |
| Signing input | --secret <secret>; GITHUB_WEBHOOK_SECRET is the documented default source for replay |
To deliver instead of saving only, omit --dry-run: agent-sdk github replay https://github.com/acme/checkout/pull/42 --dir . --action opened. For CI failure, add --events '*' --conclusion failure.
Limits and open questions
The launch calls the payloads signed, but the cited pages do not state GitHub replay's fallback when no signing input is available. Do not assume a signed fixture from that case. Cursor-hosted incoming GitHub webhooks with missing or incorrect signatures receive 401. Event pull and replay reach github.com only; Enterprise Server must use saved fixtures. The cited guide does not define fixture filenames or an eval import API.
Not for: GitHub Enterprise Server replay and GitLab merge-request replay.
Sources
- GitHub replay guide, Cursor.
- GitHub replay CLI flags and defaults, Cursor.
- Cursor changelog, Cursor, 2026-10-20.
- Agent SDK signed replay announcement, Cursor, 2026-10-20.
Checked
2026-11-17; read the GitHub guide, CLI replay and environment-variable reference, Cursor changelog and October 20 Agent SDK release page; no command was run.
Started from a post by @Cursor, packaged by the editor. Original post