rocketmq-rust AGENTS.md

Repository instructions for working on RocketMQ Rust, including which folders belong to the main Rust workspace and which are separate projects.

In plain words
What is it for?
Use them when modifying RocketMQ Rust code, dashboard components, examples, fixtures, or standalone projects.
Why use it?
They clarify which rules apply to each part of the repository and identify the correct project boundaries for builds and checks.

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

Made for: Codex, OpenCode.

Per session 4,246 This file is loaded in full into every session.
When invoked 4,246 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.04246 $0.04246
Opus 5 $0.02123 $0.02123
Sonnet 5 $0.00849 $0.00849
Haiku 4.5 $0.00425 $0.00425

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

Security

Grade A, and why

rocketmq-rust 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 yesterday.

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

How it starts

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

AGENTS.md

Scope and precedence

  • This file applies to the whole repository unless a deeper AGENTS.md overrides it.
  • Follow the nearest AGENTS.md for files under standalone projects and dashboard subdirectories.
  • Direct user instructions in the current conversation take precedence over repository instructions.
  • If repository instructions conflict, follow the more specific instruction and report the conflict in the final response.

Repository boundaries

  • The repository root is the main Cargo workspace. The source of truth is the root Cargo.toml [workspace].members list.
  • Root workspace validation does not cover standalone Cargo projects or Node/Vite/Docusaurus projects.
Path Role Instruction owner
rocketmq-dashboard/rocketmq-dashboard-common/ Root workspace member and shared dashboard crate This file
rocketmq-example/ Standalone Cargo project rocketmq-example/AGENTS.md
rocketmq-macros/tests/fixtures/renamed-consumer/ Standalone compile fixture for renamed codec dependencies Its local AGENTS.md
rocketmq-ai/rocketmq-mcp/ Standalone Rust MCP server Its local AGENTS.md
rocketmq-ai/rocketmq-sre/ Standalone AI SRE Rust workspace and UI Its local AGENTS.md
rocketmq-ai/rocketmq-sre/ui/ Standalone React/TypeScript/Vite AI SRE frontend Its local AGENTS.md
rocketmq-ai/rocketmq-sre/sdk/typescript/ Standalone read-only AI SRE TypeScript SDK Its local AGENTS.md
rocketmq-dashboard/rocketmq-dashboard-gpui/ Standalone Cargo project Its local AGENTS.md
rocketmq-dashboard/rocketmq-dashboard-tauri/ Standalone Node/Vite/Tauri frontend Its local AGENTS.md
rocketmq-dashboard/rocketmq-dashboard-tauri/src-tauri/ Standalone Rust backend Its local AGENTS.md
rocketmq-dashboard/rocketmq-dashboard-web/ Web Dashboard container, not a Cargo workspace root Its local AGENTS.md
rocketmq-dashboard/rocketmq-dashboard-web/backend/ Standalone Rust backend Its local AGENTS.md
rocketmq-dashboard/rocketmq-dashboard-web/frontend/ Standalone React/TypeScript/Vite frontend Its local AGENTS.md
rocketmq-website/ Standalone Docusaurus site rocketmq-website/AGENTS.md

Read the full file on GitHub · 296 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. yesterday First seen · 296 lines · 4,246 tokens per session scan A d0a2ae8a1f15

Subscribe to this mod's changes

rocketmq-rust AGENTS.md is an instructions file published in the GitHub repository mxsm/rocketmq-rust (1,507 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,246 tokens to every session, about $0.0212 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.