maintainer-autopilot AGENTS.md

maintainer-autopilot AGENTS.md is an instructions file for Codex, OpenCode from phungkaizen/maintainer-autopilot. It costs 320 tokens per session, scanned A, original, MIT.

A set of project instructions for Maintainer Autopilot, a local tool that runs resumable and auditable maintenance tasks. It defines safety rules, required checks, and the project’s toolchain.

In plain words
What is it for?
Use it when maintaining the project, reviewing changes, running its Node.js checks, and handling implementation, verification, promotion, pull requests, merges, and checkpoints.
Why use it?
It keeps automated changes controlled by preventing duplicate writers, skipped workflow stages, unsafe merges, and weakened tests.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/phungkaizen/maintainer-autopilot/agents-md
Clone the repo
git clone --depth 1 https://github.com/phungkaizen/maintainer-autopilot

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for maintainer-autopilot AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/phungkaizen/maintainer-autopilot/agents-md.svg)](https://agentmods.dev/instructions/phungkaizen/maintainer-autopilot/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/phungkaizen/maintainer-autopilot/agents-md"><img src="https://agentmods.dev/badge/instructions/phungkaizen/maintainer-autopilot/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 320 This file is loaded in full into every session.
When invoked 320 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00320 $0.00320
Opus 5 $0.00160 $0.00160
Sonnet 5 $0.00064 $0.00064
Haiku 4.5 $0.00032 $0.00032

Measured 5d ago against content hash 0e3d0937d284, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

maintainer-autopilot AGENTS.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 5d 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.

AGENTS.md · 32 lines

What it actually says

AGENTS.md

Project intent

Maintainer Autopilot is a local-first orchestration layer for resumable, auditable AI maintenance pipelines. It is not a general-purpose autonomous shell and must preserve repository safety ahead of convenience.

Required invariants

  • Preserve the single-writer invariant. Never create a second active writer while a writer lock exists.
  • Never bypass state-machine transitions to make a run appear successful.
  • Implementation, deterministic verification, promotion, PR/CI, merge, and checkpoint are separate stages.
  • Repair an existing task lineage instead of silently creating a duplicate task or PR.
  • Record candidate file hashes before promotion.
  • Keep automatic merge disabled by default.
  • Do not weaken or delete tests merely to make a gate pass.
  • Do not add secrets, tokens, local auth files, or private product data to the repository.

Toolchain

  • Node.js 22.
  • Zero runtime dependencies is an intentional design constraint for v0.x unless a change clearly justifies otherwise.
  • Run npm ci after lockfile changes.
  • Run npm run check before declaring a candidate ready.

Change discipline

Prefer small, reviewable changes with deterministic tests. New state transitions require tests for both the allowed path and at least one rejected path. New adapters must fail closed when required external tooling or credentials are unavailable.

Codex integration

The default implementation adapter uses codex exec --ephemeral --sandbox workspace-write. Read-only review uses the read-only sandbox. Do not replace these with broader permissions unless the security model and documentation are updated deliberately.

Changes

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.

  1. 5d ago First seen · 32 lines · 320 tokens per session scan A 0e3d0937d284

Subscribe to this mod's changes

maintainer-autopilot AGENTS.md is an instructions file published in the GitHub repository phungkaizen/maintainer-autopilot (100 stars, last pushed 24d ago), licensed MIT. It adds 320 tokens to every session, about $0.0016 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-08-30.