rocketmq-rust
AGENTS.md1.5k starsChanged 5 months agoApache-2.0View on GitHub
- Direct user instructions take precedence over repository and skill guidance. - Root engineering rules apply throughout the repository. The nearest AGENTS.md selects local commands and exceptions; its validation profile replaces the root fallback rather than accumulating full profiles. - Apply only instructions relevant to the files and behavior being changed. Resolve routine choices within the authorized scope and continue; ask only when missing information materially changes the outcome. - If an instruction actually blocks authorized work, identify its file…
Trending
Quiet since March.thin dataabout the whole repository
Who's talking about mxsm/rocketmq-rust
- DexterWernJr/Kearney“CDL”GitHub · Aug 11, 2025 · 5 reactions
- @bearstech.com“RocketMQ-Rust : Une implémentation Rust d'Apache RocketMQ 🚧 En cours de développement 👉 Le projet : …”Bluesky · Nov 25, 2024 · 3 likes
- @rusttrending.bsky.social“mxsm / rocketmq-rust: 🚀Apache RocketMQ Rust implementation. Faster, safer, and with lower memory usage. ★608…”Bluesky · Nov 10, 2024 · 2 likes
- @rusttrending.bsky.social“mxsm / rocketmq-rust: 🚀Apache RocketMQ build in Rust🦀. Faster, safer, and with lower memory usage.⭐Star …”Bluesky · Jan 11, 2026 · 1 likes
- @rusttrending.bsky.social“mxsm / rocketmq-rust: 🚀Apache RocketMQ build in Rust🦀. Faster, safer, and with lower memory usage.⭐Star …”Bluesky · Dec 28, 2025 · 1 likes
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub and Bluesky (9 times).
On GitHub · 5
- Aug 11, 2025CDL — DexterWernJr/Kearney5 reactions · 5 comments
- Mar 2, 2026Rocketmq-rust — glcrazier/grocketmq0 reactions · 1 comment
- Jul 30, 2025<!-- This is an auto-generated comment: summarize by coderabbit.ai --> — DexterWernJr/Kearney0 reactions
- Jul 30, 2025<!-- Please make sure the target branch is right. In most case, the target branch should be `main`. --> Learn Teeamteœ — DexterWernJr/Kearney0 reactions
- Dec 18, 2024消息队列可以添加Rocketmq-rust — rust-boom/rust-boom0 reactions · 1 comment
On Bluesky · 4
- Nov 25, 2024RocketMQ-Rust : Une implémentation Rust d'Apache RocketMQ 🚧 En cours de développement 👉 Le projet : github.com/mxsm/rock... 👉 La… — @bearstech.com3 likes and reposts · 1 reply
- Nov 10, 2024mxsm / rocketmq-rust: 🚀Apache RocketMQ Rust implementation. Faster, safer, and with lower memory usage. ★608… — @rusttrending.bsky.social2 likes and reposts
- Jan 11, 2026mxsm / rocketmq-rust: 🚀Apache RocketMQ build in Rust🦀. Faster, safer, and with lower memory usage.⭐Star if you like it! ★1433… — @rusttrending.bsky.social1 likes and repost
- Dec 28, 2025mxsm / rocketmq-rust: 🚀Apache RocketMQ build in Rust🦀. Faster, safer, and with lower memory usage.⭐Star if you like it! ★1360… — @rusttrending.bsky.social1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository15 other files it gives its agents.
- fuzz/AGENTS.mdAGENTS.md
- rocketmq-example/AGENTS.mdAGENTS.md
- rocketmq-website/AGENTS.mdAGENTS.md
- rocketmq-rust-good-first-issueSkill
- rocketmq-rust-issue-generatorSkill
- rocketmq-rust-local-clusterSkill
- rocketmq-rust-pr-submitterSkill
- rust-doc-comment-generatorSkill
- translate-it-doc-en-zhSkill
- rocketmq-rust-good-first-issueSkill
- rocketmq-rust-issue-generatorSkill
- rocketmq-rust-local-clusterSkill
- rocketmq-rust-pr-submitterSkill
- rust-doc-comment-generatorSkill
- translate-it-doc-en-zhSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
28 rules. About 0 are common, 17 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
If an instruction actually blocks authorized work, identify its file and explain the specific conflict.
- Distinctive: line 39
Before editing, inspect relevant files, the nearest guide, and git status --short.
- Distinctive: line 41
Keep changes scoped. Follow existing modules, naming, error handling, and test style.
- Very specific: line 43
Prefer rg / rg --files and patch-style manual edits.
- Distinctive: line 45
Do not create commits, branches, PRs, releases, or remote changes unless the user asks.
- Distinctive: line 54
Keep the repository's Apache 2.0 header on new Rust files.
- Very specific: line 55
Keep features additive and optional dependencies explicitly gated.
- Distinctive: line 57
Treat public APIs, request/response codes, headers, Serde fields/defaults, and persisted layouts as compatibility surfaces.
- Distinctive: line 59
Prefer enums, config/request structs, builders, and newtypes over ambiguous booleans, numeric modes, or long positional APIs.
- Very specific: line 62
Document non-obvious public invariants and applicable # Errors, # Panics, and # Safety contracts.
- Distinctive: line 63
Use exhaustive matches for project-owned, compatibility-sensitive enums.
- Very specific: line 65
Prefer native async trait methods.
- Very specific: line 68
Use typed errors for recoverable input, I/O, network, storage, protocol, and lifecycle failures.
- Very specific: line 69
Do not add todo!, unimplemented!, or recoverable-path panic/unwrap/expect.
- Very specific: line 71
Keep unsafe regions minimal with an immediately preceding // SAFETY: explanation.
- Very specific: line 77
Never hold synchronous lock guards across .await.
- Very specific: line 78
Prefer #[tracing::instrument(skip_all, ...)] with explicit, low-cardinality fields.
- Distinctive: line 86
Default completion means the affected code compiles, relevant behavior is verified, and intended Rust files pass a package-scoped format …
- Distinctive: line 90
After relevant checks pass, finish the task.
- Distinctive: line 92
Keep async tests deterministic with synchronization or virtual time, avoiding sleeps, fixed ports, and external services where practical.
- Distinctive: line 94
Do not run a mutating workspace-wide formatter while unrelated Rust files are dirty.
- Distinctive: line 95
No SHA, file hash, fingerprint, fixed checkout, clean-worktree, historical-baseline, or score requirement is part of routine development.
- Distinctive: line 99
Do not kill unrelated Cargo/rustc processes.
- Very specific: line 111
When useful for the change, run cargo clippy -p <package> --no-deps -- -D warnings with the affected features/targets.
- Distinctive: line 120
Use current manifests to identify consumers when APIs, features, wire/storage contracts, or shared behavior change.
- Distinctive: line 134
Keep paired Markdown/HTML artifacts aligned.
- Very specific: line 139
Use the relevant project skill for issue generation, PR preparation, substantial Rustdoc, or English-to-Chinese translation under …
- Distinctive: line 142
Keep the final response concise: what changed, relevant validation results, and any material limitation.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Scope and precedence
- Direct user instructions take precedence over repository and skill guidance.
- Root engineering rules apply throughout the repository. The nearest
AGENTS.mdselects local commands and exceptions; its validation profile replaces the root fallback rather than accumulating full profiles. - Apply only instructions relevant to the files and behavior being changed. Resolve routine choices within the authorized scope and continue; ask only when missing information materially changes the outcome.
- If an instruction actually blocks authorized work, identify its file and explain the specific conflict.
Repository map
The root Cargo.toml [workspace].members list owns the main Cargo workspace. Standalone Cargo and
Node projects require their own commands. Consult the matching local guide when working in these paths:
| Path | Role / local guide |
rocketmq-dashboard/rocketmq-dashboard-common/ | Root workspace member; this guide |
fuzz/ | Fuzz targets |
rocketmq-example/ | Standalone examples |
rocketmq-macros/tests/fixtures/renamed-consumer/ | Renamed dependency fixture |
rocketmq-ai/rocketmq-mcp/ | Read-only MCP |
rocketmq-ai/rocketmq-mcp-control/ | Isolated mutation control |
rocketmq-ai/rocketmq-sre/ | Standalone SRE workspace |
rocketmq-ai/rocketmq-sre/ui/ | SRE frontend |
rocketmq-ai/rocketmq-sre/sdk/typescript/ | Read-only TypeScript SDK |
rocketmq-dashboard/rocketmq-dashboard-gpui/ | Standalone native dashboard |
rocketmq-dashboard/rocketmq-dashboard-tauri/ | Tauri frontend |
rocketmq-dashboard/rocketmq-dashboard-tauri/src-tauri/ | Tauri backend |
rocketmq-dashboard/rocketmq-dashboard-web/ | Web dashboard boundary |
rocketmq-dashboard/rocketmq-dashboard-web/backend/ | Web backend |
rocketmq-dashboard/rocketmq-dashboard-web/frontend/ | Web frontend |
rocketmq-website/ | Docusaurus site |
rocketmq-website/examples/first-message/ | Standalone first-message tutorial |
Working agreement
- Before editing, inspect relevant files, the nearest guide, and
git status --short. - Preserve existing user changes. Do not overwrite, revert, or reformat unrelated work.
- Keep changes scoped. Follow existing modules, naming, error handling, and test style; avoid incidental refactors, dependency upgrades, and configuration churn.
- Prefer
rg/rg --filesand patch-style manual edits. Use normal generators and formatters for their outputs. - Complete authorized implementation and necessary verification without repeated permission requests. Do not create commits, branches, PRs, releases, or remote changes unless the user asks.
- Missing optional tools or unrelated historical failures should not block independent work. Use a documented setup path when needed; do not change dependencies or lint/CI settings just to bypass a failure.
Rust engineering
- Respect the selected toolchain, MSRV,
rustfmt.toml, and.clippy.toml. Toolchain changes must keep affected manifests and CI aligned. Preserve each project's edition: the root defaults to Rust 2021, whilerocketmq-tools/rocketmq-admin/rocketmq-admin-cli/uses Rust 2024;fuzz/remains Rust 2021. - Keep the repository's Apache 2.0 header on new Rust files.
- Keep features additive and optional dependencies explicitly gated. Preserve default behavior and test
the changed feature combinations;
--all-featuresdoes not replace feature-absence tests. - Treat public APIs, request/response codes, headers, Serde fields/defaults, and persisted layouts as compatibility surfaces. Semantic changes need an explicit decision and migration approach.
- Prefer enums, config/request structs, builders, and newtypes over ambiguous booleans, numeric modes, or long positional APIs. Keep modules private and exports intentional; preserve needed compatibility through narrow wrappers.
- Document non-obvious public invariants and applicable
# Errors,# Panics, and# Safetycontracts. Use exhaustive matches for project-owned, compatibility-sensitive enums. - Scope new lint allowances narrowly and give a reason. No broad warning suppression.
Prefer native async trait methods; do not add
#[async_trait]. - Roughly 500/800 effective lines are module review signals, not size gates. Split by behavior when useful; do not split unrelated code just to satisfy a count. Comments should explain invariants and decisions.
- Use typed errors for recoverable input, I/O, network, storage, protocol, and lifecycle failures.
Do not add
todo!,unimplemented!, or recoverable-path panic/unwrap/expect. Production panic facades require a documented invariant or a fallible compatibility API; tests may use assertions and unwraps. - Keep unsafe regions minimal with an immediately preceding
// SAFETY:explanation. Safe wrappers establish their own invariants; caller obligations require an unsafe API and safety contract. - Own background work through
ServiceContext,TaskGroup, or an established lifecycle owner. Shutdown cancels and awaits owned work. Route blocking work throughBlockingExecutoror an established top-level boundary; do not add detached tasks, ad hoc runtimes, nestedblock_on, or rawspawn_blocking. Explain any new ownership boundary in the change, without requiring a fingerprint/baseline ceremony. - Never hold synchronous lock guards across
.await. Keep lock scopes and hot-path allocations small. - Prefer
#[tracing::instrument(skip_all, ...)]with explicit, low-cardinality fields; attach existing spans at call sites only intentionally. Never log credentials, ACL/TLS material, tokens, message bodies, or entire request/config objects; avoid unsampled per-message spans. - Preserve the security and product boundaries defined in local MCP, MCP-control, SRE, and dashboard guides. Lighter development checks do not change runtime authorization, audit, or protocol behavior.
Development validation
- Default completion means the affected code compiles, relevant behavior is verified, and intended Rust files pass a package-scoped format check. For behavior changes, reuse or add focused regression coverage.
- Select the smallest useful target and actual feature set. A test or Clippy run that compiles the affected
target can satisfy the compilation check; do not repeat
cargo checksolely to complete a checklist. - After relevant checks pass, finish the task. Broaden or repeat only for new edits, failures, or a concrete unresolved risk. Do not add tests that merely restate constants or mirror low-impact implementation details.
- Keep async tests deterministic with synchronization or virtual time, avoiding sleeps, fixed ports, and external services where practical.
- Do not run a mutating workspace-wide formatter while unrelated Rust files are dirty.
- No SHA, file hash, fingerprint, fixed checkout, clean-worktree, historical-baseline, or score requirement is part of routine development. Do not demand all historical findings be cleared before delivering a fix.
- Report actual results. Address regressions caused by this change; briefly record unrelated failures, missing optional tooling, and untested scope without claiming a pass or expanding into unrelated repairs.
- Do not kill unrelated Cargo/rustc processes. Allow relevant work to finish within a reasonable task timeout.
- Pure documentation/instruction changes need only relevant document/script checks. Run Rustdoc or example checks when executable examples or public documentation links could break; website content uses its guide.
Root-workspace commands to select from (replace placeholders; these are not an all-targets checklist):
cargo fmt -p <package> -- --check
cargo check -p <package>
cargo test -p <package> <test_name>When useful for the change, run cargo clippy -p <package> --no-deps -- -D warnings with the affected
features/targets. A routine final response or PR preparation does not automatically require full-workspace
Clippy, all features, or every specialized suite. Existing CI runs retain their actual requirements.
For a standalone Cargo project without more specific commands, use cargo fmt --all -- --check,
cargo check, and a focused cargo test <test_name> from its root, selecting only relevant work as above.
Shared changes and integration
- Use current manifests to identify consumers when APIs, features, wire/storage contracts, or shared behavior change. Validate the directly affected consumers and scenarios; a local internal edit does not automatically trigger all standalone projects or fuzz targets.
- Runtime ownership changes need relevant cancellation/shutdown/resource tests. Error mapping changes need relevant error/redaction tests. RocksDB and telemetry changes need their affected feature combinations.
- Full-workspace Clippy, feature matrices, metadata consumer audits, long fuzzing, interoperability, performance, and deployment/fault tests belong to the corresponding integration, CI, or release task. Select them when the task requires that evidence.
- See validation reference only when choosing specialist or integration checks; its command lists are not cumulative local gates.
- For changes to project layout, AGENTS routing, or the routing scripts, run the lightweight
.\scripts\check-agents-routing.ps1orbash ./scripts/check-agents-routing.sh, plusgit diff --check. The checker covers paths and instruction/workflow existence, not command wording or source identity. See the routing ADR. - Keep paired Markdown/HTML artifacts aligned. Do not commit build output, audit artifacts, logs, coverage, Node build directories, or other temporary validation output.
Project skills and reporting
- Use the relevant project skill for issue generation, PR preparation, substantial Rustdoc, or English-to-Chinese
translation under
.agents/skills/. Read only the skill needed for the task; keep edited duplicate.agents/skills/**and.claude/skills/**copies aligned. - Keep the final response concise: what changed, relevant validation results, and any material limitation. Include command details needed to reproduce a failure; summarize routine successful checks. Mention unrelated worktree changes only when they matter.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

