Commit Graph

713 Commits

Author SHA1 Message Date
Steve Yegge 46488d4f96 Add 'molecule' as valid issue type
Molecules are composable workflow templates used by Gas Town (gt) for
defining multi-step processes like bootstrap, engineer-in-box, etc.

Changes:
- Add TypeMolecule constant to internal/types/types.go
- Add molecule to IsValid() switch case
- Add molecule and merge-request to validation/bead.go validTypes map
- Update help text in create.go, show.go, list.go
- Add test cases for molecule and merge-request types

Closes gt-qn4l

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 18:31:33 -08:00
Steve Yegge 6d931f9bd1 Setup emma as crew worker
- Update CLAUDE.md with crew worker identity and context
- Crew workers are persistent, user-managed (vs ephemeral polecats)
- Update mail commands to use beads-emma identity
- Sync beads database ordering
2025-12-19 12:48:52 -08:00
Steve Yegge c78347c4c4 Merge polecat/Morsov: exclude pinned from bd ready 2025-12-19 01:28:26 -08:00
Steve Yegge 2ea1b74f43 Merge beads-sync into main 2025-12-18 18:58:35 -08:00
Steve Yegge d2b9554651 bd sync: 2025-12-18 18:33:29 2025-12-18 18:33:29 -08:00
Steve Yegge 736389b6b7 bd sync: 2025-12-18 13:47:56 2025-12-18 13:47:56 -08:00
Steve Yegge acb3bbf7b6 bd sync: 2025-12-18 11:47:46 2025-12-18 11:47:46 -08:00
Steve Yegge 8b581d6de3 bd sync: 2025-12-18 11:29:45 2025-12-18 11:29:45 -08:00
Steve Yegge 1951a2c5fe bd sync: 2025-12-18 11:28:36 2025-12-18 11:28:36 -08:00
Steve Yegge 5981e6e752 bd sync: 2025-12-18 11:13:50 2025-12-18 11:13:50 -08:00
Steve Yegge 001ae4473f bd sync: 2025-12-18 11:09:54 2025-12-18 11:09:54 -08:00
Steve Yegge d5a115a347 bd sync: 2025-12-18 02:49:16 2025-12-18 02:49:16 -08:00
Steve Yegge 51b3d3975f bd sync: 2025-12-18 02:48:19 2025-12-18 02:48:19 -08:00
Steve Yegge 7c8b69f5b3 Phase 4: Remove deprecated edge fields from Issue struct (Decision 004)
This is the final phase of the Edge Schema Consolidation. It removes
the deprecated edge fields (RepliesTo, RelatesTo, DuplicateOf, SupersededBy)
from the Issue struct and all related code.

Changes:
- Remove edge fields from types.Issue struct
- Remove edge field scanning from queries.go and transaction.go
- Update graph_links_test.go to use dependency API exclusively
- Update relate.go to use AddDependency/RemoveDependency
- Update show.go with helper functions for thread traversal via deps
- Update mail_test.go to verify thread links via dependencies
- Add migration 022 to drop columns from issues table
- Fix cycle detection to allow bidirectional relates-to links
- Fix migration 022 to disable foreign keys before table recreation

All edge relationships now use the dependencies table exclusively.
The old Issue fields are fully removed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 02:48:13 -08:00
Steve Yegge 558bf9da34 bd sync: 2025-12-18 02:01:53 2025-12-18 02:01:53 -08:00
Steve Yegge eaa8b89f04 bd sync: 2025-12-18 01:45:02 2025-12-18 01:45:03 -08:00
Steve Yegge a3bad7890a bd sync: 2025-12-18 01:42:06 2025-12-18 01:42:06 -08:00
Steve Yegge f541785457 bd sync: 2025-12-18 01:39:34 2025-12-18 01:39:34 -08:00
Steve Yegge bee04ef389 bd sync: 2025-12-18 00:41:18 2025-12-18 00:41:18 -08:00
Steve Yegge fd00a9b799 bd sync: 2025-12-17 23:38:05 2025-12-17 23:38:05 -08:00
Steve Yegge f76e61c997 bd sync: 2025-12-17 23:29:42 2025-12-17 23:29:42 -08:00
Steve Yegge f25451130d bd sync: 2025-12-17 23:24:54 2025-12-17 23:24:54 -08:00
Steve Yegge 0fd5d5673c bd sync: 2025-12-17 23:24:34 2025-12-17 23:24:34 -08:00
Steve Yegge f995cf56dd bd sync: 2025-12-17 23:20:55 2025-12-17 23:20:55 -08:00
Steve Yegge cffa216dd5 bd sync: 2025-12-17 23:18:36 2025-12-17 23:18:36 -08:00
Steve Yegge 2d2867d31b bd sync: 2025-12-17 23:15:18 2025-12-17 23:15:18 -08:00
Steve Yegge 83ae110508 refactor: Remove legacy MCP Agent Mail integration (bd-6gd)
Remove the external MCP Agent Mail server integration that required
running a separate HTTP server and configuring environment variables.

The native `bd mail` system (stored as git-synced issues) remains
unchanged and is the recommended approach for inter-agent messaging.

Files removed:
- cmd/bd/message.go - Legacy `bd message` command
- integrations/beads-mcp/src/beads_mcp/mail.py, mail_tools.py
- lib/beads_mail_adapter.py - Python adapter library
- examples/go-agent/ - Agent Mail-focused example
- examples/python-agent/agent_with_mail.py, AGENT_MAIL_EXAMPLE.md
- docs/AGENT_MAIL*.md, docs/adr/002-agent-mail-integration.md
- tests/integration/test_agent_race.py, test_mail_failures.py, etc.
- tests/benchmarks/ - Agent Mail benchmarks

Updated documentation to remove Agent Mail references while keeping
native `bd mail` documentation intact.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 23:14:23 -08:00
Steve Yegge efb47825da bd sync: 2025-12-17 23:13:41 2025-12-17 23:13:41 -08:00
Steve Yegge 1e0151dfb2 bd sync: 2025-12-17 23:13:37 2025-12-17 23:13:37 -08:00
Steve Yegge 8bdeb07dc8 bd sync: 2025-12-17 23:03:53 2025-12-17 23:03:53 -08:00
Steve Yegge 4e3e80b3da bd sync: 2025-12-17 23:03:24 2025-12-17 23:03:24 -08:00
Steve Yegge e6a74ef925 bd sync: 2025-12-17 23:02:58 2025-12-17 23:02:58 -08:00
Steve Yegge 243bc3fe8c bd sync: 2025-12-17 22:59:19 2025-12-17 22:59:19 -08:00
Steve Yegge a770777acf bd sync: 2025-12-17 22:58:40 2025-12-17 22:58:40 -08:00
Steve Yegge 2355bbb861 bd sync: 2025-12-17 22:56:45 2025-12-17 22:56:45 -08:00
Steve Yegge 71ff52deda bd sync: 2025-12-16 20:42:39 2025-12-17 22:56:23 -08:00
Steve Yegge 5227e9f6e2 bd sync: 2025-12-17 21:46:54 2025-12-17 21:46:54 -08:00
Steve Yegge 8fb4a9d613 bd sync: 2025-12-17 19:16:21 2025-12-17 19:16:21 -08:00
Steve Yegge 371783fc4f bd sync: 2025-12-17 19:11:19 2025-12-17 19:11:19 -08:00
Steve Yegge fe1e427f1d bd sync: 2025-12-17 19:09:58 2025-12-17 19:09:58 -08:00
Steve Yegge ed17cea35b bd sync: 2025-12-17 17:29:13 2025-12-17 17:29:13 -08:00
Steve Yegge 2f0c746485 bd sync: 2025-12-17 17:15:58 2025-12-17 17:15:58 -08:00
Steve Yegge 9073309b29 chore: Clean up old closed issues and tombstones
- Deleted 71 closed issues (converted to tombstones)
- Purged 697 tombstones older than 48 hours
- Cleaned 286 orphaned dependency records
- Kept 48 recent tombstones (< 48h) for resurrection protection

Before: 847 issues | After: 150 issues (102 open + 48 tombstones)
2025-12-17 16:13:43 -08:00
Steve Yegge 47a682acfb fix: Remove orphaned child issues permanently (bd-cb64c226.*, bd-cbed9619.*)
Root cause: Previous fix only cleaned beads-sync branch, not main.
During 3-way merge, orphans were re-introduced from main.

This export is from clean DB (0 orphaned issues).
Also force-resetting beads-sync to match.
2025-12-17 16:10:09 -08:00
Steve Yegge 123e66f625 Merge beads-sync into main 2025-12-17 01:02:29 -08:00
Steve Yegge bb750a96da bd sync: 2025-12-16 23:16:19 2025-12-16 23:16:19 -08:00
Steve Yegge edb2186066 bd sync: 2025-12-16 23:09:57 2025-12-16 23:09:57 -08:00
Steve Yegge 88703ced1e bd sync: 2025-12-16 23:08:59 2025-12-16 23:08:59 -08:00
Steve Yegge 6ab8918177 bd sync: 2025-12-16 23:08:55 2025-12-16 23:08:55 -08:00
Steve Yegge 518b09ca4c bd sync: 2025-12-16 22:57:41 2025-12-16 22:57:41 -08:00