Repository navigation
fix(git): fence review snapshots and refine Host Code Mode guidance - #728
Merged
Merged
Conversation
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.
Summary
review_changes.next_calldirectly valid against the published input schema by omitting absent optional fields while preserving explicit zero/empty values, Session, scope, and continuationsnapshot_stalewait_for_job_terminal+ Host continuation when terminal is the only blocker and a real carrier exists, and reserveobserve_jobsfor logs/diagnostics/recovery rather than polling loopsReview
Independent review re-ran the key sf aggregates at the report's fixed cutoff and matched the documented counts/bytes exactly. The two 60/90-minute high-density Window samples also reproduced exactly.
/root/git/codexwas inspected read-only at8f195c93d; its Code Mode execute/delegate code supports the report's responsibility split around Host-native schemas, dispatch gates, cancellation, ToolCallRuntime and bounded output handling.No additional production-code defect was found in
0613f38e. A review-only documentation commit (fd3ca23f) narrows the Job recommendation so the target architecture is not misread as same-cellobserve_jobspolling. It also makes the audit's pre-PR/no-deploy statements explicitly time-scoped.Evidence boundaries
serialized_result_bytesis not Host-final model-context bytesHost-native Code Mode follow-up
The next optimization should validate and replay short deterministic Host chains using the existing tool contracts rather than add another execution engine:
next_call/ recovery arguments and distinguish mechanically-followable paging from Job fallback stateexecution_state=pending, continue independent work and rely on passive terminal attention where possibleValidation
cargo test -p webcodex --lib review_: 59 passed / 0 failedcargo test -p webcodex --lib changes: 132 passed / 0 failedcargo test -p webcodex-tool-contracts: 241 passed / 0 failedcargo test -p webcodex --lib: 3018 passed / 0 failed / 3 ignoredcargo check --all-targets --all-features -p webcodex -p webcodex-tool-contracts: passedcargo fmt --all -- --check: passedgit diff --check: passedgit diff origin/main...HEAD --check: passedExisting test-only dead-code warnings remain (
poll_start_validation_job_with_timeout, andObservedRunnerRequest.loginunder all-features checks).Deployment
Server deployment status: NOT DEPLOYED BY THIS TASK.
No deploy, restart, reload, publish, sf service configuration change, or
/root/git/codexmodification was performed.