| 1 | --- |
| 2 | type: idea |
| 3 | id: ida-aea57f0 |
| 4 | status: exploring |
| 5 | title: "Study Beads for graph workflow and storage tradeoffs" |
| 6 | created: 2026-08-04 |
| 7 | source: prior-art review, 2026-08-04 |
| 8 | --- |
| 9 | |
| 10 | # Study Beads for graph workflow and storage tradeoffs |
| 11 | |
| 12 | [Beads](https://github.com/gastownhall/beads) is relevant prior art for persistent, structured |
| 13 | memory used by coding agents. It represents work as a dependency graph and provides commands for |
| 14 | finding ready work. Its documented storage backend is Dolt. |
| 15 | |
| 16 | The overlap with the-valley is useful evidence that dependency-aware records address a practical |
| 17 | need. It does not establish that either design has found the only suitable representation. |
| 18 | |
| 19 | ## What to examine |
| 20 | |
| 21 | Beads offers examples of short identifiers, dependency relationships, and ready-work queries. Its |
| 22 | related [Gas Town](https://github.com/gastownhall/gastown) system connects work records to agent |
| 23 | coordination. |
| 24 | |
| 25 | Other ideas from the prior-art review remain worth examining: explicit duplicate and supersession |
| 26 | relationships, hierarchical identifiers for subtasks, and threaded messages represented as records. |
| 27 | |
| 28 | A simple command to list unblocked outcomes would be immediately useful to the-valley's graph. |
| 29 | [[ida-3145b7a]](ida-3145b7a-demand-pressure.md) describes the scheduling behavior that would use it. |
| 30 | |
| 31 | ## Storage and integration requirements |
| 32 | |
| 33 | Dolt supplies database queries and versioned data. The-valley's current Markdown convention instead |
| 34 | uses ordinary files and Git history. |
| 35 | |
| 36 | The important requirements are how authoritative project state is kept consistent and how changes |
| 37 | are admitted. A future database backend could satisfy those requirements, but it would need a |
| 38 | defined relationship to code history and the integration path. |
| 39 | |
| 40 | Knowledge changes must receive the required verification and approval. A code change and its outcome |
| 41 | update must be able to land together, as described in |
| 42 | [[ida-1ec03b1]](ida-1ec03b1-path-scoped-verification-policy.md). A separately mutable graph would |
| 43 | need to account for those guarantees. |
| 44 | |
| 45 | [[ida-48c8868]](ida-48c8868-stores-beyond-git.md), |
| 46 | [[ida-b9f646c]](ida-b9f646c-nix-backend-not-substrate.md), and |
| 47 | [[ida-4ac1125]](ida-4ac1125-identity-is-derived-not-assigned.md) leave room for different storage |
| 48 | and implementation choices. |
| 49 | |
| 50 | ## Open question |
| 51 | |
| 52 | What workload would make richer query or storage machinery worthwhile? Experience with a |
| 53 | database-backed graph can help answer that question. It should be evaluated against measured |
| 54 | editing, merging, and query needs rather than a general preference for files or databases. |