Skip to content

EPIC: pi-worktree plugin development roadmap #8

Description

@randomm

Goal

Ship a robust git-worktree management plugin for the Pi agent harness, with safety guardrails informed by lessons from randomm/pi-permissions and from documented agentic-AI worktree disasters (Claude Code #39394 etc.).

Recommended order of work

Phase 0: Quality gate (DONE)

Phase 1: Foundation (DONE)

Phase 2: Core plugin (DONE)

  • feat: worktree plugin #2 — feat: worktree plugin (Worktree.create/list/remove/reset, state machine, persistence, EventBus, five-footgun guardrails)

Phase 3: Polish (in flight)

Out of scope (moved upstream)

  • feat: slash command handlers — /start, /research, /plan, /work in TypeScript #3 — slash command handlers (/start /research /plan /work) — closed as not-planned for this repo (Apr 2026). Slash commands belong in the upstream PM-harness migration tracked in randomm/pi-an (private; see PI_MIGRATION.md). Authoritative tracking lives in randomm/pi-an#6. The eventual home will depend on @randomm/pi-worktree for worktree primitives.

Sequencing notes

Definition of done for the epic

Slash commands removed from this epic; tracked upstream in randomm/pi-an#6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions