<< All versions

Skill v1.0.0

currentAutomated scan100/100
elliottshort/mosby/interior-fit
──Details
PublishedNovember 16, 2026 at 08:11 AM
Content Hashsha256:0652565c5cd56318...
Git SHAb2b4fa0e60d7
──Files
Files (1 file, 27.8 KB)
SKILL.md27.8 KBactive
SKILL.md · 176 lines · 27.8 KB

name: interior-fit description: Runs Mosby phase P4 (Interior) on a plans-to-Blender job. Use it whenever the work involves furniture, fixtures, appliances, kitchen or bathroom casework, millwork, lighting, cameras for rooms, the furnishing programme, layout, clearance, door swings, walkability or room connectivity, after the P3 finishes gate has passed. It derives programme.json from the drawings first, then builds and places interior objects against evaluated geometry, mounts fixtures on evaluated hosts, lights every room, proves room connectivity at the job's body width, places purpose-tagged ray-verified cameras, and produces the seven p4_interior audit reports (programme_coverage, containment, door_sweeps, fixture_seating, room_connectivity, light_coverage, camera_adequacy) under reports/. argument-hint: "[job-dir] [--level L1|L2] [--room ROOM_ID]" metadata: version: "1.0.0"


Interior fit (P4)

P4 turns a verified shell with finishes into a furnished, lit, camera-ready model. In the house run this phase cost roughly 30 of 119 iterations: 16 of 124 first-pass placements were outside their room and 12 overlapped; a fridge left 81 mm of a 940 mm bypass after "walkable" had been declared on door-throat rays; 104 of 105 wall plates floated 17-26 mm off the plaster; an HVAC register stood 365.8 mm through the roof; two rooms rendered black; cameras needed 7 repair rounds. Every rule below removes one of those. Numbers, tables and field lists are in reference.md next to this file.

Hooks already do the mechanical part: scene-identity preamble and auto-checkpoint on every execute_blender_code (including scripts it runs indirectly), a block on hand edits of plan/entities/reports/status, act and observation counters, and the Stop gate that refuses unbacked "done"/"walkable" claims. This skill does not repeat them.

Inputs: plan_<level>.json (rooms, openings, fixtures, ceiling_regions, voids, levels), entities/<level>/ (raw in-room linework with handles or PDF path ids), decisions.md, brief.md, job.json (acceptance, camera_preferences, lighting mode), the P3-passed model.blend.

Outputs: programme.json; interior objects in model.blend under Mosby/<Level>/<Role> with roles furniture, fixture, appliance, light, camera; scripts/p4_*.py; the seven reports in reports/ plus reports/p4_interior.json; ledger entries for design direction and waivers. Nothing here edits plan, entities, sources or status by hand. <!-- FC-G15 -->

0. Preconditions and working rules

  1. mosby status must show p3_finishes: pass and not stale. Why: the iter-116 plaster build-up un-seated 105 outlets that had been seated earlier; seats made before finishes are final are wasted work. <!-- FC-E04 -->
  2. Read before acting: plan_<level>.json (rooms with label_point, floor_elevation, ceiling_regions, voids; openings with hinge_end, swing_dir, clear_width, floor_elevation; fixtures[]; levels[]), decisions.md, brief.md (deliverable, hero views, style) and the acceptance block of job.json. Work from plan ids, never from remembered room names. <!-- FC-E01 -->
  3. Every act is a script scripts/p4_<subgoal>_<n>.py run with mosby blender headless <script> (preferred) or mosby blender run <script> in the live session. Coordinates live in programme.json or the script, never typed into the console. Why: the house model became an un-regenerable live scene after ~100 staged corrections. <!-- FC-G15 -->
  4. Use evaluated geometry (depsgraph, bpy.context.view_layer.update() first) for every host, obstacle, footprint and clearance. plan.json polygons are semantic: in the house job the evaluated finished wall face sat 32-40 mm inside the plan room boundary (outlet116/fixture118 audits), so anything anchored to a plan polygon embeds or floats by that much. If you must screen offline, measure the offset once and record it in decisions.md. <!-- FC-EM02 -->
  5. Sub-goal order, each closed by its audit: programme -> assets -> placement (containment, door_sweeps) -> fixture seating -> lighting -> connectivity -> cameras -> mosby audit gate p4_interior. Why: fixing downstream before upstream re-rendered 39 rooms four times in the house run. <!-- FC-E02 -->
  6. Observation in P4 means llm.capture_viewport(shading="SOLID") or one headless test frame checked with mosby render inspect; the full render batch is P5 and runs once, after the p4 gate passes. <!-- FC-F02 -->

1. Programme from the drawings (before the first object)

Goal: programme.json at the job root listing every item the drawings require, each with its source handles. mosby build interior writes it before creating any object; review it, then let the build continue. Never furnish from room names or taste. Why: the second (south) kitchen run drawn on A2.2 (DWG handles 2739/273A) was never modelled, and nine items (laundry pair, hood, grill, hot tub, bench...) were missing because the first programme was authored from room names. <!-- FC-E03 -->

  1. Items come from four sources, in provenance order: (a) fixture blocks/symbols from plan.fixtures[] (class, insertion, rotation, mirrored, bbox); (b) casework outlines detected geometrically from ALL linework inside or within 0.10 m of a room polygon, with no layer whitelist: a segment >= 0.5 m parallel (<= 2 deg) to a wall face at 0.45-0.70 m offset is a base run, at 0.25-0.40 m an upper run, a closed rectangle >= 0.5 m is a unit, rectangle pairs 0.55-1.10 m deep are islands/peninsulas; (c) in-room labels and notes (TV, GAS LINE, GRILL AREA) from the P1 text transcription; (d) size tags ((\d+)X(\d+) inches; door tags \d{4}) attached to the nearest symbol or opening within 1.5 m. Why: the missing south run's front line sat on layer AN-ELEV18, not a millwork layer; a layer filter would drop it again. <!-- FC-EM01 -->
  2. Each item carries id, level, room_id, kind, source kind, handles or PDF path ids plus layer, anchor {xy, rotation, mirrored}, outline with tier base|upper for casework, size_tag {raw, length_m, width_m, status}, required, status (planned|modelled|waived|missing). See reference.md section B. <!-- FC-E03 -->
  3. Room type drives contents: derive programme_type per room from its label (pantry, wine, mech, laundry, closet, gym, theater, office, kitchen, bath, bed, living, garage, attic/eave, unknown) and add that type's required equipment as items (mech: AHU, water heater, panel; laundry: washer, dryer; gym: treadmill, bench). Unknown type produces a warning row, never a silent default. Why: pantry and wine shelves got books and vases; the mech room got storage. <!-- FC-E17 -->
  4. PDF-only jobs have zero text objects; tags are SHX glyph strokes. Match digit glyphs, or mosby pdf crop a 300 dpi crop around the symbol and read it by vision, then set size_tag.status to confirmed or unreadable. An unreadable tag on a required item blocks P4 sign-off until confirmed or waived. Why: the primary tub was built 1.70 x 0.80 m against a 36X72 tag (1.8288 x 0.9144 m) and caught only when the owner asked for a scale check. <!-- FC-E10 -->
  5. Any drawn item you will not model gets a waiver row in decisions.md (Design choices table) citing the sheet; programme_coverage counts it as waived, not missing. <!-- FC-E03 -->

2. Design direction (short: the design is the user's)

  1. Source-driven items (casework, fixtures, appliances, lights the drawings require) proceed without asking. Loose furniture, textiles, decor and palette wait for a nod: write two directions (3-5 lines each: period, palette, density, one anchor piece per main room) with mosby ledger add, ask, then execute the chosen one. Do not build a placeholder layout while waiting. Why: the house run burned 3 layout iterations and 9 renders on a throw-away layout during a 45 min wait. <!-- FC-G08 -->
  2. Asset silhouette realism (pointed-polygon flames, identical pillows) is a ledger design note, not a geometry finding; it never displaces an audit. <!-- FC-EM07 -->

3. Assets and factories

  1. Every factory returns only after a closed-solid proof on the STORED float32 coordinates: weld at 1e-7 m, nonmanifold edges 0, signed volume > 0 (flip faces if negative), per-face outwardness for convex parts, zero degenerate triangles; world matrix determinant > 0; intentionally open meshes (curtain, rug) tagged open_surface. The proof goes into mosby_proof. Before the first mosby build interior and after any factory change, run every factory once with default arguments in a headless scratch file (mosby blender headless scripts/p4_factory_selftest_<n>.py) and mosby audit mesh_validity on the result; a failing factory is fixed before any object is placed. Why: 4,811 cuboids had inward normals; spa water rendered flat through three critiqued previews and two lighting iterations chased a normals defect that a post-creation mesh check would have caught. <!-- FC-E05 FC-F13 -->
  2. Root scale is (1,1,1) and no child carries non-uniform scale. Fit height by regenerating the asset with a height argument (min 0.45 m), never by root.scale.z. Why: the house height-fitted utility furniture with scale.z and the export preflight counted the distorted objects. <!-- FC-EM03 -->
  3. Soft goods (cushions, pillows, throws, duvets, drapes) are contact-solved against the evaluated support at 4 mm clearance: translate for rigid soft parts, per-vertex drape for textiles; BVH overlaps 0, contained vertices 0, minimum surface distance <= 25 mm (touching, not floating). A factory that fails its contact audit raises instead of emitting. Why: ten pillows sat 82.5 mm inside sofa backs on five sofas, seen only in a 2400x1600 final after 35 previews had passed. <!-- FC-E06 -->
  4. Continuous surfaces (worktop, hearth, landing, shelf) are one prism from the union footprint with real holes (sink, hob), never abutting or overlapping boxes; coplanar top overlap between parts of one assembly > 1e-4 m2 is a defect. Why: the island counter showed stepped seams in the hero kitchen render. <!-- FC-E16 -->
  5. Factory meshes are cached with a GEOMETRY_REVISION in the key and stamped on the datablock; copy any mesh with users > 1 before editing it; before the p4 gate rebuild every object whose revision is below the current factory revision. Why: a corrected duvet factory left the old intersecting mesh on already-built beds. <!-- FC-E15 -->
  6. Appliances carry their real evaluated depth including pulls and handles (house fridge: 611.5 mm evaluated vs 520 mm nominal). Clearance and aisle statements use evaluated bounds, never nominal factory sizes. <!-- FC-EM05 -->
  7. Tagged fixtures get the tag dimensions passed explicitly to the factory; generic defaults are forbidden when a tag exists. mosby audit programme_coverage checks evaluated vessel bounds within 3 mm of the tag (doors: clear width within 2 mm). <!-- FC-E10 -->
  8. Set on every root: mosby_role (furniture|fixture|appliance|light), mosby_level, mosby_room_id, mosby_stage = p4_interior, mosby_id, mosby_source and the programme item id; validators scope by role, never by name prefix alone. <!-- FC-E03 -->

4. Placement (furniture, casework, appliances)

  1. Containment is tested on evaluated per-part footprints (union of per-child XY hulls or projected faces for meshes with z in [floor, floor + 2.2 m], floor textiles excluded), never one root-level hull and never representative_point(), centroid or bbox-edge arithmetic. Limits: spill outside the evaluated floor polygon <= 1e-4 m2; overlap with the evaluated wall/trim union <= 1e-5 m2; undeclared pairwise overlap <= 0.01 m2; designed touches (stool under counter) declared in mosby_intentional_intersections. Why: sofa in the bathroom, stool centre behind a wall, hood canopy 28 mm into a wall, plant through a pier; L-shaped rooms broke the representative-point rule. <!-- FC-E01 -->
  2. Anchor against-the-wall items by casting the item's rear plane along -normal onto the evaluated wall BVH and standing off 5-20 mm from the hit; plan wall segments are for offline screening only. <!-- FC-EM02 -->
  3. Door sweeps: take hinge and swing from the built hinge object, else plan hinge_end/swing_dir with swing_source, else the source door arc; if still unknown use the conservative union of both hinge sides on the room-side swing and record assumed. Sector = 0..open angle buffered 0.05 m; approach band 0.90 m each side, clipped to rooms. A placement fails on any sector intersection or a band intersection > 0.035 m2. Why: the D05 leaf cut through 24 parts of closet storage; 24 of 37 house doors had no hinge data, so the fallback is the normal case. <!-- FC-E07 -->
  4. Movable parts (leaves, sliding and sectional panels) in their open or parked state must lie inside the room they serve buffered 0.20 m, intersect no wall/frame/ceiling/furniture solid (intersection volume > 1e-6 m3 counts) and no route envelope (0.60 m x 2.10 m). Furniture is not accepted while a leaf intersects it. Why: garage panels parked outside the wall; 35 leaves clipped their casings. <!-- FC-C12 -->
  5. Sloped rooms: the ceiling comes from the envelope, min(ceiling region datum, stair/void override, roof underside - skin), evaluated at the footprint corners and centroid for every room regardless of its name; the asset top stays at least envelope_clearance_m (10 mm) below the envelope, and the placer targets 35-55 mm when fitting height. Why: attic storage had 55 mm to the roof; downlights and an HVAC register pierced the roof and were called a "visual limit". <!-- FC-D12 -->
  6. When a placement fails, propose the nearest free candidate on a 0.22 x 0.30 m grid inside the room eroded 20 mm instead of skipping; a skipped required item is a missing row. <!-- FC-E07 -->
  7. Retired objects: when you replace a root, remove it, or set mosby_superseded_by and hide it from render; audits, counts and exports exclude superseded roots and the gate fails on any superseded root that is still render-visible. Why: retire-by-hiding left ~11k stored meshes for ~7.9k visible in the deliverable. <!-- FC-EM06 -->
  8. After every placement script run mosby audit containment and mosby audit door_sweeps; capture no room views while either fails. <!-- FC-E01 -->

Kitchen and bathroom specifics

  1. Kitchen runs, islands and peninsulas are built from their programme outlines (tier base: top 0.85-0.95 m; tier upper: bottom > 1.2 m), never from a room-name template; an outline with no counterpart is a missing row. Why: the drawn south run was skipped and a fridge and range were invented into the bypass instead. <!-- FC-E03 -->
  2. Appliance doors and drawers (fridge, oven, dishwasher, washer, dryer) are movable parts with an open state; test them like door leaves against furniture, walls and route envelopes, and measure aisles between opposing runs from evaluated bounds including handles. Why: a 939.8 mm bypass became 81 mm once the fridge's real depth was in place. <!-- FC-EM05 -->
  3. The hood sits over the range at the label's position; the counter is one prism with the sink and hob holes cut in; the sink and hob seat into those holes (contact audit), not onto the counter top. <!-- FC-E16 -->
  4. Bathroom fixtures (toilet, tub, shower, sink/vanity) come from fixture blocks with their rotation and mirrored flag; a tagged tub or shower takes the tag size (36X72 -> 1.8288 x 0.9144 m); rebuild mirrored assets instead of applying negative scale. Why: DWG-anchored toilets and showers were the one placement pattern that never needed correction. <!-- FC-E10 -->
  5. Mirrors, vanity lights, towel bars, paper holders and TVs are wall fixtures: seat them by the wall-mount rule in section 5, never by a plan boundary offset. <!-- FC-E04 -->
  6. Shower and partition glass is an obstacle for connectivity, a blocker for room cameras (no ray through glass within 0.5 m) and a surface to seat on for hardware; a bathroom camera that sees the room through the shower glass fails adequacy. <!-- FC-F02 -->

5. Mounting fixtures on evaluated hosts

  1. Ceiling fixtures: ray up from floor + 0.10 m at the fixture XY against the evaluated BVH of ceiling, roof and slab faces; the host is the lower of flat ceiling and roof underside minus skin, with stair voids honoured; rotate the root onto the hit normal; seat the trim against the underside with gap <= seat_gap_max_m (1 mm) and embed <= seat_embed_max_m (2 mm); every vertex stays at least envelope_clearance_m (default 10 mm) inside the exterior roof skin. Never use a room ceiling scalar. Why: garage-stair downlights mounted at the lower ceiling datum left 1.88 m headroom on the stair; three trims came out through the roof. <!-- FC-E04 -->
  2. Wall fixtures (outlets, switches, sconces, vanity lights, mirrors, TVs): cast from >= 5 rear-plate points (hull corners, midpoints, centre) along -normal into the evaluated wall BVH; translate so every sample's gap is <= seat_gap_max_m (1 mm) and its embed <= seat_embed_max_m (2 mm); all samples on one host family with normal alignment > 0.99. Never assert below 20 um on evaluated meshes (float32). Why: 71 outlets and 34 switches floated 17-26 mm because plates were centred on the plan boundary + 18 mm. <!-- FC-E04 -->
  3. Store on the root mosby_mount_kind (ceiling|wall|floor|shelf), mosby_host (host object names) and mosby_host_signature (sha256 of the evaluated host vertex arrays). mosby audit fixture_seating fails any root whose host signature changed; re-run it after any wall, ceiling, roof or finish mutation and before any render batch. Why: the 116 plaster build-up silently un-seated 105 plates found at 118. <!-- FC-E04 -->
  4. A mounted fixture may not reduce any route's headroom below 2.05 m (2.10 m on stairs); mosby audit room_connectivity reports fixtures as blockers like any other object. Why: garage downlights at the nominal ceiling left 0.45 m on the stair route. <!-- FC-F01 -->

6. Lighting

  1. Every non-void room gets a light plan: recessed grid on the room polygon eroded 0.40 m, ceiling from the envelope ray per point, emitter seated like any ceiling fixture. A grid point with headroom < 1.90 m is logged as suppressed {xy, headroom}, never silently skipped. <!-- FC-E08 -->
  2. Fallback chain when the grid yields nothing: surface-mounted fitting at the highest evaluated ceiling/roof point (body clears the support plane by >= 9.5 mm) -> wall sconce at 1.9 m on the tallest wall -> shelf-front strip. A room may never end with zero enabled lights. Why: two eave rooms rendered black (mean RGB 0.001) because the low-headroom rule hid every light. <!-- FC-E08 -->
  3. mosby audit light_coverage: every room with a camera has >= 1 enabled light (collection hide chain walked) inside its polygon between floor + 1.9 m and the envelope, with an unobstructed emitter (a 0.5 m ray along the emitter axis hits nothing). Glazing is reported, not exempting, unless job.json lighting mode is daylight-only. <!-- FC-E08 -->
  4. Exterior world: use the calibrated Blender 5.2 sky template (MULTIPLE_SCATTERING, sun_rotation = radians(compass azimuth), sun disc off, sun lamp 4.5 W/m2, angle 0.8 deg). When the brief's sun differs, run the sky calibration (a cheap headless probe render) and store sky_calibration on the world; never tune strength or exposure by eye; evidence renders are Cycles. Why: the site job was washed out twice (strength 0.35, exposure +0.6) before a probe measured it. <!-- FC-E18 -->
  5. Any test frame with 8-bit mean < 3 or std < 3 is a failed frame: run mosby render inspect to separate camera-in-geometry from no-lights before writing a word about it. <!-- FC-E08 -->

7. Room connectivity (the only source of the word "walkable")

  1. Door-throat rays and hand-listed stair routes are local checks; they never produce "walkable", "clear" or "accessible". Why: 34/34 doors and 543 stations passed while a 0.60 m body could not get from the apartment living room to its kitchen; the owner found it after delivery. <!-- FC-F01 -->
  2. mosby audit room_connectivity works per floor-datum region (rooms grouped by floor_elevation within 5 mm): free space = union(room polygons) + door rectangles (clear width x wall thickness + 0.02 m; omitted for openings declared closed) - wall union - footprints of evaluated render-visible meshes in the band [datum + 0.20, datum + 1.98 m] (open leaves inside the wall strip, helpers and superseded roots excluded), eroded by body radius 0.30 m (0.22 m only in rooms tagged closet/utility or on stair cores, labelled as such in the report, never the default). Anchors: each door centre offset +-0.35 m on both sides, each walkable room's label_point, each stair/landing mouth. PASS when all anchors of a region lie in one component (minus declared separate wings) and regions link through the stair spec. Openings narrower than the body width are reported as narrow opening rows, not hidden by erosion. <!-- FC-E02 -->
  3. The same audit sweeps a body along auto-routes derived from plan door adjacency (every door pair per room plus door -> label_point; tread centres, flight_end and landing points on stairs): radius 0.30 m, headroom 2.05 m rooms / 2.10 m stairs, stations every 0.08 m, probes at 0.25/0.90/1.65/2.00 m and sides -r/0/+r; a floor mismatch > 0.045 m on a level segment is a finding. Report the narrowest choke per room with the blocking object named. <!-- FC-F01 -->
  4. Run it after every script that creates, moves or deletes furniture, fixture, door, stair or wall objects, and before cameras are placed; furniture is "accepted" only after it passes. <!-- FC-E02 -->
  5. Never read an aisle width off a dimension string without verifying which two lines it spans in the vectors. Why: the "4 ft" label taken as the aisle was a window rough opening. <!-- FC-E02 -->

8. Cameras

  1. Every camera has a purpose (room_eye | junction_up | floor_perimeter | exterior_eave | roof_above | fixture_closeup | hero | topdown_ortho) and a target_ref (room id or object prefix); per-room overrides live in job.json camera_preferences, never in code. Why: 14 hand-set room specs were baked into the house library. <!-- FC-F02 -->
  2. mosby audit camera_adequacy tests against the full render-visible evaluated BVH: eye outside every solid; nearest surface >= 0.15 m (target 0.18 m) at eye height; centre ray first hit inside target_ref. room_eye adds: down ray hits floor/stair within 0.045 m, up ray from foot + 0.06 m clear for 1.89 m, fewer than 3 of 9 frustum rays (screen +-0.55, +-0.35) hit within 0.6 m, no ray crosses glass/frame within 0.5 m, eye >= 0.65 m from target. fixture_closeup and junction_up: all 5 target rays first-hit the target set, eye >= 0.45 m. Lights in frustum is a warning. Why: Entry, Master Bed and Living were half-blocked by partitions or a plant; two gutter frames were black from inside geometry; 7 repair rounds each cost a Cycles re-render. <!-- FC-F02 FC-EM04 -->
  3. Composition from a cheap ID/depth frame: floor >= 8 % and ceiling >= 8 % of pixels, a wall-floor and a wall-ceiling junction visible, no single object > 35 %, visible fraction of the target room >= 0.8 (job acceptance keys camera_min_*, camera_max_single_object_fraction). Why: foreground furniture cropped every baseboard out of the review set. <!-- FC-F03 -->
  4. Eye height 1.00 m in attic/eave rooms so the centre ray does not strike the roof slope; 1.50-1.60 m elsewhere. <!-- FC-E08 -->
  5. One junction_up camera per ceiling step (each ceiling_regions boundary and each stair void edge), aimed at the junction band from 1.5-2.5 m, plus the exterior set: one exterior_eave per elevation and one roof_above that frames every roof-mounted fixture. Why: every defect the owner found was above eye level or outside the room frame. <!-- FC-F03 -->
  6. A camera receipt carries the scene signature; a camera whose receipt differs from the current scene is not rendered. Nothing renders in P4 beyond single test frames. <!-- FC-F02 -->

9. Definition of done

mosby audit gate p4_interior writes reports/p4_interior.json and passes only when these seven reports exist, have whole-house scope, status pass, and are bound to the current model sha:

reportprovesFC
reports/programme_coverage.jsonevery required programme item modelled or waived; casework outlines >= 80 % covered by footprints of the right tier (base top 0.85-0.95 m, upper bottom > 1.2 m) with both ends within 0.10 m; tag dimensions within 3 mm (doors 2 mm); room-type equipment present; no unreadable tagsE03, E10, E17
reports/containment.jsonper-part footprints inside evaluated floors, no wall overlap, no undeclared pairwise overlap; root scale 1 and determinant > 0; no superseded root render-visibleE01, E05
reports/door_sweeps.jsonno sector hits, approach bands <= 0.035 m2, open-state parts contained and collision-free, hinge status per door (verified or assumed)E07, C12
reports/fixture_seating.jsonceiling and wall seats: gap <= seat_gap_max_m (1 mm), embed <= seat_embed_max_m (2 mm), alignment > 0.99, host signatures current, envelope clearance >= job value, soft parts touching their supportsE04, D12, E06
reports/room_connectivity.jsonone component per floor-datum region at 0.30 m radius; routes swept at 2.05/2.10 m headroom; chokes and narrow openings listedE02, F01
reports/light_coverage.json>= 1 enabled, unobstructed light per room with a camera; suppressed positions with the fallback usedE08
reports/camera_adequacy.jsonevery required camera passes its purpose checks and composition metrics; receipt bound to the scene signatureF02, F03

Also re-run the class audits that new render-visible meshes can break: mosby audit mesh_validity and mosby audit protrusion (interior objects are checked inside the footprint only; roof accessories carry a declared penetration record). <!-- FC-E05 --> <!-- FC-D12 -->

Claim language for this phase: write "P4 interior built; p4 gate pending" until mosby status shows p4_interior: pass. "walkable" only quotes room_connectivity with its scope, for example "passes room_connectivity (3 datum regions, 0.60 m body, 14 routes, 1,180 stations)". Local passes are PASS_LOCAL(<room or camera set>). <!-- FC-F01 -->

10. When an audit fails

  1. Class, not instance: a failing row means running that audit house-wide before any fix; fix the factory, the placer or the programme, then rebuild every affected root. Why: pillows were fixed per sofa, outlets per wall, lights per room, and each instance fix cost a render generation. <!-- FC-E06 -->
  2. The hooks count acts per sub-goal; after 6 acts without a passing class audit you will be asked to check in. Change the approach (regenerate from programme.json, re-derive from the source linework, swap the factory); do not patch the same instance again. <!-- FC-G04 -->
  3. A host change (wall, ceiling, roof, trim, plaster) in any phase makes fixture_seating and room_connectivity stale; mosby status shows it. Re-run them before the next observation, not after the next render. <!-- FC-E04 -->
  4. A black or near-black frame is a camera-or-lighting failure to diagnose with mosby render inspect (pixel to object), never a lighting score. <!-- FC-E08 -->

11. Typical command sequence

mosby status # p3_finishes pass, not stale
mosby build interior # writes programme.json first; review it, then continue
mosby audit programme_coverage # missing / waived / unreadable-tag rows
mosby blender headless scripts/p4_place_L1_kitchen_1.py
mosby audit containment ; mosby audit door_sweeps
mosby blender headless scripts/p4_seat_L1_fixtures_1.py
mosby audit fixture_seating
mosby blender headless scripts/p4_lights_L1_1.py
mosby audit light_coverage
mosby audit room_connectivity # per datum region; the only source of "walkable"
mosby blender headless scripts/p4_cameras_1.py
mosby audit camera_adequacy
mosby audit mesh_validity ; mosby audit protrusion
mosby audit gate p4_interior # writes reports/p4_interior.json
mosby status # p4_interior: pass -> hand over to review-protocol (P5)

Each blender headless line is one act; observe with llm.capture_viewport(shading="SOLID") or a single test frame through mosby render inspect before the next one. <!-- FC-F02 -->

All versions