Link Types
replies-to - Conversation Threading
Creates message threads, similar to email or chat conversations. Created by:- Orchestrator mail reply commands (orchestrator handles messaging)
bd dep add <new-id> <original-id> --type replies-to(manual linking)
- Agent-to-agent message threads
- Discussion chains on issues
- Follow-up communications
relates-to - Loose Associations
Bidirectional “see also” links between related issues. Not blocking, not hierarchical - just related. Created by:bd relate <id1> <id2>- Links both issues to each other
bd unrelate <id1> <id2>- Removes link in both directions
- Cross-referencing related features
- Linking bugs to associated tasks
- Building knowledge graphs
- “See also” connections
duplicates - Deduplication
Marks an issue as a duplicate of a canonical issue. The duplicate is automatically closed. Created by:bd duplicate <id> --of <canonical>
- Consolidating duplicate bug reports
- Merging similar feature requests
- Database deduplication at scale
- Duplicate issue is automatically closed
- Original (canonical) issue remains open
duplicate_offield stores the canonical ID
supersedes - Version Chains
Marks an issue as superseded by a newer version. The old issue is automatically closed. Created by:bd supersede <old-id> --with <new-id>
- Design document versions
- Spec evolution
- Artifact versioning
- RFC chains
- Old issue is automatically closed
- New issue remains in its current state
superseded_byfield stores the replacement ID
Schema Fields
These fields are added to issues:| Field | Type | Description |
|---|---|---|
replies-to | string | ID of parent message (threading) |
relates-to | []string | IDs of related issues (bidirectional) |
duplicate_of | string | ID of canonical issue |
superseded_by | string | ID of replacement issue |
Querying Links
View Issue Details
View Threads
replies-to chain to show conversation history.
JSON Output
Comparison with Dependencies
| Link Type | Blocking? | Hierarchical? | Direction |
|---|---|---|---|
blocks | Yes | No | One-way |
parent_id | No | Yes | One-way |
relates-to | No | No | Bidirectional |
replies-to | No | No | One-way |
duplicate_of | No | No | One-way |
superseded_by | No | No | One-way |
Use Cases
Knowledge Base
Link related documentation:Bug Triage
Consolidate duplicate reports:Version History
Track document evolution:Message Threading
Build conversation chains (via orchestrator mail):Best Practices
- Use relates-to sparingly - Too many links become noise
- Prefer specific link types -
duplicatesis clearer than generic relates-to - Keep threads shallow - Deep reply chains are hard to follow
- Document supersedes chains - Note why version changed
- Query before creating duplicates -
bd searchfirst
See Also
- Messaging - Mail commands and threading
- Dependencies - Blocking dependencies
- CLI Reference - All commands