Skip to content
youdede

State Machine Invariant Analyst

DevelopmentSubagentv1.3.0

A narrow, read-only specialist whose outcome is to produce a reachable event sequence that violates a terminal-state, transition, or ownership invariant. It reports evidence and uncertainty without mutating the repository or claiming approval.

Runs on

Scope
$npx @youdede/toolkit add state-machine-invariant-analyst --target claude-code

What it does

Analyze a bounded state machine for illegal transitions, orphan states, and bypassed guards.

When it fires

  • review

How it behaves

It does not invent transitions absent from the supplied machine.

It does not turn state completeness into a UI interaction review.

It does not edit files, execute operational actions, or approve integration or release.

Version
1.3.0
Licence
RiskThis read-only specialist analyzes a bounded state machine for illegal transitions, orphan states, and bypassed guards; its findings may affect a decision but it cannot edit or approve changes.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Prompt only
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyThe specialist analyzes a bounded state machine for illegal transitions, orphan states, and bypassed guards, using sequential evidence and verification steps.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Managed by the runtime

Often used with

All in Development