Skip to content

docs(plans): add the bd command taxonomy research (0015) - #152

Merged
aRustyDev merged 1 commit into
mainfrom
docs/bd-command-taxonomy
Nov 13, 2026
Merged

aRustyDev merged 1 commit into
mainfrom
docs/bd-command-taxonomy

Conversation

@aRustyDev

Copy link
Copy Markdown
Owner

Summary

Adds .agents/plans/bd-equivalent/, an exploratory plan for a Thrust counterpart to beads (bd). It holds research only: no ADR, spec or milestone, and nothing is decided about whether to build, integrate or expose the functionality another way.

Research 0015 walks bd --help recursively (bd 1.3.4, 297 command paths plus help) and places every command in the owner's groups (RAW, issue verbs, analytic, sync, config, memory, maintenance, integration, developer, agent-only), plus two groups the list has no home for (the workflow engine, and help and CLI meta).

What it finds

  • bd --help's eight groups do not separate those categories. "Additional Commands" (23) spans ten, and the six tracker integrations are split across two groups (jira, linear in one; github, gitlab, ado, notion in another).
  • bd has one fat command per verb (create 45 flags, update 36, list 64) plus 20 wrapper paths.
  • 50 of the 297 paths are Dolt-coupled, and 42 (the formula, molecule, gate and swarm engine) have no home in the owner's list.
  • Placement of each misplaced command, bd's batch close-policy asymmetry, and the judgment calls the owner may want to overrule are in the note.

Files

Path What
.agents/plans/bd-equivalent/README.md What the plan is, the open questions, the numbering gap
.agents/plans/bd-equivalent/research/0015-bd-command-taxonomy.md The analysis
.agents/plans/bd-equivalent/artifacts/bd-1.3.4-command-classification.md Generated per-path listing
.agents/plans/bd-equivalent/scripts/walk_bd.py, classify.py Reproduce it; classify.py fails when a command is unplaced or a mapping key is dangling

Research is numbered 0015 because research numbers are repo-wide and contrail owns 0001 to 0014. No other branch claimed 0015.

How it was checked

  • The walker was run end to end against bd 1.3.4, refactored into main(), and run again as committed; the two trees are identical (297 paths).
  • The classifier resolves every path with no dangling keys. Its --self-test removes one mapping entry and must fail; it fails with UNASSIGNED top-level: sql.
  • A first walk lost 7 commands to a parser assumption (cobra pads to the longest name, leaving one space). The cause and the 7 commands are recorded in the note and in the walk_bd.py docstring.

For review

  • The placement is a proposal; classify.py is the one place to change it. The note lists the judgment calls (backup, history against diff, kv, events, ship, and others).
  • Help text only: no beads source was read, and hidden commands are not covered.
  • The change is under .agents/ only, so no Rust job is expected to run. It is not part of the book, so mdbook build does not apply.

🤖 Generated with Claude Code

Places every beads (bd 1.3.4) command path in the owner groups and records where bd --help groups them differently. Adds the bd-equivalent plan README, the generated per-path classification, and the two scripts that reproduce it: walk_bd.py reads the help tree, classify.py holds the placement and fails when a command is unplaced or a key is dangling.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev merged commit 610b371 into main Nov 13, 2026
14 checks passed
@aRustyDev
aRustyDev deleted the docs/bd-command-taxonomy branch November 13, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant