The three that touch code form a loop. The issue worker opens a PR labelled
agent:authored; PR review reviews it; if the review has findings, the review responder acts on them; a human merges. On-call feeds the same loop at its front: it files an issue labelled agent:triage, and a human who agrees adds agent:ready to hand it to the issue worker.
What it will never do
- Merge, or cut a release. No workflow in the pack calls a merge or a release. The GitHub integration does have a merge action,
github/pr.merge@1, but it is a workflow step only, never an agent tool, so no agent in the pack can reach it. It exists for a pipeline you compose yourself: a custom workflow can call it in an action node when a person decides that workflow should merge, and it merges only the exact head commit the workflow passes it, so a push after the review is never merged. - Approve. PR review’s verdict is
COMMENTorREQUEST_CHANGES. The event is computed in one node from the reviewer’s answer by an expression with exactly those two outcomes, so a reviewer that returnsAPPROVE(confused, or steered by text in the PR) still posts aCOMMENT. The reviewer is also given no tool that can post a review. - Push to your default branch, to a protected branch, to a fork, or with
--force. Pushes go through agit_publishnode, which checks the branch against GitHub’s own answers before anything leaves your machine and refuses a push that is not a plain fast-forward. The issue worker may only pushautopilot/*branches; the review responder only the head branch of the PR it is answering, and only if the PR is in the same repository. - Add
agent:ready. On-call files issues asagent:triage. A human promotes them. - Act for a stranger. Who may start a run is a filter on the event (below), and the text of issues, PRs and comments reaches an agent only as quoted data from the people you trust.
- Hold a credential in a shell. Every agent shell and every
runnode in the pack is declaredcredentials: none. The push credential exists for the one push, insidegit_publish, and never reaches a shell, a file or the environment.
Turning it on
Open Workflows → Library, open the workflow, and choose Set up. One dialog turns on every trigger the workflow declares; it asks once for the GitHub account to listen through, which repositories to watch, the project, the machine and the workflow’s other inputs (the settings below). An agent can write or edit these workflows but cannot turn them on: only you can. The repositories are picked from a list, not typed. The list is the repositories the Reliant GitHub App is installed on that you can see, which is exactly the set GitHub events are delivered for, so you cannot pick a repository that would never fire. Pick at least one; Turn on stays unavailable until you have. The people who may ask for work (trusted_ids) are picked by searching GitHub accounts, and each label setting offers the labels of the repositories you picked. If the App is not installed on a repository yet, add it from Add account or choose repositories in the GitHub connection and it appears in the list.
An automation that was turned on with no repositories (one created before repositories were required) shows Needs setup with a Finish setup button that opens the same dialog with its settings filled in. It stays off until you pick repositories; nothing about it is lost.
Enable each workflow you want. They are independent, and none requires the others, though the loop above only closes when all three code workflows are on for the same repositories.
PR review needs no machine, so choose No machine for it. The other four work in a checkout, so pick the machine that holds your repositories as sibling folders of one project (forge, control-plane, reliant, say), or one project per repository.
On Reliant’s hosted platform, turning on on-call connects it to your organization’s alerts with nothing to copy; self-hosted, it shows a webhook URL and token, once. See Alerts and errors.
Autopilot workflows only start from their triggers, so the chat composer’s workflow picker never offers them, and its helper workflows (leases, labels, the restricted agent loop) are listed nowhere. Their runs stay out of your chat list: each appears under Workflows → Runs, named by the automation that fired it. A run that finishes successfully archives itself and stays in Runs marked Archived; one that fails or is waiting on you stays unarchived. See Where runs go.
Settings
These are the workflows’ inputs, so they appear in the Enable dialog with their defaults. Each activation has its own values, which is how two projects can run the same workflow on different repositories.Shared by PR review, security review, issue worker and review responder
trusted_ids is picked by login but stored as the numeric account id: a login can be renamed and then registered by someone else, an id never is. You are always trusted through the GitHub connection you enabled the workflow with.
PR review
Every label setting is a
github.label: the picker offers the labels of the repositories you picked, and accepts a name that does not exist yet (the workflow creates it with a colour on first use).
PR review covers every non-draft PR in your repositories when it is opened or marked ready for review. Add skip-review to opt one out. A review can be asked for again by adding the re-review label or by commenting /autopilot re-review as you or a trusted person.
Security review
Security review covers every non-draft PR in your repositories when it is opened, reopened, marked ready for review or gets new commits, or only the PRs carrying one of
require_labels. Each head commit is reviewed once: a review it already posted for that commit (as you or as the Reliant bot) is not posted again. Comment /autopilot security-review as you or a trusted person, or use Run now with repo and pr_number, to review any open PR on demand, a draft or an already-reviewed commit included.
The reviewer works on code only. It runs in your checkout of the repository with the same tools as on-call’s investigator, a shell without credentials, view and code_context, plus GitHub reads of the PR at its head commit. It has no edit tools and no GitHub write tools. It is told never to scan or probe any host, never to deploy or touch a cluster or production, and never to execute the repository’s code (no tests, builds or installs); the only network calls it is told to make are lookups of the changed dependencies in public advisory databases (OSV, or npm audit when npm is installed). It threat-models the diff for:
- authentication and authorization on new endpoints and rpcs, and multi-tenant data scoping
- injection (SQL, shell, template), SSRF, path traversal and unsafe deserialization
- secrets committed in code, weak crypto and token handling
- CSRF, CORS and cookie flags on web changes
- dependency changes and their known advisories
COMMENT (never an approval or a change request), with the findings grouped Critical, High, Medium, Low. Each names path:line, is marked confirmed (the path from attacker input to the vulnerable code was traced) or suspected (a link is unverified), and carries evidence, an exploit sketch and a fix. The comment ends by saying the review covered the code only and nothing was run against live systems. It is not a penetration test.
Issue worker
Review responder
Sharesmodel, the working_label, blocked_label and authored_label labels, lease_minutes, max_turns (80 here) and gate_command with the issue worker, and adds:
On-call
Example
service_repos:
Who may start work
Which repositories an event may come from is not part of that check: each trigger declaresmatch: {repository: {input: repos}}, so the event is routed only when its repository is one you picked. Who within those repositories may start work is plain CEL over three things the event already carries, so there is no table to maintain and no settings page:
trigger.sender.id is the numeric id of whoever GitHub says acted, verified by the webhook’s signature. trigger.activation.owner.github_id is you, by your linked GitHub account (or the connection you enabled the workflow with, if it names one). If you have no GitHub identity, skipped events say “owner has no linked GitHub identity”. A sender with no id, or an unverified one, never passes. The review responder and issue worker also drop any comment from the agent’s own thread, so an agent cannot talk itself into more work.
You can check what a filter does before enabling anything:
Labels
Each workflow creates the labels it needs on first use, with a colour and a description. Creating a label that already exists changes nothing, so your own colours survive. You can rename any of them in the settings above.Leases
Two runs must not work one issue or PR at once, for example a second label added a minute after the first. A run takes a lease first: a comment by the connection’s own account with a small machine-readable header (the run, an expiry, a state), mirrored byagent:working.
- If another run holds a live lease, the new run exits having written nothing.
- A lease that has expired (its run died) is marked superseded, and the new lease names the run it took over from.
- After posting, a run waits a few seconds and reads again; if another lease was posted earlier (earliest time, then lowest comment id), it steps aside.
- At the end the lease is released, and then the run looks for what arrived while it was held. The review responder runs another round for new feedback, up to
max_review_rounds.
Alerts and errors
On-call takes two kinds of page, through one pipeline:- Alerts: the rules your environments declare, and the platform’s own (a failed deploy, an exhausted quota), that are
criticalorerror. - Errors: the platform groups the errors your services and frontends report into issues, and raises an alert when one is new (
NewIssue), when a resolved one comes back in a later release (IssueRegressed), and when an open one’s error rate spikes to five times its previous day (IssueSpike). These pass whatever their severity.
One issue per alert, one issue per error
The workflow de-duplicates in two layers. Alertmanager sends no idempotency header and repeats a firing group everyrepeat_interval, so the trigger names the event itself (dedupe_key): the group, its status and its alerts’ fingerprints. A re-sent firing group within four hours is one event, and its resolved notification is another. Across those windows, each alert’s key is shown in its GitHub issue as plain text and searched for among the repository’s open issues: a match gets a comment (“Still firing” or “Resolved”) instead of a second issue. A failed search files nothing, since a missed alert is cheaper than a duplicate.
An alert’s key is its Alertmanager fingerprint. An error’s key is its issue id, so an error’s new, regressed and spiking alerts all land on the one GitHub issue filed for it while that is open. An error alert fires once per transition and resolves an hour later by itself, which says nothing about the bug, so its resolved notification is ignored.
What the investigator sees
For an alert: its labels and annotations. For an error: the issue the alert names (its id, service, environment, title, the file and function it was thrown in, the build it was first seen in) and a link to the issue in the console. The investigator reads the code from there: the culprit, the message, and what changed near them. The error’s stack trace and breadcrumbs, and your logs and traces, are not reachable from the investigator unless a tool for them is given to it; its write-up says so, and cites the console link, rather than guessing.What it costs
Nothing here has a budget of its own yet, so this is where your spend comes from:- PR review runs one reviewer per PR, up to 40 turns, on the
powerfultag with high thinking. It runs for every non-draft PR in the repositories you picked, including the ones agents open, so in a busy repository it is the largest line. Useskip-reviewon PRs that do not need it, and consider starting with one quiet repository. - Security review runs one reviewer per head commit, up to 50 turns, on the
powerfultag with high thinking. Withoutrequire_labelsthat is every push to every non-draft PR in the repositories you picked, so in a busy repository set a label and opt PRs in. - Issue worker runs an agent for up to 120 turns per issue, plus a retry of up to 60 if the fast checks fail. It runs only for issues someone trusted opted in.
- Review responder runs up to 80 turns per round, three rounds at most per PR, plus a retry.
- On-call runs one investigation of up to 45 turns per new alert or error, at most five per notification, nothing for a repeat.
max_turns, max_investigations and max_review_rounds to lower the ceiling.
Using a different GitHub identity
By default the workflows write as the account of the GitHub connection you enabled them with, so their comments and PRs appear under your name, and GitHub will not let that account request changes on a PR it opened (PR review posts the same review as a comment, saying so). To keep the agents’ words apart from yours, have them write as the Reliant bot (reliant-labs[bot]) instead: open each automation in Workflows → Automations, choose Edit, and set Writes as to Reliant bot. Their comments, reviews and PRs then appear as the bot, with a footer naming the automation and you, and you can approve and merge the PRs they open. The bot still writes only where your own account can push, and needs the Reliant GitHub App installed on the repository. See Who an automation acts as.
Related topics
- Automations, for how workflows are enabled, and Webhooks
- GitHub integration, for the actions and events the pack uses
- Custom workflows, for
compute,git_publishandcredentials: none - Built-in workflows