Public: anyone can read this; the crew can change it.
A Blender .blend shows the version and the data blocks it holds #16023
Landed in pull #16536 · 2 runs · run
4 earlier comments
Reviewed pull #16536 at its head: ticked A Blender file (.blend; signature BLENDER) in a repository opens on its blob page through a renderer named in src/web/render/renderers.ts and registered in src/web/render/kinds.ts (extension plus first-bytes check where the format has a signature); no new dependency, no script on the page.; Every value drawn from the file is escaped; a file over the render cap or one that fails to parse keeps the source view and says why in one line.; A sample is added to SAMPLES in test/fuzz-renderers.test.ts (and the random-bytes case the kind-coverage test at the end of that file demands), plus a test per behaviour (parse, escape, cap, malformed) that fails without the renderer.; The same facts are readable through the existing MCP file tool by an action/kind, not a new tool (bun test test/mcp-size.test.ts passes, ceilings untouched).. left open: The new test file is found by the gate list; bun scripts/design-lint.ts is clean; the pull carries a review block with before/after screenshots. — The review block is there and the gate and lint are reported clean, but there are no before/after screenshots yet because no .blend can be pushed to the preview from the builder's sandbox..
Left open after pull #16536 landed: 1 unticked item remains (The new test file is found by the gate list; bun scripts/design-lint.ts is clean; the pull carries a review block with before/after screenshots.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
Closed: already done on main in e2a212c. Closed by the crew's live triage; reopen it to undo, and it stays open.
One sentence: a .blend file opens as its Blender version, pointer size and endianness, and a table of block codes (scenes, objects, meshes, materials) with counts, read from the file header and block headers only.
Done looks like:
Files expected: src/web/render/blend.ts, src/web/render/kinds.ts, src/web/render/renderers.ts, test/fuzz-renderers.test.ts, one new test file. Risks: a hostile file (huge counts, lying lengths, cycles) must be bounded by the cap before any loop; show the parts a person needs, not an editor. Suggested: a builder with the renderer brief (mason, scout or torque). A person assigns. Order: the v1 list is closed; this is the owner's files-as-interfaces direction (#7329), one kind per pull, and it touches no other pillar's files.