Repository navigation
verify_scene catches more of what is wrong in a built house, with fewer false alarms - #1203
Merged
Merged
Conversation
…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>
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
marked this pull request as ready for review
November 3, 2026 19:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At a glance
What it brings.
verify_scenetells 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.door_blocked23 → 12;item_too_close34 → 11;item_overlap12 → 2.asIsis gone), and the brief can state the request's form, facade and rooms.run_batchcall is checked call by call;move_nodeandduplicate_nodebecome 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
packages/core/src/spatial/usage-field, including generated furniture outlines kept as one line per polygon.agent-operations;Details
Base and size. Against
pascalorg/editormain (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:
core/src/spatial/usage-field)verify_scene(core/src/agent-operations)design_brief,move_node,duplicate_node(core/src/agent-tools)geometry-script)mcp)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_scenereports 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_briefreads 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.run_batchcall is checked call by call.room_unreachablealready 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_nodeandduplicate_node(the editor's move and duplicate as shared agent tools; annotation justifications inplugin-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 itsNEXT_PUBLIC_mirror in the app): off unless set to1ortrue. This repository does not turn them on.Visible differences from main
asIsis gone. Main made the model declare each catalog piece it wanted under an open source (asIs, with a reason) and view it first; the refusalsbrief_as_is_furnitureandbrief_as_is_not_viewedenforced 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 holdsasIsreads with it dropped.design_briefcall withoutformandfacadeis accepted (theaxis_missingrefusal 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.verify_scenefindings. Warnings unless noted.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_narrowis information.usage_passage_narrowis information when the pinch is one door frame drawn at 0.795 m or more, and says what the frame leaves clear; a whole-roomusage_pocketis dropped whenroom_unreachableof the same result names the room (pockets beside objects stay);usage_clashon an approximate outline warns from 12 cm, and a bed against a window sill or frame is no finding.room_wet_untiled,rooms_no_skirting,rooms_skirting_partial,wall_faces_default,rooms_floors_default,room_no_floor,room_unreachable;circulation_not_measurednames a room whose route the reading cannot measure, instead of calling it unreachable.wall_nearly_aligned,wall_end_short,zones_overlap,floor_unclaimed.verify_sceneis grouped for the model: findings come in groups with a count and a room scope,typeandroominputs narrow the answer, the usage findings are folded per room, and the tool description names the finding types.door_blocked,item_too_closeanditem_overlapcarry the figures and no longer name objects that are designed in place;item_mid_roomnames 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_blocked23 to 12,item_too_close34 to 11,item_overlap12 to 2,item_mid_room14 to 12.run_batch: an unknown tool or an invalid input in a batch is that call's refusal, not a refusal of the whole batch. Understopthe batch stops at that call and applies nothing; underskipthe other calls run.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 withreplace: trueremoves what it leaves out; one withoutreplaceon a converted scene is refused); a conversion stores one module and one adapter, and only when it succeeds; a laterreplace: truecall 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.irc-2021) holds values read in the code's own texts; a project's profile is read fromsite.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.room_unreachableships as a plainverify_scenecheck 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.room_announced_*),rooms_announced_alike,rooms_same_furniture: they read pieces that are not carried, and were fixed rarely or never.roll_design_directionand the style catalogue: not used in any of the real runs; the axis waits.describe_circulationand its overlay: not selected.stair_has_no_landingand the other stair targets: rarely fixed; stair lot.place_in_room,furnish_roomhooks): read by no selected check.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.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.walls_outside_finish_insideandroom_wall_item_wrong_face: raised in no stored run. Back when measured.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.Tests, by suite
On the head of this branch (
e490b8a4c), in a standalone install of the editor repository (its ownbun 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.biome) clean on the 137 changed.tsand.tsxfiles; the files on the E-018 exclusion list that this branch brings are converted toqueryNodes, no exclusion-list entry.turbo run check-typeson the changed packages): 14 of 14 packages. Run inside the private repository's checkout, theeditorpackage shows 2 type errors inceiling-bracket-batch.test.ts, a file this PR does not touch.place_by_relationis matched by name in the brief gate's code and is named in no text the model reads.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.
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, andset_code_profilehad 0 calls in 43 projects. A control run on this head follows.Follow-ups
packages/mcp/README.mdand sentences inwiki/architecture/agent-surfaces.mdformove_nodeandduplicate_nodeare 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.🤖 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_scenefindings 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 expectedmissing_roofinfo.Usage-field checks (flag-gated). A new
@pascal-app/core/usage-fieldexport bundles passage, pocket, clash, and related SDF-style checks; core stays off untilsetSdfChecks/PASCAL_SDF_CHECKS(the editor bootstrap wiresNEXT_PUBLIC_PASCAL_SDF_CHECKS).verify_sceneintegrates these when enabled.Design brief.
asIsis 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_batchvalidates and runs each call separately—skipapplies successful calls and reports per-call refusals;stopstill aborts with rollback. Furnishing gates run per call with session/catalog context.add_objectbatch builds honor the brief gate. Sharedmove_node/duplicate_nodeand notation fixtures for their numeric fields appear in the broader PR;author_scenedocuments whole-payload /replacebehavior in tests.Reviewed by Cursor Bugbot for commit e490b8a. Bugbot is set up for automated code reviews on this repo. Configure here.