Remove deprecated builtin molecules infrastructure

- Delete builtin_molecules.go (empty stubs)
- Remove `mol export` command (exported 0 molecules)
- Clean dead code in catalog.go iterating empty BuiltinMolecules()
- Update docs to reference formula files instead of Go code

Molecules are now defined as .beads/formulas/*.formula.json files
and cooked into proto beads via `bd cook`.

🤖 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-25 11:29:27 -08:00
parent 18a4a6a3e1
commit e0a2187636
7 changed files with 15 additions and 99 deletions

View File

@@ -478,7 +478,6 @@ func (m *Manager) createRoleCLAUDEmd(workspacePath string, role string, rigName
// These molecules define the work loops for Deacon, Witness, and Refinery roles.
func (m *Manager) seedPatrolMolecules(rigPath string) error {
// Use bd command to seed molecules (more reliable than internal API)
// The bd mol seed command creates built-in molecules if they don't exist
cmd := exec.Command("bd", "mol", "seed", "--patrol")
cmd.Dir = rigPath
if err := cmd.Run(); err != nil {
@@ -491,7 +490,7 @@ func (m *Manager) seedPatrolMolecules(rigPath string) error {
// seedPatrolMoleculesManually creates patrol molecules using bd create commands.
func (m *Manager) seedPatrolMoleculesManually(rigPath string) error {
// Patrol molecule definitions (subset of builtin_molecules.go for seeding)
// Patrol molecule definitions for seeding
patrolMols := []struct {
title string
desc string