diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index f9e44edb..19c75603 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -9,7 +9,7 @@ "name": "beads", "source": "./", "description": "AI-supervised issue tracker for coding workflows", - "version": "0.37.0" + "version": "0.38.0" } ] } diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 61b7a4a3..cb4c7caa 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "beads", "description": "AI-supervised issue tracker for coding workflows. Manage tasks, discover work, and maintain context with simple CLI commands.", - "version": "0.37.0", + "version": "0.38.0", "author": { "name": "Steve Yegge", "url": "https://github.com/steveyegge" diff --git a/CHANGELOG.md b/CHANGELOG.md index 1720d929..7b9f508b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,94 @@ All notable changes to the beads project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.38.0] - 2025-12-27 + +### Added + +- **Prefix-based routing** (bd-9gvf) - Cross-rig command routing + - `bd` commands auto-route to correct rig based on issue ID prefix + - Routes stored in `~/gt/.beads/routes.jsonl` + - Enables seamless multi-rig workflows from any directory + +- **Cross-rig ID auto-resolve** (bd-lfiu) - Smarter dependency handling + - `bd dep add` auto-resolves issue IDs across different rigs + - No need to specify full paths for cross-rig dependencies + +- **`bd mol pour/wisp` subcommands** (bd-2fs7) - Reorganized command hierarchy + - `bd mol pour` for persistent molecules + - `bd mol wisp` for ephemeral workflows + - Cleaner organization under `bd mol` namespace + +- **Comments display in `bd show`** (GH#177) - Enhanced issue details + - Comments now visible in issue output + - Shows full discussion thread for issues + +- **`created_by` field on issues** (GH#748) - Creator tracking + - Track who created each issue for audit trail + - Useful for multi-agent workflows + +- **Database corruption recovery** (GH#753) - Robust doctor repairs + - `bd doctor --fix` can now auto-repair corrupted SQLite databases + - JSONL integrity checks detect and fix malformed entries + - Git hygiene checks for stale branches + +- **Chaos testing for releases** (bd-kx1j) - Thorough validation + - `--run-chaos-tests` flag in release script + - Exercises edge cases and failure modes + +- **Pre-commit config** - Local lint enforcement + - Consistent code quality before commits + +### Changed + +- **Sync backoff and tips consolidation** (GH#753) - Smarter daemon + - Daemon uses exponential backoff for sync retries + - Tips consolidated from multiple sources + +- **Wisp/Ephemeral naming finalized** - `wisp` is canonical + - `bd mol wisp` is the correct command + - Internal API uses "ephemeral" but CLI uses "wisp" + +### Fixed + +- **Comments display position** (GH#756) - Formatting fix + - Comments now display outside dependents block + - Proper visual hierarchy in `bd show` output + +- **no-db mode storeActive** (GH#761) - JSONL-only fix + - `storeActive` correctly set in no-database mode + - Fixes issues with JSONL-only installations + +- **`--resolution` alias** (GH#746) - Backwards compatibility + - Restored `--resolution` as alias for `--reason` on `bd close` + +- **`bd graph` with daemon** (GH#751) - Daemon compatibility + - Graph generation works when daemon is running + - No more conflicts between graph and daemon operations + +- **`created_by` in RPC path** (GH#754) - Daemon propagation + - Creator field correctly passed through daemon RPC + +- **Migration 028 idempotency** (GH#757) - Safe re-runs + - Migration handles partial or repeated runs gracefully + - Checks for existing columns before adding + +- **Routed ID daemon bypass** (bd-uu8p) - Cross-rig show + - `bd show` with routed IDs bypasses daemon correctly + - Storage connections closed per iteration to prevent leaks + +- **Modern git init** (GH#753) - Test compatibility + - Tests use `--initial-branch=main` for modern git versions + +- **golangci-lint clean** (GH#753) - All platforms + - Resolved all lint errors across platforms + +### Improved + +- **Test coverage** - Comprehensive testing + - Doctor, daemon, storage, and RPC client paths covered + - Chaos testing integration for edge cases + ## [0.37.0] - 2025-12-26 ### Added diff --git a/cmd/bd/info.go b/cmd/bd/info.go index ca5b3923..1ea5e666 100644 --- a/cmd/bd/info.go +++ b/cmd/bd/info.go @@ -288,6 +288,35 @@ type VersionChange struct { // versionChanges contains agent-actionable changes for recent versions var versionChanges = []VersionChange{ + { + 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", diff --git a/cmd/bd/templates/hooks/post-checkout b/cmd/bd/templates/hooks/post-checkout index 372a6559..ba671d78 100755 --- a/cmd/bd/templates/hooks/post-checkout +++ b/cmd/bd/templates/hooks/post-checkout @@ -1,6 +1,6 @@ #!/bin/sh # bd-shim v1 -# bd-hooks-version: 0.37.0 +# bd-hooks-version: 0.38.0 # # bd (beads) post-checkout hook - thin shim # diff --git a/cmd/bd/templates/hooks/post-merge b/cmd/bd/templates/hooks/post-merge index e72de916..2b44e927 100755 --- a/cmd/bd/templates/hooks/post-merge +++ b/cmd/bd/templates/hooks/post-merge @@ -1,6 +1,6 @@ #!/bin/sh # bd-shim v1 -# bd-hooks-version: 0.37.0 +# bd-hooks-version: 0.38.0 # # bd (beads) post-merge hook - thin shim # diff --git a/cmd/bd/templates/hooks/pre-commit b/cmd/bd/templates/hooks/pre-commit index b751d870..bac7b5e2 100755 --- a/cmd/bd/templates/hooks/pre-commit +++ b/cmd/bd/templates/hooks/pre-commit @@ -1,6 +1,6 @@ #!/bin/sh # bd-shim v1 -# bd-hooks-version: 0.37.0 +# bd-hooks-version: 0.38.0 # # bd (beads) pre-commit hook - thin shim # diff --git a/cmd/bd/templates/hooks/pre-push b/cmd/bd/templates/hooks/pre-push index 59df9ce6..370532d7 100755 --- a/cmd/bd/templates/hooks/pre-push +++ b/cmd/bd/templates/hooks/pre-push @@ -1,6 +1,6 @@ #!/bin/sh # bd-shim v1 -# bd-hooks-version: 0.37.0 +# bd-hooks-version: 0.38.0 # # bd (beads) pre-push hook - thin shim # diff --git a/cmd/bd/version.go b/cmd/bd/version.go index d9f034fb..940d47d5 100644 --- a/cmd/bd/version.go +++ b/cmd/bd/version.go @@ -14,7 +14,7 @@ import ( var ( // Version is the current version of bd (overridden by ldflags at build time) - Version = "0.37.0" + Version = "0.38.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) diff --git a/integrations/beads-mcp/pyproject.toml b/integrations/beads-mcp/pyproject.toml index cd72ae7c..2bc00a7d 100644 --- a/integrations/beads-mcp/pyproject.toml +++ b/integrations/beads-mcp/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "beads-mcp" -version = "0.37.0" +version = "0.38.0" description = "MCP server for beads issue tracker." readme = "README.md" requires-python = ">=3.10" diff --git a/integrations/beads-mcp/src/beads_mcp/__init__.py b/integrations/beads-mcp/src/beads_mcp/__init__.py index a732997a..825b0c00 100644 --- a/integrations/beads-mcp/src/beads_mcp/__init__.py +++ b/integrations/beads-mcp/src/beads_mcp/__init__.py @@ -4,4 +4,4 @@ This package provides an MCP (Model Context Protocol) server that exposes beads (bd) issue tracker functionality to MCP Clients. """ -__version__ = "0.37.0" +__version__ = "0.38.0" diff --git a/npm-package/package.json b/npm-package/package.json index 027980f0..0848863e 100644 --- a/npm-package/package.json +++ b/npm-package/package.json @@ -1,6 +1,6 @@ { "name": "@beads/bd", - "version": "0.37.0", + "version": "0.38.0", "description": "Beads issue tracker - lightweight memory system for coding agents with native binary support", "main": "bin/bd.js", "bin": {