docs: discover Rig/Cook/Run lifecycle - the three phases of work (gt-8tmz)

Key insight: Rig and Bond operate at different abstraction levels:
- Rig = source-level composition (formula YAML with extends/compose)
- Bond = artifact-level composition (protos, mols, wisps)

This preserves the symmetric bond table while cleanly separating
authoring (rig) from runtime composition (bond).

New docs:
- rig-cook-run.md: Canonical spec for the three phases

Updated docs:
- molecule-algebra.md: Three Phases section, rig/bond distinction
- molecular-chemistry.md: Rig/bond clarification in bond section
- vision.md: Core Innovation 3 now covers Rig/Cook/Run

"This is a discovery, not an invention."

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-23 19:19:04 -08:00
parent 733039a6d6
commit 4716b2ee57
4 changed files with 274 additions and 13 deletions

View File

@@ -201,8 +201,22 @@ bd mol distill bd-abc123 --var feature=auth --var version=1.0
## The Polymorphic Bond Operator
**Bond** is Gas Town's polymorphic combiner - it handles different operand
types with different phase behaviors:
Gas Town has **two composition operators** at different abstraction levels:
| Operator | Level | Inputs | When to Use |
|----------|-------|--------|-------------|
| **Rig** | Source | Formula + Formula | Authoring time, in YAML |
| **Bond** | Artifact | Proto/Mol/Wisp + any | Runtime, on cooked artifacts |
**Rig** composes formulas (source YAML with `extends`, `compose`).
**Bond** composes artifacts (cooked protos, running mols/wisps).
See [rig-cook-run.md](rig-cook-run.md) for the full Rig/Cook/Run lifecycle.
---
**Bond** is Gas Town's polymorphic combiner for artifacts - it handles different
operand types with different phase behaviors:
### Bond: Proto + Proto → Compound Proto