Skip to content

Commit 2bc843a

Browse files
arshadmclaude
andcommitted
Migrate issue-tracking docs from bd to br; stop tracking .beads symlink
The companion beads/teenyc repo was migrated from bd to br (beads_rust). Updates AGENTS.md/CLAUDE.md (including the beads_viewer-era bv-agent-instructions block) accordingly, and stops tracking the .beads symlink since beads repos are private. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent b0b7658 commit 2bc843a

4 files changed

Lines changed: 51 additions & 50 deletions

File tree

.beads

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,8 @@ compile_commands.json
109109
.clangd
110110
dialect.rs
111111

112-
# Beads / Dolt files (added by bd init)
113-
.dolt/
114-
*.db
115-
.beads-credential-key
112+
# Beads (br) files — private beads/ repo, not tracked here
113+
.beads
116114
.scratch/
117115
agent.log
118116
claude_limit.lock

AGENTS.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,26 @@ If your change touches compiler behavior, add or update the appropriate `tests/u
4444
- This code uses third party libraries such as melior, you can find the melior generated dialects for MLIR in .ai/melior-dialect.rs
4545
- This project also uses triton, if you need to reference the triton documentation in can be found in .ai/specs/triton
4646

47-
<!-- BEGIN BEADS INTEGRATION v:1 profile:minimal hash:ca08a54f -->
47+
<!-- BEGIN BEADS INTEGRATION v:2 profile:minimal (br) -->
4848
## Beads Issue Tracker
4949

50-
This project uses **bd (beads)** for issue tracking. Run `bd prime` to see full workflow context and commands.
50+
This project uses **br (beads_rust)** for issue tracking.
51+
52+
**Note:** `br` is non-invasive and never executes git commands. After `br sync --flush-only`, you must manually run `git add .beads/ && git commit`.
5153

5254
### Quick Reference
5355

5456
```bash
55-
bd ready # Find available work
56-
bd show <id> # View issue details
57-
bd update <id> --claim # Claim work
58-
bd close <id> # Complete work
57+
br ready # Find available work
58+
br show <id> # View issue details
59+
br update <id> --claim # Claim work
60+
br close <id> # Complete work
5961
```
6062

6163
### Rules
6264

63-
- Use `bd` for ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists
64-
- Run `bd prime` for detailed command reference and session close protocol
65-
- Use `bd remember` for persistent knowledge — do NOT use MEMORY.md files
65+
- Use `br` for ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists
66+
- Use `br` comments/labels for persistent knowledge — do NOT use MEMORY.md files
6667

6768
## Session Completion
6869

@@ -76,7 +77,9 @@ bd close <id> # Complete work
7677
4. **PUSH TO REMOTE** - This is MANDATORY:
7778
```bash
7879
git pull --rebase
79-
bd dolt push
80+
br sync --flush-only
81+
git add .beads/
82+
git commit -m "sync beads"
8083
git push
8184
git status # MUST show "up to date with origin"
8285
```

CLAUDE.md

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -416,39 +416,37 @@ When built via Rust integration, outputs go to `target/build/triton-build/build/
416416

417417
## Beads Workflow Integration
418418

419-
This project uses [beads_viewer](https://github.com/Dicklesworthstone/beads_viewer) for issue tracking. Issues are stored in `.beads/` and tracked in git.
419+
This project uses **br (beads_rust)** for issue tracking. Issues are stored in `.beads/` and tracked in git.
420+
421+
**Note:** `br` is non-invasive and never executes git commands. Sync steps below must be followed by a manual `git add .beads/ && git commit`.
420422

421423
### Essential Commands
422424

423425
```bash
424-
# View issues (launches TUI - avoid in automated sessions)
425-
bv
426-
427-
# CLI commands for agents (use these instead)
428-
bd ready # Show issues ready to work (no blockers)
429-
bd list --status=open # All open issues
430-
bd show <id> # Full issue details with dependencies
431-
bd create --title="..." --type=task --priority=2
432-
bd update <id> --status=in_progress
433-
bd close <id> --reason="Completed"
434-
bd close <id1> <id2> # Close multiple issues at once
435-
bd sync # Commit and push changes
426+
br ready # Show issues ready to work (no blockers)
427+
br list --status=open # All open issues
428+
br show <id> # Full issue details with dependencies
429+
br create --title="..." --type=task --priority=2
430+
br update <id> --status=in_progress
431+
br close <id> --reason="Completed"
432+
br close <id1> <id2> # Close multiple issues at once
433+
br sync --flush-only # Export DB to JSONL (then git add/commit .beads/)
436434
```
437435

438436
### Workflow Pattern
439437

440-
1. **Start**: Run `bd ready` to find actionable work
441-
2. **Claim**: Use `bd update <id> --status=in_progress`
438+
1. **Start**: Run `br ready` to find actionable work
439+
2. **Claim**: Use `br update <id> --status=in_progress`
442440
3. **Work**: Implement the task
443-
4. **Complete**: Use `bd close <id>`
444-
5. **Sync**: Always run `bd sync` at session end
441+
4. **Complete**: Use `br close <id>`
442+
5. **Sync**: Always run `br sync --flush-only` + `git add .beads/ && git commit` at session end
445443

446444
### Key Concepts
447445

448-
- **Dependencies**: Issues can block other issues. `bd ready` shows only unblocked work.
446+
- **Dependencies**: Issues can block other issues. `br ready` shows only unblocked work.
449447
- **Priority**: P0=critical, P1=high, P2=medium, P3=low, P4=backlog (use numbers, not words)
450448
- **Types**: task, bug, feature, epic, question, docs
451-
- **Blocking**: `bd dep add <issue> <depends-on>` to add dependencies
449+
- **Blocking**: `br dep add <issue> <depends-on>` to add dependencies
452450

453451
### Session Protocol
454452

@@ -457,42 +455,43 @@ bd sync # Commit and push changes
457455
```bash
458456
git status # Check what changed
459457
git add <files> # Stage code changes
460-
bd sync # Commit beads changes
461-
git commit -m "..." # Commit code
462-
bd sync # Commit any new beads changes
458+
br sync --flush-only # Export beads changes to JSONL
459+
git add .beads/
460+
git commit -m "..." # Commit code + beads changes
463461
git push # Push to remote
464462
```
465463

466464
### Best Practices
467465

468-
- Check `bd ready` at session start to find available work
466+
- Check `br ready` at session start to find available work
469467
- Update status as you work (in_progress → closed)
470-
- Create new issues with `bd create` when you discover tasks
468+
- Create new issues with `br create` when you discover tasks
471469
- Use descriptive titles and set appropriate priority/type
472-
- Always `bd sync` before ending session
470+
- Always sync and commit `.beads/` before ending session
473471

474472
<!-- end-bv-agent-instructions -->
475473

476474

477-
<!-- BEGIN BEADS INTEGRATION v:1 profile:minimal hash:ca08a54f -->
475+
<!-- BEGIN BEADS INTEGRATION v:2 profile:minimal (br) -->
478476
## Beads Issue Tracker
479477

480-
This project uses **bd (beads)** for issue tracking. Run `bd prime` to see full workflow context and commands.
478+
This project uses **br (beads_rust)** for issue tracking.
479+
480+
**Note:** `br` is non-invasive and never executes git commands. After `br sync --flush-only`, you must manually run `git add .beads/ && git commit`.
481481

482482
### Quick Reference
483483

484484
```bash
485-
bd ready # Find available work
486-
bd show <id> # View issue details
487-
bd update <id> --claim # Claim work
488-
bd close <id> # Complete work
485+
br ready # Find available work
486+
br show <id> # View issue details
487+
br update <id> --claim # Claim work
488+
br close <id> # Complete work
489489
```
490490

491491
### Rules
492492

493-
- Use `bd` for ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists
494-
- Run `bd prime` for detailed command reference and session close protocol
495-
- Use `bd remember` for persistent knowledge — do NOT use MEMORY.md files
493+
- Use `br` for ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists
494+
- Use `br` comments/labels for persistent knowledge — do NOT use MEMORY.md files
496495

497496
## Session Completion
498497

@@ -506,7 +505,9 @@ bd close <id> # Complete work
506505
4. **PUSH TO REMOTE** - This is MANDATORY:
507506
```bash
508507
git pull --rebase
509-
bd dolt push
508+
br sync --flush-only
509+
git add .beads/
510+
git commit -m "sync beads"
510511
git push
511512
git status # MUST show "up to date with origin"
512513
```

0 commit comments

Comments
 (0)