Skip to content

fix(server,web): hide first-message retractions immediately - #28

Merged
asfires merged 4 commits into
mainfrom
t3code/first-message-retraction-cleanup
Aug 13, 2026
Merged

asfires merged 4 commits into
mainfrom
t3code/first-message-retraction-cleanup

Conversation

@asfires

@asfires asfires commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Retracting the first message already deletes the new T3 thread, but provider settlement could leave its temporary sidebar row visible until cleanup finished, and Codex retained the discarded native thread in its own history.

Hide first-message recovery threads from thread-discovery surfaces immediately, restoring them automatically if recovery fails. Cancelled sends restore and delete immediately; claimed sends follow normal start-and-interrupt settlement before restoring and emitting the existing reverted-and-deleted event pair.

After that durable first-message retraction deletion—and only that deletion—the provider cleanup requests an optional transient-thread discard before ordinary session shutdown. Codex implements the capability with its native thread/delete operation; unsupported providers such as Claude no-op. Failures are best-effort and never block T3 deletion or session cleanup. Mid-thread retractions and ordinary thread deletion are unchanged.

Implemented by GPT-5.6-Sol through the Codex harness.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Aug 13, 2026
@asfires
asfires force-pushed the t3code/first-message-retraction-cleanup branch from ca0c6e4 to 4e7125f Compare August 13, 2026 17:42
@asfires
asfires merged commit 31d7d0f into main Aug 13, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant