pond AGENTS.md

Project instructions for a Rust application, including its commands, comment rules, and test-placement guidance. Rust is a programming language, and Cargo is its build and test tool.

In plain words
What is it for?
Writing code and tests, running builds and checks, formatting Rust files, and testing interactive command-line flows.
Why use it?
They make everyday development choices consistent and clarify where tests belong, which helps prevent avoidable review and CI problems.

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/tenequm/pond/agents-md
Clone the repo
git clone --depth 1 https://github.com/tenequm/pond

Made for: Codex, OpenCode.

Per session 7,770 This file is loaded in full into every session.
When invoked 7,770 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.07770 $0.07770
Opus 5 $0.03885 $0.03885
Sonnet 5 $0.01554 $0.01554
Haiku 4.5 $0.00777 $0.00777

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

Security

Grade A, and why

pond 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 3d 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 · 167 lines

How it starts

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

Pond - project instructions

<comment_instructions>

  1. Minimalism: Write comments only when the why of the code is not obvious from the code itself. Never explain the what.
  2. Self-Documenting Code: Choose clear, descriptive names for variables, functions, and classes so that comments become redundant.
  3. Banned Comments: DO NOT include:
    • Trivial explanations (e.g., # Loop through users).
    • "TODO" notes or author tags unless explicitly requested.
    • Autogenerated file headers or boilerplate comments.
  4. Formatting: Place comments on the same line as simple logic or directly above complex blocks. Keep explanations strictly under two sentences. </comment_instructions>

Commands

  • Build: cargo build
  • Test: cargo test
  • Lint: cargo clippy -- -D warnings
  • Format: cargo fmt --check (use cargo fmt to fix)
  • Lockfile is enforced in CI with --locked; locally, plain commands are fine. If Cargo.lock changes unexpectedly, git status will show it.

Tests

PLACEMENT RULE - read before writing any test. A test lives next to the code it exercises. If it tests one module's behavior - even when it goes through a Store or handler call - it is a UNIT test and belongs in #[cfg(test)] mod tests at the bottom of that src/... file. tests/integration/ is ONLY for genuine cross-module integration: multiple subsystems wired end to end (e.g. ingest -> search -> get over a fixture corpus). A Store-level, single-module, or pure-helper test in tests/integration/ is in the WRONG place - move it to src/. When in doubt, default to a unit test in src/.

  • Layout (all crate paths are under packages/pond/): unit tests live in #[cfg(test)] mod tests next to the code they test (packages/pond/src/...). All integration tests are bundled into one binary at packages/pond/tests/integration.rs, with each suite as a module under packages/pond/tests/integration/<name>.rs and pulled in via #[path = ...] mod <name>;. Keep new integration suites in this folder and add a matching #[path] line - never drop a loose tests/foo.rs next to integration.rs (it would compile as a second binary and re-link the whole crate).
  • Adapter-specific integration tests go in packages/pond/tests/integration/adapter/<adapter>.rs (mirroring packages/pond/src/adapter/<adapter>.rs), not in concern-level files; keep cross-adapter interop (e.g. the foreign-restore matrix) in packages/pond/tests/integration/adapter/mod.rs, the seam analog of packages/pond/src/adapter/mod.rs.
  • Run everything: cargo test.
  • Run one integration suite: cargo test --test integration -- <module>:: (e.g. ... -- search::).
  • Run one unit-test module: cargo test --lib <module>:: (e.g. ... --lib sessions::tests::).
  • Run one test by name: cargo test <name> (substring match across all binaries; add -- --exact to require a full match).

Read the full file on GitHub · 167 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. 3d ago First seen · 167 lines · 7,770 tokens per session scan A a1418e128fe0

Subscribe to this mod's changes

pond AGENTS.md is an instructions file published in the GitHub repository tenequm/pond (57 stars, last pushed 4d ago), licensed Apache-2.0. It adds 7,770 tokens to every session, about $0.0389 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.