refactor: remove unused bd pin/unpin/hook commands (bd-x0zl)

Analysis found these commands are dead code:
- gt never calls `bd pin` - uses `bd update --status=pinned` instead
- Beads.Pin() wrapper exists but is never called
- bd hook functionality duplicated by gt mol status
- Code comment says "pinned field is cosmetic for bd hook visibility"

Removed:
- cmd/bd/pin.go
- cmd/bd/unpin.go
- cmd/bd/hook.go

🤖 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-27 16:02:15 -08:00
parent c8b912cbe6
commit 1611f16751
178 changed files with 10291 additions and 1682 deletions

View File

@@ -289,9 +289,46 @@ type VersionChange struct {
// versionChanges contains agent-actionable changes for recent versions
var versionChanges = []VersionChange{
{
Version: "0.37.0",
Date: "2025-12-25",
Version: "0.38.0",
Date: "2025-12-27",
Changes: []string{
"NEW: Prefix-based routing (bd-9gvf) - bd commands auto-route to correct rig via routes.jsonl",
"NEW: Cross-rig ID auto-resolve (bd-lfiu) - bd dep add auto-resolves IDs across rigs",
"NEW: bd mol pour/wisp moved under bd mol subcommand (bd-2fs7) - cleaner command hierarchy",
"NEW: bd show displays comments (GH#177) - Comments now visible in issue details",
"NEW: created_by field on issues (GH#748) - Track issue creator for audit trail",
"NEW: Database corruption recovery in bd doctor --fix (GH#753) - Auto-repair corrupted databases",
"NEW: JSONL integrity check in bd doctor (GH#753) - Detect and fix malformed JSONL",
"NEW: Git hygiene checks in bd doctor - Detect stale branches and sync issues",
"NEW: pre-commit config for local lint enforcement - Consistent code quality",
"NEW: Chaos testing flag for release script (bd-kx1j) - --run-chaos-tests for thorough validation",
"CHANGED: Sync backoff and tips consolidation (GH#753) - Smarter daemon sync timing",
"CHANGED: Wisp/Ephemeral name finalized as 'wisp' - bd mol wisp is the canonical command",
"FIX: Comments display outside dependents block (GH#756) - Proper formatting",
"FIX: no-db mode storeActive initialization (GH#761) - JSONL-only mode works correctly",
"FIX: --resolution alias restored for bd close (GH#746) - Backwards compatibility",
"FIX: bd graph works with daemon running (GH#751) - Graph generation no longer conflicts",
"FIX: created_by field in RPC path (GH#754) - Daemon correctly propagates creator",
"FIX: Migration 028 idempotency (GH#757) - Migration handles partial/re-runs",
"FIX: Routed IDs bypass daemon in show command (bd-uu8p) - Cross-rig show works correctly",
"FIX: Storage connections closed per iteration (bd-uu8p) - Prevents resource leaks",
"FIX: Modern git init compatibility (GH#753) - Tests use --initial-branch=main",
"FIX: golangci-lint errors resolved (GH#753) - Clean lint on all platforms",
"IMPROVED: Test coverage - doctor, daemon, storage, RPC client paths covered",
},
},
{
Version: "0.37.0",
Date: "2025-12-26",
Changes: []string{
"BREAKING: Ephemeral API rename (bd-o18s) - Wisp→Ephemeral: JSON 'wisp'→'ephemeral', bd wisp→bd ephemeral",
"NEW: bd gate create/show/list/close/wait (bd-udsi) - Async coordination primitives for agent workflows",
"NEW: bd gate eval (gt-twjr5.2) - Evaluate timer gates and GitHub gates (gh:run, gh:pr, mail)",
"NEW: bd gate approve (gt-twjr5.4) - Human gate approval command",
"NEW: bd close --suggest-next (GH#679) - Show newly unblocked issues after close",
"NEW: bd ready/blocked --parent (GH#743) - Scope by epic or parent bead",
"NEW: TOML support for formulas (gt-xmyha) - .formula.toml files alongside JSON",
"NEW: Fork repo auto-detection (GH#742) - Offer to configure .git/info/exclude",
"NEW: Control flow operators (gt-8tmz.4) - loop and gate operators for formula composition",
"NEW: Aspect composition (gt-8tmz.5) - Cross-cutting concerns via aspects field in formulas",
"NEW: Runtime expansion (gt-8tmz.8) - on_complete and for-each dynamic step generation",
@@ -304,6 +341,9 @@ var versionChanges = []VersionChange{
"CHANGED: Formula format YAML→JSON - Formulas now use .formula.json extension",
"CHANGED: bd mol run removed - Orchestration moved to gt commands",
"CHANGED: Wisp architecture simplified (bd-bkul) - Single DB with Wisp=true flag",
"FIX: Gate await fields preserved during upsert (bd-gr4q) - Multirepo sync fix",
"FIX: Tombstones retain closed_at timestamp - Preserves close time in soft deletes",
"FIX: Git detection caching (bd-7di) - Eliminates worktree slowness",
"FIX: installed_plugins.json v2 format (GH#741) - bd doctor handles new Claude Code format",
"FIX: git.IsWorktree() hang on Windows (GH#727) - bd init no longer hangs outside git repos",
"FIX: Skill files deleted by bd sync (GH#738) - .claude/ files now preserved",
@@ -312,6 +352,8 @@ var versionChanges = []VersionChange{
"FIX: Aspect self-matching recursion (gt-8tmz.16) - Prevents infinite loops",
"FIX: Map expansion nested matching (gt-8tmz.33) - Correctly matches child steps",
"FIX: Content-level merge for divergence (bd-kpy) - Better conflict resolution",
"FIX: Windows MCP graceful fallback (GH#387) - Daemon mode on Windows",
"FIX: Windows npm postinstall file locking (GH#670) - Install reliability",
},
},
{