Skip to content

verify_scene catches more of what is wrong in a built house, with fewer false alarms - #1203

Merged
wass08 merged 41 commits into
pascalorg:mainfrom
AxiomeCG:feat/pro-delivery-20261102
Nov 4, 2026
Merged

wass08 merged 41 commits into
pascalorg:mainfrom
AxiomeCG:feat/pro-delivery-20261102

Conversation

@AxiomeCG

@AxiomeCG AxiomeCG commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

At a glance

What it brings. verify_scene tells the agent much more of what is wrong in a house it built, with far fewer false alarms. This applies to the chat, Pro and the hosted MCP.

  • 🚶 Usage checks: narrow passages, furniture pockets, clashes, door swings, narrow entries, bed and fixture clearance, blocked openings, a door over a stair.
    • They are off by default in this repository; the private PR turns them on.
    • They were trimmed after counting their findings on 42 saved final scenes: passage warnings 322 → 227, clash warnings 38 → 10.
  • 🧱 Rooms and walls: a wet room left untiled, missing skirting, faces and floors left at the default finish, a room no walk from outside reaches, walls that nearly join or end short, two zones overlapping on one floor.
  • 🪑 Fewer false clearance alarms on twelve stored final scenes, against main:
    • door_blocked 23 → 12;
    • item_too_close 34 → 11;
    • item_overlap 12 → 2.
  • 📋 The brief: the catalog's tags decide what can be placed from the catalog under an open source (asIs is gone), and the brief can state the request's form, facade and rooms.
  • 🧩 Tools:
    • a run_batch call is checked call by call;
    • move_node and duplicate_node become shared agent tools (MCP surface 87 → 89);
    • author_scene's description states the output limit.

On its own this PR changes nothing a person sees until the private PR bumps the submodule and turns the checks on.

How to review

  • About 40 % of the PR (9,549 of 23,568 added lines) is the usage-field checks under packages/core/src/spatial/usage-field, including generated furniture outlines kept as one line per polygon.
  • Then:
    1. the room and wall checks in agent-operations;
    2. the brief;
    3. the batch;
    4. the two MCP tools.
  • Per-area sizes, and what was moved to later PRs (with why), are in "Details" below.
Details

Base and size. Against pascalorg/editor main (cf2ca56f8, #1204) the branch is 41 commits, 149 files, +23,568 / −598 (code 15.9k lines, tests 6.5k, shared case tables and builders 1.1k). It contains a merge of main, so it needs no rebase.

The private PR (pro/private-checks-20261102) bumps the submodule to this one and turns the checks on in the chat, Pro and the hosted MCP. This PR changes the shared contract and the operations; on its own it changes nothing a person sees in the chat until that bump.

Sizes

Added lines against main, by directory:

Area Code Tests and fixtures Added
Usage-field checks (core/src/spatial/usage-field) 6,115 3,434 9,549
Operations: room, wall and zone checks, reachability, brief, batch, verify_scene (core/src/agent-operations) 6,875 3,174 10,049
Agent tools: descriptions, design_brief, move_node, duplicate_node (core/src/agent-tools) 769 379 1,148
Scripted objects: usage shape (geometry-script) 750 220 970
MCP package (mcp) 88 333 421
Rest of core (systems, building, hooks, coherence, registry) 1,257 132 1,389
Skills, wiki, plugin evals, other 42 0 42
Total 15,896 7,672 23,568

What changes for the user, by lane

All three lanes run the same shared tools and operations from this package; what differs is when the checks run and which host switches them on.

Chat and Medium. After this PR plus the private bump:

  • verify_scene reports more of what is wrong with a built house: narrow passages, furniture pockets, clashes and door swings (usage checks, behind a flag the private PR turns on), rooms that owe tile, skirting, a floor or a finish on their faces, rooms no walk from outside reaches, walls that nearly join, two zones overlapping on one floor, and item and door clearances that now carry figures.
  • design_brief reads the request on two more axes, form and facade, both optional (a brief that leaves them out is accepted); an open form states its massing and lists its rooms.
  • Under an open source, technical equipment and plants are placed from the catalog by their tags; furniture is still made.
  • A run_batch call is checked call by call.
  • The usage checks were trimmed after their findings were counted on 42 saved final scenes: a doorway limited only by a standard door leaf is information (passage warnings 322 to 227, 95 now information); a whole-room pocket that room_unreachable already names is dropped; an approximate outline warns from 12 cm and a bed against a window sill or frame is no clash (clash warnings 38 to 10).
  • author_scene's description and the pascal-3d skill state the output limit, that the payload is the whole design, and what a conversion stores and what a later call changes of it.

Pro. The same shared tools and findings. Pro-specific behaviour (its prompt, ledger, finish gate, toolset) is in the private PR.

Hosted MCP. The same findings and brief. Two tools are added to the package surface, move_node and duplicate_node (the editor's move and duplicate as shared agent tools; annotation justifications in plugin-evals/tool-annotation-justifications.json, rows in the OpenAI policy). The tool count goes from 87 to 89.

The standalone MCP binary and the editor app read the usage-checks flag from the environment (PASCAL_SDF_CHECKS, and its NEXT_PUBLIC_ mirror in the app): off unless set to 1 or true. This repository does not turn them on.

Visible differences from main

  1. asIs is gone. Main made the model declare each catalog piece it wanted under an open source (asIs, with a reason) and view it first; the refusals brief_as_is_furniture and brief_as_is_not_viewed enforced it. Now the catalog's function tags and tags decide: technical equipment (sanitaryware, appliances, fixed services) and plants are placed from the catalog under an open source; furniture stays refused. A stored brief that holds asIs reads with it dropped.
  2. The brief has two more axes, form and facade, and a rooms section, all optional fields: a design_brief call without form and facade is accepted (the axis_missing refusal does not apply to them); when given, an open form still states its massing and its rooms, an open facade its treatment (form_massing_missing, rooms_missing, facade_treatment_missing). A stored brief without them still reads.
  3. The open-source refusal names the tools that make the piece and their fields, and a repeat of the same refusal in a session is short (the session keeps what was refused).
  4. New verify_scene findings. Warnings unless noted.
    • Usage (flag on): usage_passage_narrow, usage_pocket, usage_clash, usage_door_swing, usage_entry_narrow, usage_bed_clearance, usage_opening_blocked, usage_fixture_clearance, usage_door_over_stair; usage_turning_narrow is information.
    • Usage rules after the 42-scene count: usage_passage_narrow is information when the pinch is one door frame drawn at 0.795 m or more, and says what the frame leaves clear; a whole-room usage_pocket is dropped when room_unreachable of the same result names the room (pockets beside objects stay); usage_clash on an approximate outline warns from 12 cm, and a bed against a window sill or frame is no finding.
    • Rooms: room_wet_untiled, rooms_no_skirting, rooms_skirting_partial, wall_faces_default, rooms_floors_default, room_no_floor, room_unreachable; circulation_not_measured names a room whose route the reading cannot measure, instead of calling it unreachable.
    • Walls and zones: wall_nearly_aligned, wall_end_short, zones_overlap, floor_unclaimed.
  5. verify_scene is grouped for the model: findings come in groups with a count and a room scope, type and room inputs narrow the answer, the usage findings are folded per room, and the tool description names the finding types.
  6. Clearance findings. door_blocked, item_too_close and item_overlap carry the figures and no longer name objects that are designed in place; item_mid_room names the piece by its kind and lets sofas and stools float; a bed head against a window is no finding; a bed with its bedside tables is read along its own head-to-foot axis. On twelve stored final scenes against main: door_blocked 23 to 12, item_too_close 34 to 11, item_overlap 12 to 2, item_mid_room 14 to 12.
  7. Stairs: a flight of three risers or fewer has no going or comfort target.
  8. run_batch: an unknown tool or an invalid input in a batch is that call's refusal, not a refusal of the whole batch. Under stop the batch stops at that call and applies nothing; under skip the other calls run.
  9. author_scene's description and the pascal-3d skill state facts about the output limit: the limit counts thinking and the call's arguments together; the payload is the whole design (a later payload with replace: true removes what it leaves out; one without replace on a converted scene is refused); a conversion stores one module and one adapter, and only when it succeeds; a later replace: true call with edits changes parts of them (each find text must occur once). The sentence that advertised "in one call" is gone; the skill states these facts, not an order.
  10. The usage checks stay off by default in this repository (a host sets them), and the code table (irc-2021) holds values read in the code's own texts; a project's profile is read from site.metadata.codeProfile, which nothing in this repository writes.

Deliberately left out

  • usage_headroom, usage_ceiling_coverage: reading the roof over a room needs the free-form roof closure (about 2.9k lines) for three fixed findings in fourteen real runs. Back with the roofs.
  • hosting_item_opening_overlap: its import closure is 16 files, 4.0k lines (coherence, cladding, free-form roofs). Back with those lots.
  • The coherence engine (5.3k lines, a checklist in every write answer): room_unreachable ships as a plain verify_scene check instead.
  • room_unlit (information): its roof and attic reading is 13 files, 2.8k lines. Back with the roofs.
  • facade_simpler_than_brief, facade_bounded_without_treatment: they read the built facade through code that is not on main. The facade axis ships as an optional field.
  • room_dressing_plainer_than_brief: measured with a dressing tool this repository does not have; 0 of 9 fixed without it. Back with a dressing lot.
  • The announced-finish findings (room_announced_*), rooms_announced_alike, rooms_same_furniture: they read pieces that are not carried, and were fixed rarely or never.
  • The direction axis, roll_design_direction and the style catalogue: not used in any of the real runs; the axis waits.
  • describe_circulation and its overlay: not selected.
  • Exact stair guards (posts, balusters, glass): the usage checks read each rail as a line; the guards ride with the stair lot.
  • stair_has_no_landing and the other stair targets: rarely fixed; stair lot.
  • Ramps, draped slabs and window treatments in the usage base: dead branches on main's node kinds, cut at no cost to a check.
  • Flow widths and the placement guard (place_in_room, furnish_room hooks): read by no selected check.
  • Setting the code profile (set_code_profile, the Australian NCC and French rows of the code table): no call in 43 stored projects, no panel here, and the private side does not list it. A code lot.
  • The wall-object check (usage_wall_object_protrudes): already withheld from every report (most findings were towel rails and robe fit-outs, which stand out by design). Back with an improvement.
  • Two wall-face checks, walls_outside_finish_inside and room_wall_item_wrong_face: raised in no stored run. Back when measured.
  • The brief's end-of-turn findings, form_simpler_than_brief, form_revised_simpler, facade_revised_simpler, room_dressing_revised_simpler, form_bounded_without_plan, rooms_not_listed: the form finding was raised twice in 19 stored runs and never acted on, the others in none. They come back together with the refusal of an absent form or facade axis.
  • door_handle_on_hinge_side: a joiner write rule with its check; a later joinery lot.
  • Roof pierce, photo, plan and crew checks: private (Architect).

Tests, by suite

On the head of this branch (e490b8a4c), in a standalone install of the editor repository (its own bun install, core and mcp rebuilt first):

  • packages/core: 6,880 pass, 3 skip, 0 fail. Typecheck (tsc -p tsconfig.contracts.json) clean.
  • packages/mcp: 1,419 pass, 0 fail (core and mcp rebuilt first).
  • packages/geometry-script: 66 pass, 0 fail (the two tests that start a local Blender need more than their five-second default when the machine load is above 150).
  • skills:validate: 75 pass, 0 fail.
  • Lint (biome) clean on the 137 changed .ts and .tsx files; the files on the E-018 exclusion list that this branch brings are converted to queryNodes, no exclusion-list entry.
  • The pre-push hook (lint, then turbo run check-types on the changed packages): 14 of 14 packages. Run inside the private repository's checkout, the editor package shows 2 type errors in ceiling-bracket-batch.test.ts, a file this PR does not touch.
  • Rule tests per check: each shipping finding has its rule tests (the usage checks' tables, the room checks, wall joins, zone coverage, reachability, clearance figures, the brief's axes and gate, the batch policy). The per-call batch test was mutation-checked: without the per-object gate it fails. The v2.1 usage rules (standard door leaf, duplicate pocket, approximate clash, bed against a sill) each have a test that failed before the change.
  • Replay, no model call, taken before the v2.1 usage rules above (which change severities): twelve stored final scenes of real runs read through main and through this branch. Passages 93/93, turning circles 130/130, bed clearance 22/22, clashes 17/17, wall joins 6/6 against the full lab version. Two differences, both explained: +4 pockets (the lab reads window treatments as floor prisms; main has no field for them), +2 door swings before the floor-mat rule that this branch carries.
  • Tool-name audit, rerun at this head over every added non-test line: each verb-prefixed snake_case name is a tool defined here or a refusal or reason code; place_by_relation is matched by name in the brief gate's code and is named in no text the model reads.
  • A test cleanup (builders, tables, overlapping cases) is planned as a follow-up; none is in this PR.

Measured (3 Nov 2026, local runs; same inputs and scorer as production; Pro on Claude Opus 5.5)

Two real listings rebuilt from floor plan + front photo (A: two storeys, B: single storey). One run per cell unless noted.

  • Pro furnishes (nearly) every room: rooms furnished 93–100 % on both houses, against 50 % and 11 % in production (corrected scorer: the old reading missed production's catalogue beds), on both delivery builds (4 runs).
  • House A: v2.1 (before the slimming): plan "ready with retouches"; walls within 10 cm of the plan 85.3 % (production 62.9 %; earlier delivery builds 61.9 % and 63.8 %); plan score 64 → 78; rooms furnished 93 %; a bed in all 4 bedrooms. Cost 980 credit-eq and 119 min, against production's 577 and 63. The interior is still "not ready" on circulation: narrowest route 0.49 m. Across 4 runs on the same house, walls within 10 cm range from 62 % to 85 %, so single-run differences are within run-to-run variance.
  • House B: plan score 81 → 69. That run's walls drift (walls within 10 cm 86 → 67 %); the v2.1 rerun, cut twice by test-runner freezes and finished in a third turn, built room by room the same way: walls within 10 cm 67.1 %, openings 65 %, every plan room furnished, 5 beds in 3 bedrooms; its time and cost are inflated by the freezes. Follow-up, not in this PR: shell tools on standby (lab switch; 1 run: 79 %).
  • Medium: its request is byte-identical to production's (tool list, Author line, author_scene text). Walls within 10 cm 94.5 % and 94.8 %, inside production's 82–94 % range (11 runs).
  • Known issue, not fixed here: in long local test runs the browser tab's tool executor stopped taking a pending call three times (13–22 min, with "Failed to get session" 5xx on the server). The tool executor and its tab client are unchanged from this PR's previous head. Under investigation.

These runs were measured on v2.1, before this PR was slimmed. What the slimming removed did not act in those runs: the wall-object check was already withheld from verify_scene, the two wall-face checks and the brief's revision/gap findings never fired in a stored run, the form read-back fired 2 times in 19 runs, and set_code_profile had 0 calls in 43 projects. A control run on this head follows.

Follow-ups

  • Rows in packages/mcp/README.md and sentences in wiki/architecture/agent-surfaces.md for move_node and duplicate_node are still to be written.
  • compare_to_plan (the built house against the imported plan): its closure is the plan-import family, about 11.5k code lines; it ships with the plan lot.
  • A test cleanup (shared builders, tables for repeated cases) after this PR.
  • The code of every item under "Deliberately left out" that this PR moved out is kept on a branch for the later lots.

🤖 Generated with Claude Code


Note

Medium Risk
Changes agent gating, batch semantics, and verification output across chat/MCP/Pro when hosts enable flags; scene mutations are mostly in checks and brief rules rather than core geometry writes.

Overview
Agent verification and circulation. The PR adds a circulation graph (floors, doors, stairs, lifts, outdoor landings) and geometry filtering so reachability and related verify_scene findings can distinguish measured routes from unmeasured ones. Room/wall/zone checks gain cases for overlapping zones, unclaimed floor, short wall ends, and nearly misaligned walls; finished-room fixtures in tests now carry default finishes so “clean” cases ignore expected missing_roof info.

Usage-field checks (flag-gated). A new @pascal-app/core/usage-field export bundles passage, pocket, clash, and related SDF-style checks; core stays off until setSdfChecks / PASCAL_SDF_CHECKS (the editor bootstrap wires NEXT_PUBLIC_PASCAL_SDF_CHECKS). verify_scene integrates these when enabled.

Design brief. asIs is removed: under an open source, only catalog technical equipment and plants may be placed; other catalog furniture is refused with tool hints (add_object, place_design). Refusals can be remembered in session (brief.refusedPieces) for shorter repeats. Optional form (massing), facade (treatment), and rooms (distinct lines, no duplicate same-use rooms) are validated when present; house-scale open forms require a room list.

Batch and tools. run_batch validates and runs each call separately—skip applies successful calls and reports per-call refusals; stop still aborts with rollback. Furnishing gates run per call with session/catalog context. add_object batch builds honor the brief gate. Shared move_node / duplicate_node and notation fixtures for their numeric fields appear in the broader PR; author_scene documents whole-payload / replace behavior in tests.

Reviewed by Cursor Bugbot for commit e490b8a. Bugbot is set up for automated code reviews on this repo. Configure here.

AxiomeCG and others added 30 commits November 2, 2026 16:16
…wall a few degrees off its line

wall_end_short: an end that stops 3-25 cm short of another wall, with the daylight in cm and both
walls named; an end that touches a wall is a joint. wall_nearly_aligned: a wall 0.5-6 degrees off
the line of the walls it carries on from or sits between, when that moves its far end 2 cm or more
off the line; a larger turn is an angle drawn on purpose and is not named. Both are warnings.

verify_scene's issues now carry a severity of info or warning (the MCP output schema allowed only
info). Rule tests for each finding and for walls that are joined square, in a T or in a bay, and the
three shared case rows the core, MCP and chat runners read.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
zones_overlap: two rooms whose clear floors overlap, with the strip's area, width and place; and
floor_unclaimed: floor inside a space the zones cover past half that no zone or stair claims, as a
strip or a region. Both are warnings, quiet under 0.1 m2 (overlap), 0.3 m2 (unclaimed) or 15 cm
wide. Wall bodies are not floor, a stair claims the floor it stands on, rooms in one space with no
wall between them are space_many_rooms and are not named again, and a bare space stays space_no_room.

Rule tests for the geometry, and seven shared case rows: the two findings, the tiling that is quiet
whether the zones meet on the partition's centre line or its faces, the space no zone covers, and
the stair that claims the floor a zone stops short of.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The usage and design checks read a code table (US IRC 2021, Australian NCC, French) and a scene that
names none has no jurisdiction. set_code_profile writes the project's profile on its site, the one
place it lives, with the rest of the site's metadata kept; null clears it, saying what is already
said changes nothing, and a scene with no site or two sites refuses.

The shared operation and contract, the MCP tool (destructive hint: it replaces the profile), its
README row, guide line and annotation justification, five shared case rows read by the core, MCP and
chat runners, and the metadata key's classification.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s, measured on the real shapes

verify_scene reads what a person has to move through: the width of a passage and of a doorway, a
pocket a piece leaves where nobody can stand, two pieces that clash, a door whose leaf stops against
something, an entry that is narrow, an object that stands out from a wall, a turning circle, the
clearance beside a bed or a fixture, a window a piece blocks, a door that opens over stair treads.
Each is measured on the shapes the scene has (walls and their bodies, door and window frames, stair
treads and guards, fences, cabinets, items, and what a scripted object occupies at each height), on a
clearance grid, with the building code the project names for the thresholds. Off unless a host turns
them on (`setSdfChecks`; `PASCAL_SDF_CHECKS` in the standalone app and the MCP).

The circulation graph (the spaces a person walks between, and the doors, openings, stairs and lifts
that join them) and the floor each space stands on are the base the widths are walked on.
A scripted object's footprint is written by the compiler per height band when usage checks are on
(`usageShape`, in the manifest's `shape`); without it an object has no footprint.

Read against main's node kinds only: a stair's guard is its rail line, a hand wide; a room's headroom
under a roof is not read (no ceiling or headroom finding); curtains and blinds, ramps, free-form roofs
and the furniture kind are not read.

Rule tests for the findings (passages, turning circles, pockets, the flag) and for each shape, the
entrance a measure walks from, and the rule tests of the scripted shapes. The two tests of the
model-facing fold of a narrow place come with the verify_scene hub.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… a finish on its faces

Room checks, run with every verify_scene and quiet where the nodes cannot be read to the end:
a wet room (bathroom, shower room, WC, laundry) whose walls are not tiled as one is, to a height on
the walls its fixtures stand against and to the ceiling around its shower; rooms with no skirting,
and a room skirted on some of its faces only; a room with no floor under it; every room at its
default floor, and every wall face at its default, said once when there are three or more; the
finish of an outside face showing on the inside face of the same wall; and a piece hung on the face
of the wall that looks into another room than the one it names.

The readings they stand on: what each room shows (floor, walls, tile, skirting, its pieces), the
faces that look into a room, a wall face's finishes stretch by stretch (`describeWallFaceFinishes`),
and which stretch a fixture stands against. A registered scene check now receives the verify_scene
context, for the materials of the scene.

Read against what main has: the announced-against-built findings and the dressing reading wait for
the brief's rooms section, and two rooms furnished alike is not read.

Rule tests, and the shared finished test room (walls painted on both faces, a floor and wall finish,
a painted ceiling) so a case that says "clean" says it of the checks it is about.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…at is designed

item_overlap, item_too_close and door_blocked say the metres in their messages (the overlap, the gap
and the move that clears it), and read the piece as it is built, not as its box:
- a scripted piece is read by the solids its manifest declares (item-solids), so a chair tucked under
  its table, an oven in its cabinet run or a bedside beside its bed is a designed contact, not a
  finding;
- rugs, runners and mats by their category or name, floor coverings that lie flat, are not obstacles;
  vehicles in a garage and wall panelling and trim are read for what they are;
- a garage door is a door a vehicle drives through: it has no leaf to swing across the floor.
Door keep-outs say which side the leaf opens to and how far, with a small margin.

The two door checks keep their names: findBlockedDoors of layout-clearance reads shapes, the one of
door-clearance reads boxes.

Left out: the placement guard on findValidPlacement (a refusal hook for the usage checks), the
roof's knee walls in the mid-room check, and the drawn-over-terrain slab elevation.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
room_unreachable: a room, zone or open floor that no walk from outside reaches through the doors,
openings, open edges, stairs and lifts the scene models. The circulation graph's reachability read
(`reachability.ts`) already says it; this registers it as a verify_scene check, a warning with the
room's level, and keeps the rest of what that read says out: a room whose route crosses walking
geometry the reading cannot measure is not named (its access is unknown, not missing), and the
storey and stair facts stay with their own checks.

Rule tests: a room behind a partition with no door is named, a door makes it reachable, and
verify_scene carries it only when it is not.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ings folded

The operation returns the findings grouped by type (issueGroups, with their order: what blocks a
way through first, informational last) and, when asked for a room, the room's scope. The model's
reading of the result (the MCP's text; the chat reads it the same way) keeps every warning and
error whole, gives a repeated informational finding as one entry with its count, its elements and
a few examples, and folds the usage findings: a narrow passage is one entry for its place with the
rooms it leads to, a room's turning circle and pocket are one entry for the room, the others come
one by one without the structure their sentence repeats. verify_scene({ type }) returns every
finding of a type whole; verify_scene({ room }) returns a room's findings with every finding naming
its items, doors or windows. The structured result keeps the whole report.

Tests: the fold of usage findings (passages, rooms, blockers first), and the two reads of a narrow
place by room and by type that came with the usage base.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The description named the problem types of main and the wall and floor checks; it did not name
the ones that read a room's surfaces. One sentence now lists them with their types: a wet room
whose walls are not tiled where its fixtures stand, skirting in no room or on part of the wall
faces of a room, floors and wall faces left at the default finish, an outside finish that also
shows on the inside face of a wall, and an item hung on the face that looks into a different room
than the one it names.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A batch used to be refused whole, before any call ran, when one call named an unknown tool or had
an invalid input (unless the tool was independent), or when the design brief's gate refused a
call. The same refusal from a call that ran was handled by onRefusal. The batch now checks each
call as it comes: an unknown tool, an invalid input and a brief refusal are that call's refusal,
and `stop` (the default) applies nothing while `skip` reports it and applies the other calls.

An object a batch builds is checked against the gate before its module is compiled, and a catalog
placement the gate refuses does not make the host read the library. create_unit joins the tools a
batch runs; create_room, add_door and add_window say they are not available in a batch.

Tests: the case table's two rewritten rows and two new ones (stop names the refused call and
applies nothing; skip runs the calls around an unsupported tool and an invalid input), the core
brief tests, the MCP brief test (stop and skip, then a brief opens the made pieces) and two batch
tests (a refusal leaves the authored objects in one undo step; a missing brief refuses an object
before compilation).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The skirting and wet-room findings told the model to call set_wall_trim and dress_room, which this
repository does not have, and two comments named tools it does not carry. The findings now state
the fix as a fact: skirting is the skirting field of the wall, and the wet room is tiled to 1.20 m
on the walls its fixtures stand against and to the ceiling around its shower. The comments name
what is here.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ms included

The brief had seven axes; it now has nine plus the source: form and facade join action, size,
pieces, openings, style, materials and dressing. An open form states its massing (a plan, a number
of volumes, one height or several), an open facade its treatment (cladding, bands, elements,
rhythm), and an open form owes its rooms, one entry per room with its use, what sets it apart, its
finishes and its pieces. design_brief refuses what is missing or inconsistent (form_massing_missing,
form_massing_inconsistent, facade_treatment_missing, rooms_missing, room_distinct_missing,
rooms_identical).

verify_scene reads the brief back against the scene: form_simpler_than_brief where the volumes the
rooms form are plainer than the massing stated, form_revised_simpler, facade_revised_simpler and
room_dressing_revised_simpler where a later brief of the turn states less than the first,
form_bounded_without_plan and rooms_not_listed where a turn built under a brief that fixes no plan
or lists no rooms. The form finding names, per differing axis, what the brief stated against what
is built. The session keeps the first massing, treatment and dressing, and how much the thread had
made when the brief was written.

Under an open source the gate no longer takes a list the model declares (asIs, each piece viewed
first): the catalog's function tags and tags decide. Technical equipment (sanitaryware,
appliances, fixed services) and plants are placed from the catalog; every other catalog piece is
refused, naming the tools that make it and their fields, and furnish_room stays closed. A piece
refused once is answered briefly the second time, by any placing tool, through a reading the
session keeps; a batch carries the keep of a refused call. A stored brief that still holds asIs
reads without it.

Not carried, with the lots that own them: the direction axis and its roll, the style catalogue,
the findings that read the built facade (facade_simpler_than_brief,
facade_bounded_without_treatment), the room dressing and announced-room findings, and
rooms_announced_alike.

Tests: the case table (core, MCP and chat runners read it) with the form, facade revision,
dressing revision and gap rows, the core and MCP brief tests, and the form finding's rows.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… an open source places

README, the pascal-3d skill and the surfaces page describe the brief as nine axes and the source,
what an open form owes (massing, treatment, rooms), what verify_scene reads back, and that under an
open source technical equipment and plants come from the catalog by its tags where they used to
need a declared, previously viewed piece.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
facade_revised_simpler is a brief against brief: a later brief of the turn states fewer cladding
families, bands or elements than the first, or a free rhythm for a regular one. The brief is free
to revise, and what the building has is for the facade tools to say, so the finding informs where
it was a warning.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…loat

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… and classed by its mattress

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A turning circle measures the room, not a defect of a piece: of 161 raised
in the Pro runs the agent fixed 14. usage_turning_narrow is information on
an exact outline too (it was a warning there). A room's entry now leads with
its pocket when it has one and lists the turning circle after it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The table of code thresholds (the IRC's, the NCC's, the French rules), the project's code profile and
the reader that turns a threshold into a value were reachable only by their file path, so a host that
applies a code (the Architect's design check) could not import them from the building package. They
are exported with the rest of it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A reader of a verify_scene result (a completion gate, a ledger) picks the room checks out of
its issues by the same code list the checks use, as it picks the brief's findings by
BRIEF_FINDING_CODES.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A reader of the committed scene (the finish's account of the rooms that hold no furniture) reads
rooms with the reading the room checks use: the room, its use, whether it is indoors, the pieces
standing in it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ed agent tools

move_node re-seats one node on its host with the editor's own rules: openings and wall items clamp
along their wall (clampDoor/WindowToWall, findWallChildOverlap, the place_items wall seat),
ceiling items keep their drop, free nodes move in level plan, roof pieces in segment-local plan,
walls translate by delta. duplicate_node clones subtrees with collectSubtree + cloneNodesInto (the
editor's duplicate-without-move path), the clipboard's root rules and its wallId/roofSegmentId
remap, stair re-aim across levels, and seats offsets through the same move plan. Both are
batchable, registered on the MCP shared lane (the hosted tool list grows by two), and classified in
the tool-annotation packet.

Carried from the R&D branch's first commit (b4e509e25) onto this tree; the later R&D changes that
depend on code this tree does not have (the relative placement, the shelf-row carry, the facade
release) are not in it. move_node's y and rotation read metres and degrees only: the one notation
(N1) is still owed on them (listed in NOT_LENGTHS).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nd duplicate_node

The justification packet already held the three tools (90 in all) but the
policy table the validation compares it with held 87, so
skills:validate failed with "unexpected tool" for each and "must contain
the exact 87-tool inventory". The table gets the three tools with the
hints the packet states: set_code_profile and move_node change the
scene (destructive), duplicate_node adds to it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… is the whole design

Answers that planned and wrote a whole house as one payload have stopped
at the output limit before the payload was complete; the limit counts
thinking and the call's arguments together. A later payload with
replace: true removes what it leaves out, and one without replace on a
converted scene is refused, so the description says the payload is the
whole design and names the native tools that add to the scene a call at
a time. The sentence that advertised "in one call" is gone.

A pin test shows the behaviour the text states: a revision naming only
the ground floor removes the upper floor's walls, and a second payload
without replace is refused.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s the whole design

The conversion workflow no longer says author_scene writes a design "in
one call". It states that the payload holds the whole design and that
one answer's output limit counts the thinking and the payload together,
the facts the tool's description now carries.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The paragraph told an agent not to rebuild a design tool by tool and to
call author_scene once. It now says what author_scene does and what an
answer holds: the payload is the whole design, one answer's output limit
counts the thinking and the payload together, and a revision removes
what its payload leaves out of the previous conversion.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… later call changes of it

A conversion stores one module and one adapter, and only when it succeeds. A later call
with replace: true and edits changes parts of them: each find text must occur exactly once,
and the adapter runs on the whole edited module. The sentence states these as facts, next
to the one on replace and conversion_exists; no order.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Most of its findings were towel rails and robe fit-outs, which stand out from the wall by design. The check's code stays and usageIssues still returns it; it comes back after an improvement, or is removed.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@deepseek.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…names

A whole-room usage_pocket repeats the room_unreachable finding for a closed room; a pocket beside objects and a pocket of a room nothing names are kept.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@deepseek.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
AxiomeCG and others added 11 commits November 3, 2026 15:27
A passage whose pinch is one door frame drawn at least 0.80 m is a standard leaf: the finding stays, as information, and says what the frame leaves clear. A narrower leaf, and a jamb-and-object pinch, still warn.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@deepseek.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
An approximate outline's own error is of the order of 8-10 cm; below 12 cm it informs, an exact outline still warns from 8 cm.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@deepseek.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Like a bed head at a window in usage_opening_blocked, it is a design choice.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@deepseek.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Brings in pascalorg#1202 (the generic foundation and the 8 in seat removed) and pascalorg#1204 (sunken garage).
One conflict, packages/mcp/README.md: the set_code_profile row is kept and the set_ground_level
row is upstream's, which no longer mentions the foundation seat. None of the 13 exports pascalorg#1202
removed is referenced by the delivery's code; core, mcp and geometry-script tests and typechecks
pass on the result.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…robation list

The check was already withheld from every report (most findings were towel rails and robe
fit-outs, which stand out from the wall by design) and nothing outside the usage checks
referenced it. Its code, its tests, the probation list and the three code-table rows only it read
leave; the code stays on rd/editor-later-20261103 and comes back with an improvement.
withoutDuplicatePockets, the other half of scene-check-policy.ts, stays.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…om_wall_item_wrong_face

Neither was raised in any stored run (43 projects). The checks, their tests and the helper only the
first one used (finishWords) leave, with their two entries in ROOM_CHECK_CODES and their mention in
verify_scene's description. The code stays on rd/editor-later-20261103.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…and gaps

The six finding types (form_simpler_than_brief, form_revised_simpler, facade_revised_simpler,
room_dressing_revised_simpler, form_bounded_without_plan, rooms_not_listed) read what the scene
holds against what the brief says. The first was raised twice in 19 stored runs and never acted
on; the other five were never raised in any stored run. They leave as one block, with BRIEF_FINDING_CODES,
the form, facade and dressing readers, the massing reader, the four session fields only they used
(firstMassing, firstTreatment, firstDressing, briefMadeAt), their fixtures and tests, the metadata
rows only the massing reader needed, and the sentences of design_brief's description and the wiki
that described them. The generic readings store of the session record stays: the brief's refused
pieces and run_batch use it. The code stays on rd/editor-later-20261103.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…onger refused

axis_missing refused a brief without the form or the facade axis. With the brief's end-of-turn
findings gone, nothing in this package reads those two axes back, so the refusal forced fields no
check reads. They stay in the contract and keep their shape checks when given (an open form still
states its massing, an open facade its treatment); a brief may leave them out. The refusal comes
back with the findings that read them. The tool description, the wiki and the MCP README follow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…t selected

The tool had no call in 43 stored projects, no panel in this repository, and the private side no
longer lists it. A project's profile is still read from site.metadata.codeProfile, and the IRC
rows the usage checks read stay. Out: the operation, the tool, its output schema, its place in the
MCP package (README row, agent-guide line, annotation justification, OpenAI policy row, its cases
in the shared table), the NCC 2022 and French 2015 rows and their tests, and one usage test that
set the profile through the operation (the profile test beside it sets it on the site). The
package lists 89 tools. The code stays on rd/editor-later-20261103.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The baked outlines of the seven library fixtures were 2,018 lines, one coordinate pair per line.
Each polygon is now one line (261 lines), under a biome-ignore-format note since the formatter would
spread them again. The data is unchanged: a test outside the repository imported the committed file
and the new one and compared them with toStrictEqual and by JSON.stringify (7 assets, 62 bands,
95 polygons, 1,133 points, same key order): pass. Nothing else reads the file's text.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The test imported @modelcontextprotocol/sdk (client, inMemory, server/mcp.js), which the editor's
packages/mcp no longer declares since the move to @modelcontextprotocol/server and /client. It ran
only where a checkout above the editor still carried the old package, and failed with "Cannot find
module" in the editor's own install. It now imports Client from @modelcontextprotocol/client and
InMemoryTransport and McpServer from @modelcontextprotocol/server, as shared-tools.test.ts does.
No other file this branch touches imports the old package.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@AxiomeCG AxiomeCG changed the title Verify more of what the agent builds, brief the request by form, facade and rooms, check a batch call by call verify_scene catches more of what is wrong in a built house, with fewer false alarms Nov 3, 2026
@AxiomeCG
AxiomeCG marked this pull request as ready for review November 3, 2026 19:46
@wass08
wass08 merged commit 9449f7c into pascalorg:main Nov 4, 2026
5 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.

2 participants