Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a6032b3
107b-small phase 1: edit_mesh loop_cut, bridge, solidify, symmetrize,…
AlexZ005 Nov 29, 2026
f7fa6ea
107b F1 phase 1: show {action: "preview"} — a named Library file in t…
AlexZ005 Nov 29, 2026
d63f4be
107b-small phase 2: edit_shape align / boolean / convert (align_objec…
AlexZ005 Nov 29, 2026
587d75e
107b F1 phase 2: files {action: "find"} (find in files, node code inc…
AlexZ005 Nov 29, 2026
0aebec0
107b F1 phase 3: scene {versions, label, pin, restore, rename, duplic…
AlexZ005 Nov 29, 2026
5289874
107b F1 phase 4: files {action: "replace"} — a model replaced in place
AlexZ005 Nov 29, 2026
097717e
107b F1 phase 5: prefab {mode: list | tags | move | rename | update}
AlexZ005 Nov 29, 2026
10af679
107b R1 phase 1: perf_recording (run {record}), set_quality low / hol…
AlexZ005 Nov 29, 2026
4a12ee3
107b R1 phase 2: catalog, listing briefs and pins, five eval requests
AlexZ005 Nov 29, 2026
7fb8b89
107b F1 phase 6a: catalog, briefs and pins, five eval rows
AlexZ005 Nov 29, 2026
2d30523
107b-small phase 3: scene notes, the layer table and the view by voice
AlexZ005 Nov 29, 2026
622e62f
107b-small phase 4: catalog, listing briefs and pins (+2,515 B / +1,1…
AlexZ005 Nov 29, 2026
b2f57b1
107b-small phase 5: eval rows (5), e2e connector-small-107b (two tabs…
AlexZ005 Nov 29, 2026
65544bd
107b F1 phase 6b: e2e connector-files-107b; a replace is undo_last's …
AlexZ005 Nov 29, 2026
cefb1d6
107b-small: svelte-check back to baseline (272/37); the 85a tip retir…
AlexZ005 Nov 29, 2026
d333b93
107b-small: CLAUDE.md entry (S1) + index
AlexZ005 Nov 29, 2026
c01670b
107b F1 phase 6c: no new export files; CLAUDE.md entry; battery.json
AlexZ005 Nov 29, 2026
21be647
107b R1 phase 3: e2e connector-perf-107b (the proof row), CLAUDE.md e…
AlexZ005 Nov 29, 2026
38f8cc7
Merge remote-tracking branch 'origin/lane/107b-small' into lane/107b-…
AlexZ005 Nov 29, 2026
755b26a
Merge remote-tracking branch 'origin/lane/107b-perf' into lane/107b-t…
AlexZ005 Nov 29, 2026
e0755d6
Merge remote-tracking branch 'origin/lane/107b-files' into lane/107b-…
AlexZ005 Nov 29, 2026
5e6f4cd
107b-tier3-base: the wave 3 union's one listing raise to 135 KB (clau…
AlexZ005 Nov 29, 2026
9c09dd8
107b-tier3-base: battery-desk attemptOk reads a missing fail as 0 (sv…
AlexZ005 Nov 29, 2026
d82da15
108 K2 gait spike phase 1: gait driver on the existing IK (per-tab po…
AlexZ005 Nov 29, 2026
7f569db
108 K2 gait spike phase 2: e2e lab + suite (smoke, films, cost, sync,…
AlexZ005 Nov 29, 2026
ac746f0
108 K2 gait spike phase 3: types to the svelte-check baseline (272), …
AlexZ005 Nov 29, 2026
d39cfbb
65 walk phase 1: constraint kind 'walk' (record, normalize), hull on …
AlexZ005 Nov 29, 2026
84211a6
65 walk phase 2: Make it walk (legs from the rest pose: 2, 4, 6, 8 le…
AlexZ005 Nov 29, 2026
738a518
65 walk phase 3: Walk on Legs flow node, rig kind walk + BUG THAT CRA…
AlexZ005 Nov 29, 2026
779de99
65 walk: makeItWalk moves into constraintEdit (walkPreset stays pure)…
AlexZ005 Nov 29, 2026
87e0163
65 walk phase 4: e2e walk-65 (Inspector, two tabs, save + reload, Pla…
AlexZ005 Nov 29, 2026
b1cf66b
65 walk: cost to the brief's limit (50 walkers on ik2 1.76 ms a frame…
AlexZ005 Nov 29, 2026
9d9a2de
65 walk: walk-65's export part follows the export suites' error rule …
AlexZ005 Nov 29, 2026
36dd6c2
65 walk: types to the svelte-check baseline (272 / 37); the gait's an…
AlexZ005 Nov 29, 2026
1eaf86f
65 walk: walk-65 proves the rapier ground tier: in a running sim the …
AlexZ005 Nov 29, 2026
505573c
65 walk: the governor's budget is the larger of 3 ms and 30 % of the …
AlexZ005 Nov 29, 2026
5ff44e4
65 walk biped: a rigged model walks on its deforming bones, its feet …
AlexZ005 Nov 29, 2026
e14d5a0
65 walk biped: walk-65-lab part biped + film case biped (the KayKit K…
AlexZ005 Nov 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,069 changes: 536 additions & 533 deletions CLAUDE-index.md

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3019,6 +3019,81 @@ sub-entry with its line: grep the index for a word, then read this file from tha
collapse goes through the header's own `toggle`, so the stored `inspector:sec:<label>` key is the person's.
Suites: unit `layout107b`, e2e `connector-layout-107b` (one page); `connector-show-panels` section 8 now answers
the apply question.
- **107b S1 (107b-small) — THE SMALL VOICE ASKS BY TOOL.** No new message, no new history kind, no new build file.
MESH: `edit_shape {mesh}` ops loop_cut {cuts, amount = one cut's place, across} / bridge {cuts, twist, invert} /
solidify {distance} on the picked faces, and WHOLE-MESH ops (no select) symmetrize {axis, keep: + | -} / merge
{distance} / recalc_normals / triangulate / quads — `faceEdit.meshOpOnObject`, the toolbox's kernel ops through
`objectKernelCommit` / `commitMeshGeoTriple` (meshgeo), one undo step per call, all or nothing; the loop walk takes a
frame now (`quadTopologyOf` / `faceLoopRingIn`, the session's `faceLoopRing` is a wrapper). Smooth / flat shading is
NOT an op: `setShadingSmooth` records no undo (update_objects materialParams flatShading does it). OBJECTS:
`edit_shape {align}` = align_objects (align.js alignSelection / distributeSelection, `to` = line up WITH that object,
it stays), `{boolean}` = boolean_objects (`meshBoolean.booleanObjectsResult`, the toast-free twin), `{convert}` =
convert_to_mesh (`convertToMesh(uuids, {select: false, report, refuse})`: the person's selection is left alone). Both
booleanObjects and convertToMesh open their own batch ONLY when none is open (`historyBatchOpen`): a nested
beginHistoryBatch FLUSHES the caller's. NOTES (`ai/notesLayers.js`, re-exported by propPaths/index.js so it rides that
chunk): `list_scene {notes}`, `update_objects {uuid: <object>, note}` (author "Claude for <person>", authorKey '' so
their own tab shows it as the assistant's), `{uuid: "note:<id>", note, name, reply}`, `delete_objects
["note:<id>"]`; `annotationsHandler.loadNoteHistory()` loads the undo kind before a tool write (the primed import is
browser-only and async). The listing tells the assistant to keep ONE "Open tasks" note. LAYERS: plain list_scene
lists the table; `{uuid: "layer:<name>", name, color, locked}` (made when new; tidyActions writers, `layertable`
undo), `delete_objects ["layer:<name>"]`; no host question (by hand any peer edits the table). VIEW (`ai/showView.js`,
statically in show's chunk; THIS DEVICE only, every part under show's CAMERA kind, Q4): `show {action: "camera",
note | savedView ("start" = the start view) | move {closer, turn, tilt, orbit, pan}}` (pure `relativeView`), `show
{action: "view"}` state list (a read) / name + save | delete, shading, grid, snap, layers {"<name>": false} hidden
here — checked first, ONE Back. `game_setup {play_camera, openingView: "here"}` sets the start view from the person's
view. Tags were 107b-props' (`tags.add` / `tags.remove`). LISTING TRAP: the diet splits sentences at ". " + a capital
or quote, so a clause added inside update_objects' property-path sentence must join it with "; " or the path
sentence is dropped from the listing. Suites: vitest `small107b`, `small107bObjects`, `small107bView`; e2e
`connector-small-107b` (two tabs, drawing paused).
- **107b R1 (107b-perf) — PERFORMANCE BY TOOL.** Connector `run {record}` = the PERSON tool `perf_recording`
(`ai/perfRecordTool.js`, re-exported from `uiStateTool.js` so it rides that lazy chunk: the base already built 901 of
`MAX_BUILD_FILES` 900; the pure half is `ai/perfRecordCore.js`): `start {mode detailed (default, 1-60 s, default 10) |
light, name, wait (seconds, at most 30)}` · `stop` · `status` · `list` (Profiler rows + `.tpprof` Library files) ·
`read {recording}` · `compare {a, b}` (default the newest two, a = older) · `rename` · `keep`. A RECORDING IS A FACT
ABOUT ONE DEVICE: the tool reaches `perf/recorder.js` and the IndexedDB rows only, never `liveSink` / `liveWire` /
`watchPeer` (a unit test strips comments and greps the module), and nothing it does is sent. No new first-use kind:
start shows a line with Stop (`perf-record-line`, dismissed by a `perfState` subscription however the recording ends),
and start is REFUSED while the person's own recording runs; stop answers `startedBy: you | person`. Reads (personToolReads)
= status / list / read / compare. `read` in words: fps + frame time judged by the limits of the device it was RECORDED
on (`profileOfMeta`: xr / headset UA = vr, phone UA = phone, else desktop; `budgetFor('frameP95')`), stalls (frames
over 100 ms, the worst three with when and `during`, filtered to a safe token), and from a detailed recording the
slowest objects, materials, shadow casters, transparent overdraw, CPU phases (profilerModel `rankings` /
`selectionDetails`); notes are COUNTED, never quoted (they are the person's text). `keep` = `addItemFromBytes` of the
encoded `.tpprof` at the Library root with `share: 'no'` (the `always` sweep never shares it); the Explorer gained the
`perf` kind (`EXTENSIONS.perf = ['tpprof']`, gauge icon, "Performance recordings"), and opening one decodes it into the
Profiler. `set_quality` gained `low`, `hold` (`pinQuality`, the chip) and `full` (`keepFullQuality`, this page
session), all behind the same `gateDevice` Allow / Keep card with Undo; `restore` undoes them through the new
`unpinQuality` / `endKeepFullQuality`. `status.sceneBudget` gained `fps`, `memory {jsHeapMB, geometries}` and `stalls
{slowFrames, of, overMs, longTasksPerMin, longestTaskMs}` (only when non-empty; `slowFrameCount()` reads the module
ring because the report's `frames` parameter shadows it). Suites: vitest `perf107b`, `perfQuality107b`; e2e
`connector-perf-107b` (one page; THE PROOF ROW: two named recordings survive a reload and compare).
- **107b F1 (107b-files) — FILES ROUND 2 BY TOOL.** Actions on the person tools and on `prefab`, no new tool, no wire
message, no save-format change, no new first-use kind. `show {action: "preview", path | id, state: next | previous}`
(showMore.js, rides the PANEL kind) goes through the Preview WINDOW's own `show(entry)` / `step(delta)` via
`fileWindows.requestPreview` (a request names its window; a window mounting after the request still takes it once,
`n`), so the walk is `previewSiblings` in the Explorer's order and clamps; the Explorer lands on the file's folder
first; never pins the Preview tab (a window of its own when none is open); refused while an image edit is unsaved.
`files {action: "find"}` = the Code tab's Find in files (`findSources` + `codeFind`: open tabs' unsaved text first,
every code node, the Library's .js, module sources with `match: ["modules"]`), a READ; a regex with a nested repeat
is refused (`filesCore.findQueryProblem`: it runs in the person's tab). `files {action: "save"}` = the person's own
Ctrl+S (`saveCodeTab`) on their dirty tabs; stale / read-only / unparsable tabs stay unsaved with the reason.
`files {action: "replace", object, path | id | asset, fix}` = the Inspector's Replace model (`replaceModelFromFile`:
same uuid, one `modelreplace` entry; sanity fixes applied unless `fix: false`); `pack:` on a pack piece or a
placeholder = the dialog's card (`replaceWithPackItem`); a placeholder with a Library model = a NEW object (said).
THE UNDO TRAP: the connector's person tools are `extraTools` in agentCore — no history batch, no action-log observer
— so a person-tool scene entry read as "the person at this tab changed it" and blocked undo_last of the call before;
`personToolEdits(name, args)` (personToolNames.js, today only files replace) makes tpAgent run such a call in a batch
under `executeAiTool` (person: true). `scene {versions | label | pin | restore | rename | duplicate}` (sceneTool.js;
pure rows `filesCore.sceneVersionRows` / `resolveVersionId`): saved versions (manifest: labels + pins replicate) AND
this device's checkpoints (`checkpoint:<id>`); label with no version = Save version... on the open scene; RESTORE
always asks the person; alone it is the hand's restore, with others in the scene it is the room PROPOSAL
(`requestLoadPayload`; a saved version's pointer moves in `afterApply`) — MEASURED: a local version load with a peer
in the same room does not hold, the travel's re-sync brings the peer's live objects back. Viewers and guests are
refused (the switch rule). rename = files' scene rename (Travel nodes follow); duplicate = `duplicateScene` (not
opened). `prefab {mode: list | tags | move | rename | update}` (worldTools.js): the Prefabs view's writers, local;
update from objects gives the person the toast Undo (a library edit, never history), `instances: update | reset` is
the one scene edit. Suites: vitest `files107b`; e2e `connector-files-107b` (two tabs, drawing paused; THE PROOF ROW:
a restore with B connected is the proposal on both and applies when B accepts).
- **107b-int-1 (1.87.0) — THE WAVE'S UNION RULES.** (1) `tests/e2e/helpers.cjs` `launch()` appends
`E2E_CHROMIUM_EXTRA_ARGS` (space-separated): a HOST's own Chromium switches, set in that machine's lane env (the Mac's
`--disable-features=WebRtcHideLocalIpsWithMdns`: two headless pages there meet only over host candidates); never in app
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/battery-desk.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const FAIL_LINE = /^\s*(?:✗|FAIL\b|not ok\b)/m;
* suites green whatever they printed. @param {{rc: number|null, fail?: number}} a
*/
function attemptOk(a) {
return a.rc === 0 && !(a.fail > 0);
return a.rc === 0 && !((a.fail ?? 0) > 0);
}

/**
Expand Down
20 changes: 17 additions & 3 deletions src/components/editors/Explorer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,8 @@
scene: 'map', // 21-F4: a level (.tpscene)
anim: 'person-standing', // 57 M1: an animation clip (.tpanim)
splat: 'scan-box', // 102: a Gaussian splat (.ply / .spz / .splat)
tpchat: 'message-square' // 56 C10: a chat of the scene (Scene ▸ chats)
tpchat: 'message-square', // 56 C10: a chat of the scene (Scene ▸ chats)
perf: 'gauge' // 107b R1: a kept Profiler recording (.tpprof)
};
// semantic icon colors (ui.css classes over the --icon-* theme tokens)
/** R22-R7: what a kind is CALLED in the filter. The store values are internal
Expand All @@ -1118,11 +1119,12 @@
prefab: 'Prefabs',
scene: 'Scenes',
anim: 'Animation clips',
splat: 'Gaussian splats'
splat: 'Gaussian splats',
perf: 'Performance recordings'
};
/** R22-R7: the filter's fixed order. Every kind the Explorer can hold, so the menu is
* a statement about the app rather than about this library's current contents. */
const FILTER_KINDS = ['image', 'object', 'splat', 'anim', 'audio', 'video', 'text', 'scene', 'prefab'];
const FILTER_KINDS = ['image', 'object', 'splat', 'anim', 'audio', 'video', 'text', 'scene', 'prefab', 'perf'];
const KIND_COLORS: Record<string, string> = {
image: 'ico-image',
audio: 'ico-audio',
Expand Down Expand Up @@ -7052,6 +7054,18 @@
name: item.name,
onClose: () => gridEl?.focus()
});
} else if (item.kind === 'perf') {
// 107b R1: a kept Profiler recording (.tpprof) opens in the Profiler ("Showing … (not saved)", with Save)
const blob = await itemBlob(item.id);
if (!blob) return showToast(item.name + ' has no bytes on this device yet');
try {
const { decodeTpprof } = await import('$lib/perf/tpprof.js');
const doc = decodeTpprof(new Uint8Array(await blob.arrayBuffer()));
const { openProfiler } = await import('$lib/perf/profilerView.js');
await openProfiler({ doc, label: String(doc.meta?.name || item.name) });
} catch (e: any) {
showToast(item.name + ': ' + String(e?.message ?? e).slice(0, 120));
}
}
}
</script>
Expand Down
16 changes: 15 additions & 1 deletion src/components/editors/FilePreviewWindow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
openPreviewCog,
setPreviewWindow,
setPreviewMode,
closePreviewGuarded
closePreviewGuarded,
previewRequest
} from '$lib/fileWindows';
// uir-preview: Pin to dock + View | Edit (owner 2026-11-09)
import { confirmLeaveEditor, imageEditorDirty as previewEditDirty } from '$lib/image/imageEditorState';
Expand Down Expand Up @@ -633,6 +634,19 @@
if (next) void show(next);
}

// 107b F1: the assistant's show {action: "preview"} goes through this window's own show / step (fileWindows
// previewRequest): once per request, and only the request that names this window
let requestDone = 0;
$effect(() => {
const r = $previewRequest;
if (!r || r.winId !== winId || r.n <= requestDone) return;
untrack(() => {
requestDone = r.n;
if (r.entry) void show(r.entry);
else if (r.delta) step(r.delta);
});
});

/** View | Edit. Edit needs a library image; leaving Edit asks when there are unsaved edits. */
async function setMode(next: 'view' | 'edit') {
if (!target || next === (target.mode ?? 'view')) return;
Expand Down
27 changes: 26 additions & 1 deletion src/components/editors/nodes/EffectNode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
visibility: 'on',
setuniform: 'value',
constraintweight: 'weight', // 102 M7
constrainttarget: 'target'
constrainttarget: 'target',
walkonlegs: 'on' // 65
};
$: handleId = INPUT[data.type] ?? 'in';
const DEFAULT_COLOR = '#ff4000'; // tokens-ok: the picker's starting value (user data)
Expand All @@ -30,6 +31,9 @@
<Socket kind="target" nodeType={data.type} position={Position.Left} id="color" style="top: 88px" />
<Socket kind="target" nodeType={data.type} position={Position.Left} id="vector" style="top: 108px" />
{/if}
{#if data.type === 'walkonlegs'}
<Socket kind="target" nodeType={data.type} position={Position.Left} id="pace" style="top: 58px" />
{/if}
<Socket kind="source" nodeType={data.type} position={Position.Right} />
<div class="flex w-full flex-col gap-1">
{#if data.type === 'lookat'}
Expand Down Expand Up @@ -66,6 +70,27 @@
<input class="nodrag nopan w-12 font-mono" type="text" value={data.constraint ?? '1'}
on:change={(e) => setNodeData(id, { constraint: e.currentTarget.value.trim() || '1' })} />
</label>
{:else if data.type === 'walkonlegs'}
<!-- 65: on / off (or wire a boolean), pace (or wire a number), stepping mode; the walk is the object's own -->
<label class="flex items-center gap-2">
<input class="nodrag nopan" type="checkbox" checked={data.on !== false}
on:change={(e) => setNodeData(id, { on: e.currentTarget.checked })} />
<span>{data.on !== false ? 'walking' : 'legs at rest'}</span>
</label>
<label class="flex items-center gap-2 text-[10px] text-text-muted" title="Step speed: 1 = as set in the Inspector, 2 = twice as fast">
pace
<input class="nodrag nopan w-12 font-mono" type="number" min="0.25" max="4" step="0.25" value={data.pace ?? 1}
on:change={(e) => setNodeData(id, { pace: Number(e.currentTarget.value) || 1 })} />
</label>
<label class="flex items-center gap-2 text-[10px] text-text-muted" title="By distance: a foot steps when the body has carried it a stride. Same feet for everyone: the legs take turns on the shared clock">
stepping
<select class="nodrag nopan text-[10px]" value={data.mode ?? ''}
on:change={(e) => setNodeData(id, { mode: e.currentTarget.value })}>
<option value="">as set</option>
<option value="distance">by distance</option>
<option value="clock">same feet for everyone</option>
</select>
</label>
{:else if data.type === 'visibility'}
<label class="flex items-center gap-2">
<input class="nodrag nopan" type="checkbox" checked={data.on !== false}
Expand Down
Loading