Skip to content

Pi TypeSafe — twilwa

A Pi extension that runs four hazard checks before bash, write and edit and four diff-quality checks afterwards, sharing one System One request per phase and applying its own thresholds.

Stars
0
Language
TypeScript
License
MIT
Published by
Community
Author
twilwa
Last verified
Oct 2026

twilwa/pi-typesafe

User repository on GitHub

View on GitHub

Pi coding-agent extension built on the TypeSafe AI System One API (Jev)

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

This is one of several Jev listings for the same project. The canonical entry is Pi TypeSafe — DevMortimer.

About this project

A TypeSafe Jev coding-assist sidecar for Pi. It runs four pre-flight hazard checks before bash, write, and edit, and four diff-quality checks after successful write and edit. Questions share one TypeSafe System One request per phase. Jev returns typed values; this extension applies thresholds and writes fixed feedback text.

Quoted from the project's README. Read the full README.

Highlights

  • Four pre-flight hazard checks cover bash, write and edit; four diff-quality checks run after a successful write or edit.
  • Advisory is the default and blocking is opt-in; shadow mode records assessments without changing model-visible results.
  • Disable a phase by turning off its four checks, and with all eight disabled no context is read and no request is made.
  • A missing key, bad config, auth errors, rate limits, malformed responses, timeouts and cancellation all return undefined.

Watch out

Advisory warnings arrive after execution and cannot prevent side effects; blocking refuses qualifying hazards with { block: true, reason } but does not set terminate, so the agent can revise its next call. The pre-flight thresholds the README calls initial policy choices rather than calibrated guarantees run from 0.90 to 0.95, and a hazard only fires when the returned label is true and confidence meets the threshold. Configuration is read when the extension loads, so a change needs a reload. Node 24 and Pi 0.85.1 are the pinned development versions, Pi itself needs Node 22.19.0 or newer, and Pi does not load this repository's .env automatically. TYPESAFE_BASE_URL is honoured only for a valid HTTPS URL; HTTP is refused without a loopback exception because the API key is sent to that endpoint. The README also warns against loading the extension through both installation and -e, which would judge each operation twice. The digest we reviewed is cut off mid-sentence inside the latency section. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

22GitHub stars
Runnable agent harness that moves pick, score and yes-no loop choices to Jev or Laya in milliseconds while reserving the language model for writing, compiling DECISION.md into executable questions.
Jev Agents & MCP#community#jevbest#catalog-import
15GitHub stars
Node CLI that lints a file tree against fuzzy natural-language rules in one Markdown file, judging each matched file with a swappable TypeSafe-backed judge.
Jev Agents & MCP#community#jevbest#catalog-import
22GitHub stars
Command-line toolkit that wraps Jev judgments into scriptable verify, screen, classify, extract, find, rerank, match, route, ask, compact, and batch commands.
Jev Agents & MCP#community#jevbest#catalog-import
24GitHub stars
Wires Jev into agents as seven MCP tools, an embeddable JevDecisionModel library with run functions, and Claude Code hooks at tool and turn boundaries.
Jev Agents & MCP#community#jevbest#catalog-import
12GitHub stars
Pi extension that puts Jev behind coding-agent hooks: JSON packs ask closed questions on redacted state and turn probabilities into block, confirm, annotate, or steer actions.
Jev Agents & MCP#community#jevbest#catalog-import
7GitHub stars
MCP server exposing Jev Choice, Score, Noul, batched ask, file-reading triage, and model listing as typed tools with full probability distributions.
Jev Agents & MCP#community#jevbest#catalog-import
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai