This is the documentation entry for Rust Codeguard. The eleven former rust-cli/ files have been integrated into the main documents and independent topic guides. There is one architecture and one technical design, each with a Chinese counterpart. Observations refer to HEAD plus the working tree reviewed on 2026-09-28; target designs are not shipped-feature claims.
- README: installation, available scope, quick start and troubleshooting.
- Architecture: boundaries, components, domain semantics, execution paths and decisions.
- Technical design: shared contracts, detection families, canonical report examples and roadmap.
- Topic guides below: detailed responsibilities, without a second task ledger.
| Topic | Responsibility |
|---|---|
| Command contracts | C01–C36, parameters, budgets, exits and side effects |
| Project initialization | Static observations, module relations, owned files and AGENTS refresh |
| Persistent remediation | Stable findings, briefs, leases, attempts, verification and recurrence |
| False-positive governance | Triage, exact dispositions, lifecycle and feedback |
| Native adapter contracts | Native configuration/reports and Java/CVE/security boundaries |
| Trust and distribution | Signatures, revision chains, tool packages, npm and grammar assets |
| Validation and rollout | Language matrix, F01–F26, precision targets, host/release evidence |
| Grammar development evaluation | Fixed 358-case, 32-language, 35-cohort replay with separate fixture metrics and unknowns |
| Legacy compatibility | Old CLI/MCP/hook mapping and the dated 2026-09-24 audit |
Current slices are grounded in source, tests and scoped acceptance records; dispatch determines callable commands. WASM fallback, complete trusted gates, formal repair closure and automatic host workflows still have pending work. Generated CAPABILITIES describes full slots; a gap does not negate an implemented partial native path.
C01–C36 are command-design IDs and F01–F26 are failure-acceptance IDs, not completion marks. English and Chinese guides share boundaries and conclusions. Detailed per-item tables, parameters and historical records are retained in the Chinese companions and explicitly linked from the English guides.
The existing OpenSpec proposal, specs, tasks and implementation coverage remain authoritative. See acceptance records for bounded observations. Consolidation does not mark implementation tasks complete or archive the change.
The consolidation record maps old ownership and resolved conflicts. Original migration paths/digests remain historical provenance.
@partme.ai/[email protected] is published for Apple Silicon macOS from clean source 1cd458f6e01a44a74388243e964e3f45290ac18e. It includes all 32 runnable, unqualified grammars, bounded edited-file checks, stable native-confirmation tasks, native rechecks and next guidance. Registry hashes, a fresh-cache npx invocation, the actual public-package repair loop with Zig 0.16.0, and the source commit's Linux CI passed. Ordinary CLI clean output cannot close a task without trusted policy. The protected Zig SDK is a source integration API; npm does not expose a self-approval command. Plugin activation, installed-host acceptance, full precision, other platforms and complete gates remain open. Earlier 0.1.3 evidence is historical. See 0.1.4 acceptance.
Native-first task creation, current evidence and recheck protocols: Codeguard-Native-Repair-Workflow.