steward AGENTS.md

steward AGENTS.md is an instructions file for Codex, OpenCode from Steward-Fi/steward. It costs 428 tokens per session, scanned A, original, MIT.

A repository guide for Steward, a software project built with Bun and containing application code, APIs, databases, and browser tests. It documents setup, validation commands, generated API files, secrets, migrations, and deployment checks.

In plain words
What is it for?
It is for installing dependencies, running focused tests and full verification, regenerating OpenAPI documentation, handling database migrations, and reviewing changes against the correct commit.
Why use it?
It helps coding agents work in the repository without using the wrong runtime, committing secrets, overlooking generated files, or treating incomplete checks as proof of correctness.

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/steward-fi/steward/agents-md
Clone the repo
git clone --depth 1 https://github.com/Steward-Fi/steward

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/steward-fi/steward/agents-md.svg)](https://agentmods.dev/instructions/steward-fi/steward/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/steward-fi/steward/agents-md"><img src="https://agentmods.dev/badge/instructions/steward-fi/steward/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 428 This file is loaded in full into every session.
When invoked 428 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.00428 $0.00428
Opus 5 $0.00214 $0.00214
Sonnet 5 $0.00086 $0.00086
Haiku 4.5 $0.00043 $0.00043

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

Security

Grade A, and why

steward 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 · 31 lines

How it starts

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

Repository operating guide

Setup

  • Use Bun 1.3 or newer and install dependencies with bun install --frozen-lockfile.
  • Target develop. Refresh origin/develop before final review, and preserve unrelated changes in shared or dirty worktrees.
  • Keep secrets in ignored environment files. Start from .env.example; never commit real keys, tokens, passwords, recovery material, or production identifiers.

Validation

  • Run the smallest relevant package tests while iterating, then run bun run lint, bun run typecheck, and the affected test suites.
  • bun run verify is the deterministic root validation contract. API and proxy E2E commands require the services provisioned in CI; browser suites under web/e2e use their own Playwright command.
  • Treat a result as current only when it ran against the exact commit being reviewed. Rerun affected checks after rebases, conflict resolution, generated-file updates, or fixups.
  • Report local validation, merge state, deployment, and external verification separately.

Generated files

  • Run bun scripts/generate-openapi.ts to refresh docs/openapi.json and docs/api-reference/openapi.json from the runtime contract.
  • Run cd packages/api && bun run openapi to refresh both OpenAPI documents and generated SDK API types. Commit every generated output with its source change.
  • Do not hand-edit lockfiles or generated API outputs; use the owning generator or package manager.

Database migrations

  • Add immutable numbered SQL migrations under packages/db/drizzle/ and register them in packages/db/drizzle/meta/_journal.json through the repository migration workflow.
  • Never rewrite an applied migration or add an unnumbered duplicate. Use a new migration for follow-up schema changes.

Documentation and comments

  • Describe current behavior and trust boundaries. Keep change history, PR rationale, and superseded plans in Git history or a clearly historical archive.
  • Keep README files, deployment instructions, package manifests, generated contracts, and examples synchronized with the code. Verify relative links when moving documentation.

Read the full file on GitHub · 31 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 · 31 lines · 428 tokens per session scan A 272859d604ac

Subscribe to this mod's changes

steward AGENTS.md is an instructions file published in the GitHub repository Steward-Fi/steward (95 stars, last pushed 9d ago), licensed MIT. It adds 428 tokens to every session, about $0.0021 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.