chore: remove issue ID references from comments and changelogs

Strip (bd-xxx), (gt-xxx) suffixes from code comments and changelog
entries. The descriptions remain meaningful without the ephemeral
issue IDs.

🤖 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:05:16 -08:00
parent b4deb96924
commit f46cc2e798
82 changed files with 1175 additions and 1182 deletions

View File

@@ -11,8 +11,6 @@ import (
// DatabaseConfig auto-detects and fixes metadata.json database/JSONL config mismatches.
// This fixes the issue where metadata.json gets recreated with wrong JSONL filename.
//
// bd-afd: bd doctor --fix should auto-fix metadata.json jsonl_export mismatch
func DatabaseConfig(path string) error {
if err := validateBeadsWorkspace(path); err != nil {
return err
@@ -81,7 +79,6 @@ func DatabaseConfig(path string) error {
// findActualJSONLFile scans .beads/ for the actual JSONL file in use.
// Prefers issues.jsonl over beads.jsonl (canonical name), skips backups and merge artifacts.
// bd-6xd: issues.jsonl is the canonical filename
func findActualJSONLFile(beadsDir string) string {
entries, err := os.ReadDir(beadsDir)
if err != nil {
@@ -125,7 +122,7 @@ func findActualJSONLFile(beadsDir string) string {
return ""
}
// bd-6xd: Prefer issues.jsonl over beads.jsonl (canonical name)
// Prefer issues.jsonl over beads.jsonl (canonical name)
for _, name := range candidates {
if name == "issues.jsonl" {
return name
@@ -147,7 +144,6 @@ func isSystemJSONLFilename(name string) bool {
// LegacyJSONLConfig migrates from legacy beads.jsonl to canonical issues.jsonl.
// This renames the file, updates metadata.json, and updates .gitattributes if present.
// bd-6xd: issues.jsonl is the canonical filename
func LegacyJSONLConfig(path string) error {
if err := validateBeadsWorkspace(path); err != nil {
return err

View File

@@ -10,7 +10,7 @@ import (
)
// DatabaseVersion fixes database version mismatches by running bd migrate,
// or creates the database from JSONL by running bd init for fresh clones (bd-4h9).
// or creates the database from JSONL by running bd init for fresh clones.
func DatabaseVersion(path string) error {
// Validate workspace
if err := validateBeadsWorkspace(path); err != nil {
@@ -23,7 +23,7 @@ func DatabaseVersion(path string) error {
return err
}
// Check if database exists - if not, run init instead of migrate (bd-4h9)
// Check if database exists - if not, run init instead of migrate
beadsDir := filepath.Join(path, ".beads")
dbPath := filepath.Join(beadsDir, beads.CanonicalDatabaseName)
if cfg, err := configfile.Load(beadsDir); err == nil && cfg != nil && cfg.Database != "" {

View File

@@ -46,8 +46,6 @@ func SyncBranchConfig(path string) error {
// This handles two cases:
// 1. Local sync branch diverged from remote (after force-push)
// 2. Sync branch far behind main on source files
//
// bd-6rf: Detect and fix stale beads-sync branch
func SyncBranchHealth(path, syncBranch string) error {
if err := validateBeadsWorkspace(path); err != nil {
return err

View File

@@ -12,7 +12,7 @@ import (
// UntrackedJSONL stages and commits untracked .beads/*.jsonl files.
// This fixes the issue where bd cleanup -f creates deletions.jsonl but
// leaves it untracked. (bd-pbj)
// leaves it untracked.
func UntrackedJSONL(path string) error {
if err := validateBeadsWorkspace(path); err != nil {
return err
@@ -72,7 +72,7 @@ func UntrackedJSONL(path string) error {
// Commit only the JSONL files we staged (using --only to preserve other staged changes)
// Use config-based author and signing options (GH#600)
commitMsg := "chore(beads): commit untracked JSONL files\n\nAuto-committed by bd doctor --fix (bd-pbj)"
commitMsg := "chore(beads): commit untracked JSONL files\n\nAuto-committed by bd doctor --fix"
commitArgs := []string{"commit", "--only"}
// Add --author if configured