Repository navigation
Daemon: a SigV4 refusal dated far from its signing is clock skew; history reads leave out replayed opaque state - #564
Merged
Conversation
A SigV4 refusal is told as clock skew when the error names it, or when the response's Date is more than four minutes from when the request was signed, the AWS SDK for Java's rule. A machine that slept with a signed request in flight now re-signs instead of failing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
The `history` tool's view already dropped reasoning items' encrypted content. It now also drops a thinking block's signature, a redacted thinking block's data, and a web search result's encrypted content: bytes the provider hands back only to be replayed, which no agent can read. Thinking text stays; stored items, raw reads, forks and replay are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The history view's READING_ITEM now matches quoted JSON keys, and the planner's constant pattern stopped at its first escaped quote. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
lydakis
pushed a commit
that referenced
this pull request
Nov 1, 2026
…s no force Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGGxFkGajbntA1atiYT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two small daemon fixes found in a week of everyday use of 0.7.0.
A SigV4 refusal is clock skew when its Date says so
Dateheader is more than four minutes from when the request was signed. That is the AWS SDK for Java's rule.provider_signature_expired, signed again with the time now. Before, it failed the turn.docs/RUST_PROTOTYPE.mdsays so.History reads leave out the opaque state Claude replays
historyreturned each assistant item whole, includingthinking.signature,redacted_thinking.dataandweb_search_tool_result'sencrypted_content. These are opaque blobs only the provider reads, and they can be many KiB per item.tests/store_contract.rspins the new view, and a unit test covers each blob.The restart part of this work (running turns park on shutdown and continue at the next start) moved to its own PR in another thread.
Tests
cargo test -p agent-runtime --lib -- aws history: 18 passed.cargo test -p agent-runtime --test store_contract: 212 passed.No protocol or schema change.