warrant: Instructions file for Codex

AGENTS.md

warrant AGENTS.md is an instructions file for Codex, OpenCode from s0fractal/warrant. It costs 786 tokens per session, scanned A, original, MIT.

A repository instruction file that sets conduct and provenance rules for contributors and coding agents. Provenance means keeping a truthful record of where decisions, reviews, and authority came from.

In plain words
What is it for?
Use it to guide branch use, commit wording, review claims, warrants, independent checks, and other contributions to the warrant repository.
Why use it?
It prevents agents from making unsupported claims about reviews or governance and from bypassing the repository's branch and approval rules. This matters because the project's purpose depends on trustworthy history.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is s0fractal/warrant's own configuration. It tells Codex and OpenCode how to work on warrant itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything warrant configures →

Reuse

Borrowing it

Nothing to install: this file belongs to s0fractal/warrant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/s0fractal/warrant/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/s0fractal/warrant

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 warrant AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/s0fractal/warrant/agents-md/github.svg)](https://agentmods.dev/instructions/s0fractal/warrant/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/s0fractal/warrant/agents-md"><img src="https://agentmods.dev/badge/instructions/s0fractal/warrant/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for warrant AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/s0fractal/warrant/agents-md"><img src="https://agentmods.dev/badge/instructions/s0fractal/warrant/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 786 This file is loaded in full into every session.
When invoked 786 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00786 $0.00786
Opus 5.5 $0.00314 $0.00314
Sonnet 5.5 $0.00157 $0.00157
Haiku 4.5 $0.00079 $0.00079

Measured 7d ago against content hash 988f9817698d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

warrant 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 7d 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 · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agents and contributors

This repository keeps work as signed records; its git history and commit trailers are provenance too. The rules below protect that provenance.

Read first: docs/AGENT.md (the agent interface and its configuration), docs/V3.md (the specification) and docs/REPOSITORY.md (this repository's records, tools, review loop and merge gate).

Hard rules

  1. Never commit to master. Work on a branch and open a pull request. master advances only by a merge: the owner's, or the merge gate's (tools/gate.py) when the review loop accepted the pull request (docs/V3.md §14). A pull request that changes an owner path is merged by the owner.

  2. Never claim review authority you do not hold. A trailer such as Reviewed-by: X or a sentence saying "independently reviewed" is false provenance unless X filed that review. A review is a record signed by its reviewer: an attest or a finding@1 challenge by a pr/acceptor on the head version. Sign only as your own actor, with your own key; never as another actor or as a checker (claims-checker, review-replayer), whose seeds only the owner and the waker hold.

  3. An independent review hunts for counterexamples. Green suites are necessary, not sufficient: every real review of this project found defects the suites did not cover. Running the suites is not a review.

  4. Record provenance honestly. Say exactly what was checked (which suites, which mutants, which reviewer) and what was not. Do not upgrade "the suites are green" into "reviewed", or "filed" into "accepted".

  5. A counterexample is recorded, not staged as red CI. The test and the fix land in the same change, and CI stays green. The regression case names the defect it catches; the commit message names the commit it was observed on, what was observed and what was expected. Show that a new check can fail by a mutant in tests/mutants.py that fails its own case. A change to a rule of docs/V3.md files the claim's new version (docs/REPOSITORY.md); earlier records are never rewritten.

Read the full file on GitHub · 49 lines

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. 7d ago Changed · +4 lines · +97 tokens per session 988f9817698d
  2. 9d ago Changed · +5 tokens per session 6cc13196bb36
  3. 12d ago Changed · -52 lines · -699 tokens per session 3031df5ce024
  4. 21d ago Changed · +2 lines · +80 tokens per session 3bdcbb3a650d
  5. 22d ago Changed · +36 lines · +516 tokens per session 1c8f8781ab75
  6. 23d ago Changed · +11 lines · +179 tokens per session 912e5fda6afb
  7. 2mo ago Changed · -62 lines · -957 tokens per session c5ef626ca0cd
  8. 2mo ago First seen · 110 lines · 1,565 tokens per session scan A 90de25ea8eed

Subscribe to this mod's changes

warrant AGENTS.md is an instructions file published in the GitHub repository s0fractal/warrant (5 stars, last pushed 2d ago), licensed MIT. It adds 786 tokens to every session, about $0.0031 per session on Opus 5.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-31.

Related

warrant AGENTS.md compared with instructions from other repositories

warrant AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
warrant AGENTS.mds0fractal/warrantInstructions file52d agoMITA786Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot