Product documentation
ADR Guard keeps architecture judgment with people while automating repeatable document checks. Start with the CLI, then add only the integrations your workflow needs.
Interfaces
Section titled “Interfaces”| Interface | Use it when | Trust and execution boundary |
|---|---|---|
| CLI | You need the complete local command surface | Runs locally with explicit arguments and configuration |
| GitHub Action | Pull requests should validate or review ADR changes | Runs in GitHub Actions with workflow permissions and pinned inputs |
| VS Code extension · Visual guide | Contributors want visual ADR creation/editing, explorer, commands, and diagnostics in the editor | Workspace-hosted; trusted local file workspaces only; invokes an existing compatible CLI |
| MCP server | Compatible agents need structured, read-only ADR Guard tools | MCP 1.0.1 published on NuGet.org and GitHub Releases; checked-in Registry manifest now records 1.0.1; one bounded repository per stdio process |
| Architecture Agent | Source contributors want local MCP evidence, optional bounded model synthesis, or one supervised ADR proposal | Development-only source project; provider-free local read-only mode; optional fingerprint-authorized Proposed creation through the CLI; no published package |
| Container | You want an isolated, reproducible CLI runtime | Mount only required files and pass configuration deliberately |
| Agent Skills | You want a coding agent to guide ADR decisions and CLI workflows | Portable agent instructions; no bundled CLI or automatic architectural approval |
Core workflows
Section titled “Core workflows”- Create canonical ADRs with Minimal, Extended, or constrained custom templates. Compatible VS Code forms use structured creation and editing contracts available since CLI 1.7.0; CLI 1.12.0 and VS Code extension 1.1.1 are published independently.
- Validate relationships, changed files, and diagnostic baselines.
- Use Architecture Impact Analysis to identify decisions that explicit ADR-to-code mappings associate with changed files. The result is a review prompt, not an architecture violation.
- Use Architectural Drift to verify explicit ADR-backed fitness rules from bounded evidence. Results distinguish conformance, violation, and insufficient evidence; opt-in enforcement applies only within the implemented deterministic limits.
- Produce machine-readable and human-readable reports.
- Opt into AI-assisted drafting or review with explicit providers and security controls.
- Validate and generate MADR 4.0 documents in a separate opt-in mode, available since CLI 1.11.0 and included in published CLI 1.12.0; canonical remains the default.
Impact and drift are different
Section titled “Impact and drift are different”| Capability | Question it answers | What it does not claim |
|---|---|---|
| Architecture Impact Analysis | Which ADRs may deserve review because mapped files changed? | It does not interpret a change as non-compliance or perform unrestricted semantic code analysis. |
| Architectural Drift | Does available evidence satisfy an explicit fitness rule linked to an ADR? | It does not infer undeclared rules, turn missing evidence into a pass, or approve the underlying decision. |
Both workflows keep evidence traceable and architecture judgment human-owned. Document validation checks whether ADRs follow their declared contracts; technical evidence assesses only the rules and scope explicitly configured; people still decide whether an ADR is accepted and whether a rule represents the intended architecture.
AI and human confirmation
Section titled “AI and human confirmation”Drafting and review send selected context to the configured provider. Provider output is untrusted, bounded, parsed, and presented for human evaluation. It does not approve decisions, edit accepted history automatically, or replace security and architecture review.
The source-only Architecture Agent adds five controlled workflows over the existing eleven-skill allowlist. A deterministic orchestrator selects from the closed MCP catalog and can present local evidence without a provider; when remote synthesis is explicitly enabled, it loads only the selected skill before sending authorized context. Model function calling is not enabled, and no layer approves decisions. ADR proposals use the existing CLI schema 1.0 new --form describe and preview operations; after a separate interactive fingerprint confirmation, the Agent may invoke only operation=create for the exact fields shown, producing one new Proposed ADR through the CLI’s atomic no-overwrite boundary.
MCP status
Section titled “MCP status”The standalone MCP 1.0.1 server is published on NuGet.org, in GitHub Releases and in the MCP Registry; the checked-in manifest records 1.0.1. The optional MCP provider is published in VS Code extension 1.1.1. The server exposes seven read-only tools over stdio and is installed separately from the extension. CLI 1.12.0 is published on NuGet.org and GitHub Releases, including export relationships. The Architecture Agent remains development-only source without a public package.
Use the MCP overview, configuration guide, available tools, and security model for the implemented contract and local-development instructions.
For command-level details, use the CLI reference and preserve the actual installed version when troubleshooting.