<< All versions

Skill v1.0.0

currentAutomated scan100/100
elliottshort/mosby/blender-session
──Details
PublishedNovember 16, 2026 at 08:39 AM
Content Hashsha256:dba2f088f597d4d7...
Git SHAb2b4fa0e60d7
──Files
Files (1 file, 26.6 KB)
SKILL.md26.6 KBactive
SKILL.md · 343 lines · 26.6 KB

name: blender-session description: Guides any work in a Mosby job that touches Blender itself - a live Blender over MCP (execute_blender_code), a headless blender -b run, a render queue or render batch, a checkpoint, rollback or transaction, a crash, timeout or stalled bridge, a port or scene mix-up, dirty state not matching the saved file, or a Blender API error (boolean modifier, float32 mesh proof, empty material slots after save, join losing UVs, sky node TypeError). Use it before the first execute_blender_code of a session, before any mutation or render, and whenever Blender misbehaves. Gives the session identity check, the headless-by-default transaction pattern (checkpoint -> dry-run -> apply with audits -> saved audit -> receipt), the render-queue protocol under the 300 s MCP timeout, the SOLID-viewport rule, float32 storage proofs and analytic CSG instead of booleans. Produces checkpoints and transaction receipts under <job>/.mosby/ and render batches under <job>/renders/. argument-hint: "[live|headless|render|recover] [label]" metadata: version: "1.0.0"


Blender session: identity, transactions, render queues, gotchas

You are driving Blender 5.2 for a Mosby job. The job folder holds job.json (block blender: target, file, scene, port), model.blend, .mosby/ (checkpoints, acts, transactions) and renders/. The house run lost only ~5 % of its 119 iterations to infrastructure, but every event was expensive: two Blenders on one port, one crash (11 min down + 8 views re-rendered), four full re-render generations (~1 h GPU each), six rolled-back applies. This skill makes those events impossible or cheap. Long API tables live in reference.md; read it when an error names a symptom.

0. What the hooks already enforce (know it exists; do not re-implement it)

guard_blender.py rewrites every execute_blender_code payload (runpy scripts included): identity preamble on file, scene and running render; auto-checkpoint into .mosby/checkpoints/ at session start and after 10 min of quiet; in a live target it blocks read_homefile, read_factory_settings, quit_blender and open_mainfile without # mosby: reload, and only WARNS on MATERIAL/RENDERED shading, BOOLEAN modifiers and object.join. Counters, Stop gate, gate-before-build and protected folder deletes are hooks too (skills/mosby/reference.md C). Mark non-mutating snippets # mosby: read-only.

1. Identity: which Blender, which file, which scene

  1. Read job.json -> blender.target (headless default, or live), blender.file,

blender.scene, blender.port (default 9876). File + scene + port + pid are the session identity. The preamble asserts file and scene on every call; you assert port and pid once per session with mosby blender probe. <!-- FC-H01 --> Why: the house Blender shared port 9876 with an unrelated job and twice held a fresh default 'Scene' with 3 objects minutes after a house script had "run".

  1. One MCP-enabled Blender per job, one port per Blender. The add-on's port and autostart are USER

preferences (userpref.blend) shared by every Blender launched with that config: never set addon.preferences.port to get a second instance. Launch the job's Blender through mosby blender run (starts the add-on server on blender.port at launch, records the pid) and give the MCP server process BLENDER_MCP_PORT=<port>. <!-- FC-H01 --> Why: iter_101 pinned port 9877 in preferences; every later Blender would have inherited it.

  1. The job file is the main file: bpy.data.filepath == blender.file before the first mutation.

bpy.data.libraries.write is export-only, never a save or checkpoint (filepath stays empty, unreferenced dependencies are dropped, no UI is saved). Checkpoints use save_as_mainfile(copy=True, compress=True) or llm.save_copy(path); the delivery save uses save_as_mainfile without copy. <!-- FC-H02 --> Why: the house live session ran 3 h with original_filepath == ''; a crash would have lost it all.

  1. One production scene per .blend, named blender.scene. Never bpy.data.scenes.new inside the job

file; asset previews and review scenes go to a separate .blend. <!-- FC-H13 --> Why: 10 coexisting scenes produced .001/.002 suffixes on canonical objects and leaking shared meshes.

  1. mosby blender probe reads Blender window titles (<name> [<path>] - Blender 5.2.x), flags

dialog-sized windows (< 500x400 px), TCP-checks only the job port and never executes code in another job's Blender. Run it at session start, before the first mutation, and on any timeout. <!-- FC-H14 -->

2. Headless by default, live for viewing

  • blender.target: headless: every mutation runs as blender -b model.blend --python <script>

through mosby build shell|finishes|interior, mosby audit <name> or mosby blender headless <script>. The user's live Blender, if any, only VIEWS the result. After a headless apply, reload the live session with a payload whose LAST lines are: <!-- FC-H03 --> ``python # mosby: reload bpy.ops.wm.open_mainfile(filepath=MODEL, load_ui=False) for w in bpy.context.window_manager.windows: w.scene = bpy.data.scenes[SCENE] ` Do not touch bpy.context.window` in the same tick; it is None until the timer returns. <!-- FC-H17 --> Why: headless applies cannot crash the user's viewport and cannot dirty the live file; the house Eevee crash and the iteration-119 live-vs-saved audit both came from mutating live.

  • execute_blender_code_for_cli(blend_file, code) is the MCP form of a headless call: it runs

code on a synced copy in blender --background; no identity preamble, no deferred replies. <!-- FC-H05 -->

  • blender.target: live is for a user who wants to watch. Live mutations are allowed only inside the

transaction of section 4 and only after mosby blender safe-mode (every VIEW_3D to SOLID, no RENDER job, probe recorded). <!-- FC-H03 -->

  • Put mutation code in <job>/scripts/<phase>_<subgoal>_<n>.py and run it with

mosby blender run <script> or paste the file body into the payload. Never hide a mutation behind runpy.run_path(...) in a 3-line payload: the acts log hashes only the payload text, so the history loses the script. <!-- FC-G07 --> Why: almost every house mutation ran via runpy; the guard now lints those scripts, the acts log still cannot.

  • Scripts read every number from the job (job.json, plan_<level>.json, decisions.md, the

audit report they check against): no coordinates, object names or expected counts typed into a script or into tools/mosby; an assert len(x) == N names the report field N came from. <!-- FC-H18 --> Why: the house library hard-coded camera coordinates, garage door ids and len(family) == 105 style asserts, so none of it could run on a second building.

3. Observe cheaply before and after (the llm helper module)

import llm works in any payload (installed in Blender's scripts/modules). The cheap loop:

python
# mosby: read-only
import llm
r = llm.scene_report() # file, scene, dirty flag, engine, object/poly counts
s = llm.snapshot() # ... run the mutation in ANOTHER payload, then:
d = llm.diff(s) # added/removed/changed objects with the changed fields
m = llm.mesh_check("WALL_L1_012") # non-manifold, zero-area, loose, normals, watertight
p = llm.capture_viewport(direction="ISO", shading="SOLID")["path"] # then Read the PNG
  • llm.capture_viewport / llm.turntable are OpenGL grabs: seconds, no render job. Keep them in

SOLID in a live session; shading="MATERIAL" switches the viewport to Eevee (section 6). <!-- FC-H03 -->

  • llm.render(path, samples=16, size=(960, 540)) is a synchronous Cycles render that restores

settings afterwards; keep it under ~60 s so the 300 s MCP timeout never matters. Anything bigger goes through the render queue (section 6). <!-- FC-H05 -->

  • llm.save_copy(path) is the checkpoint primitive (copy=True, filepath unchanged). <!-- FC-H02 -->
  • llm.describe(name) shows data_users, custom properties and material slots of one object;

llm.history() lists what the bridge ran. <!-- FC-H13 --> A capture, render or image Read is the observation the hooks count; make one after every mutating act, before the next. <!-- FC-G07 -->

4. Every mutation is a transaction

The order is fixed. A mutation that skips a step is "generated, unverified", never "built".

  1. Bind: identity (preamble or mosby blender probe); input_sha = sha256(model.blend); in a live

session also require scene_signature(live) == signature of the last save receipt (section 5). <!-- FC-H07 -->

  1. Checkpoint: .mosby/checkpoints/<label>_<input_sha[:12]>_<utc>.blend via

save_as_mainfile(copy=True, compress=True) (live) or a byte copy (headless). Assert the path did not exist. <!-- FC-H08 --> Why: direct overwrites (iter_24/29) left no way back; sha-named checkpoints made 6 rollbacks clean.

  1. Dry-run: run the same script headless on an UNSAVED copy in simulate mode

(mosby blender headless <script> with its simulate flag) and require the receipt UNSAVED_SIMULATION_PASS bound to input_sha. Mandatory when the transaction replaces existing meshes or touches more than 50 objects (job.json tx.simulate_threshold); small additive changes may rely on the in-memory backups plus the checkpoint. <!-- FC-H08 --> Why: stage/dry-run caught all 8 mesh-validity failures of the house before any save.

  1. Apply: take in-memory backups (ob.data pointers, matrices, custom props, material slot links,

scene props); tag every created object mosby_transaction=<id>; guard idempotency with a key in the scene property mosby_revisions (JSON dict) and raise if it is already set. Retire a replaced mesh with use_fake_user=True, write its name to mosby_previous_mesh, and remove meshes only when users == 0. <!-- FC-H08 --> Why: 26+ bespoke scene['<fix>_revision'] keys and name-based once() checks double-applied moves and produced 151 FURN_*.002 groups. <!-- FC-H12 -->

  1. Post-audits BEFORE saving, scoped to the touched objects: mosby audit mesh_validity (stored

float32 coordinates, section 7), mosby audit material_slots, mosby audit coplanar_faces. Any failure -> step F. <!-- FC-H10 -->

  1. Save (save_as_mainfile, not copy) -> saved_sha.
  2. Saved audit: reopen the saved file headless and run the same audits on it (`mosby audit

material_slots against model.blend`). <!-- FC-E13 --> Why: the live session still resolved dangling material IDs; only the reopened file showed seven empty DATA slots (iteration 103).

  1. Receipt: append one row to .mosby/transactions.jsonl {label, input_sha, checkpoint,

checkpoint_sha, saved_sha, scene_signature_before/after, objects_added/removed, revision_key, status APPLIED}; write it atomically (tmp + os.replace) and only after step 7. <!-- FC-G07 -->

  1. Reload the live viewer (section 2) if one exists. <!-- FC-H07 -->

F. Failure path: restore backups, remove objects tagged with the transaction id, reopen the checkpoint if any datablock leaked, write <label>_failure.json with status FAILED_ROLLED_BACK, the traceback and a failure_category (storage_degeneracy | test_tolerance | geometric_search | audit_fail), then re-raise. Never save partially. Before a retry, sweep orphans by tag and record what was removed. <!-- FC-G07 --> Why: iter_86 left two 6- and 8-vertex gable orphans that iter_90 had to remove by name. Scope rule: a defect found on one object runs its class audit house-wide (mosby audit <name> with no object filter) before the fix transaction is written. <!-- FC-H08 -->

5. Dirty state and the scene signature

  • bpy.data.is_dirty is not evidence: render and probe scripts flip it even after restoring every

setting. Gate on sha256(model.blend) == receipt.saved_sha AND scene_signature(live) == receipt.scene_signature_after. If both hold and the file is dirty, the drift is metadata: reload the saved file (section 2 snippet) instead of saving. <!-- FC-H07 --> Why: iteration 119 (2 scripts, 5 receipts, run three times) existed only to prove live == saved.

  • scene_signature hashes evaluated render-visible geometry (float32 coords, loops, polygons,

material_index, smooth flags), object matrices, material/world node graphs, lights and cameras; it excludes selection, viewport, output path and the active camera. It is a full evaluated pass over the scene (tens of seconds at 12k objects): compute it at transaction boundaries, save receipts and render-queue start/complete, never per call. <!-- FC-H07 -->

  • A script declared read-only must leave the signature unchanged; one that moves a review camera is

a mutation. Restore scene.render, image_settings, view_settings, cycles and view-layer pass flags in finally. <!-- FC-H07 -->

  • mosby freeze writes the signature to scene property mosby_frozen_scene_signature;

mosby reopen must reproduce it in a fresh process. <!-- FC-H07 -->

6. Render queues

Hard limits of the bridge (read from the add-on and client source, not from any prompt):

  • execute_blender_code is synchronous; the MCP client socket times out after 300 s and the call

fails client-side while Blender keeps working. <!-- FC-H05 -->

  • A payload may define a callable check_is_finished (return None while running, a result dict when

done): the add-on then holds the connection open up to 3600 s and polls it on its timer. Not available in background mode (_for_cli). Use it for anything between 60 s and ~45 min. <!-- FC-H05 -->

  • Request body cap 10 MiB. Replies carry the result three times (content[0].text,

structuredContent.result, stdout): parse structuredContent.result, store scalars and the code sha, never the raw reply. <!-- FC-H19 --> Why: 52 house scripts rendered synchronously, 16 invented bpy.app.timers queues, 0 used the deferred protocol; the hand-rolled timers yielded to the viewport between frames, which is exactly when Eevee crashed.

Rules:

  1. A live queue only for <= 8 frames, <= 1000 px long side, <= 64 samples. Everything else is

mosby render batch headless on a sha-bound copy (renders/<batch>/<sha12>.blend). Cycles GPU at 1100x750 / 72 samples took ~1 min per view on 8.5k objects / 1.1M polygons. <!-- FC-F14 -->

  1. Before the first frame from a live session: every VIEW_3D shading SOLID

(mosby blender safe-mode), and it stays SOLID until the queue status is complete. Material evidence comes from Cycles renders or llm.render, never from Material Preview. <!-- FC-H03 --> Why: Blender 5.2.0 EXCEPTION_ACCESS_VIOLATION in bNodeTree::ensure_topology_cache via eevee::MaterialModule::material_sync after mesh replacement + a Cycles queue; Python backtrace empty; 11 min down; 8 views re-rendered.

  1. One state file per batch, renders/<batch>/render_job.json: status

queued|running|paused|complete|failed|interrupted, model_sha256_at_start, scene_signature_at_start, jobs[], completed[] {camera, file, sha256, w, h, center_ray_hit}; written atomically after every frame, prior state appended to <batch>.history.jsonl. <!-- FC-H05 -->

  1. The timer callable lives in bpy.app.driver_namespace['mosby_render_queue']; pause = unregister

at a frame boundary; resume re-asserts model_sha256_at_start. An exception inside a timer callback unregisters it silently: wrap the body, persist the traceback, set status failed. <!-- FC-H05 --> Why: pausing the 48-frame queue needed a gc.get_objects() walk; the crash left it running.

  1. No mutation while status is queued|running, the pid is alive and the state file is younger than

10 min; otherwise mark it interrupted and log. A headless batch is invisible to the live-session hook, so this check is yours. <!-- FC-H05 -->

  1. Per frame, snapshot and restore scene.render, image_settings, view_settings, cycles and

view-layer passes in finally; render.filepath is always os.path.abspath(...) (relative paths resolve against the drive root). <!-- FC-H17 -->

  1. Never overwrite a review image. Render to renders/<batch>/.staging/<uuid>.png, verify the IHDR

(struct.unpack('>II', data[16:24]) == (w, h)), move it to its final <camera>_<mode>.png and append the receipt row to renders/<batch>/receipts.jsonl atomically (the model sha lives in the receipt, not the file name). If an existing path must be replaced, os.replace with retries up to 60 s and record replace_attempts. <!-- FC-H06 --> Why: 'Render error (No error) cannot save' on a PNG a reader held open killed the final 48-frame queue twice (resumed from rows 4 and 6).

  1. After the batch run mosby render inspect and mosby audit render_receipts: file sha, IHDR ==

requested resolution, mtime newer than the freeze, signature at completion == at start. <!-- FC-F14 -->

  1. Render once, after the phase gates pass; re-render only frames whose camera frustum intersects

the changed objects' bounds. <!-- FC-F14 --> Why: each geometry change re-rendered 39 + 9 + 33 frames (~1 h GPU); it happened four times.

7. Geometry written from bpy code

Storage is float32 (~1 um resolution at 40 m). Constants come from tools/mosby/constants.py: grid 1e-5 m, weld 5e-6 m, min triangle 1e-12 m2, max storage displacement 1e-5 m, volume tolerance 1e-6 m3.

  • Snap construction polygons with shapely.set_precision(make_valid(p), 1e-5) before triangulating;

call set_precision(g, 0) before any sub-grid buffer. Store meshes origin-local (origin = floor of the bbox minimum), read the STORED coordinates back, transform in float64 and prove on those: nonmanifold edges 0, signed volume > 0, exactly-zero-area triangles 0, max displacement < 1e-5 m. mosby audit mesh_validity does this; never prove on the numpy source arrays. <!-- FC-H10 --> Why: FASCIA98 (4 nonmanifold edges at a T-junction), CEIL_L2_R05 (3), gutter110 (16 triangles <= 1e-12 m2) all passed shapely/manifold checks and failed once stored.

  • Weld only twins <= 5e-6 m and only on non-closed boundary vertices; assert the weld changed the

volume by < 1e-4 m3. Compare staged vs stored vertices at 1e-6 m, never with ==. <!-- FC-H10 -->

  • Write "bounded within 2e-5 m", never "exact"; never assert < 20 um XY agreement on evaluated meshes. <!-- FC-H10 -->
  • No Boolean modifier on walls, slabs, ceilings, gables, roof or finishes. Author prisms from polygons

between datums and clip analytically against roof planes (mosby build shell does this). A Boolean with operand_type='COLLECTION' and INTERSECT keeps only geometry inside EVERY operand; EXACT on coplanar thin solids returned 23 of 83 gables non-manifold. <!-- FC-H09 --> Why: iteration 18 rendered a dollhouse (score 3/10): walls and ceilings gone, roof and furniture left. <!-- FC-D04 -->

  • Booleans only as opening cutters: DIFFERENCE, solver EXACT, one operand collection per wall holding

only the cutters whose bbox overlaps it, left unapplied until P4 is done, then proven: nonmanifold 0, 0 < V <= V_original + 1e-6 m3, every component > 1e-14 m3, polygons > 0. For a UNION the bound is max(Va, Vb) - tol <= V <= Va + Vb + tol. After any clip, |evaluated - expected volume| <= 1 % + 1e-4 m3; a wall with 0 polygons is always a failure. <!-- FC-D04 -->

  • 3D set operations and volume proofs use manifold3d, which is NOT in Blender's Python: vendor the

cp313 .pyd on sys.path and import-check it before the first CSG step (Mesh64 needs C-contiguous float64 vertices and uint64 triangles; check str(status()) == 'Error.NoError'). <!-- FC-H09 -->

  • Create geometry with bpy.data.meshes.new + from_pydata + bpy.data.objects.new +

collection.objects.link; check bmesh.calc_volume(signed=True) > 0 and reverse_faces if not. No mathutils.geometry.tessellate_polygon (duplicate faces on holed/collinear loops); use shapely.constrained_delaunay_triangles after make_valid/set_precision/orient. bpy.ops only via llm.run_op(op, objects=[...], active=...). bpy.context.view_layer.update() before reading matrix_world, bound_box or building a BVH. <!-- FC-H11 -->

  • Identity is the custom property mosby_id (<level>/<role>/<plan id or geometry hash>) plus

mosby_role; validators scope by role, never by name prefix alone. Look objects up by property across bpy.data.objects (names are file-global, so sibling scenes force suffixes); a generated name that would collide is an error, not a .001. No iteration numbers in names; provenance goes into mosby_source / mosby_generated. <!-- FC-H12 --> Why: ~40 audit scripts carried bespoke startswith tuples; repairs were named SOFFIT98_Global_01_01 and SLAB_Correction114_Gap093.

  • Resolve collections under scene.collection.children (bpy.data.collections is file-global). If

ob.data.users > 1, copy the mesh before a per-object vertex or material edit. Any datablock a node tree depends on (TexCoord empties, retired meshes) is linked into the scene or use_fake_user. <!-- FC-H13 -->

  • Materials read from an evaluated mesh (evaluated_get(dg).to_mesh().materials) are temporary IDs.

Convert to names immediately, rebind with bpy.data.materials[name] at assignment, set every material_slot.link = 'DATA' after a mesh swap, restore polygon.material_index after materials.clear(), and run mosby audit material_slots before save and on the reopened file. Always pair to_mesh() with to_mesh_clear() in finally. <!-- FC-H04 -->

  • bpy.ops.object.join() keeps only the attribute and UV layers of the ACTIVE mesh: create every UV

and colour layer name on the active object first and assert they exist afterwards; prefer parenting parts under an Empty when materials differ. <!-- FC-H16 --> Why: leaf cards rendered as squares after the Sapling join dropped leafUV.

  • Source entities reach bpy code only through mosby dwg export / mosby pdf to-entities output,

which is already normalised (closed = flag & 512 or first == last, OCS-mirrored arcs with x' = -x and angles pi - theta swapped, layer handles resolved to names). A Blender script never re-reads raw flags, raw OCS centres or layer handles from a DWG. <!-- FC-H20 --> Why: 21 of 37 door swing arcs were dropped by a region filter on raw OCS coordinates; 13 doors got the wrong hinge or swing.

8. Blender 5.2 API notes that change output

Full table in reference.md. The ones that silently produce wrong results:

  • ShaderNodeTexSky.sky_type is 'MULTIPLE_SCATTERING' ('NISHITA' raises TypeError).

sun_rotation = radians((azimuth_deg - north_deg) % 360) with 0 = scene +Y, taking north_deg from the job (the house used north = -Y); world strength ~0.05 pairs with a 4-4.5 W/m2 sun. <!-- FC-H17 -->

  • use_nodes (material/world/light) and view_settings.look go in try/except; check enum membership

via bl_rna.properties[name].enum_items before assigning. EEVEE id is BLENDER_EEVEE. <!-- FC-H17 -->

  • Exporter and Boolean properties differ by version: filter kwargs by

op.get_rna_type().properties; guard use_self / use_hole_tolerant with hasattr. <!-- FC-H17 -->

  • rotation_mode = 'QUATERNION' before assigning rotation_quaternion; keep the old mode for

rollback. <!-- FC-H11 -->

9. Shell, logs and encodings

  • Run python/blender CLI work through the Bash tool or `subprocess.run(..., encoding='utf-8',

errors='replace'). Windows PowerShell 5.1 >, *>, Tee-Object and Start-Transcript write UTF-16 LE and wrap native stderr as NativeCommandError; grep and Read then find nothing. If PowerShell is unavoidable: | Out-File -Encoding utf8 file.log`. <!-- FC-H15 --> Why: hit at 16:00 (source_completion_regeneration.log, 48 KB UTF-16) and again at 22:08.

  • Windows pipes default to cp1252: one non-ASCII character in hook or CLI output raises

UnicodeEncodeError and the process silently does nothing. Hooks and mosby reconfigure stdout/stderr to UTF-8 at start; do the same in any script you write and keep skill/doc text ASCII. <!-- FC-H15 --> Why: the first end-to-end hook test lost the SessionStart banner exactly this way.

  • Filter known noise before scanning a log for Traceback: MeasureIt 'Cleaning data', pydantic

IncompleteFieldDefinitionWarning, trimesh 'invalid value encountered in divide', dwg-mcp 'I/O operation on closed file' at teardown. <!-- FC-H15 -->

  • Receipts hold {script, code_sha, result scalars, utc}: no vertex dumps (house JSONs reached

12 MB), no raw MCP replies. Keep one checkpoint per freeze generation and move the rest to archive/<epoch>/ with a manifest; never delete checkpoints, reports or renders in place. <!-- FC-H19 -->

10. When the bridge stalls, times out or shows a fresh 'Scene'

Do not retry the payload. In order: <!-- FC-H14 -->

  1. mosby blender probe: blender.exe pids, window titles (open file), dialog-sized windows

(< 500x400 px = crash dialog), TCP check on the job port, newest %TEMP%/*.crash.txt younger than last_seen_utc.

  1. If a crash log exists, its Python backtrace is empty for draw-loop crashes: reason from the last

mutating act in .mosby/acts.jsonl. Mark any render_job.json in queued|running as interrupted. <!-- FC-H03 -->

  1. Relaunch with mosby blender run (opens blender.file, starts the server on blender.port,

records the pid), then verify like the reopen audit: scenes == 1, every VIEW_3D SOLID, material slots resolve, file sha == last receipt. <!-- FC-H02 -->

  1. Resume a queue only if model_sha256_at_start equals the current file sha; otherwise start a new

batch. <!-- FC-H05 -->

  1. A transaction without an APPLIED receipt is failed: reopen its checkpoint and rerun from the

dry-run step. <!-- FC-G07 -->

11. Definition of done for this skill

A Blender session is in order when all of these hold; mosby status shows the gates they feed.

  • mosby blender probe shows exactly one row matching job.json (file, scene, port, pid), zero

dialog windows, no crash log newer than last_seen_utc. <!-- FC-H01 -->

  • Every mutation since the last gate has a row in .mosby/transactions.jsonl with status APPLIED

(or FAILED_ROLLED_BACK plus its <label>_failure.json) and a checkpoint in .mosby/checkpoints/. <!-- FC-H08 -->

  • On the SAVED file: mosby audit mesh_validity, mosby audit material_slots and `mosby audit

coplanar_faces` pass for the touched objects, then house-wide for the class. <!-- FC-E13 -->

  • Live session, if any: sha256(model.blend) and scene_signature equal the last receipt;

is_dirty alone is neither a pass nor a fail. <!-- FC-H07 -->

  • Every render batch: render_job.json status complete, mosby audit render_receipts pass, every

VIEW_3D still SOLID. <!-- FC-H05 -->

  • No .log under the job is UTF-16; no receipt holds a raw MCP reply. <!-- FC-H15 -->

Report in claim language: "applied tx <label>; mesh_validity + material_slots pass on saved sha <12 chars>; renders pending" -- never "done".

All versions