Skip to content

Commit 31b228a

Browse files
authored
chore(beads): track shared bead state
Track Beads JSONL/config state for br and stop ignoring the whole .beads directory.
1 parent 17a4743 commit 31b228a

7 files changed

Lines changed: 71 additions & 2 deletions

File tree

.beads/.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# SQLite databases
2+
*.db
3+
*.db?*
4+
*.db-journal
5+
*.db-wal
6+
*.db-shm
7+
8+
# Local history and recovery
9+
.br_history/
10+
.br_recovery/
11+
12+
# Local version tracking
13+
.local_version
14+
15+
# Runtime files
16+
*.lock
17+
*.tmp
18+
*.sock
19+
daemon.lock
20+
daemon.log
21+
daemon.pid
22+
last-touched
23+
redirect
24+
sync-state.json
25+
26+
# Sync state and merge artifacts
27+
.sync.lock
28+
beads.base.jsonl
29+
beads.base.meta.json
30+
beads.left.jsonl
31+
beads.left.meta.json
32+
beads.right.jsonl
33+
beads.right.meta.json
34+
sync_base.jsonl
35+
36+
# bv lock file
37+
.bv.lock
38+
39+
# NOTE: Do not add negation patterns here.
40+
# JSONL files and config files are tracked by git by default because no pattern above ignores them.

.beads/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Beads
2+
3+
AgentV uses Beads for repo-local task tracking.
4+
5+
Use `br` for all Beads operations in this repository:
6+
7+
```bash
8+
br ready --json
9+
br list --json
10+
br show <issue-id> --json
11+
br update <issue-id> --claim --json
12+
br close <issue-id> --reason "Completed" --json
13+
br sync --flush-only
14+
```
15+
16+
The durable task graph is tracked as JSONL in `.beads/issues.jsonl`. Local SQLite
17+
databases, locks, history, and merge scratch files are ignored and should not be
18+
committed.

.beads/config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Beads Project Configuration
2+
issue_prefix: agentv

.beads/issues.jsonl

Whitespace-only changes.

.beads/metadata.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"database": "beads.db",
3+
"jsonl_export": "issues.jsonl"
4+
}

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ agent-orchestrator.yaml
3030
.opencode/
3131
.ao/
3232

33-
# Gas Town (added by gt)
34-
.beads/
33+
# Gas Town / Beads shared state
34+
.beads/.br_history/
35+
.beads/.bv.lock
3536
.runtime/
3637
.logs/
3738
state.json
39+
40+
# bv (beads viewer) local config and caches
41+
.bv/

biome.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"**/.agentv/**",
4141
".claude/**",
4242
".opencode/**",
43+
".beads/**",
4344
".entire/**",
4445
".worktrees/**",
4546
"**/.astro/**",

0 commit comments

Comments
 (0)