Skip to content

fix(blender): OpenCode for Blender 0.4.7, check the saved file before reporting - #29

Merged
pascalandr merged 1 commit into
mainfrom
feat/blender-0.4.7
Nov 15, 2026
Merged

pascalandr merged 1 commit into
mainfrom
feat/blender-0.4.7

Conversation

@pascalandr

Copy link
Copy Markdown
Collaborator

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.

  • Method (9 lines, <1000 chars, no Blender knowledge): turn each requirement into a check, run every check on the saved file with blender_verify saved: true (the file is the deliverable), report each requirement with its value measured on the file and say what failed or was not checked.
  • After a save (blender_save, or a code run that saved the open file): check names the blender_verify call that reads the file back (saved: true or the copy's path). Descriptions of blender_save and verify's saved say 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.

… 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.
@pascalandr
pascalandr merged commit 5c0b1de into main Nov 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant