STOP — DO NOT READ THIS FILE. You are already reading it.
/pbr:thread — Persistent Context Threads
Lightweight cross-session knowledge stores for work spanning multiple sessions that doesn't belong to any specific phase. Lighter than /pbr:pause (no phase state), richer than /pbr:note (structured sections).
Step 0 — Banner
╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► THREAD ║
╚══════════════════════════════════════════════════════════════╝
Subcommands
/pbr:thread <name> — Create thread
mkdir -p .planning/threads- Generate slug from name
- Write
.planning/threads/{slug}.md:
---
created: {ISO date}
updated: {ISO date}
status: active
---
# {Thread Name}
## Goal
{What this thread is tracking — ask user}
## Context
{Current state of the work — filled during creation}
## References
{Related files, phases, decisions — gathered from conversation}
## Next Steps
{What to do next — filled during creation}
- Display:
Thread created: {name}
/pbr:thread list — List threads
Scan .planning/threads/*.md, display name + status + last updated.
/pbr:thread resume <name> — Resume thread
- Find
.planning/threads/{slug}.md - Read and display Goal, Context, References, Next Steps
- Thread context is now in the conversation — work can continue
- Update the
updatedfield in frontmatter
/pbr:thread close <name> — Close thread
Update status to closed. Optionally promote to phase or backlog.
Anti-Patterns
- DO NOT use threads for phase-specific work — use pause/resume instead
- DO NOT create threads for one-off notes — use /pbr:note instead
- DO NOT auto-close threads — always ask user