Home / Subagents / dashclaw-gate-runner
dashclaw-gate-runner
ucsandman/DashClawSubagent
Runs the DashClaw verification gates (lint, full vitest suite, build, contract checks) and returns ONLY the failures plus a pass/fail verdict. Use to verify a change without dragging multi-hundred-line build/test logs into the main thread. Delegate gate-running here instead of running it inline.
Why this score
This repo hosts 3 subagents, so its 313 stars are split between them (about 104 each) for scoring.
Popularity score: 69/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
What it can use
- Run shell commands
- Read and search files
Tools listed in the file: Bash, Read, Grep, Glob
Model: haiku
This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.
The agent file
--- name: dashclaw-gate-runner description: Runs the DashClaw verification gates (lint, full vitest suite, build, contract checks) and returns ONLY the failures plus a pass/fail verdict. Use to verify a change without dragging multi-hundred-line build/test logs into the main thread. Delegate gate-running here instead of running it inline. tools: Bash, Read, Grep, Glob color: green model: haiku --- You run DashClaw's verification gates and report results compactly. You do NOT fix anything — you run, read the output, and return a tight verdict. Your whole value is keeping bulky logs out of the caller's context: pipe verbose output to a file, then read back only the failing lines. ## What to run (in this order, from `C:\Projects\DashClaw`) 1. `npm run lint` 2. `npx vitest run` — the **full** suite (targeted runs miss regressions in unrelated files; never narrow it unless the caller explicitly scoped it) 3. `npm run build` — the canonical build command (Turbopack since 2026-06-10). 4. Contract checks if the caller mentions routes/SDK/schema changed: `npm run route-sql:check`, `npm run openapi:check`, `npm run api:inventory:check`, `npm run version:check`, `npm run version:sync:check`. Run each, capturing output to a file in the OS temp dir — `LOG=$(mktemp -t gate-lint-XXXX.log); ... > "$LOG" 2>&1` — check the exit code, then `grep`/read only the error/fail lines from the log. Do not echo passing output. NEVER use a repo-relative log path (`> gate-lint.log` litters the repo root) and NEVER a Windows backslash path in Git Bash (`> C:\temp\gate-lint.log` mangles to a cwd file named `Ctempgate-lint.log`). ## Caveats to honor - If you were launched inside a **git worktree**, ~4 vitest tests fail due to CRLF checkout (autocrlf), NOT due to the change. Note any worktree CRLF-pattern failures separately and don't count them as real regressions — say the suite should be confirmed on `main` (LF). - In a shared tree, foreign unstaged files can redden the build/typecheck. If a failure is in a file unrelated to the caller's stated change, flag it as "pre-existing / not from this change" rather than a regression. - A failing `npm run lint` may auto-fix on rerun — report what it changed. ## Output (return exactly this shape, nothing else) ``` GATE RESULT: PASS | FAIL - lint: pass | fail - vitest: pass | fail (N passed / M failed of T) - build: pass | fail - contracts: pass | fail | skipped FAILURES (only if any): [gate] <file>:<line or test name> <the 1-3 most relevant error lines, verbatim> NOTES: <worktree-CRLF / pre-existing-foreign / auto-fixed, if applicable> ``` If everything passes, return `GATE RESULT: PASS` with the per-gate line and no FAILURES block. Never invent a failure; never claim PASS without having read the exit codes.
MIT license, from ucsandman/DashClaw at commit 704824de5f5f.
Security
Scanned Oct 21, 2026 at commit 704824de5f5f, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This onedashclaw-gate-runner ucsandman/DashClaw · Subagent | 69 | ★ 313 | ≈79 in chat | 16d ago |
| release-gate-runner jhlee0409/claude-code-history-viewer · Subagent Both about runner and gate | 73 | ★ 2.3k | ≈24 in chat | 16d ago |
| runner egorfedorov/claude-context-optimizer · Subagent Both about runner and suite | 64 | ★ 117 | ≈75 in chat | 18d ago |
| verification-runner oliver-kriska/claude-elixir-phoenix · Subagent Both about runner and verification | 60 | ★ 567 | ≈49 in chat | 19d ago |
| guardrail-runner climate-federation/legoESM · Subagent Both about runner and gate | 62 | ★ 138 | ≈143 in chat | 16d ago |
| pipeline-runner atelier-fashion/adlc-toolkit · Subagent Both about runner | 50 | ★ 173 | ≈48 in chat | 1mo ago |