pi-operator-tickets
v1.0.0
Published
Create bounded, proof-driven Operator Tickets for complex AI-agent tasks
Readme
pi-operator-tickets
Create bounded, proof-driven Operator Tickets for complex AI-agent tasks.
An Operator Ticket is a self-contained agent job structured as:
Order → Proof → Boundary → Budget → Fallback
The proof gate decides when the job is done — not the agent.
Installation
pi install ./path/to/pi-operator-ticketsOr install globally via npm/git:
pi install npm:pi-operator-ticketsCommands
/ticket or /operator-ticket
Interactive wizard for creating an Operator Ticket.
| Usage | Behavior |
|-------|----------|
| /ticket | Open picker with all presets + custom option |
| /ticket migration | Open picker filtered to "migration" |
| /ticket custom | Compose a one-off Custom Operator Ticket |
| /ticket presets | List and manage saved Ticket Presets |
Wizard Flow
- Choose preset or Custom Operator Ticket
- Fill placeholders (for presets with
[PLACEHOLDERS]) - Edit sections — each of the five sections is reviewed in a multi-line editor:
- GOAL
- THE ORDER
- THE PROOF
- THE BOUNDARY
- THE BUDGET
- THE FALLBACK
- Review warnings — missing Proof, Budget, or Fallback trigger strong warnings
- Insert — ticket is inserted into the editor; replace/append/cancel if editor is non-empty
- Save — custom tickets can be saved as reusable Ticket Presets
Presets
Four built-in coding presets ship with the package:
- Migration Ticket — move from one library/framework to another
- Bug Hunt Ticket — find and fix failing tests
- Coverage Climber — raise test coverage to a target percentage
- Refactor Ticket — reduce duplication by merging similar functions
Saved Presets
Saved Ticket Presets are stored as versioned JSON:
- Project-local:
.pi/operator-tickets/presets.json - Global:
~/.pi/agent/operator-tickets/presets.json
Load precedence: project > global > built-in. Later sources override earlier ones by preset ID.
Manage saved presets with /ticket presets.
Operator Ticket Standard
- Your ticket is more important than which AI you pick.
- The proof gate decides whether you ship work or garbage.
- One ticket = one job.
- Bake the budget into the ticket itself.
Credits
This package builds on the Operator Ticket approach and examples provided by Daniel Jindoo.
- Website: DOO MADE
- YouTube: @Jinni_Doo
License
MIT
