Activation Guide
This repo is now set up with the team definitions and a GitHub-native control-tower scaffold. You do not need to run anything locally.
What Is Already In Repo
agent definitions under
agents/ownership map in
agents/registry.ymlcontrol-tower workflow in
.github/workflows/autonomous-shipping.ymlGitHub-hosted dispatcher in
.github/workflows/autonomous-dispatch.ymlscoped intake template in
.github/ISSUE_TEMPLATE/agent-task.ymlupdated CI and PR template for truthful validation
Smallest Real Deployment
Protect
mainin GitHub.Enable auto-merge for PRs.
Create labels from
docs/autonomy/OPERATING_MODEL.md.Add repo variables for the hosted runner executor.
Add
GITHUB_MODELS_TOKENas a GitHub Actions secret for the default hosted executor, or setAUTONOMY_EXECUTOR_SETUP_CMDif your coding tool needs installation on the GitHub runner.Optionally set
AUTONOMY_AGENT_CMD_TEMPLATEin repo or org variables to override the default coding command.Optionally set
AUTONOMY_OPEN_PR=trueif the executor should auto-commit, push, and open a draft PR when changes exist.Let
.github/workflows/autonomous-dispatch.ymlclaimautonomy:readyissues, generate a work order, and invoke the executor onubuntu-latest.
Hosted Runner Shape
GitHub-hosted
ubuntu-latestephemeral checkout each run
GitHub CLI authenticated with
GITHUB_TOKENPython 3.11 and Node 20 available in workflow
Executor Variables
AUTONOMY_EXECUTOR_SETUP_CMD: optional install/bootstrap shell command for the hosted runnerAUTONOMY_AGENT_CMD_TEMPLATE: command template invoked after branch prepAUTONOMY_OPEN_PR:trueorfalseAUTONOMY_BASE_BRANCH: optional, defaults tomainAUTONOMY_BRIEF_DIR: optional, defaults to.autonomy/briefsAUTONOMY_MODEL: optional, defaults togpt-4.1-miniAUTONOMY_MAX_PATCH_BYTES: optional, defaults to50000AUTONOMY_MAX_CHANGED_FILES: optional, defaults to6AUTONOMY_REVIEWER_MAP: optional JSON object mapping reviewer-agent ids to GitHub loginsAUTONOMY_STALE_CLAIM_MINUTES: optional, defaults to120
Required Secret
GITHUB_MODELS_TOKEN: preferred for the default hosted executor inscripts/autonomy/hosted_llm_executor.py
Optional Secret
OPENAI_API_KEY: alternate provider for the same hosted executor if you do not use GitHub Models
Example:
If AUTONOMY_AGENT_CMD_TEMPLATE is unset but GITHUB_MODELS_TOKEN or OPENAI_API_KEY is present, the workflow falls back to:
If a generated patch exceeds the configured size or file-count guardrails, the executor stops and writes .autonomy/guardrail-failure.json for debugging.
If AUTONOMY_REVIEWER_MAP is set, the executor also assigns the mapped GitHub login to the PR and leaves a reviewer-routing comment.
If an issue stays labeled autonomy:claimed past AUTONOMY_STALE_CLAIM_MINUTES and no open PR exists for the claimed branch, the dispatch workflow automatically releases the claim and comments on the issue.
Dispatch Logic
Use scripts/autonomy/select_agent.py to map labels to a specialist and release lane. Use scripts/autonomy/build_work_order.py to pick the highest-priority unclaimed issue and create an executor-ready work order. Use scripts/autonomy/execute_work_order.py to create the branch, write the brief, optionally comment on the issue, invoke the hosted coding command, and optionally open a draft PR.
Example:
Recommended First Automation
let the orchestrator open or update a queue summary every 15 minutes
let only 2 to 4 agents author code at first
require reviewer assignment before merge
auto-merge only
safe-auto-mergelane changes
Do Not Enable Yet
unattended infra applies
unattended auth-breaking changes
unattended production migrations
unattended runtime protocol rewrites
Expansion Path
Stabilize CI truthfulness.
Let safe lanes auto-merge.
Add staging deployment gates.
Add a second reviewer agent for backend and runtime changes.
Expand the active pool to all 10 agents.
Last updated
