Overview
Two-phase completion:- Plan phase — call without
pr_url. Returns a squash-merge plan: suggested title, markdown PR body, and literalgit+ghcommands to run locally. - Finalize phase — after you open and merge the PR, call again with
pr_url. Status flips tocompletedand participants’ sessions are notified.
summary.has_blockers=true. Resolve those (or cancel them) before finalizing.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | Workstream slug |
pr_url | string | No | Once the PR exists, pass its URL to finalize |
session_id | string | No | Your current session id |