Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as opaque submodule gitlinks on GitHub) into fully-tracked first-party content. AITM now merges its 7 vendored repos as first-party engines: - memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts - git: vendored C git (bundled binary) + gitnexus (in-process code intelligence) - agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess) Includes the full session's product build: Gitgram web/mobile/backend features, AITM website/CLI/MCP, the unified memory layer, engine build tooling (scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md), and extensive test suites. Build artifacts, node_modules, external/, and gemini-cli are gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1.9 KiB
1.9 KiB
id, title, sidebar_position
| id | title | sidebar_position |
|---|---|---|
| index | Core Concepts | 1 |
Core Concepts
Understanding the fundamental concepts behind beads.
Design Philosophy
Beads was built with these principles:
- Dolt as source of truth - Issues stored in a version-controlled SQL database (Dolt), enabling collaboration via Dolt-native replication
- AI-native workflows - Hash-based IDs, JSON output, dependency-aware execution
- Local-first operation - Dolt database for fast queries, background sync
- Declarative workflows - Formulas define repeatable patterns
Key Components
Issues
Work items with:
- ID - Hash-based (e.g.,
bd-a1b2) or hierarchical (e.g.,bd-a1b2.1) - Type -
bug,feature,task,epic,chore - Priority - 0 (critical) to 4 (backlog)
- Status -
open,in_progress,closed - Labels - Flexible tagging
- Dependencies - Blocking relationships
Dependencies
Four types of relationships:
| Type | Description | Affects Ready Queue |
|---|---|---|
blocks |
Hard dependency (X blocks Y) | Yes |
parent-child |
Epic/subtask relationship | No |
discovered-from |
Track issues found during work | No |
related |
Soft relationship | No |
Dolt Server Mode
Dolt provides the database backend for beads:
- Start with
bd dolt start - Handles auto-commit and sync
- Logs available at
.beads/dolt/sql-server.log - Check health with
bd doctor
Dolt Sync
The synchronization mechanism:
Dolt DB (.beads/dolt/)
↕ dolt commit
Local Dolt history
↕ dolt push/pull
Remote Dolt repository
Formulas
Declarative workflow templates:
- Define steps with dependencies
- Variable substitution
- Gates for async coordination
- Aspect-oriented transformations