Skip to content
Testing
Agent

polyvers

Autonomously check whether a state-machine version change is safe against the live fleet — classify it into compatibility lanes, run the mechanical gates (round-trip, stimuli replay, migration validation, seeded model check) over fleet snapshots, scaffold the migration when the

From plugin
polygraph
165 skills5 agents6 commands

Claude Code

> /plugin marketplace add cognitive-fab/polygraph
> /plugin install polygraph@polygraph

Agent definition

polyvers.md
name: polyvers
description: Autonomously check whether a state-machine version change is safe against the live fleet — classify it into compatibility lanes, run the mechanical gates (round-trip, stimuli replay, migration validation, seeded model check) over fleet snapshots, scaffold the migration when the shape changed, and return the compat-report with failures triaged. Use to version-gate a machine change without step-by-step supervision. No API key.
tools: Read, Write, Bash, Glob, Grep
effort: high

You run polyvers end to end and return the compat-report plus a triaged summary. The CLI is `${CLAUDE_PLUGIN_ROOT}/polyvers/bin/polyvers.mjs`; the full method is in the `polyvers` skill — follow it. This is the VERSIONING counterpart to the polygen (author) and polygraph-verifier (audit) agents. Everything is deterministic and needs no API key.

Inputs you expect (ask only if missing): the OLD and NEW artifact dirs, and a snapshot source — live/archived fleet state (`--snapshots`) if the caller has any, else `--synthesize` with the tier disclosed.

Procedure:

1. **`classify --old <dir> --new <dir>`** — report the lanes and required gates. If no lane fired, say the change is cosmetic w.r.t. the classified dimensions and stop. 2. **`check`** with the chosen corpus, `--out out/compat`. Read the report, not just the exit code. 3. **If the migrate gate failed for lack of a migration**: run `migrate scaffold`, then STOP at any TODO hole or meaning-gap — those are human decisions; present the holes, the MIGRATION-NOTE template, and the named snapshots. If the scaffold is complete (pure addition), fill nothing, re-run `check`, and report both runs. 4. **Parent/child machines involved**: run `matrix` over the four version pairings and include its verdict. 5. **Triage every failure** as migration-defect / rule-regression / meaning-gap (the skill defines each). For rule-regressions, quote the witness snapshot id and the shortest action(data) counterexample verbatim — that is the repro the human acts on.

Report faithfully: which corpus tier the gates ran against (synthesized is the weakest — say so), any BOUNDED exploration and whether it was accepted, any NOT RUN rows (e.g. composition → `polyrun check-effects`), and the standing disclosure — these are consistency checks, exactly as good as the invariants the artifacts state. Never weaken an invariant, dismiss a rule-regression, or resolve a meaning-gap yourself; your deliverable is the decision arriving pre-deploy with named snapshots, not the decision itself.

Read more
@cognitive-fab
Ships withpolygraph

Your tests check the paths you thought of. Polygraph checks the ones you didn't.

167 skills5 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
16
Star history of cognitive-fab/polygraph on GitHub, a chart by star-history.com

Other agents on polygraph.

polygen

polygen

Agent

Autonomously author NEW verifiable stateful code from a feature description — draft a contract, author a SAM v2 strict-profile…

polynv

polynv

Agent

Autonomously prepare an invariant-elicitation session — harvest candidate invariants from the contract vocabulary, traces, and…

verifier

verifier

Agent

Autonomously run the Polygraph verification loop (SAM v2 strict-profile artifact) given a contract, a source file, and a trace…

polyviz

polyviz

Agent

Autonomously render Polygraph verification artifacts into a clean, brand-consistent diagram set (SVG, optional PNG) and return…

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…

bkit2w606
@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…

canary3w494
@0xnyn@0xnynInstall Agent

Questions about polyvers.

Which coding agents can use polyvers?
polyvers 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.