Update issues.jsonl and documentation
Amp-Thread-ID: https://ampcode.com/threads/T-fea21f01-c136-437f-a61f-226872ae7a38 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
14
AGENTS.md
14
AGENTS.md
@@ -295,6 +295,20 @@ bd import -i .beads/issues.jsonl --resolve-collisions
|
|||||||
**Manual resolution** (alternative):
|
**Manual resolution** (alternative):
|
||||||
If you prefer manual control, resolve the Git conflict in `.beads/issues.jsonl` directly, then import normally without `--resolve-collisions`.
|
If you prefer manual control, resolve the Git conflict in `.beads/issues.jsonl` directly, then import normally without `--resolve-collisions`.
|
||||||
|
|
||||||
|
### Advanced: Intelligent Merge Tools
|
||||||
|
|
||||||
|
For Git merge conflicts in `.beads/issues.jsonl`, consider using **[beads-merge](https://github.com/neongreen/mono/tree/main/beads-merge)** - a specialized merge tool by @neongreen that:
|
||||||
|
|
||||||
|
- Matches issues across conflicted JSONL files
|
||||||
|
- Merges fields intelligently (e.g., combines labels, picks newer timestamps)
|
||||||
|
- Resolves conflicts automatically where possible
|
||||||
|
- Leaves remaining conflicts for manual resolution
|
||||||
|
- Works as a Git/jujutsu merge driver
|
||||||
|
|
||||||
|
**Two types of conflicts, two tools:**
|
||||||
|
- **Git merge conflicts** (same issue modified in two branches) → Use beads-merge during git merge
|
||||||
|
- **ID collisions** (different issues with same ID) → Use `bd import --resolve-collisions` after merge
|
||||||
|
|
||||||
## Current Project Status
|
## Current Project Status
|
||||||
|
|
||||||
Run `bd stats` to see overall progress.
|
Run `bd stats` to see overall progress.
|
||||||
|
|||||||
15
README.md
15
README.md
@@ -980,6 +980,21 @@ bd sync --no-push # Commit but don't push
|
|||||||
|
|
||||||
The `bd sync` command automatically resolves ID collisions using the same logic as `bd import --resolve-collisions`, making it safe for concurrent updates from multiple devices.
|
The `bd sync` command automatically resolves ID collisions using the same logic as `bd import --resolve-collisions`, making it safe for concurrent updates from multiple devices.
|
||||||
|
|
||||||
|
#### Advanced: Custom Merge Tools
|
||||||
|
|
||||||
|
When Git detects conflicts in `.beads/issues.jsonl` (e.g., the same issue was modified in different branches), you can use specialized merge tools for better resolution:
|
||||||
|
|
||||||
|
**[beads-merge](https://github.com/neongreen/mono/tree/main/beads-merge)** - Intelligent JSONL merge tool by @neongreen that:
|
||||||
|
- Matches issues across conflicted JSONL files
|
||||||
|
- Merges fields intelligently (e.g., combines labels, picks newer timestamps)
|
||||||
|
- Resolves as many conflicts as possible automatically
|
||||||
|
- Leaves remaining conflicts for manual resolution
|
||||||
|
- Works as a Git/jujutsu merge driver
|
||||||
|
|
||||||
|
This is complementary to bd's `--resolve-collisions` flag:
|
||||||
|
- **beads-merge**: Handles Git merge conflicts in JSONL (during merge)
|
||||||
|
- **bd import --resolve-collisions**: Handles ID collisions after merge (remaps duplicate IDs)
|
||||||
|
|
||||||
#### Background Sync with `bd daemon`
|
#### Background Sync with `bd daemon`
|
||||||
|
|
||||||
For continuous automatic syncing, run the bd daemon in the background:
|
For continuous automatic syncing, run the bd daemon in the background:
|
||||||
|
|||||||
Reference in New Issue
Block a user