Documentation
Automated Acceptance
Let Claude create acceptance criteria, open a PR, handle checks, and run final review and testing
Automated acceptance is enabled by default for new tasks when Git checkpointing is enabled. It asks Claude to create acceptance criteria and a definition of done, then keeps the task moving through pull request creation, GitHub checks, check repair, final review, and final testing.
Managed acceptance lifecycle
Terragon keeps PR creation, checks, repair, review, testing, and completion moving through a managed acceptance lifecycle. The task page shows the active phase in the Acceptance row.
What Happens
Acceptance criteria
Claude writes the acceptance criteria and definition of done before implementation.
Pull request
Terragon opens or updates the pull request after the agent checkpoint, even if automatic PR creation is disabled in user settings.
PR checks
Terragon waits for GitHub checks when they exist. If no checks are reported, the lifecycle proceeds to final review and testing.
Check repair
If checks fail, Claude is prompted to inspect CI, fix the issue, run relevant tests locally, commit, and push.
Final review
Claude compares the final code against the acceptance criteria and definition of done.
Final testing
Claude runs the required tests or checks, fixes regressions, and pushes any final changes.
Done
The lifecycle is marked complete after the final review and testing pass.
Where To See Status
- Task page: the header shows an Acceptance row for automated acceptance tasks.
- Task list: automated acceptance tasks show a compact acceptance icon beside PR and agent indicators.
- GitHub PR: check status is reflected on the PR icon and used by the lifecycle to decide whether to repair, wait, or review.
Turning It Off
Use the automated acceptance toggle beside the prompt tools before creating, forking, redoing, or submitting a draft task. Turning off Git checkpointing also turns off automated acceptance because the lifecycle depends on branches, commits, and pull requests.
Definition of done
Automated acceptance makes Claude responsible for creating and validating the definition of done, but you should still review the final pull request before merging.