gunk-dev/the-valley

ida-aea57f0-prior-art-beads.md

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