bd init: initialize beads issue tracking

This commit is contained in:
w1n5t0n 2026-03-13 18:57:30 +02:00
parent 0e0f71d28e
commit d0c42d78b5
4 changed files with 21 additions and 20 deletions

33
.beads/.gitignore vendored
View file

@ -18,8 +18,6 @@ redirect
# Sync state (local-only, per-machine)
# These files are machine-specific and should not be shared across clones
.sync.lock
.jsonl.lock
sync_base.jsonl
export-state/
# Ephemeral store (SQLite - wisps/molecules, intentionally not versioned)
@ -28,6 +26,17 @@ ephemeral.sqlite3-journal
ephemeral.sqlite3-wal
ephemeral.sqlite3-shm
# Dolt server management (auto-started by bd)
dolt-server.pid
dolt-server.log
dolt-server.lock
dolt-server.port
dolt-server.activity
dolt-monitor.pid
# Backup data (auto-exported JSONL, local-only)
backup/
# Legacy files (from pre-Dolt versions)
*.db
*.db?*
@ -36,19 +45,7 @@ ephemeral.sqlite3-shm
*.db-shm
db.sqlite
bd.db
daemon.lock
daemon.log
daemon-*.log.gz
daemon.pid
beads.base.jsonl
beads.base.meta.json
beads.left.jsonl
beads.left.meta.json
beads.right.jsonl
beads.right.meta.json
# NOTE: Do NOT add negation patterns (e.g., !issues.jsonl) here.
# They would override fork protection in .git/info/exclude, allowing
# contributors to accidentally commit upstream issue databases.
# The JSONL files (issues.jsonl, interactions.jsonl) and config files
# are tracked by git by default since no pattern above ignores them.
# NOTE: Do NOT add negation patterns here.
# They would override fork protection in .git/info/exclude.
# Config files (metadata.json, config.yaml) are tracked by git by default
# since no pattern above ignores them.

View file

View file

@ -1,7 +1,7 @@
{
"database": "dolt",
"jsonl_export": "issues.jsonl",
"backend": "dolt",
"dolt_mode": "server",
"dolt_database": "beads_meml"
"dolt_database": "beads_meml",
"project_id": "876a8fcd-79fc-4727-a69a-b6bf58c616e9"
}

4
.gitignore vendored
View file

@ -33,3 +33,7 @@
.ai
build
# Dolt database files (added by bd init)
.dolt/
*.db