Install
Install with PiG
pig install npm:@mporenta/pi-verifier-agentInstall with Pi
pi install npm:@mporenta/pi-verifier-agentPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./verifiable.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.21 (README.md). PiG does not review it.
Pi Verifier Agent
Pi package for a two-agent builder/verifier workflow. The builder runs normally in your terminal while a read-only verifier Pi instance runs in a sibling tmux window. After each builder turn, the verifier reads the bounded session slice, checks the builder's claims against repository state, and sends concrete corrective feedback back to the builder when verification fails.
Install
pi install npm:@mporenta/pi-verifier-agent
Then launch Pi with the package enabled and pass --verifiable:
pi --verifiable
For repo-local development in pi-dev:
pi -e extensions/verifier/verifiable.ts --verifiable
The package includes its own verifier persona and prompt templates under
agents/ and prompts/. The default verifier model is
openai-codex/gpt-5.4-mini, which uses Pi's ChatGPT/Codex subscription auth
route. Do not change this to openai/gpt-5.4-mini unless you intend to use the
API-key OpenAI provider.
Project-local overrides are supported. If the current project has
.pi/agents/verifier.md, the package uses that persona instead of
agents/verifier.md. Custom persona names use the same pattern:
--verifier-agent foo resolves .pi/agents/foo.md before packaged
agents/foo.md. If the project has
.pi/verifier/prompts/verify_on_stop.md, the verifier uses that prompt instead
of the packaged prompts/verify_on_stop.md.
Package Contents
verifiable.ts: builder-side extension that owns the socket server, spawns the verifier child, and forwards lifecycle events.verifier.ts: verifier-side extension loaded into the child Pi process.verifiable-footer.ts: builder input-bar status renderer._shared/: IPC, persona parsing, tmux launch, and socket helpers.agents/verifier.md: default read-only verifier persona.prompts/verify_on_stop.md: prompt fired after each builder turn.prompts/builder_error.md: terse renderer template for builder error events.
Development
npm ci
npm run typecheck
npm run pack:dry-run