Separates "no git history" from "garbage-collectible" for beads stored in the wisps table. Previously --ephemeral bundled both behaviors, causing agent identity beads to be incorrectly GC'd. Changes: - Add NoHistory field to types.Issue and wisps/issues schema (migration 011) - Route NoHistory issues to wisps table, skip DOLT_COMMIT, but leave ephemeral=0 - Wire --no-history flag in bd create and bd update (with --history to undo) - Add --exclude-type flag to bd mol wisp gc - Add --type filter flag to bd mol wisp list - Include type and labels in wisp list JSON output - Move ephemeral/no-history mutual exclusion to validation layer - Migrate issues between tables when --no-history/--ephemeral set on update - Fix ExcludeTypes filter self-join subquery inefficiency - Ensure JSONL export/import roundtrip preserves no_history - Remove dead AllEphemeral function (superseded by AllWisps) - Comprehensive test coverage for all new flags and edge cases Resolves: steveyegge/beads#2619 Refs: steveyegge/gastown#2768 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| id_generator.go | ||
| id_generator_test.go | ||
| orphans.go | ||
| storage_ext.go | ||
| types.go | ||
| types_test.go | ||