BRHP
BRHP records durable planning state and validation signals in OpenCode.
- Status
- active
- Built with
- TypeScript / OpenCode plugin / SQLite
System
BRHP, Boltzmann Recursive Hierarchical Planning, is an OpenCode V2 plugin with server and TUI entrypoints. It models work as scopes and nodes with validation signals, storing sessions in .opencode/brhp/brhp.db.
The /brhp commands expose status, planning, resume, recent history, and bounded graph/frontier inspection. A read-only TUI sidebar summarizes the active session. Planner tools read active state, decompose nodes, persist validation verdicts, and complete leaves. Leaf completion records a result and removes the node from the frontier; terminal markers and frontier/event updates persist atomically.
Evidence
- ZanzyTHEbar/brhp: OpenCode planning plugin.
- Operator contract: Commands and bounded read surfaces.
- Terminal-node completion: Atomic completion markers and frontier/event updates.
Related systems
DragonScale
A fork of sipeed/picoclaw with documented SecureBus and Isolated Tool Runtime boundaries.
Go / libSQL / DAG executionAIRE
AIRE defines an adapter-first execution IR for agent workflows.
Agents / Runtimescoder-opencode-sandbox
Coder provisions per-user OpenCode workspaces with Authentik OIDC.
Coder / Terraform / OpenCodeMCP Memory
Persistent MCP memory in a single Go binary backed by libSQL.
Go / libSQL / Vector search