Repository navigation
Correct a Word comment request before any read and log the sizes of a request that did not fit (0.261.483) - #1982
Open
Paul Lizer (paullizer) wants to merge 1 commit into
Conversation
… request that did not fit (0.261.483) Three faults with a known cause from the 0.261.482 run, and the record of the redesign that follows them. - A request for a Word file's comments that also set a paging or filter argument (native_section, native_cursor, sheet_name, cell_range) was refused with a plain ValueError, which ended the action step (document_action_read_failed). The refusal is now a typed NativeInspectionRequestError from the shared request validator. The action runner checks it before any read and returns it to the action's model once, naming the refused arguments. No prompt or tool description changed. - The sizes of a request that did not fit the model's input budget were logged under names containing "token", which the telemetry filter replaces with a present flag. context_budget_log_fields carries them under names telemetry keeps, with the estimator that counted them, for an unavailable completeness check and for an answer step whose own input does not fit. - A background structured export passed semantic_checkpoint_run to _generate_and_checkpoint_batch_window_entries, which takes the run as its first argument and has no such parameter (TypeError on start). The keyword is removed. test_module_call_signatures.py reads every call an application module makes to its own top-level functions and fails on an argument the function does not take. ORCHESTRATION_REACTIVE_LOOP_PROPOSAL.md: the open items are updated from the 0.261.482 run, and section 6 records the following work: a completeness check that judges each claim, corrections that work from findings, and an answer step that writes from evidence in as many calls as it needs. Nine storage owners in the two changed modules are re-reviewed in cosmos_response_boundaries.json; their bodies are unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
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
Three faults with a known cause from the 0.261.482 test run, and the written record of the redesign that follows them. Version 0.261.483.
Changes
1. A Word comment request with a paging argument ended its step
native_section,native_cursor,sheet_nameorcell_range, with a plainValueError. The action runner ends a step on any error returned by a bound document read (document_action_read_failed).NativeInspectionRequestError(native_word_comments_arguments_unsupported) raised by the shared validator, renamedvalidate_native_report_request.2. The sizes of a request that did not fit were not in telemetry
input_tokens,input_budget_tokens, ...). The telemetry filter replaces the value of any key containingtokenwith a present flag, so three runs reported that a check's input did not fit without saying by how much.context_budget_log_fieldscarries the counts and closed codes under names telemetry keeps (input_size,input_budget,output_reserve,budget_decision,size_estimator, ...).tokenis unchanged. Three code keys are added to its allow-list.3. A background structured export failed on start
semantic_checkpoint_runto_generate_and_checkpoint_batch_window_entries, which takes the run as its first argument and has no such parameter. The keyword is removed.functional_tests/test_module_call_signatures.pyreads every call an application module makes to one of its own top-level functions and fails on an argument the function does not take. It reports this call on the previous version and nothing on this one.Documentation
docs/explanation/fixes/WORD_COMMENT_REQUEST_AND_BUDGET_SIZE_TELEMETRY_FIX.mddocs/reference/logging-tags.md: the new size fields and validation code.docs/explanation/features/ORCHESTRATION_REACTIVE_LOOP_PROPOSAL.md: open items updated from the 0.261.482 run; new section 6 records the following work (a completeness check that judges each claim, corrections that work from findings, an answer step that writes from evidence in as many calls as it needs). Section 6 is design only; none of it is built here.Testing
functional_tests/test_orchestration_*.py(one file known to stall left out), run on this branch and on unchangedDevelopment: 8,265 tests here and 8,257 there. The same 390 tests fail on both; none is new, and the 8 tests added to that set pass. Those 390 were not investigated, and the files were split across parallel processes for both runs.scripts/check_cosmos_response_boundaries.py: 0 review gaps. Nine owners in the two changed modules are re-reviewed; their bodies are unchanged.Not verified
🤖 Generated with Claude Code