Brickheart

Seating exits, touch page and settings plan 21NOV2026

: Written by a human with AI assistance.

Status: seating exits, start in Attach and the no-selection fallback are built and tested on a phone; the touch page, settings registry, placement, saved models, Library and sentence builder are planned only (Open).

What changed in the code

  • Work is on branch seating-exits, two commits on top of main at 7d53c4a. It is not merged (Open).
  • Seating is one state, attach.previewing(). A new confirmSeating() in bench.ts confirms the held part, sets Attach through gizmo.setMode(0) unless told to keep the mode, and returns the camera to iso. The new part stays selected (Decided, tested).
  • Stays in seating: the four preview arrows, Cancel, Undo, Delete and a wall-part tap that swaps the held part. Everything else confirms: the three pair buttons, the green ball, the Confirm button, a tap on a placed part, and a tap on the floor or empty space (Decided, tested).
  • gizmo.ts: a green ball sits in the free up slot above the held part, tap value 7, shown only while seating in Attach or Place. New setMode(m) sets a mode and points its pair button at it. GizmoDeps gets confirm.
  • The app now starts in Attach: gizmo.setMode(0) runs once before the first refreshAll() (Decided, tested).
  • wallTap: Attach with nothing selected returns false, so input.ts runs pick and place at the default position, the same path Place uses. This replaces the "select first" message (Decided, tested on touch).
  • Temporary DBG logging in attach.ts was added to read connector data, then rolled back. grep DBG and tsc were run after the rollback and the tree was reported clean.
  • Diagnosis, no code: after a confirm the pin is the selected part, so Attach looks for open sites on the pin and reports none. That is correct behaviour. The real cause is data: in bundle.json.gz 39888 has one pin row and 32556b has two, but a long pin physically has three sites (end by the ring, ring, far end). Backlog.
  • Plans agreed, no code. Each is in its own roadmap file with the detail:
    • Settings registry: app only, localStorage only, no cookie. URL overrides are allowed but never persisted and never carry settings between pages.
    • Placement: the user chooses per group (filters, actions, history). Touch, desktop and gaze are presets stored as data.
    • Saved models: steps are the history, MPD export reads them, a fork copies ops 0 to X with no redo tail.
    • Library: plays a record through the scene and launches the bench as a fork.
    • Sentence builder: dropdowns in order, shared with voice, gaze and pointer.

Untested

  • Verify: the first wall tap after selecting does nothing. Logs showed activeRow was set, so pick worked. Suspect the cycled type giving previewLocked. The message shown was never confirmed.
  • Verify: on desktop, a wall tap with nothing selected in Attach. The fall-through sits inside if (touchUi && ...).
  • Open: Place shows dead arrows, and the virtual anchor refuses some wall parts. Neither was touched this session.
  • Verify: scene "back" against behind in relate.ts. Twist still says "Fine rotate". bench.status.collidePending is unused.
  • Verify: green-confirm-sphere.md and default-attach-on-selection.md in roadmap/next may now be done. Neither was read, so both were left in place.
  • Verify: the two .dat blocks were assumed to be 39888 then 32556b, by the order of the commands.
  • Open: CLAUDE.md and SESSION-END.md say PowerShell and Windows for writes, but this session wrote on Ubuntu. The owner is fixing CLAUDE.md. site-build.md was not read.

Next three steps

  1. Settings registry, with the saved-model record layout decided first so key names do not collide.
  2. Per-group placement and presets, which fixes the touch page that shows panels and strip together.
  3. Saved-model record and fork rule, then the Library. Two bugs sit in roadmap/now: the touch page and the silent first wall tap.
  • Living design page: not named this session (Open). See the dev roadmap, now, next and later.
  • Working rules: CLAUDE.md in the repo root.
  • Previous bench post: "Bench pair buttons, Place and the ice cube 20NOV2026". Its step 1 (seating exits) and the start-in-Attach item are now done.