beads/cmd
matt wilkie 663bc010a1
fix(export): guard auto-export against richer JSONL overwrite
Refuse opt-in auto-export when the existing target contains records outside auto-export scope, preserving richer JSONL files instead of silently replacing them with the viewer-scoped auto-export subset.

Fixes #4069

Validation:
- go test -tags gms_pure_go ./cmd/bd -run 'TestGuardAutoExportOverwrite|TestShouldExport|TestShouldRunPostCommandAutoExport|TestShouldSkipEmptyAutoExport|TestMissingJSONLIssueIDsInStore' -count=1
- go test -tags gms_pure_go ./cmd/bd (fails on existing Dolt server/test-environment setup issues)

_codex-gpt-5.5-medium on behalf of maphew_
2026-05-22 10:40:25 -07:00
..
bd fix(export): guard auto-export against richer JSONL overwrite 2026-05-22 10:40:25 -07:00