Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
1.3 KiB
1.3 KiB
Second independent review: production-path mismatch
The cache correction is sound for string content, but independent inspection found one remaining mismatch. Correct it without expanding scope:
append_persistent_model_statuswrites a list-valuedapi_contentfor multimodal content, but the real replay branch inagent/conversation_loop.pyonly honors non-empty string sidecars. The next request therefore drops the earlier multimodal status, while the test helper_wire_copyincorrectly replays any type. Either support typed sidecars safely throughout the real persistence/replay path or fail closed by not enabling this feature on unsupported content. Do not leave a test model that is more permissive than production.- Refactor the sidecar replay decision into production code that the test can
call, or add coverage through the actual production request-building path.
The contract must exercise the same type check used by
conversation_loop.py, including string, list/multimodal, empty, and unsupported values. - Update the report with this second review round and exact verification.
Run the focused tests, the same replay/cache regression set, compilation, and
git diff --check. Do not change the book, commit, push, or claim downstream
task improvement.