Skip to content

Preserve unmirrored main-created threads during database sync - #510

Merged
SDSLeon merged 1 commit into
masterfrom
poracode/sharp-quail-78f99693
Aug 5, 2026
Merged

Preserve unmirrored main-created threads during database sync#510
SDSLeon merged 1 commit into
masterfrom
poracode/sharp-quail-78f99693

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Aug 5, 2026

Copy link
Copy Markdown
Owner
  • Bugfix: prevent renderer syncs from deleting threads created by main before the renderer has mirrored them.
  • Preserve associated launch transcript items, including the initial user message, during this handoff.
  • Restore normal renderer-owned deletion behavior once a thread appears in a renderer snapshot.
  • Reset pending ownership tracking when the database closes and add sync coverage for both scenarios.

- Track main-created thread rows until the renderer mirrors them
- Prevent sync deletion from cascading launch runtime items
- Add regression coverage for thread ownership and deletion
@SDSLeon
SDSLeon merged commit a701385 into master Aug 5, 2026
8 checks passed
@SDSLeon
SDSLeon deleted the poracode/sharp-quail-78f99693 branch August 5, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant