warrant AGENTS.md

warrant AGENTS.md is an instructions file for Codex, OpenCode from s0fractal/warrant. It costs 608 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

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/s0fractal/warrant/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 608 This file is loaded in full into every session.
When invoked 608 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 $0.00608 $0.00608
Opus 5 $0.00304 $0.00304
Sonnet 5 $0.00122 $0.00122
Haiku 4.5 $0.00061 $0.00061

Measured today against content hash c5ef626ca0cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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 · 48 lines

How it starts

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

Agent & contributor conduct (governance-critical)

This repository's entire purpose is verifiable, honestly-attributed provenance. The git history and its commit trailers are themselves provenance. The rules below are not style — breaking them corrupts the thing this project exists to protect.

Hard rules

  1. Never commit to master. Work on a branch. master advances only through review and the project's governance process — never a direct push/commit by an agent or a one-off contributor.

  2. Never assert review or roster authority in a commit. A trailer like Reviewed-by: <X> (2-of-3 roster) is false provenance. Real adoption is a threshold warrant signed by roster keys (see proposals/GOV-anchors* / the trust-config and threshold-policy machinery), recorded in .warrants/not a commit message. An agent is not a roster member and cannot self-grant that authority.

  3. An "independent gate" means adversarial counter-vector hunting by a fresh reviewer — NOT running the green test suites. Green suites are necessary but not sufficient: in this project every real gate has been green AND still found new reproducible bugs the suites did not cover. Running the suites and declaring a gate "passed" is a rubber stamp and will be rejected.

  4. Record provenance honestly. State exactly what was validated (which suites, which self-audit, which independent reviewer) and what was not. Do not upgrade "the suites are green" into "independently gated", or "self-audited" into "adopted".

  5. Hard-to-reverse / outward-facing actions (pushing, merging to master, rewriting shared history, publishing) require explicit human authorization for the specific action. Approval of one step is not approval of the next.

The retired autonomy-envelope experiment and the lessons preserved from it are indexed in history/AUTONOMY-ENVELOPE-0.1-RETIREMENT.md. Its policy is not an active source of authority.

Read the full file on GitHub · 48 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. today Changed · -62 lines · -957 tokens per session c5ef626ca0cd
  2. 5d 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 today), licensed MIT. It adds 608 tokens to every session, about $0.0030 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-31.

Related

Other instructions, from other repositories