perf(wake-queue): narrow native release reads (#17539)

Native wake-queue release reads omit saved profiles and excerpts. Legacy release reads keep their complete inputs. Ownership, cleanup, and file retention checks remain unchanged.

Verified with 275 wake-queue tests, the full build, and typecheck. All CI checks pass. Greptile scored the exact head 5/5 with Medium impact and no unresolved comments.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Devin FoleyandPaperclip authored and GitHub committed 2026-10-24 19:32:51 -07:00
1 parent ac15d883f7
commit e0855fe92a
5 files changed
+117 -21

No files matched your search

@@ -24,6 +24,12 @@ the native status wake identifier from each saved run. It keeps their JSON types
and reads full evidence later where finalization or recovery needs it. Saved
execution input, runner profiles, and logs stay in the stored run.
Wake-queue release reads keep complete context and result receipts. Native runs
omit runner profiles and log excerpts from this read; cleanup and execution
read their own current evidence. Legacy runs retain the full release row so
workspace-restore and pre-dispatch proofs keep their existing inputs. The
selection is one scoped database query for either runtime.
The recovery card names the original run and requires evidence that its exact
allocation stopped and its files were recovered. Recording that evidence does
not retry the old turn, certify unknown external actions, change the current task