This is preview documentation. The official release is not yet available.
Goal and prerequisites
Prepare Service, working Runtime Hosts and authenticated providers, Git, GitHub CLI, and JDK 17+. Use an exercise repository with developer and independent reviewer identities. A repository administrator configures required checks, branch rules, and merge permissions. Hosted identity and GitHub identity are separate; creating Agent roles does not create GitHub accounts. Download these files, remove the final.txt, and place them in the exercise repository:
The fixture implements the query logic behind an order API, not an HTTP server. Filtering and pagination are intentionally absent: three of five checks fail initially. The Issue also requires additional boundary tests. Ignore
out/, commit the fixture and CI, and create the Issue. Initial CI failure represents the unimplemented feature.
1. Create four Hosted roles
Follow Hosted setup, then verify each Agent’s task and collaboration capabilities. The Developer needs push/PR access, Reviewer needs review access, and QA needs Actions status/log access. Merge uses an authorized identity. Isolate GitHub identities using Host users, execution environments, or tool credentials rather than concurrently switching a shared CLI login.
Under DESIGN → Teams, select the Hosted Leader and add the other three members. Use team instructions such as:
2. Start from a GitHub Issue
Create a Service Issue under WORK → Issues with the GitHub Issue URL,OWNER/REPO, base branch, test command, criteria, and authorization scope: delivery through a merge-ready PR or including merge. Assign the Team and require human acceptance. The Leader reads the original GitHub Issue through its tools and retains its identity.
This minimal path does not require event bridging. If GitHub Work Source is configured, use the synchronized Service Issue. The current adapter handles Issues and comments; PR review and CI still require GitHub tools.
Set REPO, ISSUE_NUMBER, BASE_BRANCH, and subsequent variables to actual task values. Check identity in the task environment:
3. Implement and create a PR
The Developer clones the exercise repository into its Host task directory and creates a task-specific branch. A repository open on the administrator’s computer is not automatically task input. Reviewer and QA use their own checkouts; commits share code, while Comments and Artifacts share reports. Run baseline checks, implement the feature, add tests, and record commands, exit codes, and commits. Write requirements, changes, tests, and the Issue link intopr-body.md. If merge should close the Issue, include the actual Closes #number reference.
4. Review, CI, and rework
Reviewer and QA first record the head SHA, then check out and inspect the PR:Integer.MAX_VALUE as a page to detect overflow in (page - 1) * size.
Write concrete findings and acceptance requirements into review.md and request changes. The Leader reads findings and explicitly dispatches follow-up work; Service Inbox Request changes does not automatically rerun execution.
--required lists only configured required checks; an empty set is not evidence that tests passed. Pending, cancelled, and missing checks do not establish success. See checks.
5. Approve, merge, and accept
The independent reviewer verifies the final commit and submits GitHub approval with evidence in the report:REVIEWED_SHA must be the inspected commit, not a newly fetched value used to skip review:
Failure paths and event-driven extension
First complete the loop through explicit CI queries. Then add Automation: a bridge verifies GitHub events, correlates repository/PR/commit with existing work, and deduplicates delivery IDs. A generic webhook’s new task does not automatically resume the old Team; define correlation and subsequent dispatch explicitly.
Keep delivery evidence, clean exercise branches and credentials, and inspect outstanding Host tasks. Include a real rework or recovery path in acceptance, not only a successful screenshot.