Release v0.40.0

New commands and features:
- bd worktree for parallel development
- bd slot commands for agent bead slot management
- bd agent state for ZFC-compliant state reporting
- bd doctor --deep for full graph integrity validation
- Agent bead support (type=agent, type=role, migration 030)
- Computed .parent field in JSON output
- Auto-bypass daemon for wisp operations
- Pour warning for vapor-phase formulas

Performance:
- O(2^n) → O(V+E) cycle detection (GH#775)

Fixes:
- Import hash mismatch warnings
- Test updates for version tracking thresholds
- Migration test updated for new agent schema fields

🤖 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-28 10:59:02 -08:00
parent d8ef771a28
commit 6f00e48295
4 changed files with 68 additions and 5 deletions

View File

@@ -935,7 +935,7 @@ func TestCheckMetadataVersionTracking(t *testing.T) {
name: "slightly outdated version",
setupVersion: func(beadsDir string) error {
// Use a version that's less than 10 minor versions behind current
return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.30.0\n"), 0644)
return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.35.0\n"), 0644)
},
expectedStatus: doctor.StatusOK,
expectWarning: false,
@@ -944,7 +944,7 @@ func TestCheckMetadataVersionTracking(t *testing.T) {
name: "very old version",
setupVersion: func(beadsDir string) error {
// Use a version that's 10+ minor versions behind current (triggers warning)
return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.24.0\n"), 0644)
return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.29.0\n"), 0644)
},
expectedStatus: doctor.StatusWarning,
expectWarning: true,

View File

@@ -14,7 +14,7 @@ import (
var (
// Version is the current version of bd (overridden by ldflags at build time)
Version = "0.39.1"
Version = "0.40.0"
// Build can be set via ldflags at compile time
Build = "dev"
// Commit and branch the git revision the binary was built from (optional ldflag)