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>
51 lines
1.8 KiB
Markdown
51 lines
1.8 KiB
Markdown
---
|
|
id: export
|
|
title: bd export
|
|
slug: /cli-reference/export
|
|
sidebar_position: 220
|
|
---
|
|
|
|
<!-- AUTO-GENERATED: do not edit manually -->
|
|
Generated from `bd help --doc export`
|
|
|
|
## bd export
|
|
|
|
Export all issues to JSONL (newline-delimited JSON) format.
|
|
|
|
Each line is a complete JSON object representing one issue, including its
|
|
labels, dependencies, and comments.
|
|
|
|
This command is for issue export, migration, and interoperability. It exports
|
|
records from the issues table; it is not a full database backup and does not
|
|
capture Dolt branches, commit history, working-set state, or non-issue tables.
|
|
For supported full backup/restore flows, use 'bd backup init', 'bd backup sync',
|
|
and 'bd backup restore'.
|
|
|
|
By default, exports only regular issues (excluding infrastructure beads
|
|
like agents, rigs, roles, and messages). Use --all to include everything.
|
|
|
|
Memories (from 'bd remember') are excluded by default because they may
|
|
contain sensitive agent context. Use --include-memories or --all to
|
|
include them.
|
|
|
|
EXAMPLES:
|
|
bd export # Export issues to stdout
|
|
bd export -o issues.jsonl # Export issues to file
|
|
bd export --include-memories # Export issues + memories
|
|
bd export --all -o full.jsonl # Include infra + templates + gates + memories
|
|
bd export --scrub -o clean.jsonl # Exclude test/pollution records
|
|
|
|
```
|
|
bd export [flags]
|
|
```
|
|
|
|
**Flags:**
|
|
|
|
```
|
|
--all Include all records (infra, templates, gates, memories)
|
|
--include-infra Include infrastructure beads (agents, rigs, roles, messages)
|
|
--include-memories Include persistent memories (from 'bd remember') in the export
|
|
-o, --output string Output file path (default: stdout)
|
|
--scrub Exclude test/pollution records
|
|
```
|