English | Русский
A Rust review engine where no finding is a matter of taste.
RustManifest records facts about your code — call edges, reads and writes,
outside-world effects, value provenance — and derives every finding from
those facts. Each result carries a rule id, a severity, an exact location,
and a rustmanifest:// rationale URI that resolves to the methodology
section behind it, plus the engine's own reasoning trace. You can verify
every claim, or you did not get it from this engine.
- Facts, not opinions. Rules are executable checks over a recorded fact base (AST, module graph, type graph, behavioral and value facts), not regexes over source text.
- No clippy duplication. Where clippy is strictly better, the engine
delegates (
check --delegate-clippy) instead of reimplementing. - Every finding is traceable.
traceshows the fact/reason chain;explain RM-SEC-001prints the severity, tier, and methodology excerpt. - Built for agents. A stdio MCP server and a Claude Code skill expose the same understanding to LLM clients — findings, facts, overviews, intents — with the same rationale URIs.
Not on crates.io yet; install from source:
cargo install --git https://github.com/RAprogramm/RustManifest --bin rustmanifest --bin rustmanifest-mcp
rustmanifest check src/ --format tty
rustmanifest overview src/
rustmanifest explain RM-SEC-001Exit codes: 0 clean, 1 findings present, 2 operational error, 3
question refused because facts are insufficient — check is CI-shaped out of
the box (--format sarif for code scanning).
| Command | Answers |
|---|---|
check |
run the rules pack over a path (--fix, --format json/sarif/tty) |
explain |
full derivation of a rule: severity, tier, rationale URI, excerpt |
overview |
everything the engine knows about a path in one report |
report |
everything the engine knows about the program in one pass |
meaning |
what the program does for an observer outside the process |
ask |
step-by-step effect inference: ask main net, ask load fs |
facts |
per-function behavioral facts as JSON (reads, writes, calls, effects) |
graph |
module or type dependency graph |
prescribe |
the canonical form the rule asks for, and what it buys |
coverage |
how much of the code the fact base actually resolved |
learn |
conventions learned from the codebase itself |
audit |
orchestrate tier-3 external verification tools (pr / nightly profiles) |
versions |
check version synchronisation across the workspace (--fix for ra_ap alignment) |
document |
emit the compiler documentation index for the workspace |
resolve |
produce a resolution overlay for type/call-aware analysis |
rustmanifest-mcp speaks JSON-RPC over stdio and reads paths inside its
workspace root. Add it to any MCP client:
{
"mcpServers": {
"rustmanifest": { "command": "rustmanifest-mcp" }
}
}Thirteen tools: review_file, review_path, check_rule, lint_structure,
explain_rule, project_overview, function_facts, suppressions,
deduce_trait, derived_intents, whence_value, why_kept,
learn_conventions.
Install the bundled review skill through the plugin marketplace:
/plugin marketplace add RAprogramm/RustManifest
/plugin install rustmanifest-review@rustmanifestThe skill drives the engine for reviews, effect tracing, blast-radius analysis, boundary gates, intent backlogs, store audits, onboarding tours and structural fact lookups — every answer cites engine output you can re-run.
An LSP server (rust-manifest) is available in crates/rustmanifest-lsp;
integrations for VS Code and RustRover live in editors/. The LSP crate is
currently a skeleton, so editor support is still evolving.
- Roadmap & status — canonical phase plan, what shipped, what is next
- Code review methodology (EN) · методология (RU)
- Contributor coding rules · Structure rules
- Documentation site
rustmanifest-schema — canonical JSON Schemas and Rust types
Rule, Finding, Config, MethodologyResource. Release-plz: enabled.
rustmanifest-rules-core — default rules pack and fixtures
Rules parsed from the methodology and bundled with fixtures. Release-plz: enabled.
rustmanifest-engine — tiered analysis engine
Pattern, AST, and semantic analysis tiers. Release-plz: enabled.
rustmanifest-config — rustmanifest.toml loader and resolver
Profiles, overrides, and pragmas. Release-plz: enabled.
rustmanifest-mcp — MCP server
Exposes the engine as MCP tools, resources, and prompts. Release-plz: enabled.
rustmanifest-ci — CI generator
Generates per-platform CI configuration. Not currently listed in release-plz.toml.
rustmanifest-eval — evaluation harness (internal)
publish = false. Evaluation harness for corpus runs, baselines, and performance budgets.
rustmanifest-learn — interpretable learning layer
Tsetlin clauses over the behavioral fact base. Release-plz: enabled.
rustmanifest-resolve — resolution overlay
Name and type resolution overlay from a loaded cargo workspace. Not currently listed in release-plz.toml.
rustmanifest-workspace — workspace discovery and publish order
Cargo workspace discovery, publishability, and dependency-first publish order. Release-plz: enabled.
rustmanifest-fixture — test fixture support (internal)
publish = false. Compiler-settled test fixture support.
Hardened CI: MSRV gate, clippy at deny (all/pedantic/nursery/cargo),
cargo-audit/cargo-deny, miri, sanitizers, cargo-careful, fuzzing,
cargo-geiger, plus self-analysis of this repository by the engine itself.
MIT licensed, REUSE 3.x compliant.