Summary:
- Make default `bd show --json` emit relationship/comment counts without materializing dependents and comments.
- Add `--include-dependents` and `--include-comments` for callers that need full streamed payloads.
- Add Count* storage APIs and iterator APIs across Dolt, embedded Dolt, telemetry, and test stubs.
- Keep count and dependent-iterator semantics aligned with existing relationship APIs by including `wisp_dependencies`.
Verification:
- Full PR CI green at 3e036880f.
- go test -tags gms_pure_go ./cmd/bd -run 'TestShallowDependentsForJSON|TestIssueDetailsCountOnlyJSON' -count=1
Refs #4010.
Addresses be-ijck6q.
_codex-gpt-5.5-medium on behalf of matt wilkie_
Co-authored-by: Jim Wordelman <jim@wordelman.name>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.3 KiB
1.3 KiB
| id | title | slug | sidebar_position |
|---|---|---|---|
| show | bd show | /cli-reference/show | 40 |
Generated from bd help --doc show
bd show
Show issue details
bd show [id...] [--id=<id>...] [--current] [flags]
Aliases: view
Flags:
--as-of string Show issue as it existed at a specific commit hash or branch (requires Dolt)
--children Show only the children of this issue
--current Show the currently active issue (in-progress, hooked, or last touched)
--id stringArray Issue ID (use for IDs that look like flags, e.g., --id=gt--xyz)
--include-comments Stream full comment bodies in JSON output (--json only; may be slow on issues with many comments)
--include-dependents Stream full dependent issues in JSON output (--json only; may be slow on hub beads)
--local-time Show timestamps in local time instead of UTC
--long Show all available fields (extended metadata, agent identity, gate fields, etc.)
--refs Show issues that reference this issue (reverse lookup)
--short Show compact one-line output per issue
--thread Show full conversation thread (for messages)
-w, --watch Watch for changes and auto-refresh display