Accept every changed story in a build
accept_buildAccept ALL changed stories in one build at once (resolved by commitSha/prNumber/buildId), advancing each story's per-branch baseline so the next build is clean. This is the bulk form of review_diff='accept' — use it when you've decided the whole build's changes are intended. It accepts every changed story, including stories that already have a prior denied review; failed stories are unaffected. Returns the build triage after accepting (first page of changed stories, each now showing decision='accepted'; page the rest with list_build_stories if changedNextCursor is set). Refused, with nothing accepted, while any changed story has an unresolved review comment: the error names those stories; read them with list_comments, address each note, resolve_comment its thread, then accept again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildId | No | Resolve this exact build id. | |
| prNumber | No | Resolve the latest build for this PR number. | |
| commitSha | No | Resolve the build for this git commit SHA. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| counts | Yes | ||
| status | Yes | ||
| buildId | Yes | ||
| aiReview | Yes | ||
| comments | Yes | ||
| prNumber | Yes | ||
| commitSha | Yes | ||
| createdAt | Yes | ||
| gateStatus | Yes | ||
| failedStories | Yes | ||
| changedStories | Yes | ||
| failedNextCursor | Yes | ||
| autoAcceptChanges | Yes | ||
| changedNextCursor | Yes |