kata-pi
Kata work tracking for pi. Pi's todo plans, and the child pi processes that work their items or name a ticket, become Kata issues with attributed ownership and evidence for completion. Kata validates each close; automatic session parents close after their children finish.
pi install npm:@dangerboi/kata-pi
Requires pi 1.2.0 or later, Kata 0.23.0 or later and a running Kata daemon. Tested with pi 1.6.1 and Kata 0.24.0. Remove any other todo extension first.
/todo and the todo tool plan into Kata. A repo with no Kata project plans in the project named by KATA_DEFAULT_PROJECT (labeled with the repo), or else in its inferred project.
- An item named
<project>#<short_id>: <action> works and logs on that existing ticket.
- Typing
# and part of a ticket id or title in the editor offers matching open Kata issues.
- A child
pi started from the main session gets its own Kata issue and teammate. If it exits with the issue open, the issue goes back to the lead for review, or is restored if the child ran no tool.
- Kata inbox requests for
KATA_INBOX_USER (<actor>/<name>) reach an interactive or RPC main session as they arrive, even while idle or mid-run; KATA_PI_LIVE_INBOX set to off, 0, false or no turns that off. Otherwise, as in pi -p and in children, they are read before each prompt and checked again on tool results while the agent works. A child's assignment note names its own inbox address.
- A
write, edit, or git commit, merge, tag or notes message that would add a Kata ref the session works is refused, so the model describes the behaviour instead. KATA_REF_GUARD=off turns the ref guard off.
Documentation: first session, installation, pi reference, completion rules, limits. Installing from a folder instead of npm: keep the folder intact; every .ts file next to kata.ts is a required module.
MIT licensed. Source: Dangerboi/kata-plugin.