Meridian
PLUGINFinds and verifies the implicit state machines hiding in a codebase; enforces the accepted ones in CI.
by unifyWeb3 · v1.0.4
What it does
Finds and verifies the implicit state machines hiding in a codebase; enforces the accepted ones in CI. Meridian discovers status/state fields, anchors every state and transition to file:line (Python AST; TS/JS lexical, unguarded), flags unreachable and dead states, and gates on a human-reviewable.meridian.yaml spec (check exits 1 on violation, 2 when nothing is enforced).
Every check event is appended to a SHA-256 hash-chained log for audit. No model calls, no network, no dependencies beyond stdlib.
Disclosure - post_tool_call observes tools whose names contain write/edit/patch/replace/create/editor and re-runs the local analyzer only when a.meridian.yaml governs the repo (advisory; never blocks or approves); the ledger under ULPI_HOME/plugin-data/meridian/ stores event names, machine ids, aggregate counts and repository/spec/report paths (never verdicts, never file:line anchors, never file contents); its chain is unkeyed SHA-256, so it detects edits but can be recomputed by anyone with write access; no telemetry; no background processes. Disclosure — post_tool_call observes tools whose names contain write/edit/patch/replace/create/editor and re-runs the local analyzer only when a.meridian.yaml governs the repo (advisory; never blocks or approves); meridian_spec accept and meridian_report out_file write only inside the agent's working directory (refused at /, $HOME or its parents, or the Ulpi home) and never through symlinks; the ledger under ULPI_HOME/plugin-data/meridian/ stores event names, machine ids, aggregate counts and repository, spec, report and edited-file paths (never verdicts, never file:line anchors, never file contents) in an unkeyed SHA-256 chain that detects edits but can be recomputed by anyone with write access; no telemetry, no network, no background processes.
Tools it adds
The tools an agent gets once this plugin is installed.
- meridian_scan
- meridian_verify
- meridian_diagram
- meridian_spec
- meridian_ledger
- meridian_report
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve