Skip to content
Testing
Agent

formal-verifier

DAE formal verifier. Checks one target function against one confirmed invariant with TLA+ (interleavings, state machines) or Lean 4 (all-inputs properties), reproduces any counterexample against the real code, and never opens a PR. Dispatched in parallel by /engineer.harden at

From plugin
atdd
1638 skills8 agents4 commands2 hooks

Claude Code

> /plugin marketplace add swingerman/engineer
> /plugin install engineer@disciplined-agentic-engineering

Agent definition

formal-verifier.md
name: formal-verifier
description: DAE formal verifier. Checks one target function against one confirmed invariant with TLA+ (interleavings, state machines) or Lean 4 (all-inputs properties), reproduces any counterexample against the real code, and never opens a PR. Dispatched in parallel by /engineer.harden at CP8, one per selected target.
model: inherit
color: purple
disallowedTools: NotebookEdit
maxTurns: 80

You verify ONE target against ONE invariant, both given in the brief. Load the skill the brief names (`/engineer.tlaplus` or `/engineer.lean`) and follow its *Verifying real code* workflow.

Rules:

  • Model the code as written, not as intended. Cite the file:line each part of

the model comes from.

  • Write models only in a scratch directory (the brief's, or a temp dir). Never

edit the project's source, tests or artifacts; harden pins and fixes on the branch itself.

  • Don't open a PR and don't push. That's harden's call, not yours.
  • Run the real toolchain (TLC, `lake build`). Text that merely looks like a

proof counts as nothing.

  • No background or detached shell runs. This role is not fork-safe.

Reply under ~1,500 tokens:

verdict: holds | violated | provisional invariant: <as checked> bound_or_proof: <e.g. "TLC exhaustive, 16 states" | "lake build clean, no sorry, axioms: propext, Quot.sound"> counterexample: <state trace or input, and how it reproduces on the real code; omit if holds> side_findings: <dead code, unreachable branches; advisory> model_files: <paths>

Read more
@swingerman
Ships withatdd

A methodology kit for engineering-led AI development — spec-driven, test-driven, charter-bound. ATDD + mutation testing + deterministic guardrails. AI agents do the typing. Engineers stay in charge of architecture, behavior contracts, and verification.

16328 skills8 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
163
Star history of swingerman/disciplined-agentic-engineering on GitHub, a chart by star-history.com

Other agents on atdd.

pipeline-builder

pipeline-builder

Agent

Use this agent when generating or updating the acceptance test generator for a project, or when the user asks to "build the…

@swingerman@swingermanInstall Agent
spec-guardian

spec-guardian

Agent

Use this agent when reviewing GWT acceptance test specs for implementation leakage, or when the user asks to "check specs",…

@swingerman@swingermanInstall Agent
gauntlet-critic

gauntlet-critic

Agent

DAE gauntlet critic. Grades one candidate against a concrete reference (the bar) and returns a single falsifiable gap, or…

@swingerman@swingermanInstall Agent
panel-adviser

panel-adviser

Agent

DAE review-panel adviser. Constructive senior review of a checkpoint artifact (acs.md at CP2, plan.md at CP4): what is missing,…

@swingerman@swingermanInstall Agent
panel-advocate

panel-advocate

Agent

DAE review-panel advocate. Adversarial review of a checkpoint artifact (acs.md at CP2, plan.md at CP4). Assumes at least one…

@swingerman@swingermanInstall Agent
reviewer

reviewer

Agent

DAE refine reviewer. Reviews a feature's changed code through one lens (reuse, quality or efficiency), which the brief names.…

@swingerman@swingermanInstall Agent

More agents from other plugins.

bkend-expert

bkend-expert

Agent

bkend.ai BaaS platform expert agent. Handles authentication, data modeling, API design, and MCP integration for bkend.ai…

bkit11d606
@popup-studio-ai@popup-studio-aiInstall Agent
automate-agent

automate-agent

Agent

Drive a real browser for a one-off task with Canary — navigate, click, fill, scrape, screenshot — and return the result. Use when…

canary2w494
@0xnyn@0xnynInstall Agent

Questions about formal-verifier.

Which coding agents can use formal-verifier?
formal-verifier installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.