Repository navigation
fix(blender): OpenCode for Blender 0.4.7, check the saved file before reporting - #29
Merged
Merged
Conversation
… reporting In the 0.4.6 exercises (ex06, ex09) the agent reported things the saved file lacked and never read the file back, while in archviz verify with saved made it fix a defect. Nothing is imposed by code: the method and two descriptions say it, and a save says how to read the file back. The working method (still 9 lines, under 1000 characters, no Blender knowledge) now asks to turn each requirement of the task into a check, to run every check on the saved file with blender_verify saved: true (the file is what is delivered), and to report each requirement with its value measured on the file, saying what failed or was not checked. The refused-operator line points at the hint that names the passing context. blender_save's result and a code run that saved the open file add check: the blender_verify call that reads the file back (saved: true, or the copy's path). blender_save's and verify's saved descriptions say the same in one sentence. Validation: a plugin test (blender_save, a copy, a code run that saved, one that did not) and the method's unit test fail on 0.4.6 (8344c03) and pass on 0.4.7. lint, typecheck, npm test, build, check:markers, trace scan, the Blender suites (25/25, extension 1/1) and native sessions with OpenCode 2.2.5 pass.
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.
OpenCode for Blender 0.4.7: in the 0.4.6 exercises (ex06, ex09) the agent reported things the saved file lacked without reading it back. Nothing imposed by code.
blender_verifysaved: true(the file is the deliverable), report each requirement with its value measured on the file and say what failed or was not checked.blender_save, or a code run that saved the open file):checknames theblender_verifycall that reads the file back (saved: trueor the copy's path). Descriptions ofblender_saveand verify'ssavedsay it in one sentence.Validation: a plugin test and the method's unit test fail on 0.4.6 (8344c03) and pass on 0.4.7; lint, typecheck, npm test, build, check:markers, trace scan, Blender suites (25/25, extension 1/1), native sessions with OpenCode 2.2.5.