diesel-guard
$ diesel-guard Community Med Riskdiesel-guard (diesel-guard) — Linter for dangerous Postgres migration patterns in Diesel and SQLx. Prevents downtime caused by unsafe schema changes.. Verified across Crates.io; included for structured shell automation under FCRS-1.0 baseline review.
cargo install diesel-guard Pure CLI utility (diesel-guard); directly invoked in shell workflows without an equivalent MCP server layer.
At a Glance
- Command
- $ diesel-guard
- FCRS-1.0 Score
- 64/100 (Usable w/ Caveats)
- Evidence Tier
- Low Confidence
- CLI vs MCP
- CLI Only
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Registry-verified CLI binary (diesel-guard); inspect --help output before assuming structured JSON flags.
- Indexed in Crates.io
Classified as medium risk based on database-data scope and upstream package metadata.
- Install channel verified via
cargo install diesel-guard - Package checksum verified by upstream registry
Installable via cargo install diesel-guard across macos, linux, windows.
- Primary install:
cargo install diesel-guard
Linter for dangerous Postgres migration patterns in Diesel and SQLx. Prevents downtime caused by unsafe schema changes.
- Official homepage/source: https://ayarotsky.github.io/diesel-guard/
community lineage tool maintained by ayarotsky.
- Upstream repository: ayarotsky/diesel-guard
Upstream documentation linked at https://ayarotsky.github.io/diesel-guard/; baseline FCRS cap applies until local probe runs.
- https://ayarotsky.github.io/diesel-guard/
Security, Auth & Guardrails
Local execution tool; typically requires no external credentials unless targeting remote endpoints.
Open-source / free local execution; zero API token or SaaS billing overhead from the binary itself.
When invoking `diesel-guard`, verify flags with `diesel-guard --help` first, close stdin to avoid interactive prompts, and require confirmation before remote or destructive mutations.
Agent-Ready Command Recipes
Safe Read-Only Queries
diesel-guard --help
Discover supported flags and subcommands for diesel-guard before constructing automated calls.
diesel-guard --version
Confirm diesel-guard is installed and executable in PATH with zero side effects.
Strengths for Agents
- + Indexed in Crates.io with reproducible install via
cargo install diesel-guard - + Standalone CLI binary (
diesel-guard) directly composable in shell pipelines
Caveats & Pitfalls
- ! Low-confidence baseline review: not yet locally probed on this host; run
diesel-guard --helpto verify flags before scripting
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Database & Data
View category hub →Command line tool, that can be installed as a .Net global tool, that helps you to deploy changes to databases. It tracks which SQL scripts h
DumpSync is a lightweight tool designed for efficiently dumping and restoring MySQL databases. Whether you need to create backups, restore d
Essential JSON processor for slicing verbose CLI/API payloads down to minimal agent-ready fields.
In-process SQL analytics CLI for querying CSV, Parquet, and JSON files locally with `-json` output and `-readonly`.