JSPM

@artale/pi-verify

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q68789F
  • License MIT

Auto-verify Pi agent output. Two-agent system: builder runs, verifier checks, auto-corrects.

Package Exports

  • @artale/pi-verify
  • @artale/pi-verify/SKILL.md

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@artale/pi-verify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Pi Verify - Auto-Verification for Pi

Two-agent system: builder runs, verifier checks, auto-corrects.

Inspired by disler/the-verifier-agent

Why

Tokens are cheap. Your time is not.

Manual review takes 50% of your day. pi-verify moves that to a second agent.

How It Works

BUILDER (pi) ──► session.jsonl ──► VERIFIER (pi)
    ▲                                    │
    │        sendUserMessage()            │
    └────────────────────────────────────┘
  1. Builder Pi runs in your terminal
  2. Verifier Pi watches the session
  3. After each turn, auto-checks:
    • Files created exist
    • Syntax valid
    • Tests pass
    • No dangerous commands
  4. If issues → feedback loop (max 3x)
  5. Still failing → human escalation

Confidence Grades

Grade Meaning
PERFECT All checks pass
VERIFIED Minor suggestions
PARTIAL Some issues
FAILED Major problems

Installation

npm install @artale/pi-verify

Usage

# Enable verification
/verify on

# Check status
/verify status

# Disable
/verify off

Architecture

  • Extension: ./src/extension.ts - Pi integration
  • Script: verify.sh - Unix socket watcher
  • Config: MAX_LOOPS=3 - Loop limit

The Pattern

  1. Defense in depth bash
  2. Deterministic session.jsonl
  3. Read-only verifier tools
  4. Only verifier_prompt touches builder
  5. Max loops, then human escalation