Files
gastown/.gitignore
PV 4c9bc36d61 fix(install): Copy embedded formulas to new installations
When `gt install` creates a new HQ, formulas were not being provisioned
to `.beads/formulas/`. This embeds the formula library into the gt binary
and copies them during installation.

- Add go:generate directive to copy formulas from .beads/formulas/
- Add internal/formula/embed.go with ProvisionFormulas() function
- Call ProvisionFormulas() from runInstall() after beads init
- Add generate target to Makefile (build depends on it)
- Add TestInstallFormulasProvisioned integration test
- Log warning if formula stat fails with unexpected error

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 18:54:26 -08:00

39 lines
390 B
Plaintext

# Binaries
/gt
*.exe
# Build
/dist/
/build/
# IDE
.idea/
.vscode/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Test
coverage.out
*.test
# Local config
config.toml
!config.example.toml
gt
# Runtime state
state.json
.runtime/
.beads/redirect
# Clone-specific CLAUDE.md (regenerated locally per clone)
CLAUDE.md
# Generated by go:generate from .beads/formulas/
internal/formula/formulas/