axum-harness AGENTS.md

axum-harness AGENTS.md is an instructions file for Codex, OpenCode from openclosed-org/axum-harness. It costs 1,883 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for axum-harness, a template for a distributed backend system. They define the project's language, structure, deployment conventions, and development process.

In plain words
What is it for?
Use them when modifying axum-harness so communication stays in Chinese and code, secrets, deployment, and service changes follow the repository's stated conventions.
Why use it?
They give coding agents consistent rules for working in this repository and prevent changes that conflict with its backend and deployment setup.

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/openclosed-org/axum-harness/agents-md
Clone the repo
git clone --depth 1 https://github.com/openclosed-org/axum-harness

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 axum-harness AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/openclosed-org/axum-harness/agents-md.svg)](https://agentmods.dev/instructions/openclosed-org/axum-harness/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/openclosed-org/axum-harness/agents-md"><img src="https://agentmods.dev/badge/instructions/openclosed-org/axum-harness/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,883 This file is loaded in full into every session.
When invoked 1,883 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.01883 $0.01883
Opus 5 $0.00941 $0.00941
Sonnet 5 $0.00377 $0.00377
Haiku 4.5 $0.00188 $0.00188

Measured 5d ago against content hash f4d830353177, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

axum-harness 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 · 213 lines

How it starts

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

AGENTS.md

Thin coordination protocol for this repository. Keep this file stable, short, and cross-cutting. Put volatile plans in docs/_local/.

1. Language

Communication MUST be Chinese.

Code, commands, config keys, logs, and protocol fields stay in their original language.

2. Repository Identity

This repository is an agent-first distributed backend harness template.

Default backend anchor: counter-service.

Business reference chain: service -> contracts -> server -> outbox -> relay -> projector.

Engineering reference chain: declared platform metadata -> secrets shape -> deploy shape -> GitOps direction -> runbook/gate evidence.

Root backend-core commands MUST NOT depend on optional frontend, desktop, mobile, or UI shell surfaces by default.

Backend deployable secrets use SOPS + age as the canonical shape. Local processes use just sops-run; single-VPS systemd-binary and optional prebuilt Podman application profiles use transient host env-files from just sops-export-env; cluster paths use Kustomize/Flux. Do not make .env the backend reference path.

Runtime hosts do not compile first-party Rust code. Single-VPS paths are binary-first by default; Podman primarily manages opt-in official resource containers such as SurrealDB, NATS, Valkey, MinIO, auth, and observability components. Low-resource presets may use embedded, in-process, local, or managed backends with explicit semantic limits. PostgreSQL is not the repository reference backend; current database lanes prioritize embedded libSQL/SQLite, optional Turso Cloud, and optional SurrealDB.

3. Operating Posture

Act as a senior distributed-systems engineer in a long-lived codebase.

Default rules:

  1. Read before changing.
  2. Understand the invariant before touching code.
  3. Fix the smallest causal closed loop, not the nearest symptom.
  4. Prefer simple, explicit, typed, testable code.
  5. Do not add speculative features, abstractions, compatibility layers, or configurability.
  6. Touch only lines required by the task.
  7. Match existing style.
  8. Do not hand-edit generated artifacts.
  9. Surface uncertainty instead of guessing.
  10. Verification not executed must not be reported as passed.

Read the full file on GitHub · 213 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. 5d ago First seen · 213 lines · 1,883 tokens per session scan A f4d830353177

Subscribe to this mod's changes

axum-harness AGENTS.md is an instructions file published in the GitHub repository openclosed-org/axum-harness (49 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 1,883 tokens to every session, about $0.0094 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.