mirror of
https://github.com/brunopostle/ifcurl.git
synced 2026-07-12 10:18:14 +00:00
Installs bd (beads issue tracker) via go install and bootstraps the
embedded Dolt database from the git-tracked issues.jsonl on each fresh
web session, where the embeddeddolt/ directory is absent.
Bootstrap sequence:
1. go install github.com/steveyegge/beads/cmd/bd@latest (if absent)
2. Temporarily point sync.remote to the HTTP git origin so bootstrap
can create the embedded Dolt schema (Dolt wire-protocol clone fails
over HTTP/1.1 but that is expected and handled)
3. Restore .beads/config.yaml and .beads/issues.jsonl from git before
any bd auto-export can overwrite them
4. bd config set issue_prefix ifcurl triggers auto-import of the full
issues.jsonl into the initialised but empty database
Also adds bd to PATH via CLAUDE_ENV_FILE and sets beads.role=contributor
to suppress the role-not-configured warning.
https://claude.ai/code/session_01CKpkhWhzkzR5K5PDSR8N5F
30 lines
522 B
JSON
30 lines
522 B
JSON
{
|
|
"hooks": {
|
|
"PreCompact": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"command": "bd prime",
|
|
"type": "command"
|
|
}
|
|
],
|
|
"matcher": ""
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.sh",
|
|
"type": "command"
|
|
},
|
|
{
|
|
"command": "bd prime",
|
|
"type": "command"
|
|
}
|
|
],
|
|
"matcher": ""
|
|
}
|
|
]
|
|
}
|
|
}
|