Borrowing it
Nothing to install: this file belongs to gosha70/code-copilot-team. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/gosha70/code-copilot-team/master/adapters/github-copilot/.github/instructions/auto-build-loop.instructions.mdgit clone --depth 1 https://github.com/gosha70/code-copilot-teamWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/gosha70/code-copilot-team/auto-build-loop)<a href="https://agentmods.dev/instructions/gosha70/code-copilot-team/auto-build-loop"><img src="https://agentmods.dev/badge/instructions/gosha70/code-copilot-team/auto-build-loop.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03577 | $0.03577 |
| Opus 5 | $0.01788 | $0.01788 |
| Sonnet 5 | $0.00715 | $0.00715 |
| Haiku 4.5 | $0.00358 | $0.00358 |
Grade A, and why
code-copilot-team auto-build-loop.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Auto-Build Loop (Autonomous Build After Spec Approval)
Once a feature's SDD bundle is approved, scripts/auto-build-loop.sh runs the
build loop unattended. The driver lives OUTSIDE any copilot session (the phase
workflow mandates a fresh session per phase): it starts headless build
sessions, runs tests, commits, submits each phase to cross-provider review,
re-checks origin alignment, and pauses for humans only at milestones or
breakers. Design: specs/auto-build-loop/design.md.
Autonomy Profiles (explicit opt-in — no silent gate bypass)
| Gate (phase-workflow step) | advisory | pr | merge |
|---|---|---|---|
| Manual testing (6) | deferred to milestone checkpoint | deferred to milestone | deferred to milestone |
| Commit gate (8) | auto-commit, local only, isolated branch | auto-commit | auto-commit |
| Wait-for-approval (9) | auto-advance; hard pause at milestones | same | same |
| Origin gate exit >= 2 (10) | always escalate to human | always escalate | always escalate |
| Peer review (11) | driver-run, gating, driver verifies PASS | same | same + green CI |
| Push / PR / merge | never / never / never | auto / auto / never | auto / auto / gated auto |
All three attended profiles — advisory, pr, and merge — are
implemented. The fourth profile, unattended (#191 policy core, #193
admission), must be declared in automation.json itself
(schema_version: 2, explicit caps.*, validated by
scripts/validate-automation-config.sh; never via
--profile/CCT_AUTOBUILD_PROFILE override) and must pass admission
control before anything runs: validate-spec.sh --unattended --feature-id <id> --config <effective-config> proves a finalized
specs/<id>/verification.yaml (generated by
scripts/generate-verification-draft.sh, author-finalized) covers
every FR-N with executable verifiers, every statement_sha
recomputes clean against spec.md, governance holds (approved plan,
origin gate ≤1), and test.command passes on the base ref (run in a
throwaway worktree of HEAD — uncommitted and gitignored files are
absent there, so commit what the suite needs, add a bootstrap step, or
opt out with CCT_ADMISSION_TEST_IN_PLACE=1). A refusal is an un-admitted exit-1 preflight
error naming every failing check; an admitted run executes unattended.
See "Terminal outcomes" below for how its breakers dispatch.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 239 lines · 3,577 tokens per session scan A 84c257c35ef2
code-copilot-team auto-build-loop.instructions.md is an instructions file published in the GitHub repository gosha70/code-copilot-team (6 stars, last pushed today), licensed MIT. It adds 3,577 tokens to every session, about $0.0179 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.