About io.github.ucsandman/dashclaw
io.github.ucsandman/dashclaw is an MCP server published by ucsandman in the Healthcare category: remote approvals, policy checks, and execution evidence for unattended AI agents. Conduid read 19 tools from its source: dashclaw_assumption_record, dashclaw_capabilities_list, dashclaw_decisions_recent, dashclaw_guard, dashclaw_invoke, dashclaw_pair and 13 more. No package is published for it, so it installs from a source checkout.
The ucsandman/DashClaw monorepo this package is published from has 318 stars and 52 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v5.39.0 (9 Nov 2026): The action lifecycle is an explicit state machine, and an illegal status change now answers 409 illegal_transition. It follows platform-v5.38.0 (26 Sep 2026), and the 5 most recent releases go back to platform-v5.34.0 (6 Sep 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include healthcare.
Install
git clone https://github.com/ucsandman/DashClawTools (19)
dashclaw_assumption_recordRecord 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.| Parameter | Type | Description |
|---|---|---|
| action_id * | string | Parent action id the assumption underpins (from dashclaw_record) |
| assumption * | string | The belief being treated as true |
| basis | string | Why you believe it (optional) |
dashclaw_capabilities_listList 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.| Parameter | Type | Description |
|---|---|---|
| category | string | Filter by category: external_api, webhook, function |
| limit | integer | Max results (default 50) |
| risk_level | string | Filter: low, medium, high, critical |
| search | string | Search by name or description |
dashclaw_decisions_recentQuery 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?"| Parameter | Type | Description |
|---|---|---|
| action_type | string | |
| agent_id | string | |
| decision | string | |
| limit | integer | Max results (default 20) |
| since | string | ISO timestamp lower bound |
dashclaw_guardEvaluate 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". On "require_approval" the server opens the approval request itself when it can: if the response has "recorded": true, call dashclaw_wait_for_approval with the returned action_id and do not record the action again. If "recorded" is missing or false (an older server, or no agent id), call dashclaw_record with status "pending_approval" to put the action in the human Approvals inbox, then dashclaw_wait_for_approval with the action_id that call returns. Do not act until the request is approved. If the decision is "block", do NOT proceed with the action.| Parameter | Type | Description |
|---|---|---|
| act | object | Evidence-first guard: attach the actual act being evaluated so the server classifies it and folds the derived risk in, instead of trusting only the declared action_type/risk_score above. Shape: { kind: "shell"|"http"|"sql"|"file", command? (shell), request?: { method, url, body_excerpt? } (http), statement? (sql), file?: { path, content_excerpt?, bytes? } (file) }. Optional — omit when you have no concrete evidence to attach. |
| action_type * | string | Category of action (e.g., deploy, send_email, database_write, api_call) |
| agent_id | string | Fallback identity when no server-level agent id is configured (the configured id wins). With a configured id you may name a sub-agent under it as "<configured id>/<name>" (e.g. claude-desktop/nightly-seo) so this routine gets its own row on /decisions; anything else falls back to the configured id. |
| approval_wait_seconds | integer | How long you will poll dashclaw_wait_for_approval if the decision is require_approval (default 300; the approval expires after this window + a retry grace) |
| confidence | integer | Your honest 0-100 confidence, stated BEFORE acting, that this action completes without a human stepping in. Stored on the action record and scored against the real outcome on /decisions (Predicted vs actual). Leave it out rather than guess; exactly 50 is treated as unstated. |
| content | string | Outbound content excerpt (file content, message body) so secret-scan and content policies can evaluate it |
| declared_goal * | string | What you intend to do, in plain language |
| reversible | boolean | Whether the action can be undone |
| risk_score * | integer | Estimated risk 0-100. Use 70+ for production systems. |
| systems_touched | array | Systems affected (e.g., production, database, email) |
| target | string | Primary file path, URL, or resource the action touches (lets protected-path policies match) |
| tool_name | string | Name of the tool that will perform the action (e.g., Write, Bash, send_email) |
| write_paths | array | File paths the action will write or modify (protected-path policy matching) |
dashclaw_invokeInvoke 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.| Parameter | Type | Description |
|---|---|---|
| agent_id | string | Fallback identity when no server-level agent id is configured (the configured id wins). With a configured id you may name a sub-agent under it as "<configured id>/<name>" (e.g. claude-desktop/nightly-seo) so this routine gets its own row on /decisions; anything else falls back to the configured id. |
| capability_id * | string | The capability ID (e.g., cap_abc123) |
| declared_goal * | string | What you're trying to accomplish |
| payload | object | Request payload for the capability |
dashclaw_pairEnroll this agent's cryptographic identity with DashClaw (operator pairing requests 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).| Parameter | Type | Description |
|---|---|---|
| agent_id | string | Fallback identity when no server-level agent id is configured (the configured id wins). With a configured id you may name a sub-agent under it as "<configured id>/<name>" (e.g. claude-desktop/nightly-seo) so this routine gets its own row on /decisions; anything else falls back to the configured id. |
| agent_name | string | Human-readable agent name shown to the approving admin. |
| wait | boolean | Poll the pairing until approved/expired (default false). |
dashclaw_plan_statusCheck a submitted plan: overall status (pending | approved | partially_approved | denied | expired | revoked) and per-step grant status (approved / denied / consumed). Poll this after dashclaw_plan_submit to learn the operator verdict before executing.| Parameter | Type | Description |
|---|---|---|
| plan_id * | string | Plan id from dashclaw_plan_submit, e.g. pa_1234... (required) |
dashclaw_plan_submitSubmit a preflight plan — an ordered list of intended steps — for one-card operator review BEFORE executing. Each step is dry-run through the guard pipeline server-side; approved steps become single-use execution authorities. Claim-aware paths such as dashclaw_invoke, governed SDK callbacks, and supported hooks can claim a matching step and consume it with one attempt. Bare dashclaw_guard/record/wait calls remain cooperative policy and audit and do not consume plan authority. Off-plan actions fall back to normal per-action governance.| Parameter | Type | Description |
|---|---|---|
| agent_id | string | Fallback identity when no server-level agent id is configured (the configured id wins). With a configured id you may name a sub-agent under it as "<configured id>/<name>" (e.g. claude-desktop/nightly-seo) so this routine gets its own row on /decisions; anything else falls back to the configured id. |
| declared_goal * | string | The mission-level goal of the plan (required) |
| steps * | array | Ordered steps: [{ action_type, step_goal, act?, declared_paths?, declared_systems? }] (required) |
| ttl_minutes | integer | Requested grant TTL after approval (server-clamped; default 60) |
dashclaw_policies_listList 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.| Parameter | Type | Description |
|---|---|---|
| agent_id | string | Filter to policies applying to a specific agent |
| limit | integer | Max results (default 50) |
dashclaw_recordRecord 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 the Approvals inbox and the Decisions ledger.| Parameter | Type | Description |
|---|---|---|
| act | object | The actual act this record covers — pass the SAME act object you sent to dashclaw_guard. For status pending_approval the server stamps a content hash from it, binding the operator's approval to this exact act. Claim-aware execution paths (dashclaw_invoke, governed SDK callbacks, and supported hooks) must present the same act when claiming that authority. The bare dashclaw_guard/record/wait flow remains cooperative policy and audit; it does not consume or reuse approval authority. Shape matches dashclaw_guard's act ({ kind: "shell"|"http"|"sql"|"file", ... }). Optional — omit when no concrete act exists. |
| action_id | string | Close an EXISTING record instead of creating one: the action_id returned by an earlier dashclaw_record (status running). A dashclaw_guard decision_id is not an action record and cannot be closed here. The one dashclaw_guard id that can be closed is the action_id from a response that had "recorded": true, which is the approval request the server opened. Only status, output_summary and error_message are applied; the server stamps the outcome from status. Omit to create a new record. |
| action_type * | string | Category (e.g., research, analysis, code_change, deploy) |
| agent_id | string | Fallback identity when no server-level agent id is configured (the configured id wins). With a configured id you may name a sub-agent under it as "<configured id>/<name>" (e.g. claude-desktop/nightly-seo) so this routine gets its own row on /decisions; anything else falls back to the configured id. |
| approval_wait_seconds | integer | For status pending_approval: how long you will poll for the decision (default 300; the approval expires after this window + a retry grace) |
| confidence | integer | Your honest 0-100 confidence, stated BEFORE acting, that this action completes without a human stepping in. Scored against the real outcome on /decisions (Predicted vs actual). State it on dashclaw_guard where possible; here it belongs on the up-front record (status running/pending_approval), never backfilled onto a close. Leave it out rather than guess; exactly 50 is treated as unstated. A value stated on the preceding dashclaw_guard call for the same agent/action_type/declared_goal is carried over automatically — no need to restate it here. |
| cost_estimate | number | Estimated cost in USD |
| declared_goal * | string | What was accomplished |
| deviation_note | string | Optional deviation self-report: how and why this action departed from the approved plan. Recorded as an agent-reported claim (never suppresses or downgrades the server's own deviation detection). |
| error_message | string | For status failed: what went wrong (applied on the action_id close path; ignored otherwise) |
| model | string | Model used |
| output_summary | string | Brief summary of what was produced |
| plan_step_id | string | Optional deviation self-report: the plan step (ps_...) this action was supposed to fulfil, when you knowingly departed from it. |
| reasoning | string | Why this action was chosen |
| reversible | boolean | Whether the action can be undone |
| risk_score | integer | Risk level 0-100 (default 30) |
| session_id | string | Session to attribute this action to. Defaults to the session started via dashclaw_session_start in this connection. |
| status * | string | Outcome status |
| systems_touched | array | Systems affected |
| tokens_in | integer | Input tokens consumed |
| tokens_out | integer | Output tokens produced |
dashclaw_session_endClose 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 the Approvals inbox.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | Session ID from dashclaw_session_start |
| status * | string | Final session status |
| summary | string | Brief description of what was accomplished |
dashclaw_session_retroFetch the per-session defensibility retro ("was I manipulated?"): injected-content flags, actions outside the declared goal, spend anomalies, and shield hits, composed into a clean/review/flagged posture with evidenced findings. Read-only. Defaults to the active session — call it before dashclaw_session_end, or pass session_id explicitly afterwards (ending a session clears the active default).| Parameter | Type | Description |
|---|---|---|
| session_id | string | Session ID (sess_*). Defaults to the session started by dashclaw_session_start. |
dashclaw_session_startRegister 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.| Parameter | Type | Description |
|---|---|---|
| agent_id * | string | Agent identifier (required) |
| branch | string | Git branch or task branch |
| workspace | string | Workspace or project context |
dashclaw_statusCheck DashClaw authoritative gate configuration and reachability.dashclaw_task_createCreate a Team Task — one record per multi-agent /team run. Groups the inter-agent event timeline (delegations, replies, approvals) for governance visibility on the Team Tasks page. Call once per task, from the receiving agent.| Parameter | Type | Description |
|---|---|---|
| instruction * | string | The full task instruction (required) |
| lead_agent * | string | Lead agent id, e.g. claude | openclaw | moltfire (lowercase slug, required) |
| max_exchanges | integer | Round-trip cap (default 10) |
| origin * | string | Origin surface: telegram | claude-code | company-loop (required) |
| status | string | Initial status (default open) |
| stop_condition | string | When the task is considered complete |
| task_id * | string | Ledger task id, e.g. team-20260710-0912-slug (required) |
dashclaw_task_eventAppend one event to a Team Task timeline (delegation, reply, status, approval_needed, result, error, done, lead_assigned). Log from your OWN identity only; never include secrets in summary or body.| Parameter | Type | Description |
|---|---|---|
| action_id | string | DashClaw action id this event corresponds to |
| body | string | Optional detail |
| from_agent * | string | Sender agent id, e.g. claude | openclaw | moltfire (lowercase slug, required) |
| summary * | string | One-line summary (required) |
| task_id * | string | Team task id (required) |
| to_agent * | string | Recipient agent id, e.g. claude | openclaw | wes | forge (lowercase slug, required) |
| ts | string | ISO 8601 timestamp (defaults to server time) |
| type * | string | Event type (required) |
dashclaw_task_updateUpdate a Team Task: status transitions (open → in_progress → awaiting_approval → done | failed | abandoned) and stored transport session ids.| Parameter | Type | Description |
|---|---|---|
| claude_session_id | string | claude -p session id for --resume |
| openclaw_session_key | string | OpenClaw session key |
| status | string | New status |
| task_id * | string | Team task id (required) |
dashclaw_wait_for_approvalWait for a human to approve or deny a pending action in the DashClaw Approvals inbox. 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).| Parameter | Type | Description |
|---|---|---|
| action_id * | string | The action ID to wait on (e.g., act_abc123) |
| poll_interval_seconds | number | Polling frequency (default 3) |
| timeout_seconds | number | Max wait time (default 300) |
export_dashclaw_evidenceExport local audit entries that include DashClaw guard/evidence metadata.Security checks
From the ucsandman/DashClaw monorepo, not this package alone.
- ✓README presentThe repository's README runs to about 4.6K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
2 checks have not been run yet.
Releases
From the ucsandman/DashClaw monorepo.
README
The repository's README runs to about 4.6K words, fetched 13 days ago. The original in the repository is authoritative.
Read full README