Skip to content

feat(painter): add room-bounded wall trims and atomic room dressing tools - #1311

Open
AxiomeCG wants to merge 4 commits into
pascalorg:mainfrom
AxiomeCG:cut/painter-tools-20261123
Open

AxiomeCG wants to merge 4 commits into
pascalorg:mainfrom
AxiomeCG:cut/painter-tools-20261123

Conversation

@AxiomeCG

@AxiomeCG AxiomeCG commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Split from #1292 onto latest main (upstream/main) with zero conflicts.

Scope

  • Room-bounded wall trims (wall_trim): skirting, crown, and chairRail bounded to room inward stretches or explicit wall spans, plus set_wall_trim MCP/agent operation & schema/lifecycle support.
  • Atomic room dressing (dress_room): layered wall finishes (skirting, chairRail, crown, wainscot, tiles, splashback, accent) with dryRun preview, cabinet run alignment, Dress room inspector controls, and fixture coverage.
  • Re-extracted and compiled Lingui i18n catalogs across all locales.

Local Verification

  • bun run check: passed
  • bun run i18n:check: passed
  • bun run skills:validate: passed
  • bun run check-types: passed
  • bun test in packages/core, packages/nodes, packages/mcp, packages/viewer, packages/editor + root bun run test: all passed
  • bun run build: passed

Note

Medium Risk
Touches core agent scene writes, wall schema/topology merge behavior, and new public MCP tools; well covered by tests but changes are broad across wall trim and finish state.

Overview
Introduces atomic room dressing via new agent tools dress_room and set_wall_trim, plus editor and plumbing so trims and finishes stay room-bounded and apply in one undo step.

dress_room applies up to eight ordered layers per room (skirting/chair rail/crown, wainscot, tiles, splashback, accent): trims through generalized setWallTrim on inward wall stretches; finishes as owner-prefixed dress:<zoneId>: face regions via setWallFaceRegions (hand paint and other rooms preserved, eight-region cap, dryRun). Targeting supports explicit walls, fixtures (where.around), and base cabinet runs (where.alongRun) using new fixtureTarget / runTargets and cabinet span helpers.

set_wall_trim replaces skirting-only behavior with bounded WallTrimSpans on shared walls, conflict detection, and span-aware merge/split/reverse/slice; spatial trim prisms and room readbacks respect partial coverage.

Editor: Dress room panel on enclosed rooms (preview/apply), wall trim stretch UI, dev-only delivery fixture exposing agent tools via window.deliveryFixture. Large test suites cover dressing, regions, trim lifecycle, and MCP fixture scene.

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

This branch has not been deployed

No deployments
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.

1 participant