Commit Graph

2005 Commits

Author SHA1 Message Date
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
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
71ff52deda bd sync: 2025-12-16 20:42:39 2025-12-17 22:56:23 -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
Steve Yegge
a1604ddad1 bd sync: 2025-12-16 22:35:35 2025-12-16 22:35:35 -08:00
Steve Yegge
b0df00c10d bd sync: 2025-12-16 22:01:38 2025-12-16 22:01:38 -08:00
Steve Yegge
cf8e84773a bd sync: 2025-12-16 21:59:18 2025-12-16 21:59:18 -08:00
Steve Yegge
3eb72ba91a bd sync: 2025-12-16 21:59:14 2025-12-16 21:59:14 -08:00
Steve Yegge
d8e42f4c59 bd sync: 2025-12-16 21:58:33 2025-12-16 21:58:33 -08:00
Steve Yegge
69ff0ac67c bd sync: 2025-12-16 21:58:29 2025-12-16 21:58:29 -08:00
Steve Yegge
2fa0920af2 bd sync: 2025-12-16 21:57:36 2025-12-16 21:57:36 -08:00
Steve Yegge
d42cb96ebb bd sync: 2025-12-16 21:57:32 2025-12-16 21:57:32 -08:00
Steve Yegge
9794591c5b bd sync: 2025-12-16 21:31:09 2025-12-16 21:31:09 -08:00
Steve Yegge
fc9951fa04 bd sync: 2025-12-16 21:31:05 2025-12-16 21:31:05 -08:00
Steve Yegge
3cad28713f bd sync: 2025-12-16 20:53:02 2025-12-16 20:53:02 -08:00
Steve Yegge
b83ebdcb38 bd sync: 2025-12-16 20:44:31 2025-12-16 20:44:31 -08:00
Steve Yegge
8f940dfbb6 bd sync: 2025-12-16 20:44:27 2025-12-16 20:44:27 -08:00
Steve Yegge
0b7c6935b1 bd sync: 2025-12-16 20:44:04 2025-12-16 20:44:04 -08:00
Steve Yegge
d4a9315e91 bd sync: 2025-12-16 20:43:46 2025-12-16 20:43:46 -08:00
Steve Yegge
9846940ce4 bd sync: 2025-12-16 20:42:43 2025-12-16 20:42:43 -08:00
Steve Yegge
3c91c67311 Remove orphans 2025-12-16 20:42:29 -08:00
Steve Yegge
3fafd2dcff bd sync: 2025-12-16 20:38:55 2025-12-16 20:38:55 -08:00
Steve Yegge
0558fc0258 bd sync: 2025-12-16 20:38:39 2025-12-16 20:38:39 -08:00
Steve Yegge
955acd70d3 bd sync: 2025-12-16 20:38:35 2025-12-16 20:38:35 -08:00
Steve Yegge
2fc5e0c979 bd sync: 2025-12-16 20:36:58 2025-12-16 20:36:58 -08:00
Steve Yegge
19198939e8 bd sync: 2025-12-16 20:36:54 2025-12-16 20:36:54 -08:00
Steve Yegge
39b31e31c0 bd sync: 2025-12-16 20:36:32 2025-12-16 20:36:32 -08:00
Steve Yegge
e7fe8f7dcb bd sync: 2025-12-16 20:36:27 2025-12-16 20:36:27 -08:00
Steve Yegge
ac8c577e63 bd sync: 2025-12-16 20:35:36 2025-12-16 20:35:36 -08:00
Steve Yegge
f070e41162 Remove orphaned child issues (parents deleted) 2025-12-16 20:35:28 -08:00
Steve Yegge
cf6d949364 bd sync: 2025-12-16 20:28:53 2025-12-16 20:28:53 -08:00
Steve Yegge
85324c82a8 bd sync: 2025-12-16 20:28:25 2025-12-16 20:28:25 -08:00
Steve Yegge
fc7d41098c bd sync: 2025-12-16 20:27:35 2025-12-16 20:27:35 -08:00
Steve Yegge
137de5407b bd sync: 2025-12-16 20:27:00 2025-12-16 20:27:00 -08:00
Steve Yegge
d69e1cf371 bd sync: 2025-12-16 20:26:49 2025-12-16 20:26:49 -08:00
Steve Yegge
8fdc317071 bd sync: 2025-12-16 20:26:01 2025-12-16 20:26:02 -08:00
Steve Yegge
0ed24f0846 bd sync: 2025-12-16 20:25:57 2025-12-16 20:25:57 -08:00
Steve Yegge
f94b8e2888 bd sync: 2025-12-16 20:20:40 2025-12-16 20:20:40 -08:00
Steve Yegge
027296b5c7 bd sync: 2025-12-16 18:34:20 2025-12-16 18:34:20 -08:00
Steve Yegge
f86412d8a6 bd sync: 2025-12-16 18:34:15 2025-12-16 18:34:15 -08:00
Steve Yegge
026a5e40e8 bd sync: 2025-12-16 18:21:55 2025-12-16 18:21:55 -08:00
Steve Yegge
8eed366c06 bd sync: 2025-12-16 18:19:19 2025-12-16 18:19:19 -08:00
Steve Yegge
a4ed1c94dc bd sync: 2025-12-16 18:17:37 2025-12-16 18:17:37 -08:00