Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/dean0x/devflowWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/dean0x/devflow/implement-revalidate)<a href="https://agentmods.dev/commands/dean0x/devflow/implement-revalidate"><img src="https://agentmods.dev/badge/commands/dean0x/devflow/implement-revalidate/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/dean0x/devflow/implement-revalidate"><img src="https://agentmods.dev/badge/commands/dean0x/devflow/implement-revalidate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01257 |
| Opus 5.5 | $0.00000 | $0.00503 |
| Sonnet 5.5 | $0.00000 | $0.00251 |
| Haiku 4.5 | $0.00000 | $0.00126 |
Grade A, and why
implement-revalidate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 18 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Implement: re-validation
Read by /implement when the user asks to re-validate (D-CMD-REF-HAND).
Continuation path
When the user explicitly asks to re-validate, re-check, or re-run quality gates after making their own changes:
- Branch safety check: If on a protected branch (main, master, develop, etc.), run all of Phase 1, through its Fresh base. step, to create/switch to a work branch; "Phase 1 ran" below means all of it ran. If already on a work branch, skip Phase 1 and resolve
{worktree}as its docs root does: runnode "$HOME/.devflow/scripts/resolve-root.cjs" "{start}"; echo "exit=$?"and take theWORKTREE=path of anexit=0answer, else the start directory. - Skip Phase 2 — no Code agent needed, user already made changes. With no Code report, Phase 4 keeps Harden at every level: the
harden-scopeskip never applies on this path. - Record BASE_BRANCH: unless Phase 1 ran, read the PR's base name (
baseRefName) and fork flag in one Bash call,cd "{worktree}" && F="$(mktemp)" && echo "F=$F" && gh pr view --json isCrossRepository --jq .isCrossRepository; G=$?; gh pr view --json baseRefName --jq .baseRefName > "$F"; echo "gh=$G,$?";{name file}is the printedF=path, andghfailed when either status printed ingh=is not 0. Ifghfailed and its output shows that no PR applies (none for the branch,ghmissing or logged out, or no GitHub remote), the name is the remote default branch; fill the file:F="{name file}"; git -C "{worktree}" for-each-ref --format='%(symref:lstrip=3)' refs/remotes/origin/HEAD > "$F"; when the file reads as empty (a file whose only content is an empty line is empty),mainifgit -C "{worktree}" rev-parse --verify --quiet mainsucceeds, otherwisemasterthe same way; write a literal name with the Write tool, after a Read of the file. If the Write tool fails, treat the value as missing; never write it with a shell command. Read{name file}with the Read tool: its one line is the name. Stop the run, afterrm -- "{name file}", ifghfailed and its output does not show that no PR applies, or the file is empty after every fallback. Stop the run, afterrm -- "{name file}", unless the name matches^(?![-#]|origin\/|(?:@|(?:FETCH_|ORIG_|MERGE_)?HEAD)$)(?!.*\.\.)[A-Za-z0-9._\/+@,#-]{1,200}$(judge the match by reading; never pass the value to a command), naming only the allowed set, never the name (ASCII letters, digits and._/+@,#-, at most 200; no leading-or#, noorigin/prefix, no.., not@or a HEAD name). Phases 3-7 run{branch_diff}fromBASE_REF, the fork point. Unless Phase 1 ran (itsBASE_REFstands), runF="{name file}"; trap 'rm -- "$F"' EXIT; cd "{worktree}" && X=<isCrossRepository, else false> && node "$HOME/.devflow/scripts/resolve-base.cjs" pr --name-stdin --cross "${X}" < "$F"; echo "exit=$?"when gh returned a PR, elseF="{name file}"; trap 'rm -- "$F"' EXIT; cd "{worktree}" && node "$HOME/.devflow/scripts/resolve-base.cjs" local --name-stdin < "$F"; echo "exit=$?". Handle its line as the fresh base step does. Output other than oneBASE_REF=line (40 or 64 hex, ornone) withexit=0counts asREASON=resolver-unavailable: stop, with the fixre-run; if it repeats, run devflow init. - Take GATE_LEVEL: unless Phase 1 ran, run the Phase 1 Resolve the settings line step once for this worktree, and take
GATE_LEVELfrom the line it accepts, or from its fail-closed line when it accepts none. Phase 6 passesGATE_LEVELto Validate. Then, from that same line, the accepted one or the fail-closed one, setCOMPLIANCE_FRAMEWORKSas Phase 1 defines it andCOMPLIANCE_DIRECTIVEby the Phase 1 Set the compliance directive step; Phases 5-7 passCOMPLIANCE_DIRECTIVEto their Fix spawns. Run the Phase 1 Resolve the evidence policy once per run step, then takeREVIEW_PUBLICATIONfrom that same line by the Phase 1 ResolveREVIEW_PUBLICATIONper worktree: step and the Phase 1 Evidence stub: step; Phase 11 passesREVIEW_PUBLICATIONas the value resolved in Phase 1. - Run Phases 3-8 — Polish (at
full), Self-Review, Alignment, the one full Validate, QA Testing and the conditional Re-Validate, on the branch diff. - Proceed to Phase 9 (Open PR), Phase 11 (Evidence) and Phase 12 (Report).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 29d ago Changed c45bcb3b8a7e
- 1mo ago Changed d0435a745f9d
- 1mo ago Changed · +1 lines f36a5d3d6e39
- 1mo ago Changed · +1 lines ec4c28d016bb
- 1mo ago Changed d67fe86e0d92
- 1mo ago First seen · 16 lines · 0 tokens per session scan A 7c510c4fe3e1
implement-revalidate is a command published in the GitHub repository dean0x/devflow (21 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,257 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.
implement-revalidate compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| implement-revalidatedean0x/devflow | Command | 21 | yesterday | MIT | A | 0 | Claude Code |
| aligndsswift/ion | Command | 5 | 2d ago | MIT | A | 51 | Claude Code |
| autocommitrandomittin/heimdall | Command | 5 | 3d ago | MIT | A | 32 | Claude Code |
| hatch3r-pr-resolvehatch3r/hatch3r | Command | 26 | 2mo ago | MIT | A | 25 | Claude Code |
| request-review-planaxiomantic/spellbook | Command | 13 | 5d ago | MIT | A | 16 | Claude Code |
| afrvjayvee/aigon | Command | 27 | 1mo ago | Apache-2.0 | A | 25 | Claude Code |
| mergemeller/laneconductor | Command | 15 | 5d ago | none | A | 9 | Claude Code |