You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENT_INSTRUCTIONS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,9 +93,9 @@ bd hooks install
93
93
94
94
### Git Integration
95
95
96
-
**Dolt sync**: Dolt handles sync natively via `bd sync`. No JSONL export/import needed.
96
+
**Dolt sync**: Dolt handles sync natively via `bd dolt push` / `bd dolt pull`. No JSONL export/import needed.
97
97
98
-
**Protected branches**: Use `bd init --branch beads-metadata` to commit to separate branch. See [docs/PROTECTED_BRANCHES.md](docs/PROTECTED_BRANCHES.md).
98
+
**Protected branches**: Dolt stores data under `refs/dolt/data`, separate from standard Git refs. See [docs/PROTECTED_BRANCHES.md](docs/PROTECTED_BRANCHES.md).
99
99
100
100
**Git worktrees**: Work directly with Dolt — no special flags needed. See [docs/ADVANCED.md](docs/ADVANCED.md).
-**Existing issues** (same ID): Updated with new data
17
-
-**New issues**: Created
18
-
-**Same-ID scenarios**: With hash-based IDs (v0.20.1+), same ID = same issue being updated (not a collision)
19
-
20
-
## Preview Changes
21
-
22
-
Use `--dry-run` to see what will change before importing:
10
+
If you need to import issues from a JSONL file, use `bd init` with the `--from-jsonl` flag:
23
11
24
12
```bash
25
-
bd import -i issues.jsonl --dry-run
26
-
# Shows: new issues, updates, exact matches
13
+
bd init <prefix> --from-jsonl issues.jsonl
27
14
```
28
15
29
-
## When to Use
30
-
31
-
Dolt is the primary storage backend, so manual import is rarely needed. Use `bd import` when you need to load data from an external JSONL file or migrate from a legacy JSONL-based setup.
32
-
33
-
## Options
16
+
## Note
34
17
35
-
-**--skip-existing**: Skip updates to existing issues
36
-
-**--strict**: Fail on dependency errors instead of warnings
18
+
Dolt is the primary storage backend. Manual JSONL import is no longer supported as a standalone command.
bd import -i issues.jsonl --orphan-handling strict # Fail if parent is missing
481
-
482
-
# Configure default orphan handling behavior
483
-
bd config set import.orphan_handling "resurrect"
484
-
bd sync # Now uses resurrect mode by default
485
-
```
486
-
487
-
**Orphan handling modes:**
488
-
489
-
-**`allow` (default)** - Import orphaned children without parent validation. Most permissive, ensures no data loss even if hierarchy is temporarily broken.
490
-
-**`resurrect`** - Search history for deleted parents and recreate them as tombstones (Status=Closed, Priority=4). Preserves hierarchy with minimal data. Dependencies are also resurrected on best-effort basis.
491
-
-**`skip`** - Skip orphaned children with warning. Partial import succeeds but some issues are excluded.
492
-
-**`strict`** - Fail import immediately if a child's parent is missing. Use when database integrity is critical.
493
-
494
-
**When to use:**
495
-
- Use `allow` (default) for daily imports and auto-sync
496
-
- Use `resurrect` when importing from databases with deleted parents
497
-
- Use `strict` for controlled imports requiring guaranteed parent existence
498
-
- Use `skip` rarely - only for selective imports
499
-
500
-
See [CONFIG.md](CONFIG.md#example-import-orphan-handling) and [TROUBLESHOOTING.md](TROUBLESHOOTING.md#import-fails-with-missing-parent-errors) for more details.
470
+
> **Note:**`bd import` has been removed. For JSONL migration, use `bd init <prefix> --from-jsonl <file>`.
501
471
502
472
### Migration
503
473
@@ -531,16 +501,15 @@ These invariants prevent data loss and would have caught issues like GH #201 (mi
Copy file name to clipboardExpand all lines: docs/ARCHITECTURE.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ bd's core design enables a distributed, git-backed issue tracker that feels like
49
49
50
50
**Dolt for distribution:** Native push/pull to Dolt remotes (DoltHub, S3, GCS). No special sync server needed. Issues travel with your code. Offline work just works.
51
51
52
-
**Import/export for portability:**`bd import` and `bd export`support JSONL format for data migration, bootstrapping new clones, and interoperability.
52
+
**Export for portability:**`bd export`outputs JSONL format for data migration and interoperability. Use `bd init --from-jsonl` to bootstrap a new database from an export.
0 commit comments