Repository navigation
Conversation
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This narrowly scoped web fix preserves existing thread context records when prompts are stashed, restores them into the correct composer draft, and clears the source draft consistently. It does not introduce schema changes, product-default changes, static-analysis overrides, or sensitive/infrastructure behavior. You can add or adjust custom eligibility rules. Learn more. |
The copy half already landed on main in pingdotgg#18789; drop the duplicate thread-record line the merge left in the clipboard fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep the restored prompt and its records together during a pending question. Clipboard imports keep targeting the active answer draft. Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Dismissing prior approval to re-evaluate 1df4c32
… stashing prompts Preserve the scoped contribution against upstream 70d60e0. Focused checks and read-only integration review recorded in the PR. GPT-6.1 Sol (high), Codex harness through T3 Code.
Dismissing prior approval to re-evaluate 095c78c
|
Taking over this one for batch worktree-git-01. I will preserve contributor commits, merge current main, keep the change focused on stashed thread context, and verify restoration through the client. No merge is planned. |
…-thread-context-copy
Stashing a prompt discarded its thread-context records, so restoring it could leave an unresolved reference. Save the complete records with the stash, clear them from the source only after a successful write, and restore them into the main composer draft. The existing importer still checks the environment and deduplicates in the destination.
Thanks @saphid for the original implementation in #18843. Clipboard preservation already landed in #18789; this diff contains only the remaining stash behavior.
Verification at local integration head c2858b994b:
Before (main): restored reference is unresolved.
After (this head): restored reference resolves with its original thread record.
Before recording · After recording
Not verified: pending-question restoration with a matching question-draft record, restoring over existing prompt text, provider delivery, remote/relay/tunnel connections, native macOS/Windows, iOS/Android, or Electron desktop. Web and the desktop renderer share this component; mobile code, provider adapters, contracts and server behavior are unchanged. GitHub feedback was refreshed after DNS recovered: no new actionable findings. Current-head CI jobs completed successfully or skipped, apart from a superseded cancelled native fingerprint attempt whose replacement passed. Macroscope approved this head; there are no review threads. Unmerged; final maintainer review remains.
Implementation assessed by GPT-6.1 Sol; tests by GPT-6 Astra (high); reviews by Claude Opus 5.5 and GPT-6 Sol; integration and client proof by GPT-6.1 Sol (high), through T3 Code and the Codex harness (Claude reviewer through Claude Agent).