bd daemon sync: 2026-01-12 01:36:55

This commit is contained in:
beads/witness
2026-01-12 01:36:55 -08:00
committed by Steve Yegge
parent 2da4580c3e
commit 5f5b62093a

View File

@@ -1408,7 +1408,7 @@
{"id":"bd-jposm","title":"Session ended: gt-beads-crew-dave","status":"closed","priority":2,"issue_type":"event","created_at":"2026-01-07T21:38:28.342577-08:00","created_by":"beads/crew/dave","updated_at":"2026-01-09T21:15:40.691248-08:00","closed_at":"2026-01-09T21:15:40.691248-08:00","close_reason":"Stale session ended events"}
{"id":"bd-jpu9","title":"Session ended: gt-beads-crew-emma","status":"closed","priority":2,"issue_type":"event","created_at":"2026-01-07T00:28:55.97548-08:00","created_by":"beads/crew/emma","updated_at":"2026-01-07T00:28:56.00767-08:00","closed_at":"2026-01-07T00:28:56.00767-08:00","close_reason":"auto-closed session event"}
{"id":"bd-jrb0u","title":"Session ended: gt-beads-crew-fang","status":"closed","priority":2,"issue_type":"event","created_at":"2026-01-09T13:50:35.133209-08:00","created_by":"beads/crew/fang","updated_at":"2026-01-09T13:50:35.172964-08:00","closed_at":"2026-01-09T13:50:35.172964-08:00","close_reason":"auto-closed session cost wisp","ephemeral":true}
{"id":"bd-jrjwx","title":"Bug: resolve_conflicts.go has closed winning over tombstone (should be reversed)","description":"In `cmd/bd/resolve_conflicts.go` lines 418-425:\n\n```go\n// Status: closed wins\nif left.Status == \"closed\" || right.Status == \"closed\" {\n result.Status = \"closed\"\n} else if left.Status == \"tombstone\" || right.Status == \"tombstone\" {\n result.Status = \"tombstone\"\n}\n```\n\nThis is backwards. Tombstone should win over closed because:\n1. Tombstone represents an explicit deletion\n2. The main merge library (`internal/merge/merge.go` lines 657-660) correctly has tombstone winning first\n3. This bug causes corrupted state: status=closed + deleted_at set\n\n**Fix:** Swap the order so tombstone is checked first.","status":"open","priority":1,"issue_type":"bug","owner":"steve.yegge@gmail.com","created_at":"2026-01-12T01:26:17.808709-08:00","created_by":"mayor","updated_at":"2026-01-12T01:26:17.808709-08:00"}
{"id":"bd-jrjwx","title":"Bug: resolve_conflicts.go has closed winning over tombstone (should be reversed)","description":"In `cmd/bd/resolve_conflicts.go` lines 418-425:\n\n```go\n// Status: closed wins\nif left.Status == \"closed\" || right.Status == \"closed\" {\n result.Status = \"closed\"\n} else if left.Status == \"tombstone\" || right.Status == \"tombstone\" {\n result.Status = \"tombstone\"\n}\n```\n\nThis is backwards. Tombstone should win over closed because:\n1. Tombstone represents an explicit deletion\n2. The main merge library (`internal/merge/merge.go` lines 657-660) correctly has tombstone winning first\n3. This bug causes corrupted state: status=closed + deleted_at set\n\n**Fix:** Swap the order so tombstone is checked first.","status":"open","priority":1,"issue_type":"bug","assignee":"beads/crew/giles","owner":"steve.yegge@gmail.com","created_at":"2026-01-12T01:26:17.808709-08:00","created_by":"mayor","updated_at":"2026-01-12T01:36:53.572009-08:00"}
{"id":"bd-jsk7","title":"Agent beads: structured labels for filtering","description":"## Agent Beads Need Queryable Labels\n\nCurrently agent beads have role_type/rig in description text, not as labels. This breaks @group resolution in gt mail.\n\n## Current State\n```json\n{\n \"id\": \"gt-gastown-witness\",\n \"issue_type\": \"agent\",\n \"description\": \"...\\\\nrole_type: witness\\\\nrig: gastown\\\\n...\"\n}\n```\n\nCannot query: `bd list --type=agent --label=role_type:witness` returns nothing.\n\n## Required\nAgent bead creation should add labels:\n- `role_type:\u003ctype\u003e` (witness, refinery, crew, polecat, dog, mayor, deacon)\n- `rig:\u003crig\u003e` (gastown, beads, or \"town\" for town-level)\n\n## Where to Fix\ngt polecat/crew/agent creation commands should add labels.\n\n## Acceptance\n- New agent beads created with role_type/rig labels\n- @group patterns work in gt mail router","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-29T20:49:13.444793-08:00","created_by":"gastown/crew/joe","updated_at":"2025-12-29T20:58:04.67866-08:00","closed_at":"2025-12-29T20:58:04.67866-08:00","close_reason":"Duplicate of bd-g7eq"}
{"id":"bd-jv4w","title":"Phase 1.2: Separate bdt executable - Initial structure","description":"Create minimal bdt command structure completely separate from bd. Must not share code, config, or database.\n\n## Subtasks\n1. Create cmd/bdt/ directory with main.go\n2. Implement bdt version, help, and status commands\n3. Configure separate database location: $HOME/.bdt/ (not $HOME/.beads/)\n4. Create separate issues file: issues.toon (not issues.jsonl)\n5. Update build system:\n - Makefile: Add bdt target\n - .goreleaser.yml: Add bdt binary config\n\n## Files to Create\n- cmd/bdt/main.go - Entry point\n- cmd/bdt/version.go - Version handling\n- cmd/bdt/help.go - Help text (separate from bd)\n\n## Success Criteria\n- `make build` produces both `bd` and `bdt` executables\n- `bdt version` shows distinct version output from bd\n- `bdt --help` shows distinct help text\n- bdt uses $HOME/.bdt/ directory (verify with `bdt info`)\n- bd and bdt completely isolated (no shared imports beyond stdlib)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-12-19T11:48:34.866877282-07:00","updated_at":"2025-12-19T12:59:11.389296015-07:00","closed_at":"2025-12-19T12:59:11.389296015-07:00"}
{"id":"bd-jvkt5","title":"Digest: mol-refinery-patrol","description":"Patrol cycle: queue empty, 0 branches merged, no issues","status":"closed","priority":2,"issue_type":"task","created_at":"2026-01-10T20:14:38.287395-08:00","updated_at":"2026-01-10T20:14:38.287395-08:00","closed_at":"2026-01-10T20:14:38.287363-08:00","close_reason":"Squashed from 11 wisps","dependencies":[{"issue_id":"bd-jvkt5","depends_on_id":"bd-wisp-d7b","type":"parent-child","created_at":"2026-01-10T20:14:38.288235-08:00","created_by":"beads/refinery"}]}
@@ -1565,7 +1565,7 @@
{"id":"bd-mdw","title":"Add integration test for cross-clone deletion propagation","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-25T14:56:38.997009-08:00","updated_at":"2025-11-25T16:35:59.052914-08:00","closed_at":"2025-11-25T16:35:59.052914-08:00"}
{"id":"bd-mf0o","title":"Add 'new' as alias for 'create' command","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-08T03:11:46.791657-08:00","updated_at":"2025-11-08T03:11:51.035418-08:00","closed_at":"2025-11-08T03:11:51.035418-08:00"}
{"id":"bd-mfrs6","title":"gt doctor priming check: AGENTS.md check misses rig-level files","description":"The AGENTS.md \u003e 20 lines check is only in checkAgentPriming(), which checks mayor, deacon, witness, refinery directories. But rig-level AGENTS.md files (e.g., gastown/AGENTS.md, beads/AGENTS.md) are not checked.\n\nThese rig-level files should also be thin bootstrap pointers.\n\nFix: Add AGENTS.md check to checkRigPriming() similar to how PRIME.md is checked.\n\nLocation: gastown/mayor/rig/internal/doctor/priming_check.go:152-164","status":"closed","priority":3,"issue_type":"task","assignee":"gastown/polecats/rictus","created_at":"2026-01-10T00:46:13.923911-08:00","created_by":"mayor","updated_at":"2026-01-10T01:03:23.774713-08:00","closed_at":"2026-01-10T01:03:23.774713-08:00","close_reason":"Added AGENTS.md size check to checkRigPriming() in priming_check.go"}
{"id":"bd-mfube","title":"Add bd doctor check for non-tombstone issues with deleted_at","description":"Add a doctor check to detect invalid issue states where:\n- status is NOT 'tombstone'\n- deleted_at IS set\n\nThis is an invariant violation that can cause sync failures with error:\n'non-tombstone issues cannot have deleted_at timestamp'\n\nThe check should:\n1. Query for issues with this invalid state\n2. Report the count and example IDs\n3. Suggest fix: either convert to tombstones or remove deleted_at\n\nImplementation location: `cmd/bd/doctor/integrity.go`","status":"open","priority":2,"issue_type":"task","owner":"steve.yegge@gmail.com","created_at":"2026-01-12T01:26:18.019656-08:00","created_by":"mayor","updated_at":"2026-01-12T01:26:18.019656-08:00"}
{"id":"bd-mfube","title":"Add bd doctor check for non-tombstone issues with deleted_at","description":"Add a doctor check to detect invalid issue states where:\n- status is NOT 'tombstone'\n- deleted_at IS set\n\nThis is an invariant violation that can cause sync failures with error:\n'non-tombstone issues cannot have deleted_at timestamp'\n\nThe check should:\n1. Query for issues with this invalid state\n2. Report the count and example IDs\n3. Suggest fix: either convert to tombstones or remove deleted_at\n\nImplementation location: `cmd/bd/doctor/integrity.go`","status":"open","priority":2,"issue_type":"task","assignee":"beads/crew/grip","owner":"steve.yegge@gmail.com","created_at":"2026-01-12T01:26:18.019656-08:00","created_by":"mayor","updated_at":"2026-01-12T01:36:54.772474-08:00"}
{"id":"bd-mgt2","title":"Update UI styles for removed types","description":"Update or remove type-specific styling for agent/role/rig types.\n\n## Work\n- Remove ColorTypeAgent, ColorTypeRole, ColorTypeRig constants\n- Remove TypeAgentStyle, TypeRoleStyle, TypeRigStyle\n- Update RenderIssueType() switch to remove these cases\n- Consider: add label-based styling for gt:* labels\n\n## Files\n- internal/ui/styles.go","status":"closed","priority":3,"issue_type":"task","created_at":"2026-01-06T20:40:47.950601-08:00","created_by":"beads/crew/dave","updated_at":"2026-01-06T22:11:58.42622-08:00","closed_at":"2026-01-06T22:11:58.42622-08:00","close_reason":"Removed Gas Town type colors and styles from UI","dependencies":[{"issue_id":"bd-mgt2","depends_on_id":"bd-i54l","type":"parent-child","created_at":"2026-01-06T20:41:11.677237-08:00","created_by":"beads/crew/dave"}]}
{"id":"bd-mh4w","title":"Rename 'bond' to 'spawn' for instantiation","description":"Rename the bd mol bond command to bd mol spawn for instantiating protos.\n \n- Rename molBondCmd to molSpawnCmd\n- Update command Use/Short/Long descriptions \n- Keep 'bond' available for the new bonding feature\n- Update all documentation references\n- Add 'protomolecule' as easter egg alias for 'proto'","status":"closed","priority":1,"issue_type":"task","created_at":"2025-12-21T00:58:44.529026-08:00","updated_at":"2025-12-21T01:19:42.942819-08:00","closed_at":"2025-12-21T01:19:42.942819-08:00","dependencies":[{"issue_id":"bd-mh4w","depends_on_id":"bd-o5xe","type":"parent-child","created_at":"2025-12-21T00:59:51.167902-08:00","created_by":"daemon"}]}
{"id":"bd-mhhb","title":"Read operations should not modify database file","description":"Read-only operations (bd list, bd ready, bd show) modify the database file. Every open sets WAL pragma, runs schema/migrations, and checkpoints on close. Need sqlite.NewReadOnly() that opens with mode=ro, skips WAL/schema/migrations, and skips checkpoint. See GH#804.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-12-30T16:27:13.416643-08:00","created_by":"beads/crew/emma","updated_at":"2025-12-30T16:46:49.921614-08:00","closed_at":"2025-12-30T16:46:49.921614-08:00","close_reason":"Implemented read-only mode for SQLite. Read commands now use NewReadOnly() which opens with mode=ro, skips WAL pragma/schema/migrations, and skips checkpoint on close."}