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

@@ -7,7 +7,7 @@ import (
// MigrateBlockedIssuesCache creates the blocked_issues_cache table for performance optimization
// This cache materializes the recursive CTE computation from GetReadyWork to avoid
// expensive recursive queries on every call (bd-5qim)
// expensive recursive queries on every call
func MigrateBlockedIssuesCache(db *sql.DB) error {
// Check if table already exists
var tableName string

View File

@@ -6,7 +6,7 @@ import (
)
// MigrateTombstoneColumns adds tombstone support columns to the issues table.
// These columns support inline soft-delete (bd-vw8) replacing deletions.jsonl:
// These columns support inline soft-delete, replacing deletions.jsonl:
// - deleted_at: when the issue was deleted
// - deleted_by: who deleted the issue
// - delete_reason: why the issue was deleted
@@ -43,7 +43,7 @@ func MigrateTombstoneColumns(db *sql.DB) error {
}
}
// Add partial index on deleted_at for efficient TTL queries (bd-saa)
// Add partial index on deleted_at for efficient TTL queries
// Only indexes non-NULL values, making it very efficient for tombstone filtering
_, err := db.Exec(`CREATE INDEX IF NOT EXISTS idx_issues_deleted_at ON issues(deleted_at) WHERE deleted_at IS NOT NULL`)
if err != nil {

View File

@@ -6,7 +6,7 @@ import (
)
// MigrateMessagingFields adds messaging and graph link support columns to the issues table.
// These columns support inter-agent communication (bd-kwro):
// These columns support inter-agent communication:
// - sender: who sent this message
// - ephemeral: can be bulk-deleted when closed
// - replies_to: issue ID for conversation threading

View File

@@ -6,7 +6,7 @@ import (
)
// MigratePinnedColumn adds the pinned column to the issues table.
// Pinned issues are persistent context markers that should not be treated as work items (bd-7h5).
// Pinned issues are persistent context markers that should not be treated as work items.
func MigratePinnedColumn(db *sql.DB) error {
// Check if column already exists
var columnExists bool

View File

@@ -6,14 +6,14 @@ import (
)
// MigrateAdditionalIndexes adds performance optimization indexes identified
// during schema review (bd-h0we).
// during schema review.
//
// Indexes added:
// - idx_issues_updated_at: For GetStaleIssues date filtering (bd-bha9)
// - idx_issues_status_priority: For common list query patterns (bd-a9y3)
// - idx_labels_label_issue: Covering index for label lookups (bd-jke6)
// - idx_dependencies_issue_type: For blocked issues queries (bd-8x3w)
// - idx_events_issue_type: For close reason queries (bd-lk39)
// - idx_issues_updated_at: For GetStaleIssues date filtering
// - idx_issues_status_priority: For common list query patterns
// - idx_labels_label_issue: Covering index for label lookups
// - idx_dependencies_issue_type: For blocked issues queries
// - idx_events_issue_type: For close reason queries
func MigrateAdditionalIndexes(db *sql.DB) error {
indexes := []struct {
name string

View File

@@ -5,7 +5,7 @@ import (
"fmt"
)
// MigrateGateColumns adds gate-related columns to the issues table for async coordination (bd-udsi).
// MigrateGateColumns adds gate-related columns to the issues table for async coordination.
// Gate fields enable agents to wait on external conditions (CI completion, human approval, etc.)
func MigrateGateColumns(db *sql.DB) error {
columns := []struct {

View File

@@ -6,7 +6,7 @@ import (
)
// MigrateAgentFields adds agent-specific fields to the issues table.
// These fields support the agent-as-bead pattern (gt-v2gkv, gt-h5sza):
// These fields support the agent-as-bead pattern:
// - hook_bead: current work attached to agent's hook (0..1 cardinality)
// - role_bead: reference to role definition bead
// - agent_state: agent-reported state (idle|running|stuck|stopped)