AgentGate v0.6.0 — polish + developer ergonomics
v0.6.0 — polish + developer ergonomics
A grab-bag of improvements that make AgentGate easier to install, debug, lint, and ship.
Highlights
agentgate doctor— one command prints Python version, deps, optional tools, notification channel config, port availability, and policy validation. The first thing a new user should run.agentgate lint policy.yaml— catches duplicate rule IDs, deny rules without a reason, empty match blocks, dead_glob/_regexkeys.--strictturns warnings into errors.agentgate stats --by-source / --by-rule— break down the audit log by where events came from (claude-code, proxy, manual) or which rule fired./api/events?action=...&source=...&since=...&limit=...— the dashboard's JSON API now accepts filters so CI / monitoring tools can query exactly the rows they want.docs/architecture.md— a Mermaid-rendered map of every component, plus sequence diagrams for the deny and ask round-trip flows.docs/dashboard.svg— inline-rendered dashboard preview inREADME.md(works without JavaScript, no external assets).Makefile—make install / test / verify / lint / format / build / publish / release / clean / doctor / run-dashboard / run-proxy / run-approval..devcontainer/devcontainer.json— one-click dev environment in GitHub Codespaces or VS Code Remote.- Windows paths — the file-fallback and approval DB paths now use
tempfile.gettempdir()instead of hard-coded/tmp/. Tests updated to useAGENTGATE_ASK_FALLBACK. - CONTRIBUTING.md — full release flow (bump, build, publish to PyPI, verify install, tag, GitHub release).
Tests
83 → 90 unit tests (+7 for doctor + lint). All 90 pass; 10/10 e2e verify steps still green; CI green on Py 3.12 + 3.13.
Install
uv tool install --upgrade agentgate-firewall
agentgate doctor # verify your install