beads
AGENTS.md28k starsChanged 8 months agoMITView on GitHub
See AGENT_INSTRUCTIONS.md for full instructions. This file exists for compatibility with tools that look for AGENTS.md. The marker above tells bd doctor that the intentional divergence between this file and CLAUDE.md (different audiences, different reading orders) is expected and should not be flagged. Before adding new feature surface area, read engdocs/PROJECT_CHARTER.md. Beads owns issue tracking primitives and should not encode orchestration-layer policy, become a storage engine, or casually expand the database schema when metadata would work. Before triaging, reviewing, landing,…
- Deletes or force-pushes
- Commits and pushes
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about gastownhall/beads
- stablyai/orca“[Feature] Beads as a Task Source”GitHub · Jul 3, 2026 · 12 reactions
- @ajmwagar.fpl.dev“I love and hate beads: github.com/gastownhall/... Been using it for a while. But when it came out Dolt had …”Bluesky · Jul 16, 2026 · 2 likes
- gastownhall/gascity“Homebrew gastownhall/gascity installs beads 1.1.0, but gc 1.3.x requires bd v1.0.4 → native store silently …”GitHub · Jul 5, 2026 · 2 reactions
- jaylfc/taosmd“feat(tasks): dependency-aware task graph (ready queue + prime), archive-backed”GitHub · Jun 10, 2026 · 2 reactions
- @linux-maintainers.activitypub.awakari.com.ap.brid.gy“gastownhall/beads Beads - A memory upgrade for your coding agent bd - Beads Distributed graph issue tracker …”Bluesky · Apr 27, 2026 · 2 likes
The biggest 5 of 58 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 58
Talked about on GitHub and Bluesky (58 times).
On GitHub · 50
- Jul 3, 2026[Feature] Beads as a Task Source — stablyai/orca12 reactions
- Jul 5, 2026Homebrew gastownhall/gascity installs beads 1.1.0, but gc 1.3.x requires bd v1.0.4 → native store silently disabled (slow CLI-subprocess fallback) — gastownhall/gascity2 reactions · 4 comments
- Jun 10, 2026feat(tasks): dependency-aware task graph (ready queue + prime), archive-backed — jaylfc/taosmd2 reactions · 2 comments
- Apr 24, 2026Merge train: staged refactoring campaign from health assessment — maphew/beads2 reactions · 6 comments
- Oct 16, 2026feat(gascity): record typed provenance before worker close — aphexcx/gascity-packs-prs1 reaction · 1 comment
45 more on GitHub
- Sep 29, 2026Support Beads 1.3 event-assisted refresh and prepare v0.4.0 — AndreasDellrud/beads-tui1 reaction · 1 comment
- Sep 17, 2026fix: preserve migration cursor recovery and refuse dirty first-time rekeys — aphexcx/beads1 reaction · 1 comment
- Jul 4, 2026beads 1.1.0 — Homebrew/homebrew-core1 reaction · 2 comments
- May 26, 2026chore(beads): update upstream repo references steveyegge → gastownhall + stage nhj.1 dossier — jeremylongshore/bobs-big-brain-compiler1 reaction · 1 comment
- Mar 31, 2026fix: stop removing/modifying Dolt-internal files (.dolt/noms/LOCK, manifest, sql-server.info) — gastownhall/gastown1 reaction · 1 comment
- Nov 25, 2026chore(deps): bump the nix-inputs group with 3 updates — menil/dotfiles0 reactions
- Nov 22, 2026Set up Dolt sync so several machines can share a project's beads database — rbastian/loop-engineering0 reactions
- Nov 21, 2026chore: bump beads from `a690b0a` to `2549ece` — mikezupper/beads-skill0 reactions · 1 comment
- Nov 18, 2026chore(deps): bump the nix-inputs group with 3 updates — menil/dotfiles0 reactions
- Nov 17, 2026Investigate https://github.com/gastownhall/beads — shannonbay/Quarterdeck0 reactions
- Nov 16, 2026P0: защищённый вертикальный срез эпика Beads и общий бюджет цели — kirei4ik/bb-plugin-team0 reactions
- Nov 14, 2026proxied-server: child processes inherit another scope's BEADS_DOLT_SERVER_DATABASE, so bd creates that database on the wrong server — gastownhall/gascity0 reactions · 1 comment
- Nov 14, 2026chore: bump beads from `a690b0a` to `d76ade2` — mikezupper/beads-skill0 reactions · 2 comments
- Nov 12, 2026chore(deps): bump the nix group with 4 updates — sheeeng/nix0 reactions
- Nov 11, 2026chore(deps): bump the nix-inputs group with 3 updates — menil/dotfiles0 reactions
- Nov 11, 2026chore(deps): bump the nix group with 3 updates — sheeeng/nix0 reactions
- Nov 8, 2026Journal: let agents record follow-up work they found but did not do — Icewater1337/fride0 reactions
- Nov 8, 2026fride_task key: one live FrIDE thread per work item (e.g. OWNER/REPO#N) — Icewater1337/fridolin0 reactions
- Nov 7, 2026chore: bump beads from `a690b0a` to `6d713a7` — mikezupper/beads-skill0 reactions · 2 comments
- Nov 5, 2026Gas Town follow-up: isolate orchestration value after Beads comparison — rsenna/agent-playground0 reactions
- Nov 5, 2026Experiment: evaluate Spec Kit + Beads against Spec Kit-only workflows — rsenna/agent-playground0 reactions
- Nov 5, 2026The commit hook checks all 92 external links on every commit, so a 5xx from an outside host refuses a change that touches none of them and repeats clippy, build and `cargo test` — agent-grounds/rhei0 reactions · 3 comments
- Nov 4, 2026chore(deps): bump the nix-inputs group with 2 updates — menil/dotfiles0 reactions
- Nov 3, 2026beads-story-workflow — Plan and complete one story using a local Beads backlog — sidereal-io/lets-spec0 reactions
- Oct 31, 2026chore: bump beads from `a690b0a` to `c153e3b` — mikezupper/beads-skill0 reactions · 2 comments
- Oct 31, 2026feat(roadmap): Define one shared workflow for all roadmap actors — dan-petty/devops-cli0 reactions · 4 comments
- Oct 24, 2026chore: bump beads from `a690b0a` to `ae4d7e9` — mikezupper/beads-skill0 reactions · 2 comments
- Oct 22, 2026feat(memory): add five canonical Link creation commands — donnabox/beads0 reactions
- Oct 22, 2026feat(memory): add scoped current Constraint discovery reads — donnabox/beads0 reactions
- Oct 19, 2026Review catalog: eight upstream tools for Codex and Claude Code — faheemkhaskheli9/Local-AI-Ops0 reactions
- Oct 8, 2026fix(beads): stop reading the whole closed set for the ready blocker check and the wisp gc — gastownhall/gascity0 reactions · 3 comments
- Sep 24, 2026Graph C0: installed Memory create/read and transaction evidence — donnabox/beads0 reactions
- Sep 20, 2026Freshness: beads v1.2.2 -> v1.3.2 — thoroc/context-radar0 reactions
- Sep 12, 2026GitHub Issues の運用について — yappy/DollsKit0 reactions
- Sep 11, 2026upstream: report bd prime's silent ledger creation to gastownhall/beads — areqag/gqlc0 reactions · 2 comments
- Sep 3, 2026[upstream][Dolt v2.3.2] Pin the standalone Beads server backend and block unverified 2.3.x bootstrap — xtrm-dev/core0 reactions · 3 comments
- Sep 1, 2026[upstream][Beads v1.3.0-rc.1] Gate shared-store schema migration and coordinated client upgrade before 1.3 adoption — xtrm-dev/xtrm0 reactions · 4 comments
- Aug 28, 2026BTN-146 — Capture workflow-admission corrections as candidate project knowledge — lrburkholder/battalion0 reactions · 2 comments
- Aug 25, 2026gt vendors the retracted beads v1.2.1 and writes schema v65 on every store init, which the shipped bd v1.2.2 cannot read — gastownhall/gastown0 reactions
- Aug 17, 2026beads is unwritable from cloud sessions: v65 schema skew + dolt push blocked by the agent proxy — Stvad/knowledge-medium0 reactions · 3 comments
- Aug 8, 2026[P2] Model Beads as an optional host tool with separate initialization and explicit task authority — 0cwa/pi-foundry0 reactions
- Jul 29, 2026chore(deps): update all non-major dependencies (patch) — seanb4t/weft0 reactions · 3 comments
- Jun 26, 2026Beads integration — unclebob/swarm-forge0 reactions
- Jun 12, 2026Post-mortem: durable rig identity beads and added-rig recovery — gastownhall/gastown0 reactions
- Jun 10, 2026Native task-graph + ready-queue (beads-inspired) for cross-agent handoff: joint rec with taOSmd — jaylfc/taOS0 reactions · 1 comment
On Bluesky · 8
- Jul 16, 2026I love and hate beads: github.com/gastownhall/... Been using it for a while. But when it came out Dolt had so many issues just on the top… — @ajmwagar.fpl.dev2 likes and reposts
- Apr 27, 2026gastownhall/beads Beads - A memory upgrade for your coding agent bd - Beads Distributed graph issue tracker for AI agents, powered by Dolt… — @linux-maintainers.activitypub.awakari.com.ap.brid.gy2 likes and reposts
- Apr 26, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 gastownhall / beads ⭐ 21,459 (+133) 🗒 Go Beads - A memory upgrade for your coding agent — @github-trending.bsky.social2 likes and reposts
- Nov 2, 2026beads by @gastownhall (⭐️ 28413) Beads - A memory upgrade for your coding agent #go — @golangoss.bsky.social1 likes and repost
- Oct 12, 2026I had not heard of beads (github.com/gastownhall/...) looks interesting though — @nstarke.bsky.social1 likes and repost · 1 reply
3 more on Bluesky
- Aug 10, 2026GitHub - gastownhall/beads: Beads - A memory upgrade for your coding agent https://github.com/gastownhall/beads — @tech-trending.bsky.social1 likes and repost
- Jul 10, 2026yes. defer, file! beads is pretty nice, quite damned easy for the ai to work. used to stumble a little, but now, it knows (and the cli… — @jauntywunderkind.bsky.social1 likes and repost
- Jun 8, 2026Beads - github.com/gastownhall/... - and abacus - github.com/chrisedwards... - are pretty essential to my workflow here, as they let me… — @ohrg.org0 likes and reposts · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- engdocs/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- beads-docsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
26 rules. About 0 are common, 11 are distinctive, and 15 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Project Scope: - Read engdocs/PROJECT_CHARTER.md before adding new feature surface area
- Distinctive: line 19
Contributor Protection: - Read CONTRIBUTING.md before handling external PRs
- Very specific: line 20
Maintainer PR Guidelines: - Read PR_MAINTAINER_GUIDELINES.md before triaging, landing, or closing PRs
- Very specific: line 24
Before adding new feature surface area, read engdocs/PROJECT_CHARTER.md.
- Very specific: line 31
Before triaging, reviewing, landing, closing, or otherwise maintaining PRs, read PR_MAINTAINER_GUIDELINES.md.
- Distinctive: line 37
Before implementing work, opening a PR, or merging/closing a PR, run the PR preflight:
- Very specific: line 64
Do not add beads-side flocks, engine introspection, storage-specific retry or crash-recovery logic, or public SDK return types that leak …
- Very specific: line 66
If the boundary is too narrow, widen the interface or route the issue to the driver instead of patching around it in beads.
- Very specific: line 78
Use bd update with flags instead:
- Distinctive: line 93
Use engdocs/TESTING.md for the canonical commands, test-design guidance, and PR-readiness gates.
- Distinctive: line 128
File issues for remaining work: - Create issues for anything that needs follow-up
- Distinctive: line 145
Verify: - All changes committed AND pushed, no untracked files remain
- Distinctive: line 152
NEVER stop before pushing - that leaves work stranded locally
- Distinctive: line 153
NEVER say "ready to push when you are" - YOU must push
- Distinctive: line 154
If push fails, resolve and retry until it succeeds
- Distinctive: line 221
Discover new work?: Create linked issue:
- Very specific: line 226
Use --acceptance and --design fields when creating issues
- Very specific: line 227
Use --validate to check description completeness
- Very specific: line 240
Use bd dolt push/bd dolt pull for remote sync
- Very specific: line 241
Do not treat .beads/issues.jsonl as the sync protocol
- Very specific: line 261
Conservative (default): Use bd for task tracking. Do not run git commits, git pushes, or Dolt remote sync unless explicitly asked.
- Very specific: line 262
Minimal: Keep tool instruction files as pointers to bd prime.
- Very specific: line 263
Team-maintainer: Only when the repository explicitly opts in, agents may close beads, run quality gates, commit, and push as part of …
- Very specific: line 269
File issues for remaining work: - Create beads for anything that needs follow-up
- Distinctive: line 287
Do not commit or push without clear authority from the active profile or the current user request.
- Distinctive: line 288
If a required sync or push is blocked, stop and report the exact command and error.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Instructions
<!-- bd-doctor-divergence: ok -->See AGENT_INSTRUCTIONS.md for full instructions.
This file exists for compatibility with tools that look for AGENTS.md.
The marker above tells bd doctor that the intentional divergence between
this file and CLAUDE.md (different audiences, different reading orders) is
expected and should not be flagged.
Key Sections
- Issue Tracking - How to use bd for work management
- Development Guidelines - Code standards and testing
- Project Scope - Read engdocs/PROJECT_CHARTER.md before adding new feature surface area
- Visual Design System - Status icons, colors, and semantic styling for CLI output
- Contributor Protection - Read CONTRIBUTING.md before handling external PRs
- Maintainer PR Guidelines - Read PR_MAINTAINER_GUIDELINES.md before triaging, landing, or closing PRs
Project Scope
Before adding new feature surface area, read engdocs/PROJECT_CHARTER.md. Beads owns issue tracking primitives and should not encode orchestration-layer policy, become a storage engine, or casually expand the database schema when metadata would work.
PR Safety for Agents
Before triaging, reviewing, landing, closing, or otherwise maintaining PRs, read PR_MAINTAINER_GUIDELINES.md. The maintainer policy is to maximize community throughput: find useful contributor value, absorb or transform it locally when practical, preserve attribution, and use request-changes only as a last resort.
Before implementing work, opening a PR, or merging/closing a PR, run the PR preflight:
scripts/pr-preflight.sh --search "<topic keywords>" --repo gastownhall/beads
scripts/pr-preflight.sh <pr-number> --repo gastownhall/beadsExternal contributor PRs have priority. Review and build on their branch when possible, preserve their tests and attribution, and never close or supersede their PR silently. If a rewrite is unavoidable, explain why on the original PR and credit their design/tests.
Visual Design Anti-Patterns
NEVER use emoji-style icons (🔴🟠🟡🔵⚪) in CLI output. They cause cognitive overload.
ALWAYS use small Unicode symbols with semantic colors (status uses symbols; priority uses labels):
- Status:
○ ◐ ● ✓ ❄ - Priority:
P0–P4label with color (no status glyph)
See AGENT_INSTRUCTIONS.md for full development guidelines.
Storage Boundary
The canonical storage boundary is in
engdocs/PROJECT_CHARTER.md. In short:
Beads talks to storage through a driver interface (dolthub/driver for Dolt).
Do not add beads-side flocks, engine introspection, storage-specific retry or
crash-recovery logic, or public SDK return types that leak driver internals.
If the boundary is too narrow, widen the interface or route the issue to the
driver instead of patching around it in beads.
A live application of this rule: bd doctor support for embedded mode is
enabled one subcommand at a time, each human-vetted (GH#3794). Do not lift the
embedded-mode gate in cmd/bd/doctor.go wholesale, and keep database-layer
checks and fixes server-gated until the driver interface covers them.
Agent Warning: Interactive Commands
DO NOT use bd edit - it opens an interactive editor ($EDITOR) which AI agents cannot use.
Use bd update with flags instead:
bd update <id> --description "new description"
bd update <id> --title "new title"
bd update <id> --design "design notes"
bd update <id> --append-notes "additional notes" # --notes replaces existing notes and requires --force once notes are set
bd update <id> --acceptance "acceptance criteria"
# Use stdin for descriptions with special characters (backticks, !, nested quotes)
echo 'Description with `backticks` and "quotes"' | bd create "Title" --description=-
echo 'Updated text' | bd update <id> --description=-Testing
Use engdocs/TESTING.md for the canonical commands, test-design guidance, and PR-readiness gates.
Non-Interactive Shell Commands
ALWAYS use non-interactive flags with file operations to avoid hanging on confirmation prompts.
Shell commands like cp, mv, and rm may be aliased to include -i (interactive) mode on some systems, causing the agent to hang indefinitely waiting for y/n input.
Use these forms instead:
# Force overwrite without prompting
cp -f source dest # NOT: cp source dest
mv -f source dest # NOT: mv source dest
rm -f file # NOT: rm file
# For recursive operations
rm -rf directory # NOT: rm -r directory
cp -rf source dest # NOT: cp -r source destOther commands that may prompt:
scp- use-o BatchMode=yesfor non-interactivessh- use-o BatchMode=yesto fail instead of promptingapt-get- use-yflagbrew- useHOMEBREW_NO_AUTO_UPDATE=1env var
Landing the Plane (Session Completion)
When ending a work session (or when the user says "let's land the
plane"), you MUST complete ALL steps below. Work is NOT complete until
git push succeeds.
MANDATORY WORKFLOW:
- File issues for remaining work - Create issues for anything that needs follow-up
- Run quality gates (if code changed):
make ci-pr-lint(required zero-finding formatting and lint wrapper)make test(andmake test-icu-pathonly if you intentionally need the ICU regex path)- File a P0 issue if quality gates are broken
- Update issue status - Close finished work, update in-progress items
- PUSH TO REMOTE - This is MANDATORY:
git pull --rebase git push git status # MUST show "up to date with origin" - Clean up:
git stash clear # Remove old stashes git remote prune origin # Clean up deleted remote branches - Verify - All changes committed AND pushed, no untracked files remain
- Hand off - Choose a follow-up issue and give the user a prompt for the next session, e.g. "Continue work on bd-X: [issue title]. [Brief context about what's been done and what's next]"
CRITICAL RULES:
- Work is NOT complete until
git pushsucceeds - NEVER stop before pushing - that leaves work stranded locally
- NEVER say "ready to push when you are" - YOU must push
- If push fails, resolve and retry until it succeeds
Close with a summary for the user: what was completed this session, issues filed for follow-up, quality-gate status, confirmation everything is pushed, and the recommended prompt for the next session.
<!-- BEGIN BEADS INTEGRATION v:1 profile:full hash:bacef91e -->Issue Tracking with bd (beads)
IMPORTANT: This project uses bd (beads) for ALL issue tracking. Do NOT use markdown TODOs, task lists, or other tracking methods.
Why bd?
- Dependency-aware: Track blockers and relationships between issues
- Git-friendly: Dolt-powered version control with native sync
- Agent-optimized: JSON output, ready work detection, discovered-from links
- Prevents duplicate tracking systems and confusion
Quick Start
Check for ready work:
bd ready --jsonCreate new issues:
bd create "Issue title" --description="Detailed context" -t bug|feature|task -p 0-4 --json
bd create "Issue title" --description="What this issue is about" -p 1 --deps discovered-from:bd-123 --jsonClaim and update:
bd update <id> --claim --json
bd update bd-42 --priority 1 --jsonComplete work:
bd close bd-42 --reason "Completed" --jsonIssue Types
bug- Something brokenfeature- New functionalitytask- Work item (tests, docs, refactoring)epic- Large feature with subtaskschore- Maintenance (dependencies, tooling)
Priorities
0- Critical (security, data loss, broken builds)1- High (major features, important bugs)2- Medium (default, nice-to-have)3- Low (polish, optimization)4- Backlog (future ideas)
Workflow for AI Agents
- Check ready work:
bd readyshows unblocked issues - Claim your task atomically:
bd update <id> --claim - Work on it: Implement, test, document
- Discover new work? Create linked issue:
bd create "Found bug" --description="Details about what was found" -p 1 --deps discovered-from:<parent-id>
- Complete:
bd close <id> --reason "Done"
Quality
- Use
--acceptanceand--designfields when creating issues - Use
--validateto check description completeness
Lifecycle
bd defer <id>/bd supersede <id>for issue managementbd stale/bd orphans/bd lintfor hygienebd human <id>to flag for human decisionsbd formula list/bd mol pour <name>for structured workflows
Sync
bd stores issue history in Dolt:
- Each write auto-commits to Dolt history
- Use
bd dolt push/bd dolt pullfor remote sync - Do not treat
.beads/issues.jsonlas the sync protocol
Architecture in one line: issues live in a local Dolt DB; sync uses refs/dolt/data on your git remote; .beads/issues.jsonl is a passive export. See https://github.com/gastownhall/beads/blob/main/docs/core-concepts/sync-concepts.md for details and anti-patterns.
Important Rules
- ✅ Use bd for ALL task tracking
- ✅ Always use
--jsonflag for programmatic use - ✅ Link discovered work with
discovered-fromdependencies - ✅ Check
bd readybefore asking "what should I work on?" - ❌ Do NOT create markdown TODO lists
- ❌ Do NOT use external issue trackers
- ❌ Do NOT duplicate tracking systems
For more details, see README.md and https://github.com/gastownhall/beads/blob/main/docs/getting-started/quickstart.md.
Agent Context Profiles
The managed Beads block is task-tracking guidance, not permission to override repository, user, or orchestrator instructions.
- Conservative (default): Use
bdfor task tracking. Do not run git commits, git pushes, or Dolt remote sync unless explicitly asked. At handoff, report changed files, validation, and suggested next commands. - Minimal: Keep tool instruction files as pointers to
bd prime; use the same conservative git policy unless active instructions say otherwise. - Team-maintainer: Only when the repository explicitly opts in, agents may close beads, run quality gates, commit, and push as part of session close. A current "do not commit" or "do not push" instruction still wins.
Session Completion
This protocol applies when ending a Beads implementation workflow. It is subordinate to explicit user, repository, and orchestrator instructions.
- File issues for remaining work - Create beads for anything that needs follow-up
- Run quality gates (if code changed) - Tests, linters, builds
- Update issue status - Close finished work, update in-progress items
- Handle git/sync by active profile:
# Conservative/minimal/default: report status and proposed commands; wait for approval. git status # Team-maintainer opt-in only, unless current instructions forbid it: git pull --rebase bd dolt push git push git status - Hand off - Summarize changes, validation, issue status, and any blocked sync/commit/push step
Critical rules:
- Explicit user or orchestrator instructions override this Beads block.
- Do not commit or push without clear authority from the active profile or the current user request.
- If a required sync or push is blocked, stop and report the exact command and error.
<!-- END BEADS INTEGRATION -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

