Commit graph

2 commits

Author SHA1 Message Date
beads/crew/lydia
5e243b1097 refactor: remove JSONL storage layer from core Go files (bd-9ni.2)
Remove FindJSONLPath, FindJSONLInDir, JSONLExport config field, JSONL
bootstrap detection, post-merge JSONL import hook, and findActualJSONLFile.
Update hasBeadsProjectFiles to check for dolt/ directory instead of JSONL
files. Simplify error messages and hook descriptions to remove JSONL
references. Update comments across types, storage, and doctor subsystem.

29 files changed, -882/+79 lines.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 21:52:18 -08:00
jasper
aa663c40d7 fix(storage): move BatchCreateOptions to storage package for backend-agnostic batch creation
Fixes the leaky abstraction where molecules and importer packages directly used
sqlite.BatchCreateOptions and type-asserted to *sqlite.SQLiteStorage.

Changes:
- Add storage.BatchCreateOptions and storage.OrphanHandling as backend-agnostic types
- Add CreateIssuesWithFullOptions to Storage interface
- Implement for SQLite, Dolt, and Memory backends
- Update molecules.go to use Storage interface method instead of sqlite type assertion
- Update importer.go to use storage types instead of sqlite-specific interface
- Update cook.go to use storage interface method
- Add deprecated aliases in sqlite package for backward compatibility

This enables batch create optimizations for all backends including Dolt.

Closes: bd-nrcp

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Executed-By: beads/jasper
Rig: beads
Role: polecat
2026-01-26 20:21:53 -08:00