agentleFS
gastownhallgastownhall/beads/.github/copilot-instructions.md

beads

Copilot instructions28k starsChanged 8 months agoMITView on GitHub

beads (command: bd) is a Dolt-powered issue tracker designed for AI-supervised coding workflows. Git integration is optional. We dogfood our own tool for all task tracking. Key Features: - Dependency-aware issue tracking - Auto-sync via Dolt-native replication - AI-optimized CLI with JSON output - Dolt server mode for background operations - MCP server integration for Claude and other AI assistants CRITICAL: This project uses bd for ALL task tracking. Do NOT create markdown TODO lists. IMPORTANT: Always include --description when…

  • Installs packages

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about gastownhall/beads

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

45 more on GitHub

On Bluesky · 8

3 more on Bluesky

The file

We split this copilot-instructions.md into the rules it gives an agent

12 rules. About 0 are common, 3 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Always write tests for new features

    line 26
  2. Very specific:

    Use t.TempDir() in Go tests to avoid polluting production database

    line 27
  3. Very specific:

    Run go test -short ./... before committing

    line 28
  4. Distinctive:

    Never create test issues in production DB (use temporary DB)

    line 29
  5. Very specific:

    Run make ci-pr-lint before committing changes to Go or lint-controlled files

    line 32
  6. Very specific:

    Follow existing patterns in cmd/bd/ for new commands

    line 33
  7. Very specific:

    Add --json flag to all commands for programmatic use

    line 34
  8. Distinctive:

    Update docs when changing behavior

    line 35
  9. Very specific:

    Use bd dolt push / bd dolt pull for remote sync

    line 39
  10. Very specific:

    Before implementing related work, opening a PR, or merging/closing a PR, run: scripts/pr-preflight.sh --search "<topic>" --repo …

    line 40
  11. Very specific:

    IMPORTANT: Always include --description when creating issues.

    line 80
  12. Very specific:

    Use the beads MCP server for native function calls instead of shell commands:

    line 110

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

GitHub Copilot Instructions for Beads

Project Overview

beads (command: bd) is a Dolt-powered issue tracker designed for AI-supervised coding workflows. Git integration is optional. We dogfood our own tool for all task tracking.

Key Features:

  • Dependency-aware issue tracking
  • Auto-sync via Dolt-native replication
  • AI-optimized CLI with JSON output
  • Dolt server mode for background operations
  • MCP server integration for Claude and other AI assistants

Tech Stack

  • Language: Go 1.21+
  • Storage: Dolt (version-controlled SQL database)
  • CLI Framework: Cobra
  • Testing: Go standard testing + table-driven tests
  • CI/CD: GitHub Actions
  • MCP Server: Python (integrations/beads-mcp/)

Coding Guidelines

Testing

  • Always write tests for new features
  • Use t.TempDir() in Go tests to avoid polluting production database
  • Run go test -short ./... before committing
  • Never create test issues in production DB (use temporary DB)

Code Style

  • Run make ci-pr-lint before committing changes to Go or lint-controlled files
  • Follow existing patterns in cmd/bd/ for new commands
  • Add --json flag to all commands for programmatic use
  • Update docs when changing behavior

Git Workflow

  • Install git hooks: bd hooks install
  • Use bd dolt push / bd dolt pull for remote sync
  • Before implementing related work, opening a PR, or merging/closing a PR, run: scripts/pr-preflight.sh --search "<topic>" --repo gastownhall/beads or scripts/pr-preflight.sh <pr-number> --repo gastownhall/beads
  • External contributor PRs have priority: build on them when possible, preserve tests and attribution, and never close or replace them silently.

Issue Tracking with bd

CRITICAL: This project uses bd for ALL task tracking. Do NOT create markdown TODO lists.

Essential Commands

# Find work
bd ready --json                    # Unblocked issues
bd stale --days 30 --json          # Forgotten issues

# Create and manage (ALWAYS include --description)
bd create "Title" --description="Detailed context" -t bug|feature|task -p 0-4 --json
bd update <id> --claim --json
bd close <id> --reason "Done" --json

# Search
bd list --status open --priority 1 --json
bd show <id> --json

# Sync (if remote configured)
bd dolt push                   # Push to Dolt remote
bd dolt pull                   # Pull from Dolt remote

Workflow

  1. Check ready work: bd ready --json
  2. Claim task: bd update <id> --claim
  3. Work on it: Implement, test, document
  4. Discover new work? bd create "Found bug" --description="What was found and why" -p 1 --deps discovered-from:<parent-id> --json
  5. Complete: bd close <id> --reason "Done" --json
  6. Sync: bd dolt push (push to Dolt remote if configured)

IMPORTANT: Always include --description when creating issues. Issues without descriptions lack context for future work.

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)

Project Structure

beads/
├── cmd/bd/              # CLI commands (add new commands here)
├── internal/
│   ├── types/           # Core data types
│   └── storage/         # Storage layer
│       └── dolt/        # Dolt implementation
├── integrations/
│   └── beads-mcp/       # MCP server (Python)
├── examples/            # Integration examples
├── docs/                # Documentation
└── .beads/
    └── dolt/            # Dolt database (source of truth)

Available Resources

MCP Server (Recommended)

Use the beads MCP server for native function calls instead of shell commands:

  • Install: pip install beads-mcp
  • Functions: mcp__beads__ready(), mcp__beads__create(), etc.
  • See integrations/beads-mcp/README.md

Scripts

  • ./scripts/bump-version.sh <version> --commit - Update all version files atomically
  • ./scripts/release.sh <version> - Complete release workflow
  • ./scripts/update-homebrew.sh <version> - Update Homebrew formula

Key Documentation

  • AGENTS.md - Comprehensive AI agent guide (detailed workflows, advanced features)
  • AGENT_INSTRUCTIONS.md - Development procedures, testing, releases
  • README.md - User-facing documentation
  • docs/CLI_REFERENCE.md - Complete command reference

Important Rules

  • ✅ Use bd for ALL task tracking
  • ✅ Always use --json flag for programmatic use
  • ✅ Use bd dolt push / bd dolt pull for remote sync
  • ✅ Test with t.TempDir() in Go tests
  • ❌ Do NOT create markdown TODO lists
  • ❌ Do NOT create test issues in production DB
  • ❌ Do NOT manually modify .beads/dolt/

For detailed workflows and advanced features, see AGENTS.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.