A Polygraph engine

polynv — invariants elicited, not invented

The rules a system must never break usually live in one engineer's head. polynv gets them out — not by asking you to write formal logic, but by asking you to judge concrete scenarios it generates, then testing whether your answer actually holds under mutation.

How it works

An interview the machine leads, grounded in the system's own state space.

1

Harvest candidate rules

Drawn from the state machine's own vocabulary — terminal states, typed fields, effect kinds — so every candidate is grounded in what the system actually does.

2

Grade them by mutation

Each candidate is checked against deliberately broken variants of the machine, so you're judging whether a rule catches real defects, not whether it sounds right.

3

You own every disposition

polynv proposes, you confirm, reject, or refine; the result is an append-only ledger of intent, not a black-box guess.

Fits with: Feeds directly into polygen (as the contract to build to) and polygraph (as the checklist an audit verifies against).