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:
@@ -400,7 +400,7 @@ func (c *Client) EpicStatus(args *EpicStatusArgs) (*Response, error) {
|
||||
return c.Execute(OpEpicStatus, args)
|
||||
}
|
||||
|
||||
// Gate operations (bd-likt)
|
||||
// Gate operations
|
||||
|
||||
// GateCreate creates a gate via the daemon
|
||||
func (c *Client) GateCreate(args *GateCreateArgs) (*Response, error) {
|
||||
|
||||
@@ -44,7 +44,7 @@ const (
|
||||
OpDelete = "delete"
|
||||
OpGetWorkerStatus = "get_worker_status"
|
||||
|
||||
// Gate operations (bd-likt)
|
||||
// Gate operations
|
||||
OpGateCreate = "gate_create"
|
||||
OpGateList = "gate_list"
|
||||
OpGateShow = "gate_show"
|
||||
@@ -85,14 +85,14 @@ type CreateArgs struct {
|
||||
EstimatedMinutes *int `json:"estimated_minutes,omitempty"` // Time estimate in minutes
|
||||
Labels []string `json:"labels,omitempty"`
|
||||
Dependencies []string `json:"dependencies,omitempty"`
|
||||
// Waits-for dependencies (bd-xo1o.2)
|
||||
// Waits-for dependencies
|
||||
WaitsFor string `json:"waits_for,omitempty"` // Spawner issue ID to wait for
|
||||
WaitsForGate string `json:"waits_for_gate,omitempty"` // Gate type: all-children or any-children
|
||||
// Messaging fields (bd-kwro)
|
||||
// Messaging fields
|
||||
Sender string `json:"sender,omitempty"` // Who sent this (for messages)
|
||||
Ephemeral bool `json:"ephemeral,omitempty"` // If true, not exported to JSONL; bulk-deleted when closed
|
||||
RepliesTo string `json:"replies_to,omitempty"` // Issue ID for conversation threading
|
||||
// ID generation (bd-hobo)
|
||||
// ID generation
|
||||
IDPrefix string `json:"id_prefix,omitempty"` // Override prefix for ID generation (mol, eph, etc.)
|
||||
CreatedBy string `json:"created_by,omitempty"` // Who created the issue
|
||||
}
|
||||
@@ -114,22 +114,22 @@ type UpdateArgs struct {
|
||||
AddLabels []string `json:"add_labels,omitempty"`
|
||||
RemoveLabels []string `json:"remove_labels,omitempty"`
|
||||
SetLabels []string `json:"set_labels,omitempty"`
|
||||
// Messaging fields (bd-kwro)
|
||||
// Messaging fields
|
||||
Sender *string `json:"sender,omitempty"` // Who sent this (for messages)
|
||||
Ephemeral *bool `json:"ephemeral,omitempty"` // If true, not exported to JSONL; bulk-deleted when closed
|
||||
RepliesTo *string `json:"replies_to,omitempty"` // Issue ID for conversation threading
|
||||
// Graph link fields (bd-fu83)
|
||||
// Graph link fields
|
||||
RelatesTo *string `json:"relates_to,omitempty"` // JSON array of related issue IDs
|
||||
DuplicateOf *string `json:"duplicate_of,omitempty"` // Canonical issue ID if duplicate
|
||||
SupersededBy *string `json:"superseded_by,omitempty"` // Replacement issue ID if obsolete
|
||||
// Pinned field (bd-iea)
|
||||
// Pinned field
|
||||
Pinned *bool `json:"pinned,omitempty"` // If true, issue is a persistent context marker
|
||||
// Reparenting field (bd-cj2e)
|
||||
// Reparenting field
|
||||
Parent *string `json:"parent,omitempty"` // New parent issue ID (reparents the issue)
|
||||
// Agent slot fields (gt-h5sza)
|
||||
// Agent slot fields
|
||||
HookBead *string `json:"hook_bead,omitempty"` // Current work on agent's hook (0..1)
|
||||
RoleBead *string `json:"role_bead,omitempty"` // Role definition bead for agent
|
||||
// Agent state fields (bd-uxlb)
|
||||
// Agent state fields
|
||||
AgentState *string `json:"agent_state,omitempty"` // Agent state (idle|running|stuck|stopped|dead)
|
||||
LastActivity *bool `json:"last_activity,omitempty"` // If true, update last_activity to now
|
||||
}
|
||||
@@ -192,16 +192,16 @@ type ListArgs struct {
|
||||
PriorityMin *int `json:"priority_min,omitempty"`
|
||||
PriorityMax *int `json:"priority_max,omitempty"`
|
||||
|
||||
// Pinned filtering (bd-p8e)
|
||||
// Pinned filtering
|
||||
Pinned *bool `json:"pinned,omitempty"`
|
||||
|
||||
// Template filtering (beads-1ra)
|
||||
// Template filtering
|
||||
IncludeTemplates bool `json:"include_templates,omitempty"`
|
||||
|
||||
// Parent filtering (bd-yqhh)
|
||||
// Parent filtering
|
||||
ParentID string `json:"parent_id,omitempty"`
|
||||
|
||||
// Ephemeral filtering (bd-bkul)
|
||||
// Ephemeral filtering
|
||||
Ephemeral *bool `json:"ephemeral,omitempty"`
|
||||
}
|
||||
|
||||
@@ -455,7 +455,7 @@ type GetMutationsArgs struct {
|
||||
Since int64 `json:"since"` // Unix timestamp in milliseconds (0 for all recent)
|
||||
}
|
||||
|
||||
// Gate operations (bd-likt)
|
||||
// Gate operations
|
||||
|
||||
// GateCreateArgs represents arguments for creating a gate
|
||||
type GateCreateArgs struct {
|
||||
|
||||
@@ -77,7 +77,7 @@ func updatesFromArgs(a UpdateArgs) map[string]interface{} {
|
||||
if a.IssueType != nil {
|
||||
u["issue_type"] = *a.IssueType
|
||||
}
|
||||
// Messaging fields (bd-kwro)
|
||||
// Messaging fields
|
||||
if a.Sender != nil {
|
||||
u["sender"] = *a.Sender
|
||||
}
|
||||
@@ -87,7 +87,7 @@ func updatesFromArgs(a UpdateArgs) map[string]interface{} {
|
||||
if a.RepliesTo != nil {
|
||||
u["replies_to"] = *a.RepliesTo
|
||||
}
|
||||
// Graph link fields (bd-fu83)
|
||||
// Graph link fields
|
||||
if a.RelatesTo != nil {
|
||||
u["relates_to"] = *a.RelatesTo
|
||||
}
|
||||
@@ -97,18 +97,18 @@ func updatesFromArgs(a UpdateArgs) map[string]interface{} {
|
||||
if a.SupersededBy != nil {
|
||||
u["superseded_by"] = *a.SupersededBy
|
||||
}
|
||||
// Pinned field (bd-iea)
|
||||
// Pinned field
|
||||
if a.Pinned != nil {
|
||||
u["pinned"] = *a.Pinned
|
||||
}
|
||||
// Agent slot fields (gt-h5sza)
|
||||
// Agent slot fields
|
||||
if a.HookBead != nil {
|
||||
u["hook_bead"] = *a.HookBead
|
||||
}
|
||||
if a.RoleBead != nil {
|
||||
u["role_bead"] = *a.RoleBead
|
||||
}
|
||||
// Agent state fields (bd-uxlb)
|
||||
// Agent state fields
|
||||
if a.AgentState != nil {
|
||||
u["agent_state"] = *a.AgentState
|
||||
}
|
||||
@@ -189,11 +189,11 @@ func (s *Server) handleCreate(req *Request) Response {
|
||||
ExternalRef: externalRef,
|
||||
EstimatedMinutes: createArgs.EstimatedMinutes,
|
||||
Status: types.StatusOpen,
|
||||
// Messaging fields (bd-kwro)
|
||||
// Messaging fields
|
||||
Sender: createArgs.Sender,
|
||||
Ephemeral: createArgs.Ephemeral,
|
||||
// NOTE: RepliesTo now handled via replies-to dependency (Decision 004)
|
||||
// ID generation (bd-hobo)
|
||||
// ID generation
|
||||
IDPrefix: createArgs.IDPrefix,
|
||||
CreatedBy: createArgs.CreatedBy,
|
||||
}
|
||||
@@ -326,7 +326,7 @@ func (s *Server) handleCreate(req *Request) Response {
|
||||
}
|
||||
}
|
||||
|
||||
// Add waits-for dependency if specified (bd-xo1o.2)
|
||||
// Add waits-for dependency if specified
|
||||
if createArgs.WaitsFor != "" {
|
||||
// Validate gate type
|
||||
gate := createArgs.WaitsForGate
|
||||
@@ -480,7 +480,7 @@ func (s *Server) handleUpdate(req *Request) Response {
|
||||
}
|
||||
}
|
||||
|
||||
// Handle reparenting (bd-cj2e)
|
||||
// Handle reparenting
|
||||
if updateArgs.Parent != nil {
|
||||
newParentID := *updateArgs.Parent
|
||||
|
||||
@@ -715,7 +715,7 @@ func (s *Server) handleDelete(req *Request) Response {
|
||||
continue
|
||||
}
|
||||
|
||||
// Create tombstone instead of hard delete (bd-rp4o fix)
|
||||
// Create tombstone instead of hard delete
|
||||
// This preserves deletion history and prevents resurrection during sync
|
||||
type tombstoner interface {
|
||||
CreateTombstone(ctx context.Context, id string, actor string, reason string) error
|
||||
@@ -901,21 +901,21 @@ func (s *Server) handleList(req *Request) Response {
|
||||
filter.PriorityMin = listArgs.PriorityMin
|
||||
filter.PriorityMax = listArgs.PriorityMax
|
||||
|
||||
// Pinned filtering (bd-p8e)
|
||||
// Pinned filtering
|
||||
filter.Pinned = listArgs.Pinned
|
||||
|
||||
// Template filtering (beads-1ra): exclude templates by default
|
||||
// Template filtering: exclude templates by default
|
||||
if !listArgs.IncludeTemplates {
|
||||
isTemplate := false
|
||||
filter.IsTemplate = &isTemplate
|
||||
}
|
||||
|
||||
// Parent filtering (bd-yqhh)
|
||||
// Parent filtering
|
||||
if listArgs.ParentID != "" {
|
||||
filter.ParentID = &listArgs.ParentID
|
||||
}
|
||||
|
||||
// Ephemeral filtering (bd-bkul)
|
||||
// Ephemeral filtering
|
||||
filter.Ephemeral = listArgs.Ephemeral
|
||||
|
||||
// Guard against excessive ID lists to avoid SQLite parameter limits
|
||||
@@ -1522,7 +1522,7 @@ func (s *Server) handleEpicStatus(req *Request) Response {
|
||||
}
|
||||
}
|
||||
|
||||
// Gate handlers (bd-likt)
|
||||
// Gate handlers
|
||||
|
||||
func (s *Server) handleGateCreate(req *Request) Response {
|
||||
var args GateCreateArgs
|
||||
|
||||
@@ -32,7 +32,7 @@ func (s *Server) handleDepAdd(req *Request) Response {
|
||||
}
|
||||
}
|
||||
|
||||
// Check for child→parent dependency anti-pattern (bd-nim5)
|
||||
// Check for child->parent dependency anti-pattern
|
||||
// This creates a deadlock: child can't start (parent open), parent can't close (children not done)
|
||||
if isChildOf(depArgs.FromID, depArgs.ToID) {
|
||||
return Response{
|
||||
|
||||
@@ -56,7 +56,7 @@ func (s *Server) checkVersionCompatibility(clientVersion string) error {
|
||||
clientVersion, ServerVersion)
|
||||
}
|
||||
|
||||
// Compare full versions - daemon must be >= client (bd-ckvw: strict minor version gating)
|
||||
// Compare full versions - daemon must be >= client (strict minor version gating)
|
||||
// This prevents stale daemons from serving requests with old schema assumptions
|
||||
cmp := semver.Compare(serverVer, clientVer)
|
||||
if cmp < 0 {
|
||||
@@ -146,7 +146,7 @@ func (s *Server) handleRequest(req *Request) Response {
|
||||
}
|
||||
}
|
||||
|
||||
// Check for stale JSONL and auto-import if needed (bd-160)
|
||||
// Check for stale JSONL and auto-import if needed
|
||||
// Skip for write operations that will trigger export anyway
|
||||
// Skip for import operation itself to avoid recursion
|
||||
if req.Operation != OpPing && req.Operation != OpHealth && req.Operation != OpMetrics &&
|
||||
@@ -227,7 +227,7 @@ func (s *Server) handleRequest(req *Request) Response {
|
||||
resp = s.handleGetWorkerStatus(req)
|
||||
case OpShutdown:
|
||||
resp = s.handleShutdown(req)
|
||||
// Gate operations (bd-likt)
|
||||
// Gate operations
|
||||
case OpGateCreate:
|
||||
resp = s.handleGateCreate(req)
|
||||
case OpGateList:
|
||||
|
||||
Reference in New Issue
Block a user