fix: cleanup orphan issue and nested deleted references

- Deleted orphan issue bd-98c4e1fa.1 (parent was deleted)
- Fixed nested [deleted:[deleted:...]] patterns in 4 issues
- Removed DEBUG statement from sync.go

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-11-25 00:35:04 -08:00
parent 11fe204221
commit 8755c05508
2 changed files with 4 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@@ -304,7 +304,6 @@ Use --merge to merge the sync branch back to main branch.`,
// or if DB has more issues than JSONL, skip re-export.
// This prevents resurrection of deleted issues when syncing stale clones.
skipReexport := skipExport // Carry forward initial ZFC detection
fmt.Printf("DEBUG: skipExport=%v, skipReexport=%v\n", skipExport, skipReexport)
if !skipReexport {
if err := ensureStoreActive(); err == nil && store != nil {
dbCountPostImport, dbErr := countDBIssuesFast(ctx, store)