Skip to content

pi-jfiles

Pi codemode tool that classifies whole project files with caller-defined Jev questions, returning paths and typed answers, not source.

Appbeta

Overview

pi-jfiles lets you ask task-specific questions about whole project files through Pi codemode. A classify_files tool returns paths, typed answers and coverage, but not source text, so you read selected files separately to inspect evidence. The model is fixed to typesafe/jev-latest through Pi's typesafe-system-one API with no fallback.

A preview mode accepts a glob selection and reports file metadata without reading content, calling TypeSafe or needing credentials. Classification requires starting Pi with an explicit --jev-files-allow-remote consent flag (an API key alone is not upload permission, and /reload cannot grant it); each request then sends the relative path, whole file content and all questions to TypeSafe. The README warns that embedded secrets in ordinary files can be sent and that filename exclusions are not secret detection. It requires Pi 1.0.1+, Node 24.8+ and ripgrep.

What the decision model decides

TypeQuestionAnswers
ChoiceCaller-defined question about each whole file (e.g. does it handle billing?)—
Yes / noDoes this file meet the caller's condition?yes · no

How it works

  1. Preview a glob selection without uploading.
  2. Start Pi with explicit upload consent.
  3. Classify files with caller-defined questions.
  4. Read selected files separately to inspect evidence.

Strengths

  • Explicit consent before uploading code.
  • Preview mode needs no key.
  • Returns typed answers and coverage, not source.

Caveats

  • Sends whole files to TypeSafe when classifying.
  • Secrets in files may be sent.

Getting started

pi install npm:pi-jfiles, pi update --models, then pi --jev-files-allow-remote --tools read,bash,edit,write,codemode.

At a glance

Type
App
Status
beta
Language
TypeScript
Runtime
Pi codemode extension
Has code
yes

Use cases and integrations

How curated lists describe it

Frequently asked questions

Does it return file contents?

No, only paths, typed answers and coverage.

Is upload consent automatic with a key?

No, you must start Pi with --jev-files-allow-remote.

Can I preview first?

Yes, preview needs no key or consent and sends nothing.

Related projects

  • Unix filter CLI that pipes files, lines or records to Jev for bulk yes/no, choice or score judgments so agents need not read everything.

    ProjectbetaPython
  • grep where the pattern is a description: each line, record, function or diff hunk becomes a streamed Jev yes/no question.

    LibrarybetaPython
  • Privacy-first personal knowledge management system, listed as integrating Jev for document classification and tag routing.

    PluginproductionTypeScript
  • Claude Code and Codex skill that routes a task to one of 27 specialist roles, with an optional Jev engine for catalog selection.

    ProjectbetaPython
  • Calibre plugin that asks Jev yes/no questions to suggest genre and subject tags for books, with per-tag thresholds and review.

    PluginbetaPython
  • Google Apps Script Gmail classifier that applies your own plain-English labels with Jev and archives only high-confidence unwanted mail.

    ServicebetaJavaScript