Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 3.14 KB

workflow.md

File metadata and controls

57 lines (48 loc) · 3.14 KB

Development workflow

Every host is a development host. No host merges and no host is required for merging: hosts can be added, replaced or retired without moving merge rights.

any development host: coding agent writes code
  -> push a branch and open a pull request as the Builder App
GitHub: CI checks + AI review (per-account reviewer Apps)
  -> webhook (checks done, review status, labels) -> router Worker
  -> Autoland workflow (Coordinator App): merge when green, otherwise note for a human
  -> hourly reconcile pass catches missed events

Who does what

Actor Where Does Holds
Interactive agents (Claude Code, Cursor, Antigravity, ...) any development host write code, push branches, open and update pull requests that host's Builder key, model logins
Executor agents (dsh, Codex, ...) an executor host run a task and return a patch; the dispatching host pushes it model logins only
AI reviewers reviewer Workers post review receipts on every pull request (primary provider with a fallback) their own App keys
Coordinator Autoland workflow + router Worker merge green Builder pull requests through each repository's gate Coordinator key in encrypted secrets only
Owner personal account deploys, secrets, IAM, settings, authority grants, merges that deploy personal login

Rules for agents

  • Work only through the Builder identity; never use a personal login.
  • Branch from the default branch with a type prefix (feat/, fix/, docs/, chore/, refactor/, test/, ci/); name the agent in the commit author and in ## AI assistance.
  • Start every session with agentops tasks: fix PRs labelled agent:needs-fix that are yours (or claimable, after agentops tasks claim) before new work.
  • Put Agent: <tool>@<host> on its own line in every PR body; that agent owns the PR until it merges.
  • Run the repository's local checks before pushing; fill in the pull request template.
  • Never push to the default branch, force-push a reviewed branch, add owner-approved, or merge. Fix review findings with new commits.
  • To run a verification workflow that needs a manual start, add the label agentops:run/<file>.yml to your PR; it runs only if the repository lists it in autoland.agent_dispatch. Use synthetic data, never real accounts.
  • After opening the pull request, nothing else is needed: Autoland merges it when checks and review are green. If it labels agent:needs-fix, its comment lists the blockers; push fixes to the same branch.

When a pull request does not merge

Label Meaning Who acts
agent:needs-fix failing check, blocking finding or conflict (listed in the Autoland comment) the owner agent; any agent after the lease
needs-human no progress, or a decision reserved for the owner (deploy, owner paths, P0) the owner, notified by GitHub
do-not-merge/hold a person paused it the person who set it

Infrastructure flakes are rerun and branches behind the base are updated automatically. There is no fixed number of fix rounds; see design.md.