PTheoryActive

Rules that live outside the prompt.

Type
Project
Role
Research and framework; later versions with Keepstar Ventures
Category
Developer tools
Started
Mar 2026
Status
Active
50skills
21agents
1,087tests in the template

The problem

An agent that is told to follow a process in a prompt can still skip it. Nothing stops a bad action.

The approach

PTheory puts the rules in hooks that run on every tool call. A hook blocks any action that breaks the process, so nothing reaches production until it is built, tested, reviewed and signed off. Skills, agents, policies and CI checks are plain files in the project. Exploration and operations run in parallel, joined by contracts.

My part

PTheory is my research. It began in January 2026 as an AI behaviour system drawn from my work on CheqPass and MyGOPHub: an entry file with a set reading order, a documentation hierarchy and 23 standard procedures. On 31 March 2026 I defined it as a framework, with 50 skills, 21 agents and the split between an architect and an operator. The ideas are written up in the paper “PTheory: Parallel Architecture and Operations”. The theory and the first version of the framework are mine alone, and that framework worked end to end. The original PTheory repo holds the research, the paper and the framework, and is the source for everything that followed.

Keepstar Ventures then built two versions of it, with George McClain and me. George made it leaner and tighter, so it could travel to any project. I widened what it covered.

  • PTheory Claude Initial (31 March to 14 June 2026, 76 commits). PTheory adapted to Claude Code. The process moved out of instructions and into hooks that block out-of-order or out-of-role actions.
  • PTheory Template (from 1 June 2026, 272 commits). A portable version any project can adopt, with about 70 hooks, 1,087 tests and evidence gates, at version 3.0.0.

A public-release snapshot of the template, ptheory-framework, was prepared on 19 October 2026.

How the pieces connect

  1. Architect and Operator roles
  2. Contract between them
  3. Hooks on every tool call
  4. Sign-off before production

Built with

  • Python
  • Shell
  • Claude Code

Questions about PTheory?

I’m glad to talk about how it works and what I learned building it.

Next projectChroniclerPublish private work without leaking it.
⌃