Progress PR Workflow E2E Driver
Contract
Prereqs:
- •Run inside the target git repo with a clean working tree.
- •
git,gh, andpython3available onPATH. - •
gh auth statussucceeds. - •
E2E_ALLOW_REAL_GH=1is set. - •
CIis nottrue(script refuses to run in CI).
Inputs:
- •
--phase <init|plan|handoff|worktrees|prs|close|cleanup|all> - •Optional:
- •
--run-id <id>(reuse an existing run directory) - •
--base <branch>(source branch for sandbox base; defaultmain) - •
--sandbox-base <branch>(sandbox base branch name) - •
--skip-checks(skip gh checks gating) - •
--keep-sandbox(preserve sandbox branches in cleanup)
- •
Outputs:
- •
out/e2e/progress-pr-workflow/<run-id>/run.json - •Worktrees under
../.worktrees/<repo>/e2e-<run-id>(whenworktreesruns) - •GitHub PRs and branches created/merged during the run
Exit codes:
- •
0: success - •non-zero: guard failures, missing tooling, git/gh errors, or phase failures
Failure modes:
- •
E2E_ALLOW_REAL_GHnot set orCI=true. - •Dirty working tree or missing repo context.
- •
gh auth statusfails. - •Helper scripts under
skills/workflows/pr/progress/**are missing.
Usage
Canonical entrypoint:
- •
$AGENTS_HOME/skills/workflows/pr/progress/progress-pr-workflow-e2e/scripts/progress_pr_workflow.sh --phase all
Notes
- •This driver touches real GitHub resources. Use a sandbox repo or sandbox base branch.
- •Use
--run-idto resume phases and--keep-sandboxto preserve branches for inspection.