You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit be67a8b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(agents): preserve exec retention loss through session caps (#128997)
Exec and process results placed their aggregate-retention disclosure after retained output, so the SQLite session result cap could hide the earlier unrecoverable loss.
Own the disclosure once and place it first across foreground exec, process poll, and process log. Preserve the separate poll omission and log paging semantics, and cover the composed persistence boundary with a red-to-green regression.
Co-authored-by: Ayaan Zaidi <[email protected]>
"The command was terminated, but external side effects may already have completed. Verify the resulting state before retrying. Do not automatically rerun non-idempotent commands. Use a higher timeout only when the command is known to be safe to retry.";
11
11
12
+
// Irreversible loss leads model-visible output so later head-preserving caps retain it.
13
+
exportconstEXEC_RETENTION_CAP_NOTE=
14
+
"[earlier output was discarded at the retention cap and cannot be recovered]\n\n";
15
+
12
16
/** Render command output with a stable placeholder for empty output. */
0 commit comments