diff --git a/docs/reference.md b/docs/reference.md index 207dc361..13057a09 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -121,22 +121,47 @@ persisted to JSONL. They exist only in memory during execution. ## Molecule Commands +**Principle**: `bd` = beads data operations, `gt` = agent operations. + +### Beads Operations (bd) + ```bash # Formulas bd formula list # Available formulas bd formula show # Formula details bd cook # Formula → Proto -# Molecules +# Molecules (data operations) bd mol list # Available protos bd mol show # Proto details bd mol pour # Create mol bd mol wisp # Create wisp bd mol bond # Attach to existing mol -bd mol squash # Condense to digest -bd mol burn # Discard wisp +bd mol squash # Condense to digest (explicit ID) +bd mol burn # Discard wisp (explicit ID) ``` +### Agent Operations (gt) + +```bash +# Hook management (operates on current agent's hook) +gt mol status # What's on MY hook +gt mol current # What should I work on next +gt mol progress # Execution progress of molecule +gt mol attach # Pin molecule to bead +gt mol detach # Unpin molecule from bead +gt mol attach-from-mail # Attach from mail message + +# Agent lifecycle (operates on agent's attached molecule) +gt mol burn # Burn attached molecule (no ID needed) +gt mol squash # Squash attached molecule (no ID needed) +gt mol step done # Complete a molecule step +``` + +**Key distinction**: `bd mol burn/squash ` take explicit molecule IDs. +`gt mol burn/squash` operate on the current agent's attached molecule +(auto-detected from working directory). + ## Agent Lifecycle ### Polecat Shutdown