Design Tree

The design tree is a markdown-backed knowledge graph for tracking architecture exploration. Each node is a markdown file in docs/ with structured sections: overview, research, decisions, open questions, and implementation notes.

The Omegon project itself has design tree nodes tracking everything from provider routing policy to TUI color choices. The tree is visualized as an SVG on the Design Graph page.

Node Lifecycle

StatusMeaning
seedIdea captured, not yet explored
exploringActive research and discussion
resolvedQuestions answered, design clear — awaiting formal gate
decidedReady for implementation. Can bridge to OpenSpec.
blockedWaiting on a dependency or external input
deferredDeliberately postponed

Node Structure

Each design node has structured sections:

Agent Tools

ToolPurpose
design_tree(list)List all nodes
design_tree(node, id)Read full node content
design_tree(frontier)Find nodes with open questions
design_tree(ready)Find decided nodes ready for implementation
design_tree(blocked)Find blocked nodes and what's blocking them
design_tree_update(create)Create a new design node
design_tree_update(branch)Spawn child node from a parent's open question
design_tree_update(implement)Bridge to OpenSpec — scaffold a change directory

Implementation Bridge

When a design node reaches decided status, it can be bridged to the OpenSpec lifecycle for implementation:

  1. design_tree_update(implement) scaffolds an OpenSpec change directory
  2. Specs are generated from the node's decisions and acceptance criteria
  3. /cleave parallelizes the implementation across git worktrees
  4. /assess spec verifies the specs are satisfied
  5. Node status updates as implementation progresses

Operator Commands

/checkin      # Triage: open designs, active changes, recent issues
/status       # Harness status including design tree summary