Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.
JavaScript 3d3d-assets3d-modelingagent-skillsagent-toolsai-agentsasset-pipelinecligame-assetsglbgltfmcpmcp-servermodel-context-protocolprocedural-generationprocedural-modelingtext-to-3dthreejstypescript
$ KILN_SPIKE_LIVE=0 KILN_RENDER=cpu bun test src scripts --coverage && bun scripts/check-coverage.mjs
bun test v1.3.14 (0d9b296a)
src/mcp-server.smoke.test.ts:
kiln MCP server on stdio (cpu)
(pass) mcp server over real stdio > starts, handshakes, and serves the composed tool surface [488.27ms]
kiln MCP server on stdio (cpu)
(pass) mcp server over real stdio > puts real PNG bytes on the wire for kiln_render [1033.72ms]
kiln MCP server on stdio (cpu)
(pass) mcp server over real stdio > survives a malformed program without dropping the session [664.71ms]
src/mcp-parity.test.ts:
(pass) tool surface parity across transports > the MCP skin advertises its defs verbatim [42.02ms]
(pass) tool surface parity across transports > every MCP def is a registry factory def, not a hand-written one [2.82ms]
(pass) tool surface parity across transports > the MCP surface is composed for GPU capability, not the frozen baseline [3.07ms]
(pass) tool surface parity across transports > both skins share the list/validate defs verbatim [2.25ms]
(pass) tool surface parity across transports > the in-process generate surface keeps the baseline plus a terminal submit [0.95ms]
(pass) tool surface parity across transports > every exposed schema reaches the client as usable JSON Schema [12.99ms]
(pass) tool surface parity across transports > the MCP render def returns an image block, not a description of one [369.15ms]
(pass) tool surface parity across transports > a failing tool call is an error result, not a thrown transport failure [3.46ms]
src/vegetation-prompt.test.ts:
(pass) VEG-017 model-independent subtype prompt skills > selects exactly one relevant subtype recipe and no rejected helper [0.95ms]
(pass) VEG-017 model-independent subtype prompt skills > changes only state/material guidance, preserving the selected recipe [0.20ms]
(pass) VEG-017 model-independent subtype prompt skills > returns no category leakage for non-vegetation intent [0.11ms]
src/uv.test.ts:
(pass) autoUnwrap > a plain boolean unwraps with unit normals [140.82ms]
(pass) autoUnwrap > a shallow-angle boolean shell unwraps with unit normals [108.06ms]
scripts/gallery-history.test.ts:
(pass) published example history > copies exact revisions and identifies the displayed source, rather than assuming the last entry [6.04ms]
(pass) published example history > missing historical records stay unknown [0.45ms]
(pass) published example history > rejects attribution for a different displayed source [2.14ms]
(pass) published example history > rejects changed snapshot bytes before publishing any history files [2.75ms]
(pass) published example history > does not expose files outside the recorded snapshot directory [3.67ms]
(pass) published example history > requires the displayed revision to be represented [2.41ms]
scripts/reliability.test.mjs:
(pass) repository reliability contracts > package metadata declares the CI-supported runtimes [0.48ms]
(pass) repository reliability contracts > the toolchain checker verifies package and workflow metadata [23.12ms]
(pass) repository reliability contracts > coverage is measured, ratcheted, and retained by CI [4.37ms]
(pass) repository reliability contracts > standalone agent context stays concise and names the safety-critical paths [0.31ms]
scripts/check-coverage.test.mjs:
(pass) aggregate coverage checker accepts coverage at the ratchet [24.11ms]
(pass) aggregate coverage checker rejects coverage below either ratchet [24.70ms]
site/scripts/collection.test.ts:
(pass) public gallery excludes archived examples and teaching programs [0.09ms]
site/scripts/provenance.test.ts:
(pass) gallery attribution boundaries > missing author records remain unknown rather than becoming clean-room evidence [0.19ms]
(pass) gallery attribution boundaries > preserves stated isolation and reviewer input without claiming an independent audit [0.06ms]
(pass) recorded gallery credit is bound to exact source bytes [0.46ms]
(pass) recorded exact poster refuses a changed source, artifact or image [0.39ms]
src/contracts/semantic.test.ts:
(pass) semantic metadata contract > creates detached, validated role/relationship/frame/socket metadata [1.64ms]
(pass) semantic metadata contract > rejects duplicate IDs, unknown frame references, and non-rigid frames [0.18ms]
prune: Removed types... Accessor (1)
(pass) semantic metadata contract > survives final GLB export, reload, rewrite, and reload byte-for-byte in node extras [26.97ms]
(pass) semantic metadata contract > does not silently discard malformed data placed under the reserved extras key [1.63ms]
(pass) semantic role vocabulary > semanticRole joins instance segments onto a base and drops blanks [0.16ms]
(pass) semantic role vocabulary > semanticRoleMatches is segment-bounded, not a bare prefix test [0.07ms]
(pass) semantic role vocabulary > hasSemanticRole scans a role list with the same boundary rule [0.07ms]
(pass) semantic role vocabulary > the vocabulary is frozen — values are the published GLB contract [0.06ms]
(pass) semantic role vocabulary > CONFORMANCE: a real engine-built vehicle is fully addressable through the vocabulary [3.79ms]
src/contracts/breadth.test.ts:
(pass) W7 dependency-free breadth contracts > VFX-001 freezes every subtype plus an explicit portable/sidecar requirement [2.95ms]
(pass) W7 dependency-free breadth contracts > VFX-003/004 reject incomplete facing, direction, loop, and runtime-driver contracts [0.09ms]
(pass) W7 dependency-free breadth contracts > SCOPE-001 carries all four scopes and flags only the evidence it measured [0.09ms]
(pass) W7 dependency-free breadth contracts > MOD-001 validates grid/units/socket compatibility and proves a zero-seam two-piece join [1.00ms]
(pass) W7 dependency-free breadth contracts > REF-001 is scheduled only for Bench/flagged/sample and never collapses separate scores [0.69ms]
src/contracts/asset.test.ts:
(pass) asset contracts > SCOPE-001 normalizes mandatory scope from request closure without model metadata [0.74ms]
(pass) asset contracts > migrates only missing legacy scope while keeping VFX contract validation strict [0.51ms]
(pass) asset contracts > VFX-001 normalizes every subtype and enforces category-exclusive portability truth [1.02ms]
(pass) asset contracts > VEG-001 normalizes every supported vegetation growth form into trusted intent [0.39ms]
(pass) asset contracts > VEG-001 rejects category drift and inconsistent bare canopy state [0.13ms]
(pass) asset contracts > publishes one exact frame and all seven canonical categories [0.04ms]
(pass) asset contracts > creates a fully normalized intent with portable PBR as the default [0.51ms]
(pass) asset contracts > copies trusted arrays instead of retaining mutable caller references [0.09ms]
(pass) asset contracts > normalizes explicit character construction and per-clip playback semantics [0.42ms]
(pass) asset contracts > normalizes subtype-specific vehicle assemblies without leaking wheel rules to boats [0.19ms]
(pass) asset contracts > rejects category-specific character and vehicle contract drift [0.22ms]
(pass) asset contracts > normalizes the architecture lifecycle contract while preserving legacy enterable input [0.23ms]
(pass) asset contracts > normalizes dome/rotunda intent and rejects invalid architecture lifecycle values [0.49ms]
(pass) asset contracts > continues to validate pre-lifecycle architecture v1 payloads using legacy semantics [0.20ms]
(pass) asset contracts > normalizes a complete architecture intent with consistent pitch, rise, and portal clearance [0.20ms]
(pass) asset contracts > rejects inconsistent architecture geometry and category-specific fields on another category [0.23ms]
(pass) asset contracts > rejects category/frame drift, invalid extents, and contradictory parts [0.24ms]
(pass) asset contracts > rejects unknown and duplicate capabilities deterministically [0.15ms]
src/__tests__/architecture-expansion-gate.test.ts:
prune: Removed types... Accessor (1)
prune: Removed types... Accessor (1)
prune: Removed types... Accessor (1)
prune: Removed types... Accessor (1)
(pass) W8 G-ROOF-EXPAND provider-free gate > canonical semantic identity ignores codec bytes and sub-tolerance jitter but catches geometry changes [38.64ms]
(pass) W8 G-ROOF-EXPAND provider-free gate > fixed shed/hip candidate fixtures do not beat correct freeform controls [0.20ms]
(pass) W8 G-ROOF-EXPAND provider-free gate > all scaffold arms are exact, byte-stable, and Khronos-clean [0.09ms]
(pass) W8 G-ROOF-EXPAND provider-free gate > existing face-local gable UVs already run ridge-to-eave through export and rebake [0.14ms]
(pass) W8 G-ROOF-EXPAND provider-free gate > pins the complete negative gate report [0.39ms]
src/__tests__/render-edges.test.ts:
(pass) executeKilnCode input validation > throws on empty string [0.18ms]
(pass) executeKilnCode input validation > throws when build is not defined at all [1.31ms]
(pass) executeKilnCode input validation > throws when build is defined but is not a function [1.01ms]
(pass) executeKilnCode input validation > throws when build() does not return an Object3D [0.79ms]
(pass) executeKilnCode input validation > normalizes CRLF line endings [0.77ms]
(pass) renderGLB with non-Standard materials > lambertMaterial is serialized into a valid GLB [5.92ms]
(pass) renderGLB with non-Standard materials > basicMaterial is serialized into a valid GLB [12.35ms]
(pass) renderGLB with non-Standard materials > glassMaterial emits alphaMode=BLEND and doubleSided [5.91ms]
(pass) renderGLB animation track bridging > position tracks are written as translation channels [18.19ms]
(pass) renderGLB animation track bridging > scale tracks are written as scale channels [14.35ms]
(pass) renderGLB animation track bridging > warns (but does not fail) when an animation targets a missing joint [7.28ms]
(pass) bridgeGeometry index componentType > a >65,535-vertex geometry roundtrips with UNSIGNED_INT indices intact [361.27ms]
(pass) bridgeGeometry index componentType > a small geometry keeps compact UNSIGNED_SHORT indices [9.92ms]
(pass) inspectGeneratedAnimation track validation > flags tracks whose name lacks a dot separator [2.42ms]
(pass) inspectGeneratedAnimation track validation > flags tracks using unsupported properties [1.09ms]
(pass) primitive usage tracking > executeKilnCode surfaces primitiveUsage with exact call counts [1.92ms]
(pass) primitive usage tracking > renderGLB copies primitiveUsage into meta [10.57ms]
src/__tests__/local-runtime.test.ts:
(pass) defaults local tools to terminable evaluation and reports trusted overrides honestly [106.78ms]
(pass) rejects unsupported policy and limit overrides instead of silently ignoring them [0.12ms]
(pass) keeps cancellation out of source and cached results [0.27ms]
src/__tests__/composer-world-run.test.ts:
⏳ scene_world_set_sockets
🔧 Tool #1: scene_world_set_sockets
✓ Tool completed
⏳ scene_world_snap
🔧 Tool #2: scene_world_snap
✓ Tool completed
⏳ scene_world_render
🔧 Tool #3: scene_world_render
✓ Tool completed
⏳ scene_world_finalize
🔧 Tool #4: scene_world_finalize
✓ Tool completed
done
(pass) runKilnWorldIntegration > mutates, renders, and finalizes one canonical world authority [68.04ms]
⏳ scene_world_render
🔧 Tool #1: scene_world_render
✓ Tool completed
⏳ scene_world_finalize
🔧 Tool #2: scene_world_finalize
✓ Tool completed
done
(pass) runKilnWorldIntegration > surfaces and returns an exact GPU receipt for persistence [20.34ms]
⏳ scene_world_view
🔧 Tool #1: scene_world_view
✓ Tool completed
⏳ scene_world_finalize
🔧 Tool #2: scene_world_finalize
✓ Tool completed
done
(pass) runKilnWorldIntegration > makes exact current presentation values and aggregate limits model-visible [21.77ms]
⏳ scene_world_set_collision
🔧 Tool #1: scene_world_set_collision
✓ Tool completed
⏳ scene_world_finalize
🔧 Tool #2: scene_world_finalize
✓ Tool completed
done
(pass) runKilnWorldIntegration > routes authored GLB node geometry through the bounded production collider ports [26.16ms]
⏳ scene_world_render
🔧 Tool #1: scene_world_render
✓ Tool completed
⏳ scene_world_finalize
🔧 Tool #2: scene_world_finalize
✓ Tool completed
done
(pass) runKilnWorldIntegration > forwards persisted presentation parameters and accepts only their exact receipt [19.35ms]
⏳ scene_world_render
🔧 Tool #1: scene_world_render
✗ Tool failed
(script exhausted)
⏳ scene_world_render
🔧 Tool #1: scene_world_render
✗ Tool failed
(script exhausted)
(pass) runKilnWorldIntegration > rejects mismatched per-camera output evidence and exact/fallback ambiguity [32.54ms]
⏳ scene_world_render
🔧 Tool #1: scene_world_render
✓ Tool completed
done
(pass) runKilnWorldIntegration > surfaces an ok CPU fallback as degraded evidence without inventing a receipt [8.37ms]
⏳ scene_world_render
🔧 Tool #1: scene_world_render
✓ Tool completed
The world is ready.
(pass) runKilnWorldIntegration > host finalizes a valid exactly rendered final world when the model omits the ceremonial commit call [12.77ms]
⏳ scene_world_render
🔧 Tool #1: scene_world_render
✓ Tool completed
⏳ scene_world_set_sockets
🔧 Tool #2: scene_world_set_sockets
✓ Tool completed
done
(pass) runKilnWorldIntegration > host renders and finalizes the exact world after a later model mutation [16.96ms]
done
(pass) runKilnWorldIntegration > host establishes the exact final render barrier when the model never rendered [5.87ms]
done
(pass) runKilnWorldIntegration > host refuses a degraded terminal render and does not invent exact evidence [10.25ms]
⏳ scene_world_render
🔧 Tool #1: scene_world_render
✓ Tool completed
(pass) runKilnWorldIntegration > host commits an exact final render even when the model-call cap blocks a ceremonial follow-up [5.79ms]
first stage done
(pass) runKilnWorldIntegration > shares one aggregate model-call allowance across compose and integration [18.82ms]
⏳ scene_world_render
🔧 Tool #1: scene_world_render
✓ Tool completed
⏳ scene_world_render
🔧 Tool #2: scene_world_render
✓ Tool completed
(pass) runKilnWorldIntegration > enforces its local sub-cap without consuming the aggregate remainder [19.48ms]
src/__tests__/build-cache.test.ts:
(pass) immutable build reuse > reuses verified disk artifacts across cache instances and treats corruption as a miss [11.86ms]
(pass) immutable build reuse > reuses evaluation for reference-based camera changes through public tools [100.47ms]
(pass) immutable build reuse > coalesces builds and returns independent artifact bytes and metadata [6.27ms]
(pass) immutable build reuse > invalidates source, options and host identity and bypasses unknown dependencies [49.33ms]
(pass) immutable build reuse > bounds memory and does not cache failures [9.59ms]
src/__tests__/persistent-local-cache.test.ts:
(pass) reuses a packaged Node build across fresh CLI host instances and invalidates changed source [10600.57ms]
src/__tests__/composer-world-tools.test.ts:
(pass) Composer V2 world tools > exposes a bounded nine-tool integration surface and authors canonical state [8.91ms]
(pass) Composer V2 world tools > publishes the exact heightfield bytes and binds the returned URI/hash [13.43ms]
(pass) Composer V2 world tools > compiles and publishes a bounded generated collider while simple policies stay inline [10.40ms]
(pass) Composer V2 world tools > resolves only hash-bound named GLB nodes for authored-submesh colliders [29.73ms]
src/__tests__/program-aliases.test.ts:
(pass) requires explicit CAS, preserves immutable source, and rejects collisions and corrupt aliases [26.28ms]
(pass) rejects lost updates from eight independent processes [136.55ms]
src/__tests__/final-texture-lineage.test.ts:
(pass) rebinds every baked material slot to exact final embedded image and GLB bytes [40.62ms]
src/__tests__/dispatch-categories.test.ts:
(pass) dispatch-asset.mjs category contract > mirrors ASSET_CATEGORIES exactly [0.66ms]
(pass) dispatch-asset.mjs category contract > has a brief for every category [0.18ms]
(pass) dispatch-asset.mjs category contract > puts the chosen category into the meta line it asks for [0.11ms]
src/__tests__/prompt.test.ts:
(pass) getSystemPrompt > coordinate prompt derives from the canonical engine frame [3.04ms]
(pass) getSystemPrompt > returns the GLB prompt for mode=glb [0.27ms]
(pass) getSystemPrompt > coordinates the new geometry and portable material vocabulary without prescribing every asset [0.09ms]
(pass) getSystemPrompt > returns the TSL prompt for mode=tsl [0.02ms]
(pass) getSystemPrompt > returns the combined prompt for mode=both [0.03ms]
(pass) STYLE_TEMPLATES > exposes a non-empty template for every supported style [0.07ms]
(pass) buildUserPrompt > includes the chosen style template at the top of the prompt [0.30ms]
(pass) buildUserPrompt > emits budget constraints when budget is provided [0.06ms]
(pass) buildUserPrompt > skips budget block when no budget set [0.04ms]
(pass) buildUserPrompt > emits an Edit Request framing when existingCode is provided [0.04ms]
(pass) buildUserPrompt > emits the standard Task framing when there is no existingCode [0.05ms]
(pass) buildUserPrompt > appends the architecture directive on a fresh architecture generation [0.07ms]
(pass) buildUserPrompt > the architecture directive names the interior-QA tool + the Roof part [0.04ms]
(pass) buildUserPrompt > architecture context carries exactly one executable scaffold per ridge axis and one panel anti-example [0.06ms]
(pass) buildUserPrompt > does not append the architecture directive for other categories [0.04ms]
(pass) buildUserPrompt > CHAR-031 injects only the resolved character body-plan recipe [1.49ms]
(pass) buildUserPrompt > appends the per-category rig context for prop / environment / vfx [0.11ms]
(pass) buildUserPrompt > injects trusted W7 scope, modular grid, and VFX contracts into fresh prompts only [0.77ms]
(pass) buildUserPrompt > VEG-018 injects only resolved vegetation structure and material-mode guidance [0.29ms]
(pass) buildUserPrompt > per-category rig context is dropped when refining (existingCode set) [0.05ms]
(pass) buildUserPrompt > does not append the architecture directive when refining (existingCode set) [0.03ms]
(pass) buildUserPrompt > prepends an Original Request section (intent -> code -> edit order) when refining [0.07ms]
(pass) buildUserPrompt > omits the Original Request section when refining without originalPrompt [0.04ms]
(pass) buildUserPrompt > ignores originalPrompt entirely for fresh generation (no existingCode) [0.04ms]
(pass) buildUserPrompt > omits both animation blocks when refining so the edit request governs [0.04ms]
(pass) buildUserPrompt > emits the No Animation block when includeAnimation=false [0.03ms]
(pass) buildUserPrompt > emits the Animation Requirements block by default [0.03ms]
(pass) KILN_REFINE_DIRECTIVE > is a non-empty editor-framing directive that points at the refine sections [0.03ms]
(pass) unified tool surface prompt > toolSurface:unified swaps in the examples-folded api and the unified visual-qa [0.27ms]
(pass) unified tool surface prompt > the unified visual-qa nudges the interior view for buildings [0.03ms]
(pass) unified tool surface prompt > the unified vision loop explains bounded captures and object-relative orbit inspection [0.05ms]
(pass) unified tool surface prompt > unified takes precedence over apiSurface:trimmed (which points at the removed list tool) [0.25ms]
(pass) unified tool surface prompt > default (current) surface is unchanged [0.05ms]
(pass) unified tool surface prompt > unified directives use kiln_finalize / kiln_render, never kiln_submit / kiln_screenshot [0.05ms]
(pass) reference-image grounding > requires comparison-driven iteration in both tool vocabularies [0.14ms]
src/__tests__/build-cache-review.test.ts:
(pass) does not reuse source that explicitly depends on ambient randomness or time [14.55ms]
(pass) cache is optional for a successful result containing non-cloneable metadata [21.48ms]
(pass) input fingerprint and evaluation use the same options snapshot across awaits [21.30ms]
(pass) completed builds are reused with request signals and an aborted request never receives a hit [13.22ms]
(pass) cancelling one simultaneous cache miss does not cancel another request [16.29ms]
src/__tests__/csg-uv-integrity.test.ts:
(pass) CSG operand guards > an operand with no meshes is named, not absorbed [5.07ms]
(pass) CSG operand guards > the message tells the model what the realistic cause is [0.45ms]
(pass) CSG operand guards > a ragged triangle list names the mesh, not "Not manifold" [0.49ms]
(pass) CSG result guards > a disjoint intersect throws instead of shipping an invisible part [1.33ms]
(pass) CSG result guards > a cutter that swallows the body throws with that as the hint [1.02ms]
(pass) CSG result guards > a legitimate empty-ish operation still succeeds when it makes a solid [6.38ms]
(pass) autoUnwrap guards > an empty geometry says so instead of returning zero vertices [0.45ms]
(pass) autoUnwrap guards > a ragged index list is rejected [0.17ms]
(pass) post-CSG unwrap, textured operands > union: the boolean drops UVs and the unwrap gives usable ones back [29.44ms]
(pass) post-CSG unwrap, textured operands > diff: the boolean drops UVs and the unwrap gives usable ones back [30.20ms]
(pass) post-CSG unwrap, textured operands > intersect: the boolean drops UVs and the unwrap gives usable ones back [26.52ms]
(pass) post-CSG unwrap, textured operands > hull: the boolean drops UVs and the unwrap gives usable ones back [29.70ms]
(pass) post-CSG unwrap, textured operands > diff with a cylinder cutter: the boolean drops UVs and the unwrap gives usable ones back [39.17ms]
(pass) post-CSG unwrap, textured operands > the atlas is not necessarily square — read width/height, not resolution [29.93ms]
(pass) post-CSG unwrap, textured operands > a chain of booleans stays unwrappable, and unwrapping early is wasted [53.94ms]
src/__tests__/composer-scene-raster.test.ts:
(pass) rasterizeComposedScene > renders a multi-asset scene from the 3 default angles into one grid PNG [126.97ms]
(pass) rasterizeComposedScene > a single custom view direction yields a one-cell image [31.84ms]
(pass) rasterizeComposedScene > an empty scene still produces a (blank) grid without throwing [12.10ms]
src/__tests__/texture-resolver-boundary.test.ts:
(pass) H6 generated texture boundary > raw loadTexture is absent while the one-argument approved-ID loader is present [0.58ms]
(pass) H6 generated texture boundary > rejects non-approved generated source ./relative.png before any host resolver call [0.69ms]
(pass) H6 generated texture boundary > rejects non-approved generated source /absolute/texture.png before any host resolver call [0.06ms]
(pass) H6 generated texture boundary > rejects non-approved generated source C:\absolute\texture.png before any host resolver call [0.03ms]
(pass) H6 generated texture boundary > rejects non-approved generated source ../traversal.png before any host resolver call [0.01ms]
(pass) H6 generated texture boundary > rejects non-approved generated source https://textures.example/asset.png before any host resolver call [0.01ms]
(pass) H6 generated texture boundary > rejects non-approved generated source kiln.texture.not-approved.v1 before any host resolver call [0.01ms]
(pass) H6 generated texture boundary > generated code cannot pass bytes, hashes, resolver objects, or a second options argument [0.34ms]
(pass) H6 generated texture boundary > approved embedded IDs work in generated code without exposing resolver internals [5.82ms]
(pass) H6 generated texture boundary > bounded host bytes work only through an injected resolver bound to an approved ID [3.96ms]
(pass) H6 generated texture boundary > historical raw generated programs fail instead of reading a relative path [1.80ms]
src/__tests__/geometry-gains.test.ts:
(pass) snapTo > translates a floating part into contact with its host [0.95ms]
(pass) snapTo > is a no-op when already in contact [0.21ms]
(pass) floating-part fix hints > warning carries the minimal gap vector and the snapTo suggestion [3.16ms]
(pass) orientation advisory > flags a sideways vehicle (Z-dominant), passes an X-forward one [2.69ms]
(pass) orientation advisory > intent-only render uses the trusted vehicle profile for inspection and runtime cost [380.34ms]
(pass) settleContacts > closes a small gap and reports the moved part; leaves big gaps alone [3.17ms]
(pass) tri estimate upgrades > for-loop literal bounds multiply the estimate [2.83ms]
(pass) tri estimate upgrades > gearGeo and subdivide contribute estimates [0.56ms]
src/__tests__/prompt-api.test.ts:
(pass) catalog arity parity > the catalog documents at least as many params as the impl declares [1.39ms]
(pass) system prompt embeds the generated catalog > every cataloged primitive name appears in the system prompt [0.64ms]
(pass) system prompt embeds the generated catalog > the sections compose to the full prompt in canonical order [0.16ms]
(pass) system prompt embeds the generated catalog > api section keeps the load-bearing hand idioms [0.87ms]
(pass) system prompt embeds the generated catalog > api section snapshot (review prompt changes in this diff) [2.16ms]
(pass) unified api surface (examples folded in) > includeExamples:false is byte-identical to the default rendering [1.10ms]
(pass) unified api surface (examples folded in) > includeExamples:true folds an `e.g.` line per primitive (longer than default) [0.20ms]
(pass) unified api surface (examples folded in) > multi-line examples are collapsed to a single logical comment (no raw newline-in-example) [0.48ms]
(pass) unified api surface (examples folded in) > unified api snapshot (review folded examples in this diff) [0.14ms]
(skip) kiln-glb skill files match the catalog render > references/primitives.md is up to date (bun run kiln:gen-skill)
(skip) kiln-glb skill files match the catalog render > SKILL.md generated block is up to date (bun run kiln:gen-skill)
src/__tests__/kiln-edit.test.ts:
(pass) kiln_edit > applies an exact-string edit and returns the patched program [2.54ms]
(pass) kiln_edit > leaves every line it did not touch byte-for-byte identical [0.42ms]
(pass) kiln_edit > applies several edits in the order given [0.60ms]
(pass) kiln_edit > refuses an ambiguous edit rather than guessing which one was meant [0.29ms]
(pass) kiln_edit > applies nothing at all when a later edit fails [0.15ms]
(pass) kiln_edit > reports a diff of what actually changed [0.37ms]
(pass) kiln_edit > renders the patched program by default, so the change is visible in one call [162.60ms]
(pass) kiln_edit > sends the render image exactly once, not in two places on the wire [133.41ms]
(pass) kiln_edit > surfaces a build failure in the render rather than pretending the edit was wrong [1.79ms]
src/__tests__/composer-compaction.test.ts:
(pass) SceneCompactionManager.reduce > collapses the whole transcript to one synthetic user message [2.06ms]
(pass) SceneCompactionManager.reduce > the synthetic message carries the program, counts, and a finalize directive [0.45ms]
(pass) SceneCompactionManager.reduce > is a no-op when there is nothing to compact (<= 1 message) [0.08ms]
(pass) SceneCompactionManager.reduce > reports compaction telemetry via onCompact [0.28ms]
(pass) SceneCompactionManager.initAgent (message-count trigger) > compacts before a model call once the transcript exceeds maxMessages [0.43ms]
(pass) SceneCompactionManager.initAgent (message-count trigger) > does not compact while the transcript is within maxMessages [0.18ms]
src/__tests__/geometry-export.test.ts:
(pass) exports equation, deformation, sweep and loft helpers from generated source [91.07ms]
src/__tests__/primitives.test.ts:
(pass) createRoot / createPivot / createPart > createRoot returns a named Object3D [0.09ms]
(pass) createRoot / createPivot / createPart > createPivot positions the joint and parents it [0.10ms]
(pass) createRoot / createPivot / createPart > createPivot defaults position to origin and works without a parent [0.06ms]
(pass) createRoot / createPivot / createPart > createPart returns a Mesh by default and adds it to the parent [0.15ms]
(pass) createRoot / createPivot / createPart > createPart applies position/rotation/scale options [0.27ms]
(pass) createRoot / createPivot / createPart > createPart with pivot=true returns the wrapping pivot [0.26ms]
(pass) attachment helpers > beamBetween creates a named cylinder centered between endpoints [0.59ms]
(pass) attachment helpers > beamBetween rejects zero-length beams [0.16ms]
(pass) attachment helpers > createLadder creates two continuous rails and evenly named rungs [0.86ms]
(pass) attachment helpers > createWingPair attaches mirrored wing roots at +/-rootZ [0.63ms]
(pass) building helpers > wallWithOpening: solid wall is one panel [0.42ms]
(pass) building helpers > wallWithOpening: a door cuts a real gap (two jambs + a lintel, no sill) [0.20ms]
(pass) building helpers > wallWithOpening: a window adds a sill apron under the gap [0.25ms]
(pass) building helpers > room: hollow shell of four walls + a floor, enterable by default [0.76ms]
(pass) building helpers > room: openings can be placed on any wall [0.46ms]
(pass) building helpers > createRoofPlanes: two slopes fall AWAY from each other from one ridge [0.95ms]
(pass) building helpers > createStairs: named treads climb up and along; risers included [0.65ms]
(pass) building helpers > createStairs: rejects no steps and a degenerate flight [0.21ms]
(pass) geometry primitives produce real Three.js geometries > boxGeo [0.10ms]
(pass) geometry primitives produce real Three.js geometries > sphereGeo with default and custom segments [0.64ms]
(pass) geometry primitives produce real Three.js geometries > cylinderGeo [0.15ms]
(pass) geometry primitives produce real Three.js geometries > axis-specific cylinder helpers align length to requested axis [0.48ms]
(pass) geometry primitives produce real Three.js geometries > cylinderOnAxis with Y normal matches cylinderGeo bbox at origin [0.70ms]
(pass) geometry primitives produce real Three.js geometries > cylinderOnAxis with X normal matches cylinderXGeo bbox [0.49ms]
(pass) geometry primitives produce real Three.js geometries > cylinderOnAxis with Z normal matches cylinderZGeo bbox [0.32ms]
(pass) geometry primitives produce real Three.js geometries > cylinderOnAxis with arbitrary normal lies along the requested vector [0.25ms]
(pass) geometry primitives produce real Three.js geometries > cylinderOnAxis rejects zero-length normal [0.19ms]
(pass) geometry primitives produce real Three.js geometries > cylinderOnAxis radiusTop option produces a frustum [0.16ms]
(pass) geometry primitives produce real Three.js geometries > taperConeGeo with radiusTop=0 matches coneGeo bbox [0.29ms]
(pass) geometry primitives produce real Three.js geometries > taperConeGeo with equal radii matches cylinderGeo bbox [0.15ms]
(pass) geometry primitives produce real Three.js geometries > taperConeGeo emits a true frustum (top !== bottom !== 0) [0.08ms]
(pass) geometry primitives produce real Three.js geometries > taperConeGeo axis="x" aligns height along +X [0.15ms]
(pass) geometry primitives produce real Three.js geometries > taperConeGeo axis="z" aligns height along +Z [0.11ms]
(pass) geometry primitives produce real Three.js geometries > sandbox geometry cache returns the same ref for identical args [0.17ms]
(pass) geometry primitives produce real Three.js geometries > sandbox geometry cache returns a new ref when args differ [0.13ms]
(pass) geometry primitives produce real Three.js geometries > sandbox geometry cache is per-execution — fresh sandbox = fresh cache [0.17ms]
(pass) geometry primitives produce real Three.js geometries > cache hits still tick the usage counter [0.14ms]
(pass) geometry primitives produce real Three.js geometries > cache spans different geometry families independently [0.31ms]
(pass) geometry primitives produce real Three.js geometries > sandbox primitives stamp userData.kilnRanges with one entry covering all triangles [0.13ms]
(pass) geometry primitives produce real Three.js geometries > kilnRanges name carries the primitive function name [0.13ms]
(pass) geometry primitives produce real Three.js geometries > different primitive calls get distinct kilnRange call ids [0.11ms]
(pass) geometry primitives produce real Three.js geometries > coneGeo with default segments [0.09ms]
(pass) geometry primitives produce real Three.js geometries > axis-specific cone helpers point toward +X and +Z [0.37ms]
(pass) geometry primitives produce real Three.js geometries > capsuleGeo with default segments [0.44ms]
(pass) geometry primitives produce real Three.js geometries > axis-specific capsule helpers align length to requested axis [0.35ms]
(pass) geometry primitives produce real Three.js geometries > torusGeo with custom segments [0.44ms]
(pass) geometry primitives produce real Three.js geometries > planeGeo [0.08ms]
(pass) geometry primitives produce real Three.js geometries > wingGeo builds a swept trapezoid panel extending along +Z [0.13ms]
(pass) materials carry option settings > gameMaterial defaults [0.20ms]
(pass) materials carry option settings > gameMaterial overrides applied [0.10ms]
(pass) materials carry option settings > basicMaterial defaults and transparency override [0.29ms]
(pass) materials carry option settings > glassMaterial is transparent and double-sided [0.08ms]
(pass) materials carry option settings > glassMaterial accepts custom options [0.08ms]
(pass) materials carry option settings > lambertMaterial defaults and overrides [0.11ms]
(pass) keyframe track helpers > rotationTrack produces a QuaternionKeyframeTrack with 4 values per frame [0.20ms]
(pass) keyframe track helpers > positionTrack produces a VectorKeyframeTrack with 3 values per frame [0.11ms]
(pass) keyframe track helpers > scaleTrack produces a VectorKeyframeTrack with 3 values per frame [0.09ms]
(pass) keyframe track helpers > createClip wraps tracks in a named AnimationClip [0.11ms]
(pass) common animation patterns > idleBreathing produces a 3-keyframe positionTrack on the body joint [0.15ms]
(pass) common animation patterns > bobbingAnimation oscillates a root [0.10ms]
(pass) common animation patterns > spinAnimation defaults to Y axis [0.20ms]
(pass) common animation patterns > spinAnimation accepts an explicit axis [0.11ms]
(pass) countTriangles / countMaterials / getJointNames > countTriangles counts both indexed and non-indexed geometry [0.36ms]
(pass) countTriangles / countMaterials / getJointNames > countTriangles handles a non-indexed geometry as well [0.13ms]
(pass) countTriangles / countMaterials / getJointNames > countMaterials returns the number of unique materials in the scene [0.24ms]
(pass) countTriangles / countMaterials / getJointNames > countMaterials handles arrays of materials per mesh [0.15ms]
(pass) countTriangles / countMaterials / getJointNames > getJointNames returns every Joint_* in the tree [0.18ms]
(pass) validateAsset advisories > returns valid=true with no warnings for a tiny prop [0.14ms]
(pass) validateAsset advisories > never warns on triangle count, however dense [5.19ms]
(pass) validateAsset advisories > triangle count stays measurable even though nothing judges it [1.59ms]
(pass) validateAsset advisories > warns when material budget is exceeded [0.83ms]
(pass) validateAsset advisories > character / environment categories use their own material limits [0.10ms]
(pass) buildSandboxGlobals > exposes every primitive the LLM is told it can use [0.16ms]
(pass) buildSandboxGlobals > when given a usage map, tallies primitive invocations [0.28ms]
(pass) buildSandboxGlobals > usage map is isolated per call [0.10ms]
(pass) buildSandboxGlobals > without a usage map, geometry primitives still produce valid output [0.12ms]
(pass) material constructors reject an options object in the color slot > gameMaterial names the mistake instead of returning white [0.21ms]
(pass) material constructors reject an options object in the color slot > basicMaterial names the mistake instead of returning white [0.07ms]
(pass) material constructors reject an options object in the color slot > glassMaterial names the mistake instead of returning white [0.05ms]
(pass) material constructors reject an options object in the color slot > lambertMaterial names the mistake instead of returning white [0.04ms]
(pass) material constructors reject an options object in the color slot > the two real shapes still work [0.42ms]
(pass) createPart rejects a wrong call instead of failing later > the parent passed first, the shape most other scene APIs take [0.17ms]
(pass) createPart rejects a wrong call instead of failing later > a geometry helper referenced instead of called [0.07ms]
(pass) createPart rejects a wrong call instead of failing later > an async geometry helper left un-awaited [0.07ms]
(pass) createPart rejects a wrong call instead of failing later > a colour passed where a material belongs [0.07ms]
(pass) createPart rejects a wrong call instead of failing later > every message carries the signature it wants back [0.22ms]
(pass) createPart rejects a wrong call instead of failing later > the right call is untouched [0.16ms]
(pass) createPart rejects a wrong call instead of failing later > a geometry from another copy of three is still a geometry [0.11ms]
src/__tests__/skill-resources.test.ts:
(pass) ships skill references that resolve within each installed skill [4.62ms]
(pass) builds the shipped reusable frame and updates its attachment through one parameter [8.91ms]
src/__tests__/workspace-setup.test.ts:
(pass) creates an isolated workspace whose Node CLI imports and exports exactly once [2025.71ms]
(pass) ships a CLI bundle matching the current source [60.77ms]
src/__tests__/scene-palette.test.ts:
(pass) palette-snap (pure) > hexToLinearRgb maps the endpoints [0.13ms]
(pass) palette-snap (pure) > chooseSlot routes by hue, not lightness (greens→green, reds→red) [0.48ms]
(pass) palette-snap (pure) > neutrals snap to neutral slots (a grey never picks up a tint) [0.11ms]
(pass) palette-snap (pure) > emissive → glow slot, transparent → glass slot when present [0.09ms]
(pass) palette-snap (pure) > general render palette keeps dark foliage green and bark brown [0.71ms]
prune: Removed types... TextureInfo (5), Material (1)
prune: Removed types... Primitive (10), TextureInfo (15), Material (3), Accessor (4)
(pass) snapGlbToPalette > rewrites flat materials to the palette and collapses the material count [49.18ms]
prune: Removed types... TextureInfo (15), Material (3)
prune: Removed types... Primitive (2), TextureInfo (10), Material (2), Accessor (4)
(pass) snapGlbToPalette > snaps a transparent material to the glass slot (transparency preserved) [37.75ms]
(pass) snapGlbToPalette > returns undefined on junk bytes or an empty palette [13.07ms]
prune: Removed types... Accessor (1)
prune: Removed types... TextureInfo (20), Material (4)
(pass) composeSceneGLB > merges parts, applies transforms, and sums triangles [35.86ms]
prune: Removed types... Primitive (1), Accessor (4), Buffer (1)
(pass) composeSceneGLB > dedup collapses a repeated blueprint (same GLB placed twice shares geometry) [18.37ms]
(pass) renderPaletteDirective(slots) > defaults to the canonical palette and adapts to a custom one [0.36ms]
src/__tests__/validation-hardened.test.ts:
(pass) kiln validation — regex layer (preserved) > accepts a minimal well-formed program [4.18ms]
(pass) kiln validation — regex layer (preserved) > rejects stray imports [0.96ms]
(pass) kiln validation — regex layer (preserved) > rejects exports [0.25ms]
(pass) kiln validation — regex layer (preserved) > rejects value: keyframes with a line hint [0.42ms]
(pass) kiln validation — AST structure > flags missing meta declaration [0.17ms]
(pass) kiln validation — AST structure > flags missing build function [0.14ms]
(pass) kiln validation — AST structure > warns when meta has no name [0.23ms]
(pass) kiln validation — AST infinite loops > catches while(true) with no break [0.56ms]
(pass) kiln validation — AST infinite loops > accepts while(true) that contains a break [0.41ms]
(pass) kiln validation — AST infinite loops > catches for(;;) with no break [0.30ms]
(pass) kiln validation — AST infinite loops > accepts an ordinary for loop [0.80ms]
(pass) kiln validation — AST infinite loops > accepts while(cond) where cond is a binding [1.22ms]
(pass) kiln validation — AST recursion > catches build() calling itself [1.30ms]
(pass) kiln validation — AST recursion > does not flag helper calling itself [0.55ms]
(pass) kiln validation — syntax errors > surfaces syntax errors with a line number [0.41ms]
(pass) kiln validation — syntax errors > empty string is rejected with EMPTY_CODE [0.07ms]
(pass) kiln validation — no triangle budget > a 40k-triangle prop validates clean, with no size advisory [0.58ms]
(pass) kiln validation — no triangle budget > no category produces a size advisory [2.07ms]
(pass) kiln validation — no triangle budget > triangles are still estimated, just never judged [0.61ms]
(pass) kiln validation — shape compatibility > errors[] mirrors issues[].message [0.26ms]
(pass) kiln validation — rotation units lint (ROTATION_RADIANS_SUSPECTED) > flags a numeric radian triple with the degree equivalent [1.52ms]
(pass) kiln validation — rotation units lint (ROTATION_RADIANS_SUSPECTED) > flags Math.PI expressions (the -Math.PI/2 fin case) [0.53ms]
(pass) kiln validation — rotation units lint (ROTATION_RADIANS_SUSPECTED) > does NOT flag the rad-to-deg conversion idiom (a * 180 / Math.PI) [1.97ms]
(pass) kiln validation — rotation units lint (ROTATION_RADIANS_SUSPECTED) > does NOT flag degree-style values [5.25ms]
(pass) kiln validation — rotation units lint (ROTATION_RADIANS_SUSPECTED) > stays quiet on dynamic expressions it cannot read [0.68ms]
(pass) kiln validation — rotation units lint (ROTATION_RADIANS_SUSPECTED) > covers createInstance and ignores unrelated rotation keys [0.72ms]
src/__tests__/composer-agent-tools.test.ts:
(pass) surface > exposes the 17 scene_* tools by name [5.72ms]
(pass) surface > scene_set_environment + scene_set_backdrop set scene-level theme on the model [4.47ms]
(pass) read tools > scene_list_assets returns the catalog with footprint sizes [3.29ms]
(pass) read tools > scene_view reflects the current program + counts [4.83ms]
(pass) place / cluster / ring mutate + autosave > scene_place places one asset and autosaves the program [7.30ms]
(pass) place / cluster / ring mutate + autosave > scene_place with an unknown asset returns an in-band error + hint [8.49ms]
(pass) place / cluster / ring mutate + autosave > scene_cluster scatters N overlap-free and serializes as one line [11.22ms]
(pass) place / cluster / ring mutate + autosave > scene_ring places N on a circle, overlap-free [4.92ms]
(pass) layout baseline > scene_layout lays out the whole catalog overlap-free, returns aliases [5.95ms]
(pass) edit ops + overlap surfacing > an overlap is surfaced on mutation and via scene_validate, and scene_move resolves it [7.02ms]
(pass) edit ops + overlap surfacing > scene_face re-orients, scene_remove drops, scene_group binds + moves together [5.48ms]
(pass) edit ops + overlap surfacing > an edit op on a missing target returns ok:false [3.58ms]
(pass) render tools call the port and return content blocks > scene_render renders the whole scene, emits a candidate, returns [image, json] [4.69ms]
(pass) render tools call the port and return content blocks > scene_screenshot_camera passes the requested camera through [4.84ms]
(pass) render tools call the port and return content blocks > text-only author gets bounded observer evidence, never image blocks, on the shared budget [4.10ms]
(pass) render tools call the port and return content blocks > observer failure is in-band and still never exposes image blocks [3.32ms]
(pass) render tools call the port and return content blocks > a render failure returns an in-band ok:false (no image) [2.97ms]
(pass) render tools call the port and return content blocks > scene views expose valid derivative fidelity but never exactArtifact [3.81ms]
(pass) render tools call the port and return content blocks > scene views downgrade missing or malformed derivative receipts [4.90ms]
(pass) finalize > scene_finalize flips the sink + returns the final program [10.93ms]
src/__tests__/workspace-node-path.test.ts:
(pass) generated MCP command survives removal of a transient Node directory link [584.05ms]
src/__tests__/list-primitives.test.ts:
(pass) kiln.listPrimitives > returns a non-empty catalog with expected shape [0.37ms]
(pass) kiln.listPrimitives > every cataloged primitive is present in the sandbox globals [0.16ms]
(pass) kiln.listPrimitives > every sandbox function (except Math/console) appears in the catalog [0.28ms]
(pass) kiln.listPrimitives > returned array is a defensive copy [0.06ms]
(pass) kiln.listPrimitives > contains canonical entries for the major primitive groups [0.14ms]
src/__tests__/geometry-authoring.test.ts:
(pass) owned geometry and seam-preserving operations > copies cached geometry and material without changing legacy reuse semantics [4.33ms]
(pass) owned geometry and seam-preserving operations > keeps UV charts and coincident seam positions through smoothing [13.52ms]
(pass) owned geometry and seam-preserving operations > preserves UVs while creating sharp rims and smooth walls [1.03ms]
(pass) custom geometry contract > validates indexed data and diagnoses an open sheet [0.86ms]
(pass) custom geometry contract > samples domains with explicit orientation and UVs [0.47ms]
(pass) custom geometry contract > closes periodic torus seams without losing wrapped UVs [3.52ms]
(pass) does not blend normals between separate sub-centimeter surfaces [0.37ms]
(pass) rejects finite numbers that overflow the Float32 export representation [0.12ms]
(pass) invalidates source triangle provenance after subdivision changes topology [3.90ms]
(pass) preserving subdivision is scale-equivariant for millimeter-sized geometry [3.14ms]
(pass) subdivides a longitude-seamed sphere without cracks or UV interpolation across the wrap [20.38ms]
(pass) samples an open cylinder with outward winding, two boundary rings and an intact UV wrap [1.24ms]
src/__tests__/material-resources.test.ts:
(pass) MAT-016 approved resource boundary > resolves only a closed ID and exposes bytes without paths or secrets [0.37ms]
(pass) MAT-016 approved resource boundary > retains an explicit compatibility read for legacy byte/path programs [2.13ms]
(pass) MAT-017 content cache and provenance > deduplicates encoded content and decoded variants by content hash [1.85ms]
(pass) MAT-017 content cache and provenance > recipe application records ID/hash/usage/color space/version and scene collection [4.10ms]
(pass) sceneNeedsPbrShading > untextured gameMaterial (metalness 0 default) does not need PBR shading [0.17ms]
(pass) sceneNeedsPbrShading > an empty scene does not need PBR shading [0.05ms]
(pass) sceneNeedsPbrShading > metalness > 0 with no bound texture still needs PBR shading (untextured chrome/brass) [0.11ms]
(pass) sceneNeedsPbrShading > a bound map needs PBR shading [0.22ms]
(pass) sceneNeedsPbrShading > a bound normalMap needs PBR shading [0.14ms]
(pass) sceneNeedsPbrShading > a bound roughnessMap needs PBR shading [0.09ms]
(pass) sceneNeedsPbrShading > a bound metalnessMap needs PBR shading [0.06ms]
(pass) sceneNeedsPbrShading > a bound emissiveMap needs PBR shading [0.03ms]
(pass) sceneNeedsPbrShading > a bound aoMap needs PBR shading [0.09ms]
src/__tests__/csg-preservation.test.ts:
(pass) preserves operand UVs and cut-face materials on request [8.93ms]
(pass) does not fabricate provenance for completely removed operands [2.80ms]
(pass) retains named sources and materials across a second boolean [5.69ms]
(pass) exports material groups into GLB primitives with correct triangle coverage [11.99ms]
(pass) retained UV coordinates agree with source-face interpolation, including cut faces [5.62ms]
(pass) supports reflected parent transforms and reports missing UVs and generated hull provenance [4.09ms]
(pass) keeps source face IDs alongside real output triangle runs [2.19ms]
(pass) smooths across retained UV seams without changing material boundaries [1.75ms]
src/__tests__/cli-entry.test.ts:
(pass) executes a Node CLI symlink once and stays inert when imported [1373.89ms]
src/__tests__/cli-capture-file.test.ts:
(pass) renders retained source with a capture file and rejects invalid recipes before writing artifacts [6326.43ms]
src/__tests__/billboard-primitives.test.ts:
(pass) foliageCardGeo > yPivot=0 sits the quad above the ground plane [0.48ms]
(pass) foliageCardGeo > yPivot=0.5 centers the quad on origin [0.11ms]
(pass) foliageCardGeo > defaults to a 1×1 card with bottom pivot [0.12ms]
(pass) crossedQuadsGeo > planes=2 yields 2 planes × 2 tris = 4 triangles [0.66ms]
(pass) crossedQuadsGeo > planes=3 yields 6 triangles [0.17ms]
(pass) crossedQuadsGeo > has position, normal, uv attributes [0.15ms]
(pass) octaGridPlane > UVs cover 1/tilesX × 1/tilesY top-left rect [0.23ms]
(pass) octaGridPlane > tilesX=8 tilesY=4 → quarter-height, eighth-width UV rect [0.11ms]
src/__tests__/mcp-payload.test.ts:
(pass) kiln_list_primitives wire payload > sends the catalog once, not twice [4.85ms]
(pass) kiln_list_primitives wire payload > stays under the size that derails a harness [2.49ms]
(pass) kiln_list_primitives wire payload > no text-only tool result is oversized [3.56ms]
(pass) always-on context cost > the tool schemas stay within the context budget [6.81ms]
(pass) always-on context cost > skill discovery stays within the context budget [5.63ms]
src/__tests__/program-store-stats.test.ts:
(pass) reports deduplicated UTF-8 memory usage, limits and no eviction [0.81ms]
(pass) reports only persisted source files across file-store instances and ignores temporary files [6.34ms]
src/__tests__/program-short-refs.test.ts:
(pass) immutable short program references > keeps canonical puts and returns stable registered memory handles [4.23ms]
(pass) immutable short program references > does not resolve an unregistered hash prefix or mint a missing source [0.25ms]
(pass) immutable short program references > retainProgram supports hosts that only implement canonical storage [0.37ms]
(pass) immutable short program references > accepts only full hashes or bounded lowercase handles [0.42ms]
(pass) immutable short program references > persists handles across restart and lazily registers older full-hash files [8.39ms]
(pass) immutable short program references > extends a colliding handle without replacing its original mapping [9.89ms]
(pass) immutable short program references > independent file-store instances publish one stable handle concurrently [6.73ms]
(pass) immutable short program references > extends only through the bounded canonical digest when shorter candidates are occupied [21.11ms]
(pass) immutable short program references > rejects malformed mappings and changed source bytes without overwriting them [8.87ms]
src/__tests__/animation-textured.test.ts:
(pass) kiln_screenshot_animation with textures > previews a textured asset instead of rejecting its own render [262.65ms]
src/__tests__/uv-shapes.test.ts:
(pass) boxUnwrap > preserves BoxGeometry per-face [0,1] UVs [3.10ms]
(pass) boxUnwrap > does not mutate the input [0.15ms]
(pass) cylinderUnwrap > preserves CylinderGeometry axial UV layout [0.35ms]
(pass) planeUnwrap > maps xy bbox to [0,1] [0.33ms]
(pass) planeUnwrap > works on a thin boxGeo (sign use case) [0.22ms]
src/__tests__/composer-layout.test.ts:
(pass) layout is overlap-free across anchors > a full 5-zone scene (heroes + support + fill) has zero overlaps [3.19ms]
(pass) layout is overlap-free across anchors > with no anchors (single root) it still packs overlap-free [0.97ms]
(pass) hierarchy + facing + grouping > a zone's hero anchors its centre [0.32ms]
(pass) hierarchy + facing + grouping > 'scene-in' turns an east asset to face the scene centre (+X points -X ~180deg) [0.10ms]
(pass) hierarchy + facing + grouping > fill clusters around its group hero [0.37ms]
(pass) terrain seam (heightmap-ready) + grounding > placements drop onto a custom ground sampler [0.12ms]
(pass) terrain seam (heightmap-ready) + grounding > an asset whose geometry starts above its origin is dropped to the ground [0.08ms]
(pass) determinism > same seed reproduces the layout exactly; different seed differs [0.71ms]
src/__tests__/material-metrics.test.ts:
(pass) MAT-010 material metrics > attaches separate material metrics to the five-dimension QA report [4.50ms]
(pass) MAT-010 material metrics > separates alpha mode, sidedness, textures, images, resolution, and decoded memory [20.70ms]
(pass) MAT-010 material metrics > reports ratified extension use independently from core material counts [0.79ms]
(pass) MAT-018 advisory texture budgets > selects a tier/profile and reports measured cost with downscale advice [16.28ms]
(pass) MAT-018 advisory texture budgets > stays advisory and quiet within the selected budget [20.07ms]
src/__tests__/architecture.test.ts:
(pass) correct-by-construction architecture helpers > returns exact live face frames for ridge-x, 8x5 [1.95ms]
(pass) correct-by-construction architecture helpers > returns exact live face frames for ridge-z, 5x9 [0.73ms]
(pass) correct-by-construction architecture helpers > returns exact live face frames for ridge-x, 6x6 [0.46ms]
(pass) correct-by-construction architecture helpers > returns exact live face frames for ridge-z, 6x6 [0.45ms]
(pass) correct-by-construction architecture helpers > builds an exact thick gable boundary and subtracts optional openings [6.72ms]
(pass) correct-by-construction architecture helpers > composes a closed, enterable semantic shell with a real doorway gap by default [2.16ms]
(pass) correct-by-construction architecture helpers > lays every roof surface family downhill from the ridge-x face frame [7.96ms]
(pass) correct-by-construction architecture helpers > lays every roof surface family downhill from the ridge-z face frame [6.72ms]
(pass) correct-by-construction architecture helpers > rejects ambiguous or contradictory roof dimensions instead of guessing [0.29ms]
src/__tests__/textures.test.ts:
(pass) Wave 3B: loadTexture + pbrMaterial > loadTexture decodes a PNG into a DataTexture with encoded bytes stashed [7.37ms]
(pass) Wave 3B: loadTexture + pbrMaterial > assigns sRGB only to color textures and linear space to data textures [16.59ms]
(pass) Wave 3B: loadTexture + pbrMaterial > pbrMaterial with scalar inputs produces a MeshStandardMaterial [0.25ms]
(pass) Wave 3B: loadTexture + pbrMaterial > pbrMaterial with a Texture wires map + neutralizes color [4.52ms]
(pass) Wave 3B: loadTexture + pbrMaterial > requires one explicit packed G/B metallic-roughness texture [8.68ms]
(pass) Wave 3B: loadTexture + pbrMaterial > rejects invalid portable alpha and sidedness combinations at construction [0.38ms]
(pass) Wave 3B: loadTexture + pbrMaterial > reports stable blockers for decode, dimensions, UVs, and color-space errors [12.03ms]
(pass) Wave 3B: loadTexture + pbrMaterial > localizes non-finite factors and missing tangent-space data [4.04ms]
(pass) Wave 3B: loadTexture + pbrMaterial > texture survives round-trip through GLB export [41.25ms]
(pass) Wave 3B: loadTexture + pbrMaterial > untextured gameMaterial still exports without maps (regression) [3.62ms]
(pass) Wave 3B: loadTexture + pbrMaterial > foliage cards export MASK cutoff + double-sided and remain valid after rebake [19.44ms]
(pass) Wave 3B: loadTexture + pbrMaterial > preserves UVs, tangents, PBR factors, and texture slots through a validated rebake [30.31ms]
(pass) Wave 3B: loadTexture + pbrMaterial > preserves slot semantics when different usages have byte-identical source images [33.09ms]
(pass) Wave 3B: loadTexture + pbrMaterial > rejects an opaque foliage card with a stable structured finding [0.61ms]
(pass) Wave 3B: loadTexture + pbrMaterial > Khronos validator reports malformed final bytes as errors [1.47ms]
src/__tests__/csg-sandbox.test.ts:
(pass) Wave 2A: CSG inside sandbox (agent authoring path) > async build() with boolDiff produces a gear [3.51ms]
(pass) Wave 2A: CSG inside sandbox (agent authoring path) > agent-style code using createPart siblings + boolDiff [6.52ms]
src/__tests__/procedural-texture-v2.test.ts:
(pass) ProceduralTextureSpecV2 strict boundary > canonicalization applies defaults and makes explicit defaults byte-identical [1.47ms]
(pass) ProceduralTextureSpecV2 strict boundary > rejects unknown keys at every discriminated boundary [0.40ms]
(pass) ProceduralTextureSpecV2 strict boundary > rejects prototype-bearing objects and prototype-pollution keys [0.52ms]
(pass) ProceduralTextureSpecV2 strict boundary > rejects invalid usage, non-finite numeric fields, and excessive work before compilation [0.34ms]
(pass) V1 migration and frozen compiler corpus > legacy input migrates to the same canonical V2 recipe and pixels [1.41ms]
(pass) V1 migration and frozen compiler corpus > checker-albedo-v2 has frozen deterministic pixels and canonical identity [0.77ms]
(pass) V1 migration and frozen compiler corpus > layered-metallic-roughness-v2 has frozen deterministic pixels and canonical identity [1.93ms]
(pass) PortableMaterialSpecV2 compatibility boundary > canonicalizes portable scalar fields and typed texture slots [0.51ms]
(pass) PortableMaterialSpecV2 compatibility boundary > rejects slot/usage mismatch, executable references, and texture-count overflow [0.49ms]
(pass) errors remain the public authoring error type [0.13ms]
src/__tests__/material-recipes.test.ts:
(pass) MAT-013 versioned material recipe contract > publishes ten exact versioned IDs and rejects unsupported IDs/overrides [0.39ms]
(pass) MAT-013 versioned material recipe contract > validates approved resource slot and recipe compatibility [0.24ms]
(pass) MAT-013 versioned material recipe contract > recipe snapshot is byte-stable and contains only core glTF PBR fields [0.45ms]
(pass) MAT-013 versioned material recipe contract > masked leaf remains distinct from blended glass [0.12ms]
(pass) MAT-014 executable portable recipe library > all ten recipes render as validator-clean core glTF materials [9.63ms]
(pass) MAT-014 executable portable recipe library > sandbox executes the discovered helper with approved resource IDs [7.21ms]
(pass) MAT-014 executable portable recipe library > capability DTO is executable, bounded, and path-free [0.69ms]
src/__tests__/portable-material-runtime.test.ts:
(pass) PortableMaterialSpecV2 runtime compiler > compiles only typed procedural slots with correct color spaces and packed MR identity [9.35ms]
(pass) PortableMaterialSpecV2 runtime compiler > loads a closed approved resource ID and preserves its verified provenance [0.28ms]
(pass) PortableMaterialSpecV2 runtime compiler > rejects unapproved IDs, wrong-slot resources, and executable or raw texture escapes [0.65ms]
src/__tests__/geometry-export-contract.test.ts:
(pass) custom mesh export contract > round trips supported indexed attributes [6.50ms]
(pass) custom mesh export contract > identifies dropped attributes and rejects them in strict mode [4.36ms]
(pass) custom mesh export contract > rejects nonfinite positions before writing invalid bytes [0.25ms]
(pass) custom mesh export contract > preserves interleaved source attributes using their stride and offset [11.73ms]
src/__tests__/geometry-policy-runtime.test.ts:
(pass) geometry export policy roundtrips through strict worker protocol and rejects unknown policy [0.56ms]
(pass) subprocess strict accepts supported geometry and rejects vertex colors while default warns [1040.59ms]
(pass) public host strict policy cannot be weakened by a model argument [3.89ms]
(pass) local host validates geometry policy and prevents caller downgrade [0.70ms]
src/__tests__/texture-bake.test.ts:
(pass) procedural textures are baked into the GLB > public renderGLB preserves baked procedural lineage instead of dropping the sidecar [16.34ms]
(pass) procedural textures are baked into the GLB > a hand-built DataTexture is encoded, embedded, and reported — not dropped [6.03ms]
(pass) procedural textures are baked into the GLB > three-channel RGB pixels bake as well as RGBA [12.00ms]
(pass) procedural textures are baked into the GLB > the non-PBR path is covered too — a Lambert map was just as silent [6.30ms]
(pass) procedural textures are baked into the GLB > every bridgeable slot bakes with the usage that slot implies [12.50ms]
(pass) procedural textures are baked into the GLB > shared textures retain every node/material/slot binding while encoding once [2.27ms]
(pass) determinism > the same pixels produce the same PNG bytes across independent renders [15.32ms]
(pass) determinism > different pixels produce a different hash (the check above can fail) [13.53ms]
(pass) unbakeable textures warn by material and slot > float pixel data is reported as unbakeable, and does not throw [0.45ms]
(pass) unbakeable textures warn by material and slot > a texture with no readable pixels is reported, naming the slot [0.41ms]
(pass) unbakeable textures warn by material and slot > a byte count that is neither RGB nor RGBA is reported with the numbers [0.22ms]
(pass) unbakeable textures warn by material and slot > one bad slot does not stop the others from baking [2.13ms]
(pass) bake boundaries > an already-encoded texture is left exactly as loadTexture left it [0.44ms]
(pass) bake boundaries > a texture shared by two materials is encoded once and stays shared [7.33ms]
(pass) bake boundaries > color space is never set for the author — a linear albedo still blocks [2.87ms]
(pass) bake boundaries > an untextured scene bakes nothing and reports nothing [4.62ms]
(pass) normal-mapped meshes get a tangent basis > the Khronos tangent-space warning is gone and TANGENT is in the file [15.36ms]
(pass) normal-mapped meshes get a tangent basis > tangents are unit length, perpendicular to the normal, with ±1 handedness [0.60ms]
(pass) normal-mapped meshes get a tangent basis > a mesh with no normal map is left alone — the attribute changes the bytes [0.10ms]
(pass) normal-mapped meshes get a tangent basis > an existing tangent attribute is never recomputed [0.10ms]
(pass) normal-mapped meshes get a tangent basis > a normal-mapped mesh with no UVs is warned about, pointing at autoUnwrap [0.12ms]
(pass) normal-mapped meshes get a tangent basis > a non-indexed normal-mapped mesh gets tangents, not a warning [0.39ms]
(pass) normal-mapped meshes get a tangent basis > an indexed and a soup copy of the same box agree on tangents [0.79ms]
(pass) normal-mapped meshes get a tangent basis > geometry shared by two normal-mapped meshes is computed once [0.46ms]
src/__tests__/procedural-texture.test.ts:
(pass) determinism > the same spec produces byte-identical pixels, including noise [16.48ms]
(pass) determinism > a different seed produces different pixels (the check above can fail) [2.03ms]
(pass) tileability > noise wraps: the last column continues into the first [4.66ms]
(pass) tileability > a repeating pattern lands on exact texel boundaries [1.68ms]
(pass) layer ops > solid fills with exactly the requested color [0.26ms]
(pass) layer ops > gradient runs from one color to the other [4.11ms]
(pass) layer ops > bricks stagger alternate rows [3.40ms]
(pass) layer ops > stripes at 90 degrees run the other way [1.71ms]
(pass) blend modes > multiply darkens, screen lightens [0.85ms]
(pass) blend modes > opacity 0 leaves the layer below untouched [0.50ms]
(pass) blend modes > the first layer ignores blend and opacity — there is nothing beneath it [0.24ms]
(pass) color space > albedo and emissive are sRGB; data maps are linear [0.51ms]
(pass) color space > the recipe is recorded on the texture for provenance [0.22ms]
(pass) bounds and validation > size must be a power of two within range [0.26ms]
(pass) bounds and validation > the layer stack is bounded and must not be empty [0.22ms]
(pass) bounds and validation > an unknown op is rejected by name, listing what does exist [0.17ms]
(pass) bounds and validation > octaves are capped so a spec cannot buy unbounded work [0.11ms]
(pass) bounds and validation > colors outside 24-bit range are rejected [0.20ms]
(pass) bounds and validation > an unknown blend mode is rejected [0.13ms]
(pass) normalMapFromHeight > a flat source yields a flat normal map pointing straight out [0.72ms]
(pass) normalMapFromHeight > a gradient tilts the normal along the slope [1.06ms]
(pass) normalMapFromHeight > output is linear data, never sRGB [0.41ms]
(pass) normalMapFromHeight > it names the derived map after its source [0.47ms]
(pass) normalMapFromHeight > a source with no readable pixels is rejected with the reason [0.15ms]
(pass) normalMapFromHeight > strength must be positive [0.53ms]
(pass) the agent path > generated code can build a fully procedural PBR material [11.54ms]
src/__tests__/vehicle.test.ts:
(pass) vehicle frame and wheel assembly > owns the canonical +X/+Y/+Z frame and all typed socket families [4.43ms]
(pass) vehicle frame and wheel assembly > 2-wheel transformed layout preserves one assembly per corner and +Z axles [2.66ms]
(pass) vehicle frame and wheel assembly > 4-wheel transformed layout preserves one assembly per corner and +Z axles [3.38ms]
(pass) vehicle frame and wheel assembly > 6-wheel transformed layout preserves one assembly per corner and +Z axles [4.63ms]
(pass) vehicle frame and wheel assembly > optional steering remains centered above the spin pivot and spin is animatable around +Z [2.23ms]
(pass) vehicle frame and wheel assembly > declared tire width is exact and cannot equal or exceed the diameter [0.49ms]
(pass) vehicle frame and wheel assembly > canonical component names recover one legacy corner as one assembly [0.95ms]
src/__tests__/composer-overlap.test.ts:
(pass) aabb overlap detection > face-touching boxes do not overlap (within tolerance) [3.98ms]
(pass) aabb overlap detection > penetrating boxes report depth + the minimum-translation axis [0.12ms]
(pass) aabb overlap detection > footprint mode ignores vertical separation; volume mode respects it [0.10ms]
(pass) worldAabbFromLocal — the centre-offset + rotation fix > preserves an off-centre local bbox (mesh not centred on its origin) [0.06ms]
(pass) worldAabbFromLocal — the centre-offset + rotation fix > Y-rotation swaps the XZ footprint extents [0.04ms]
(pass) worldAabbFromLocal — the centre-offset + rotation fix > uniform scale grows extent and offset together [0.04ms]
(pass) placement overlap — the packer bug it catches > two off-centre assets placed as if centred still collide [0.25ms]
(pass) placement overlap — the packer bug it catches > a cleanly spaced layout is overlap-free [0.08ms]
src/__tests__/subdivide-normals.test.ts:
(pass) subdivide normals > raw LoopSubdivision is the thing that is broken [2.41ms]
(pass) subdivide normals > subdivide returns unit normals at one iteration [1.97ms]
(pass) subdivide normals > the printing press bed, to the millimetre [6.81ms]
(pass) subdivide normals > holds on a curved input and with welding off [24.12ms]
(pass) subdivide normals > normals still point outward, so the repair did not flatten the shading [1.96ms]
src/__tests__/lathe-normals.test.ts:
(pass) lathe normals > raw LatheGeometry is the thing that is broken [4.36ms]
(pass) lathe normals > lathe returns unit normals [0.55ms]
(pass) lathe normals > revolveGeo returns unit normals, on a partial sweep and an off-Y axis [1.05ms]
src/__tests__/mcp-bundle.test.ts:
(pass) mcp server bundle > is committed [1.71ms]
(pass) mcp server bundle > matches a fresh build, byte for byte [53.96ms]
(pass) mcp server bundle > serves the full tool surface when launched with node [2572.73ms]
(pass) harness manifests > .claude-plugin/plugin.json launches the node bundle via ${CLAUDE_PLUGIN_ROOT} [0.44ms]
(pass) harness manifests > mcp_config.json launches the node bundle via ${PLUGIN_ROOT} [0.19ms]
src/__tests__/runtime-build-identity.test.ts:
(pass) derives reproducible runtime identity from source and lockfile rather than test edits or timestamps [9.83ms]
src/__tests__/gears.test.ts:
(pass) gearGeo > has closed, nondegenerate faces and outward normals at instrument scale, with or without a bore [11.78ms]
(pass) gearGeo > produces a flat-shaded, non-indexed gear with sensible tri count [0.53ms]
(pass) gearGeo > bounding box is bounded by tipRadius and height [0.47ms]
(pass) gearGeo > bore is respected (no verts inside boreRadius) [0.45ms]
(pass) gearGeo > rejects invalid params [0.28ms]
(pass) bladeGeo > flat blade: bbox is [-w/2..+w/2, 0..length, -t/2..+t/2] [0.39ms]
(pass) bladeGeo > tip tapers to a point (width at tip = 0) [0.16ms]
(pass) bladeGeo > bevelled blade has a centerline ridge at z = 0 [0.27ms]
(pass) bladeGeo > flat blade has no verts at z = 0 (no ridge) [0.14ms]
(pass) bladeGeo > rejects invalid params [0.13ms]
(pass) bladeGeo > is flat-shaded (non-indexed with per-triangle normals) [0.13ms]
src/__tests__/kit.test.ts:
(pass) ORM channel packing > the occlusion image is folded in AND removed from the file [38.82ms]
(pass) ORM channel packing > nothing to pack means no rewrite [18.23ms]
(pass) palette colourways as KHR_materials_variants > one file carries every palette, and the default look is unchanged [30.95ms]
(pass) palette colourways as KHR_materials_variants > a textured material is left alone, exactly as the palette snap leaves it [26.88ms]
(pass) palette colourways as KHR_materials_variants > no variants requested means no extension is declared [5.17ms]
(pass) KTX2 supercompression > a missing encoder is reported as a capability, not a failure [24.89ms]
(pass) KTX2 supercompression > encoding shrinks textures and the result still validates [14.71ms]
(pass) KTX2 supercompression > a texture PNG already compresses better is left as PNG [0.33ms]
src/__tests__/examples.test.ts:
(pass) examples > finds a non-trivial set to check [0.05ms]
(pass) examples > abyssal-surveyor executes and produces geometry [0.12ms]
(pass) examples > air-defense-radar executes and produces geometry [0.01ms]
(pass) examples > aircraft-carrier executes and produces geometry [0.01ms]
(pass) examples > alpine-cable-terminal executes and produces geometry [0.01ms]
(pass) examples > anglerfish executes and produces geometry
(pass) examples > arcade-cabinet executes and produces geometry
(pass) examples > astronomical-clock executes and produces geometry
(pass) examples > bench-refractor executes and produces geometry [0.01ms]
(pass) examples > blast-furnace executes and produces geometry
(pass) examples > brass-tellurion executes and produces geometry
(pass) examples > cable-stayed-bridge executes and produces geometry
(pass) examples > cafe-racer executes and produces geometry
(pass) examples > carousel executes and produces geometry
(pass) examples > cathedral executes and produces geometry
(pass) examples > clock-tower executes and produces geometry
(pass) examples > comms-satellite executes and produces geometry
(pass) examples > crate executes and produces geometry
(pass) examples > crawler-crane executes and produces geometry
(pass) examples > deco-radio executes and produces geometry
(pass) examples > deep-sea-diver executes and produces geometry
(pass) examples > diving-helmet executes and produces geometry
(pass) examples > drilling-rig executes and produces geometry
(pass) examples > espresso-machine executes and produces geometry
(pass) examples > excavator executes and produces geometry
(pass) examples > ferris-wheel executes and produces geometry
(pass) examples > field-gun executes and produces geometry
(pass) examples > fighter-jet executes and produces geometry
(pass) examples > fire-lookout-tower executes and produces geometry
(pass) examples > gothic-gatehouse executes and produces geometry
(pass) examples > gramophone executes and produces geometry
(pass) examples > harbour-crane executes and produces geometry
(pass) examples > hot-air-balloon executes and produces geometry
(pass) examples > kestrel-rescue-craft executes and produces geometry [0.01ms]
(pass) examples > kinetic-wave executes and produces geometry [0.11ms]
(pass) examples > lighthouse executes and produces geometry [0.08ms]
(pass) examples > longcase-clock executes and produces geometry
(pass) examples > mech executes and produces geometry [0.02ms]
(pass) examples > nautilus-habitat executes and produces geometry [0.03ms]
(pass) examples > orbital-station executes and produces geometry
(pass) examples > orrery executes and produces geometry
(pass) examples > penny-farthing executes and produces geometry
(pass) examples > pinball-machine executes and produces geometry
(pass) examples > pipe-organ executes and produces geometry
(pass) examples > planetarium-projector executes and produces geometry
(pass) examples > polar-rover executes and produces geometry
(pass) examples > printing-press executes and produces geometry
(pass) examples > pumpjack executes and produces geometry
(pass) examples > radio-telescope executes and produces geometry
(pass) examples > research-vessel executes and produces geometry
(pass) examples > ribbon-tea-pavilion executes and produces geometry [0.02ms]
(pass) examples > rigid-airship executes and produces geometry
(pass) examples > robot-arm executes and produces geometry
(pass) examples > seed-vault executes and produces geometry
(pass) examples > solar-sail-courier executes and produces geometry
(pass) examples > steam-locomotive executes and produces geometry
(pass) examples > street-lamp executes and produces geometry
(pass) examples > sushi-store executes and produces geometry
(pass) examples > tidal-observatory executes and produces geometry
(pass) examples > tram executes and produces geometry
(pass) examples > trebuchet executes and produces geometry
(pass) examples > tugboat executes and produces geometry
(pass) examples > twisting-canopy executes and produces geometry [0.01ms]
(pass) examples > typewriter executes and produces geometry
(pass) examples > vending-machine executes and produces geometry
(pass) examples > victorian-greenhouse executes and produces geometry
(pass) examples > well executes and produces geometry
(pass) examples > windmill executes and produces geometry
(pass) hero gallery > names every public example and matches the documented collection count [0.90ms]
(pass) hero gallery > has a render for every public hero and only the explicitly retained archive [0.96ms]
(pass) hero gallery > is in the README exactly once per hero, with no cell for anything else [0.45ms]
(pass) hero gallery > has a GIF for every animated example the README shows, and no orphans [1.38ms]
(pass) hero gallery > credits each example from its source header or exact-source run record [32.11ms]
(pass) hero gallery > quotes each hero triangle count correctly [3.98ms]
src/__tests__/cli-render-mode.test.ts:
(pass) probeRenderService > finds a renderer that answers straight away [17.75ms]
(pass) probeRenderService > finds a renderer that is busy when first asked [3515.99ms]
(pass) probeRenderService > gives up on a service that answers with an error [8.61ms]
(pass) probeRenderService > falls through immediately when nothing is listening [11.04ms]
src/__tests__/instancing.test.ts:
(pass) Wave 1B: instancing primitives > cloneGeometry and cloneMaterial return the same reference [0.20ms]
(pass) Wave 1B: instancing primitives > createInstance reuses geometry and material of source [0.19ms]
(pass) Wave 1B: instancing primitives > createInstance from a pivot reuses the first Mesh child [0.20ms]
(pass) Wave 1B: instancing primitives > createInstance throws when source has no Mesh [0.12ms]
(pass) Wave 1B: instancing primitives > instancing + dedup cuts 4-wheel GLB to ~1/3.5 of naive [31.59ms]
(pass) Wave 1B: instancing primitives > dedup: false disables the transform [12.61ms]
instance: Created 1 batches, with 10 total instances.
(pass) M1c: GPU-instancing pass (instance option) > instance:"on" emits EXT_mesh_gpu_instancing, cuts bytes+draws, keeps tris+grade [171.17ms]
instance: Created 1 batches, with 10 total instances.
(pass) M1c: GPU-instancing pass (instance option) > instance:"auto" acts only for role:"fill" [235.01ms]
instance: No meshes with >=5 parent nodes were found.
(pass) M1c: GPU-instancing pass (instance option) > below the min-node threshold nothing is batched [64.10ms]
(pass) M1c: GPU-instancing pass (instance option) > animated docs and Joint_* pivots are never instanced [157.64ms]
instance: Created 1 batches, with 10 total instances.
(pass) M1c: GPU-instancing pass (instance option) > an instanced GLB round-trips through gradeGlbBytes and optimizeGlbBytes [74.36ms]
instance: Created 1 batches, with 10 total instances.
(pass) M1c: GPU-instancing pass (instance option) > optimizeGlbBytes can instance from bytes (web-tier finalize seam) [76.37ms]
src/__tests__/geometry-shell-experiment.test.ts:
(pass) caps a planar boundary with measurable inward and outward thickness [1.15ms]
src/__tests__/character.test.ts:
(pass) CHAR-003/005 semantic rig graphs > biped and quadruped presets are data graphs with every declared parent present [1.33ms]
(pass) CHAR-003/005 semantic rig graphs > custom graph accepts non-humanoid roles and rejects missing parents/cycles [0.41ms]
(pass) CHAR-003/005 semantic rig graphs > preset expansion returns a detached graph [0.29ms]
(pass) CHAR-006/007 body-plan-agnostic createJointChain > BipedLeg has deterministic names, hierarchy, pivots, frames, and transformed-parent behavior [1.44ms]
(pass) CHAR-006/007 body-plan-agnostic createJointChain > QuadrupedForeleg has deterministic names, hierarchy, pivots, frames, and transformed-parent behavior [0.54ms]
(pass) CHAR-006/007 body-plan-agnostic createJointChain > Wing has deterministic names, hierarchy, pivots, frames, and transformed-parent behavior [0.41ms]
(pass) CHAR-006/007 body-plan-agnostic createJointChain > Tail has deterministic names, hierarchy, pivots, frames, and transformed-parent behavior [0.24ms]
(pass) CHAR-006/007 body-plan-agnostic createJointChain > Tentacle has deterministic names, hierarchy, pivots, frames, and transformed-parent behavior [0.27ms]
(pass) CHAR-006/007 body-plan-agnostic createJointChain > rejects duplicate roles instead of creating ambiguous Joint_* nodes [0.25ms]
(pass) CHAR-006/007 body-plan-agnostic createJointChain > semantic joint extras survive exact GLB export/reload [52.74ms]
(pass) CHAR-031 resolved body-plan recipe > injects one resolved recipe without cross-plan anatomy [0.13ms]
(pass) CHAR-031 resolved body-plan recipe > custom recipe names only roles from its declared graph [0.23ms]
src/__tests__/architecture-prompt-examples.test.ts:
(pass) ARCH-017 executable architecture prompt scaffolds > ridge +X compiles, renders, and passes exact architecture QA [127.73ms]
(pass) ARCH-017 executable architecture prompt scaffolds > ridge +Z compiles, renders, and passes exact architecture QA [129.91ms]
src/__tests__/package-contents.test.ts:
(pass) declares Node commands and the files needed by an installed workspace [4.55ms]
src/__tests__/deform.test.ts:
(pass) deforms owned meshes in degrees and preserves unaffected input and UVs [1.22ms]
(pass) resolves local frame, interval and falloff consistently [0.52ms]
(pass) displaces by a callback in local coordinates and validates outputs [0.47ms]
(pass) retains handedness under reflected input without modifying the original buffers [0.72ms]
src/__tests__/installed-runtime-identity.test.ts:
(pass) fingerprints installed code and native assets, not dependency ranges or installation paths [25.58ms]
(pass) fails closed for missing dependencies and bounded scan overflow [14.23ms]
src/__tests__/sandbox-three-bridge.test.ts:
(pass) sandbox new THREE.Mesh() survives the GLB bridge (cross-module realm) [14.20ms]
(pass) sandbox new THREE.Mesh() with pbrMaterial+texture survives — texture serialised [6.11ms]
src/__tests__/capture-input-errors.test.ts:
(pass) reports numeric shot paths for a tagged capture instead of rejecting valid version fields [26.01ms]
src/__tests__/composer-helpers.test.ts:
(pass) facingToRotY > 'center' turns an east asset back toward the scene centre (~180) [4.45ms]
(pass) facingToRotY > 'out' faces away from the scene centre (~0 for an east asset) [0.16ms]
(pass) facingToRotY > a world point intent faces that point [0.04ms]
(pass) facingToRotY > a number is taken as explicit degrees [0.02ms]
(pass) groundedPos > recentres an off-centre bbox so its centre lands on the target [0.16ms]
(pass) groundedPos > drops the base onto a heightmap sampler [0.08ms]
src/__tests__/solids.test.ts:
(pass) Wave 2A: CSG primitives (manifold-3d) > boolUnion merges two boxes into a watertight mesh [1.81ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > boolDiff carves a hole (cylinder through box) [2.05ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > builds a gear: cylinder minus 8 radially-arrayed box cutters [16.18ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > boolIntersect keeps overlap only [4.24ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > hull wraps a cluster of small boxes into one convex mesh [1.49ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > errors clearly on invalid input [0.31ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > flat shading (default) produces non-indexed output with per-face normals [1.66ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > smooth shading preserves indexed output and averages normals [1.24ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > hull defaults to smooth (organic wrapping shapes) [0.88ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > hull can be opted into flat shading [1.10ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > boolUnion stamps kilnRanges with one entry per operand, summing to total tris [1.84ms]
(pass) Wave 2A: CSG primitives (manifold-3d) > GLB export round-trips without serialising kilnRanges (userData is dropped) [11.83ms]
src/__tests__/implicit.test.ts:
(pass) samples a bounded sphere with positive-inside convention and closed topology [11.27ms]
(pass) rejects runaway resolution before sampling and enforces callback evaluation count [2.24ms]
(pass) repeats deterministically and marks the output as experimental [5.32ms]
src/__tests__/mcp-cancellation.test.ts:
(pass) propagates a real MCP cancellation to the Node worker and accepts a later valid request [1142.17ms]
src/__tests__/workspace-bootstrap.test.ts:
(pass) defaults to core skills, supports optional skills, and refuses invalid setup before writing [940.51ms]
(pass) repairs a moved workspace without replacing assets or silently overwriting edited configuration [1352.89ms]
(pass) checks the installation before creating a destination [41.32ms]
(pass) refuses an otherwise loadable installation without the packaged worker before writing [51.70ms]
(pass) launches Agy in its own project and disables automatic skill expansion for headless runs [578.53ms]
(pass) adds a new managed launcher during repair but refuses an existing user file [1791.03ms]
src/__tests__/composer-model.test.ts:
(pass) place / move / face / remove > place evaluates to a grounded placement facing the scene centre [0.50ms]
(pass) place / move / face / remove > move shifts it, face re-orients it, remove drops it [0.29ms]
(pass) place / move / face / remove > edit ops on a missing target return ok:false with a hint [0.08ms]
(pass) placeExact (verbatim / look-preserving import) > places the asset ORIGIN exactly — no grounding, recentre, or rounding [0.32ms]
(pass) placeExact (verbatim / look-preserving import) > a normal place at the same XZ shifts the origin; exact does not [0.29ms]
(pass) placeExact (verbatim / look-preserving import) > JSON round-trips the exact placement bit-for-bit (the machine reload) [0.51ms]
(pass) cluster / ring / layout stay overlap-free and addressable > cluster scatters N overlap-free around a point [1.02ms]
(pass) cluster / ring / layout stay overlap-free and addressable > ring places N on a circle, overlap-free, addressable as alias#i [0.39ms]
(pass) cluster / ring / layout stay overlap-free and addressable > layout explodes into editable place statements, overlap-free [0.43ms]
(pass) group + provenance + persistence > group tags members and moves them together [0.28ms]
(pass) group + provenance + persistence > every instance carries provenance back to its generationId + statement [0.15ms]
(pass) group + provenance + persistence > toJSON / fromJSON reproduces the evaluated scene exactly [0.42ms]
src/__tests__/composer-dsl.test.ts:
(pass) scene builder > composes a model whose placements are correct and overlap-free [4.26ms]
(pass) serialize > emits a clean, deterministic program referencing assets by generationId [0.63ms]
(pass) serialize > cluster and ring each serialize as a single sugar line [0.56ms]
(pass) serialize > placeExact serializes as a verbatim line that re-evaluates to the exact pose [0.29ms]
src/__tests__/sweep.test.ts:
(pass) sweeps a capped profile with predictable bounds, UVs and outward winding [0.96ms]
(pass) transports a noncircular profile with twist and variable scale deterministically [1.24ms]
(pass) closes a transported loop with matched UV seams [1.63ms]
(pass) lofts corresponding asymmetric sections in explicit degree-based frames [0.60ms]
(pass) rejects ambiguous topology and diagnoses risky turns without claiming a solid [0.65ms]
src/__tests__/composer-run-port.test.ts:
scene looks good
(pass) composer pbrRender seam (B3a) > reference images enter the initial composer turn as typed multimodal content [9.40ms]
(pass) composer pbrRender seam (B3a) > PbrRenderPort types express the render-service contract [0.31ms]
(pass) composer pbrRender seam (B3a) > validates and clones exact perspective camera transport without changing legacy view dirs [1.23ms]
scene looks good
scene looks good
(pass) composer pbrRender seam (B3a) > threading pbrRender changes nothing: identical tool surface and result, port never called [10.98ms]
src/__tests__/material-resource-registry.test.ts:
(pass) runtime-delivered approved resources > a runtime resource cannot be produced synchronously [0.62ms]
(pass) runtime-delivered approved resources > with no resolver registered it fails by name instead of silently degrading [0.27ms]
(pass) runtime-delivered approved resources > resolved bytes carry the same provenance as embedded ones, marked by delivery [0.52ms]
(pass) runtime-delivered approved resources > a resolver returning the wrong bytes is rejected, not trusted [0.45ms]
(pass) runtime-delivered approved resources > host payloads reject oversize bytes, unsupported MIME/format, and unsafe dimensions [1.32ms]
(pass) runtime-delivered approved resources > host resolution has a hard deadline and exposes only an abort signal to the host [13.71ms]
(pass) runtime-delivered approved resources > concurrent requests for one resource share a single fetch [0.59ms]
(pass) runtime-delivered approved resources > a failed fetch is retryable rather than cached as a permanent failure [0.28ms]
(pass) runtime-delivered approved resources > a resolver only ever sees approved descriptors, never a caller-supplied string [0.31ms]
(pass) what the model is told it can bind > placeholder swatches are withheld while production texture families are advertised [0.48ms]
(pass) what the model is told it can bind > the catalogue reports only what this environment can resolve [0.32ms]
(pass) what the model is told it can bind > the prompt names resolvable IDs, and says so plainly when there are none [0.11ms]
(pass) package weight > every production family ships a verified albedo, normal, and packed ARM map [771.79ms]
(pass) package weight > runtime resources ship no bytes, and the embedded set stays negligible [0.41ms]
(pass) package weight > every resource records a licence, so silence is never the default [0.09ms]
src/__tests__/cli-capture-cache.test.ts:
(pass) local service identity enables default host GPU reuse and invalidates on restart [135.05ms]
(pass) CPU mode does not probe a renderer; unknown or unreachable identity disables reuse [10.47ms]
src/__tests__/generated-source-policy.test.ts:
(pass) H6.5 generated-source policy > rejects the ambient globalThis capability [0.82ms]
(pass) H6.5 generated-source policy > rejects the ambient global capability [0.23ms]
(pass) H6.5 generated-source policy > rejects the ambient process capability [0.17ms]
(pass) H6.5 generated-source policy > rejects the ambient fetch capability [0.20ms]
(pass) H6.5 generated-source policy > rejects the ambient XMLHttpRequest capability [0.23ms]
(pass) H6.5 generated-source policy > rejects the ambient WebSocket capability [0.40ms]
(pass) H6.5 generated-source policy > rejects the ambient Function capability [0.46ms]
(pass) H6.5 generated-source policy > rejects the ambient eval capability [0.19ms]
(pass) H6.5 generated-source policy > rejects computed ambient-global access: this['pro' + 'cess'] [0.32ms]
(pass) H6.5 generated-source policy > rejects computed ambient-global access: globalThis['fe' + 'tch'] [0.10ms]
(pass) H6.5 generated-source policy > rejects computed ambient-global access: globalThis[`WebSocket`] [0.14ms]
(pass) H6.5 generated-source policy > rejects dynamic import without echoing its specifier [0.82ms]
(pass) H6.5 generated-source policy > rejects constructor-chain access: (()=>{}).constructor [0.34ms]
(pass) H6.5 generated-source policy > rejects constructor-chain access: (()=>{})['constructor'] [0.14ms]
(pass) H6.5 generated-source policy > rejects constructor-chain access: (()=>{})['con' + 'structor'] [0.47ms]
(pass) H6.5 generated-source policy > rejects constructor-chain access: (()=>{})[`constructor`] [0.36ms]
(pass) H6.5 generated-source policy > rejects constructor-chain access: const key = 'con' + 'structor'; (()=>{})[key] [0.13ms]
(pass) H6.5 generated-source policy > rejects constructor-chain access: Reflect.get(()=>{}, 'constructor') [0.26ms]
(pass) H6.5 generated-source policy > rejects constructor-chain access: const { constructor: makeFunction } = (()=>{}); void makeFunction; [0.54ms]
(pass) H6.5 generated-source policy > rejects generated raw material or texture construction: new THREE.DataTexture() [0.30ms]
(pass) H6.5 generated-source policy > rejects generated raw material or texture construction: new THREE['DataTexture']() [0.10ms]
(pass) H6.5 generated-source policy > rejects generated raw material or texture construction: new THREE['Data' + 'Texture']() [0.13ms]
(pass) H6.5 generated-source policy > rejects generated raw material or texture construction: new THREE[`DataTexture`]() [0.14ms]
(pass) H6.5 generated-source policy > rejects generated raw material or texture construction: new THREE.ShaderMaterial() [0.10ms]
(pass) H6.5 generated-source policy > rejects generated raw material or texture construction: new THREE['Shader' + 'Material']() [0.13ms]
(pass) H6.5 generated-source policy > rejects generated raw material or texture construction: new THREE.RawShaderMaterial() [0.09ms]
(pass) H6.5 generated-source policy > rejects generated raw material or texture construction: new THREE['RawShaderMaterial']() [0.09ms]
(pass) H6.5 generated-source policy > rejects generated raw material or texture construction: const { DataTexture: TextureCtor } = THREE; new TextureCtor(); [0.13ms]
(pass) H6.5 generated-source policy > rejects aliasing the THREE namespace: const T = THREE; new T.DataTexture(); [0.22ms]
(pass) H6.5 generated-source policy > rejects aliasing the THREE namespace: let T; T = THREE; new T.ShaderMaterial(); [0.18ms]
(pass) H6.5 generated-source policy > rejects non-static computed THREE access while preserving direct safe constructors [0.32ms]
(pass) H6.5 generated-source policy > rejects descriptor-based constructor retrieval [0.17ms]
(pass) H6.5 generated-source policy > blocks policy violations before generated source has any side effect [0.31ms]
(pass) H6.5 generated-source policy > keeps safe THREE constructors and ordinary computed properties valid [1.05ms]
(pass) H6.5 generated-source policy > does not scan comments, strings, or benign object keys as capabilities [0.22ms]
src/__tests__/inspect.test.ts:
(pass) kiln.inspect > reports triangles, materials and bounding box for a real chest [81.95ms]
(pass) kiln.inspect > captures named parts with type classification [90.12ms]
(pass) kiln.inspect > surfaces animation tracks with targetResolved flag [78.63ms]
(pass) kiln.inspect > preserves an unresolved review track and reports the evaluator warning [6.63ms]
(pass) kiln.inspect > lists the primitives actually used in the code [82.95ms]
(pass) kiln.inspect > bounds reflect a floating asset (debugging aid) [17.42ms]
(pass) kiln.inspect > fails closed when evaluator QA blocks a pivots-only scene [1.50ms]
src/__tests__/ops.test.ts:
(pass) mergeVertices > default (attribute-aware) preserves per-face normal splits [0.51ms]
(pass) mergeVertices > positionOnly welds BoxGeometry corners down to 8 [0.43ms]
(pass) mergeVertices > accepts legacy numeric tolerance arg for backward compat [0.22ms]
(pass) mergeVertices > does not mutate the input [0.19ms]
(pass) mergeVertices > collapses poles on a SphereGeometry under positionOnly weld [0.50ms]
(pass) subdivide auto-weld > keeps deformed corners connected (rock-smooth fix) [2.20ms]
(pass) subdivide auto-weld > weld: false disables the auto-merge (legacy behavior) [5.21ms]
(pass) subdivide auto-weld > preserves geometry survival through GLB export after welded subdivide [2.02ms]
(pass) revolveGeo > full revolution of a vertical line ≡ cylinder bbox [0.42ms]
(pass) revolveGeo > full revolution matches lathe (back-compat sanity) [0.22ms]
(pass) revolveGeo > partial sweep covers the requested angular extent [0.28ms]
(pass) revolveGeo > non-Y axis reorients the surface [0.17ms]
(pass) revolveGeo > rejects zero-length axis [0.22ms]
(pass) pipeAlongPath > 2-point pipe matches a beamBetween bbox along the same vector [1.41ms]
(pass) pipeAlongPath > 3-point right-angle path covers both legs [0.80ms]
(pass) pipeAlongPath > bendRadius>0 changes the geometry vs unsmoothed path [1.28ms]
(pass) pipeAlongPath > rejects single-point input [0.13ms]
src/__tests__/integration-manifest.test.ts:
(pass) GLB integration contract > writes an explicit default scene and returns a deterministic integration manifest [7.04ms]
(pass) GLB integration contract > reports the offset needed to ground a floating artifact [3.22ms]
prune: Removed types... Accessor (1)
(pass) GLB integration contract > composed artifacts also declare their default scene [14.04ms]
src/__tests__/cli-beauty-response.test.ts:
(pass) remote adapter preserves the requested beauty PNG alongside ordinary views [8.33ms]
src/__tests__/metrics.test.ts:
(pass) collectGlbMetrics (post-dedup) > an instanced 4-wheel scene reports 1 geometry, 1 material, 4 draw calls [9.87ms]
(pass) collectGlbMetrics (post-dedup) > records whether dedup() merges value-identical-but-independent materials [3.88ms]
(pass) collectGlbMetrics (post-dedup) > distinct-color materials are NOT merged [4.42ms]
(pass) collectGlbMetrics (post-dedup) > a blended (glass) material marks transparentMaterials [5.13ms]
(pass) gradeInstanceability (advisory rubric) > 1 material -> A [7.59ms]
(pass) gradeInstanceability (advisory rubric) > 2-3 materials -> B [0.20ms]
(pass) gradeInstanceability (advisory rubric) > many materials -> F [0.03ms]
(pass) gradeInstanceability (advisory rubric) > transparency caps an otherwise-A asset at C [0.13ms]
(pass) gradeInstanceability (advisory rubric) > skinned is NOT an automatic F and is noted [0.10ms]
(pass) gradeInstanceability (advisory rubric) > texture sprawl demotes toward C [0.06ms]
(pass) render.meta carries the instanceability report > renderGLB merges instanceability into meta [6.05ms]
(pass) gradeGlbBytes (web-side path) > grades a finished GLB from its bytes and derives triangles [15.51ms]
(pass) gradeGlbBytes (web-side path) > returns undefined on unparseable bytes [0.23ms]
src/__tests__/vegetation-prompt-integration.test.ts:
(pass) VEG-017 generation-prompt integration > injects only the resolved current-API vegetation recipe [5.71ms]
src/__tests__/uv.test.ts:
(pass) Wave 3A: autoUnwrap (xatlasjs) > produces a uv attribute on a simple box [7.31ms]
(pass) Wave 3A: autoUnwrap (xatlasjs) > stamps atlas metadata on userData [56.16ms]
(pass) Wave 3A: autoUnwrap (xatlasjs) > does not mutate the input geometry [21.24ms]
(pass) Wave 3A: autoUnwrap (xatlasjs) > UVs survive GLB export end-to-end [35.48ms]
(pass) Wave 3A: autoUnwrap (xatlasjs) > works on CSG output (boolDiff → autoUnwrap) [30.72ms]
src/__tests__/discovery.test.ts:
(pass) progressive capability discovery > groups exact signatures in requested order and reports every unknown name [4.83ms]
(pass) progressive capability discovery > reports effective host limits and current camera/export support without confusing a cache wrapper for an external evaluator [2.69ms]
(pass) progressive capability discovery > returns a compact complete overview and an exact lookup with a usable example [2.19ms]
(pass) progressive capability discovery > searches descriptions and pages results without dropping or repeating entries [2.06ms]
(pass) progressive capability discovery > explains invalid categories and missing names and bounds model-controlled input [1.47ms]
(pass) progressive capability discovery > retains the historical baseline catalog shape [0.57ms]
(pass) progressive capability discovery > reports the actual revision store usage without exporting stored source [2.07ms]
src/__tests__/program-tools.test.ts:
(pass) program references > registers, reads, edits and renders a revision without resending source [209.42ms]
(pass) program references > keeps custom stores without short-reference support compatible [3.07ms]
(pass) program references > preserves inline clients, failed drafts, atomic failures and independent branches [5.43ms]
(pass) program references > persists exact source across store instances and detects corrupt content [10.78ms]
(pass) program references > pages source without loss and bounds search results [2.76ms]
(pass) program references > enforces source limits without changing existing revisions [1.96ms]
src/__tests__/glb-bounds.test.ts:
(pass) measureGlbBounds > matches the live-scene bounds for a rendered program [69.26ms]
(pass) measureGlbBounds > returns undefined for bytes with no measurable geometry [66.23ms]
src/__tests__/profile.test.ts:
(pass) roundedBoxGeo > rounds all twelve edges without growing the box [2.01ms]
(pass) roundedBoxGeo > honours non-cubic dimensions in boxGeo argument order (w, h, d) [1.64ms]
(pass) roundedBoxGeo > chamfer keeps the exact size and is far cheaper than round [2.32ms]
(pass) roundedBoxGeo > segments trades triangles for smoothness without moving the box [5.37ms]
(pass) roundedBoxGeo > rejects a radius that leaves no box to round [0.91ms]
(pass) roundedBoxGeo > rejects non-positive dimensions instead of returning an empty mesh [0.57ms]
(pass) extrudeProfile > sweeps a square into a prism of exactly the right volume [1.08ms]
(pass) extrudeProfile > REGRESSION: an untapered extrude is a full prism, not a half-volume wedge [1.30ms]
(pass) extrudeProfile > bevelling does not move the bounding box [1.74ms]
(pass) extrudeProfile > chamfer and round are different shapes at the same nominal bevel [2.33ms]
(pass) extrudeProfile > rejects a bevel larger than the profile can absorb [0.34ms]
(pass) extrudeProfile > subtracts holes regardless of their winding order [10.69ms]
(pass) extrudeProfile > taper 0 makes a pyramid of one third the prism volume [0.89ms]
(pass) extrudeProfile > taper accepts an anisotropic [x, y] pair [0.70ms]
(pass) extrudeProfile > twist adds slices, and more slices converge on the true volume [3.71ms]
(pass) extrudeProfile > sweeps along the requested axis [1.13ms]
(pass) extrudeProfile > center:false starts the sweep at the origin [0.26ms]
(pass) extrudeProfile > rejects malformed profiles with a message that names the problem [0.41ms]
(pass) revolveProfile > revolves a rectangle into a solid cylinder of the right volume [1.59ms]
(pass) revolveProfile > bevel rounds the rim without growing the silhouette [5.54ms]
(pass) revolveProfile > a partial sweep produces less volume than a full revolution [3.42ms]
(pass) revolveProfile > rejects an out-of-range sweep angle [0.40ms]
(pass) circleProfile > builds a closed outline of the requested radius and segment count [0.13ms]
(pass) circleProfile > offsets around an explicit center [0.09ms]
(pass) circleProfile > rejects degenerate inputs [0.12ms]
(pass) interop > an extruded profile survives a boolean and exports to GLB [23.75ms]
(pass) interop > agent-authored code can use every new op through executeKilnCode [136.46ms]
(pass) interop > the sandbox exposes all four ops as globals [0.23ms]
(pass) interop > usage tracking counts the new ops like any other primitive [1.62ms]
src/__tests__/optimize.test.ts:
(pass) optimize=off (byte-stable) > omitting optimize and optimize:"off" are byte-identical, and deterministic [21.70ms]
prune: Removed types... Accessor (1)
prune: Removed types... TextureInfo (70), Material (14)
(pass) optimize=palette (material collapse) > collapses many distinct flat materials to ~1 and lifts the grade [48.19ms]
prune: Removed types... Accessor (1)
prune: Removed types... TextureInfo (45), Material (9)
(pass) optimize=palette (material collapse) > keeps transparency separate — glass is never merged into opaque [25.44ms]
prune: Removed types... Accessor (1)
prune: Removed types... TextureInfo (45), Material (9)
(pass) optimize=palette (material collapse) > keeps named pivots (Kiln City behaviors target createPivot Joint_ by name) [30.83ms]
prune: Removed types... Accessor (1)
prune: Removed types... TextureInfo (40), Material (8)
(pass) optimize=full (static-only; auto-degrade on animation) > auto-degrades to palette when the asset is animated [102.40ms]
prune: Removed types... Accessor (1)
prune: Removed types... TextureInfo (70), Material (14)
(pass) optimizeGlbBytes (web-side path) > consolidates a finished GLB from its bytes and re-grades it [28.95ms]
(pass) optimizeGlbBytes (web-side path) > returns undefined on unparseable bytes (caller keeps the original) [1.35ms]
prune: Removed types... Accessor (1)
(pass) optimizeGlbBytes (web-side path) > an instanced scene keeps shared geometry through consolidation [13.69ms]
prune: Removed types... Accessor (1)
prune: Removed types... TextureInfo (70), Material (14)
(pass) optimize=auto (grade-aware, the default grade-lift lever) > consolidates a material-sprawl asset (>= PALETTE_MIN) and lifts the grade [33.42ms]
prune: Removed types... Accessor (1)
prune: Removed types... TextureInfo (20), Material (4)
(pass) optimize=auto (grade-aware, the default grade-lift lever) > consolidates a 4-material asset (grade C floor) to grade B or better [23.11ms]
(pass) optimize=auto (grade-aware, the default grade-lift lever) > is a byte-stable no-op on a lean asset (< PALETTE_MIN materials) [20.77ms]
prune: Removed types... Accessor (1)
prune: Removed types... TextureInfo (70), Material (14)
(pass) optimize=auto (grade-aware, the default grade-lift lever) > optimizeGlbBytes mode:auto consolidates a heavy GLB and skips a lean one [48.26ms]
src/arena/arena.test.ts:
(pass) bradley-terry recovers a clear ordering from synthetic votes [4.81ms]
(pass) bradley-terry is deterministic [2.16ms]
(pass) bradley-terry handles undefeated/winless extremes without NaN strengths [0.87ms]
(pass) bradley-terry seeds unvoted ids at neutral strength [0.15ms]
(pass) pickNextPair returns null for fewer than two items [0.25ms]
(pass) pickNextPair prefers an uncompared pair over a heavily-compared one [0.25ms]
(pass) pickNextPair returns a valid, ordered, distinct pair [0.19ms]
(pass) pickNextPair is deterministic given identical inputs [0.32ms]
src/qa/corpus.test.ts:
(pass) W1 known-bad executable corpus > every failure has one reciprocal valid control and stable expected codes [0.21ms]
(pass) W1 known-bad executable corpus > reserves the complete requested W1 failure surface [0.06ms]
(pass) W1 known-bad executable corpus > executes every builder into finite renderable geometry or concrete GLB bytes [27.07ms]
(pass) W1 known-bad executable corpus > valid control scenes serialize to Khronos-clean GLBs [827.78ms]
(pass) W1 known-bad executable corpus > pairs encode reciprocal measured states, including active foliage QA [22.54ms]
src/qa/character-vehicle-corpus.test.ts:
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > covers every requested body plan, vehicle subtype, reciprocal pair, and adversary [0.55ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-bilateral-symmetry-failure produces only its declared reciprocal expectations [4.24ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-bilateral-symmetry-control produces only its declared reciprocal expectations [2.10ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-chain-order-failure produces only its declared reciprocal expectations [2.23ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-chain-order-control produces only its declared reciprocal expectations [1.96ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-forward-marker-failure produces only its declared reciprocal expectations [2.10ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-forward-marker-control produces only its declared reciprocal expectations [2.36ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-lateral-energy-failure produces only its declared reciprocal expectations [7.89ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-lateral-energy-control produces only its declared reciprocal expectations [5.62ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-leg-phase-failure produces only its declared reciprocal expectations [6.21ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-leg-phase-control produces only its declared reciprocal expectations [5.48ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-bend-direction-failure produces only its declared reciprocal expectations [7.01ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-bend-direction-control produces only its declared reciprocal expectations [5.37ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-grip-motion-failure produces only its declared reciprocal expectations [5.07ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-grip-motion-control produces only its declared reciprocal expectations [3.44ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-foot-slide-failure produces only its declared reciprocal expectations [7.39ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > character-foot-slide-control produces only its declared reciprocal expectations [6.70ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-offset-hub-failure produces only its declared reciprocal expectations [6.44ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-offset-hub-control produces only its declared reciprocal expectations [4.63ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-wrong-axle-failure produces only its declared reciprocal expectations [4.84ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-wrong-axle-control produces only its declared reciprocal expectations [4.83ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-duplicate-wheel-failure produces only its declared reciprocal expectations [6.08ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-duplicate-wheel-control produces only its declared reciprocal expectations [6.64ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-buried-tire-failure produces only its declared reciprocal expectations [11.84ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-buried-tire-control produces only its declared reciprocal expectations [5.88ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-sideways-body-failure produces only its declared reciprocal expectations [4.90ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-sideways-body-control produces only its declared reciprocal expectations [0.86ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-open-track-failure produces only its declared reciprocal expectations [4.87ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-open-track-control produces only its declared reciprocal expectations [3.46ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-off-center-rotor-failure produces only its declared reciprocal expectations [1.00ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-off-center-rotor-control produces only its declared reciprocal expectations [0.33ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-bilateral-symmetry-failure produces only its declared reciprocal expectations [4.29ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-bilateral-symmetry-control produces only its declared reciprocal expectations [5.10ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-chassis-penetration-failure produces only its declared reciprocal expectations [5.82ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-chassis-penetration-control produces only its declared reciprocal expectations [4.82ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-support-set-failure produces only its declared reciprocal expectations [2.63ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-support-set-control produces only its declared reciprocal expectations [3.79ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-support-plane-failure produces only its declared reciprocal expectations [3.18ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-support-plane-control produces only its declared reciprocal expectations [3.18ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-track-containment-failure produces only its declared reciprocal expectations [3.04ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > vehicle-track-containment-control produces only its declared reciprocal expectations [4.02ms]
(pass) CHAR-032 / VEH-030 W6 deterministic corpus > fixture findings and measurements reproduce byte-for-byte across builds [348.25ms]
(pass) W6 advisory rollout boundary > registry rewrites every character and vehicle heuristic to observe [41.94ms]
(pass) W6 advisory rollout boundary > only explicit grip, duplicate-corner, and declared support contracts block [13.90ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-biped-static injects only its resolved body-plan contract [0.52ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-biped-animated injects only its resolved body-plan contract [0.17ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-quadruped-static injects only its resolved body-plan contract [0.11ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-quadruped-animated injects only its resolved body-plan contract [0.13ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-avian-static injects only its resolved body-plan contract [0.15ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-avian-animated injects only its resolved body-plan contract [0.17ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-serpentine-static injects only its resolved body-plan contract [0.12ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-serpentine-animated injects only its resolved body-plan contract [0.15ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-multilimb-static injects only its resolved body-plan contract [0.16ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-multilimb-animated injects only its resolved body-plan contract [0.15ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-wheeled-static injects only its resolved body-plan contract [0.37ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > character-wheeled-animated injects only its resolved body-plan contract [0.23ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > vehicle-wheeled injects subtype-specific vehicle guidance [4.38ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > vehicle-tracked injects subtype-specific vehicle guidance [0.18ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > vehicle-rail injects subtype-specific vehicle guidance [0.13ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > vehicle-watercraft injects subtype-specific vehicle guidance [0.17ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > vehicle-fixed-wing injects subtype-specific vehicle guidance [0.15ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > vehicle-rotorcraft injects subtype-specific vehicle guidance [0.10ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > vehicle-hover injects subtype-specific vehicle guidance [0.10ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > vehicle-walking injects subtype-specific vehicle guidance [0.10ms]
(pass) CHAR-031/032 and VEH-030 resolved prompt corpus > vehicle-custom injects subtype-specific vehicle guidance [0.12ms]
src/qa/environment.test.ts:
(pass) ENV-001 intent profile > freezes all requested subtypes and closure-owned capabilities [0.38ms]
(pass) ENV-002 tile edge continuity > accepts aligned height/normal/material samples and paired semantic sockets [2.82ms]
(pass) ENV-002 tile edge continuity > blocks a measured tagged height seam and socket misalignment [1.73ms]
(pass) ENV-002 tile edge continuity > keeps untagged inferred edge evidence nonblocking [1.55ms]
(pass) ENV-003 navigable negative space > accepts a clear corridor, observes default dimensions, and blocks authored obstacles [3.19ms]
(pass) ENV-003 navigable negative space > measures rotated corridors in their local frame instead of their inflated AABB [1.02ms]
(pass) ENV-003 navigable negative space > reports untagged inferred navigation as an observe-path warning, never a blocker [0.19ms]
(pass) ENV-004 semantic placement sockets > enforces only socket pairs that were explicitly declared [0.83ms]
(pass) ENV-004 semantic placement sockets > resolves declared frames in asset-local space [0.47ms]
prune: Removed types... Accessor (1)
(pass) ENV-004 semantic placement sockets > preserves exact frame/socket metadata through GLB export and reload [15.61ms]
(pass) ENV-005 ground policy > allows intentional terrain volume and localizes buried, floating, and skirt layers [1.25ms]
(pass) prop/environment prompt guidance > names subtype, tile seams, sockets, corridor, and ground-policy roles [0.28ms]
src/qa/architecture.test.ts:
(pass) ARCH-019 executable reciprocal architecture corpus > failure: roof-panels-rotated-90 [3.70ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: roof-panels-axis-control [1.99ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: same-facing-slopes [1.47ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: opposing-slopes-control [0.92ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: missing-gables [1.07ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: complete-gables-control [1.05ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: sparse-gables [1.05ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: dense-gables-control [0.95ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: ridge-gap [0.99ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: ridge-contact-control [0.63ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: wall-roof-gap [0.64ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: wall-roof-contact-control [0.69ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: sealed-doorway [0.53ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: clear-portal-control [0.62ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: sealed-enterable-box [0.56ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: clear-box-portal-control [0.60ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: storey-count-mismatch [0.45ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: storey-count-control [0.30ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: interior-shell-missing [0.21ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: interior-shell-control [0.16ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: removable-roof-fixed [0.23ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: removable-roof-control [0.15ms]
(pass) ARCH-019 executable reciprocal architecture corpus > failure: undersized-rotunda-dome [0.70ms]
(pass) ARCH-019 executable reciprocal architecture corpus > control: rotunda-dome-control [0.43ms]
(pass) ARCH-019 executable reciprocal architecture corpus > false-positive: valid-large-overhang [0.58ms]
(pass) ARCH-019 executable reciprocal architecture corpus > false-positive: intentional-open-pavilion [0.25ms]
(pass) ARCH-019 executable reciprocal architecture corpus > false-positive: explicit-stylized-scale [0.39ms]
(pass) ARCH-019 executable reciprocal architecture corpus > false-positive: roofless-bridge-control [0.88ms]
(pass) ARCH-019 executable reciprocal architecture corpus > false-positive: shed-roof-control [0.32ms]
(pass) ARCH-019 executable reciprocal architecture corpus > false-positive: hip-roof-control [0.41ms]
(pass) ARCH-019 executable reciprocal architecture corpus > false-positive: porch-roof-intersection-control [0.82ms]
(pass) ARCH-019 executable reciprocal architecture corpus > freezes lifecycle and rotunda adversaries with reciprocal controls [0.13ms]
(pass) ARCH-019 executable reciprocal architecture corpus > covers every observed architecture failure with a reciprocal control [0.16ms]
(pass) ARCH-010–016 validator policy > the canonical shell and roof-local panels pass exact QA for both ridge axes [4.78ms]
prune: Removed types... Primitive (19), Accessor (10)
(pass) ARCH-010–016 validator policy > final export preserves helper portal/roof semantics and safely degrades full optimize [137.10ms]
(pass) ARCH-010–016 validator policy > registry selects architecture rules and hard-gates a tagged exact defect [1.87ms]
(pass) ARCH-010–016 validator policy > passes a ridge-Z nonsquare shell under translated and rotated root transforms [0.86ms]
(pass) ARCH-010–016 validator policy > rejects complete-looking gables that do not occupy the claimed end boundaries [2.26ms]
(pass) ARCH-010–016 validator policy > rejects a clearance marker floating outside its claimed exterior wall [2.34ms]
(pass) ARCH-010–016 validator policy > keeps untagged/inferred roof defects warn-only and asks for semantic roles [0.34ms]
(pass) ARCH-010–016 validator policy > enforces requested multi-storey count from portable floor.storey roles [0.36ms]
(pass) ARCH-010–016 validator policy > requires measurable shell evidence exactly when interiorMode is shell [0.19ms]
(pass) ARCH-010–016 validator policy > requires removable roofs to own a portable separable-from relationship [0.28ms]
(pass) ARCH-010–016 validator policy > supports a Pantheon-like rotunda dome and rejects undersized dome coverage [0.75ms]
(pass) ARCH-010–016 validator policy > explicit stylized scale suppresses every realistic scale-band warning [0.76ms]
(pass) ARCH-010–016 validator policy > reports every realistic door, ceiling, stair, wall, and footprint band [1.20ms]
(pass) ARCH-018 evidence-bound repair recipes > maps all five approved defect codes to localized repairs and views [0.14ms]
(pass) ARCH-018 evidence-bound repair recipes > preserves finding-specific localization when applying a recipe [0.14ms]
src/qa/gltf.test.ts:
(pass) Khronos final-byte conformance fixtures > ignores only exact KTX2 validator limitations on a required BasisU artifact [0.49ms]
(pass) Khronos final-byte conformance fixtures > does not suppress lookalike KTX2 warnings without the exact extension and pointers [0.08ms]
(pass) Khronos final-byte conformance fixtures > localizes a parsed but out-of-bounds accessor as a deterministic blocker [3.96ms]
src/qa/registry.test.ts:
(pass) QaRegistry > composes universal, category, subtype, and capability rules [0.37ms]
(pass) QaRegistry > applies off, observe, warn, and enforce deterministically [0.23ms]
(pass) QaRegistry > requires a stable named or delegated owner on every rule [0.20ms]
(pass) QaRegistry > allows exact warn/enforce only with owner-authorized conformance evidence [0.16ms]
(pass) QaRegistry > keeps an uncalibrated heuristic observe-only, then permits owner-approved QA-026 warn [1.09ms]
(pass) QaRegistry > allows a calibrated VLM warning but never VLM enforcement [0.20ms]
(pass) QaRegistry > rejects zero-sample calibration and threshold/report identity mismatches [0.34ms]
(pass) QaRegistry > rejects test and caller-selected review authorities for warn and enforce [0.36ms]
(pass) QaRegistry > binds review authority fields into the report hash and rejects tampering [0.23ms]
(pass) QaRegistry > rejects missing held-out identity, bad evidence hashes, and forged metrics [0.29ms]
(pass) QaRegistry > requires the stronger enforcement bar and rejects false blocks [0.36ms]
(pass) QaRegistry > requires resolved evidence and calibrated VLM confidence [0.46ms]
(pass) QaRegistry > requires a rendererId on promotion evidence and rejects missing/malformed values [0.59ms]
(pass) QaRegistry > appearance rules register at observe but can never exceed it [0.35ms]
(pass) QaRegistry > rejects unknown runtime rollout modes before blocker severity can survive [0.10ms]
(pass) QaRegistry > publishes a stable auditable state and owner for every checked-in rule [0.20ms]
(pass) QaRegistry > keeps mixed architecture and vehicle advisories outside exact conformance promotion [0.27ms]
(pass) QaRegistry > pins every checked-in conformance authorization to the actual fixture bytes [7.05ms]
(pass) QaRegistry > rejects unstable or duplicate rule ids [0.27ms]
(pass) AssetQaReportV1 > keeps all five dimensions separate and marks unrun dimensions notEvaluated [0.22ms]
(pass) AssetQaReportV1 > validates stable structured findings [0.13ms]
(pass) AssetQaReportV1 > represents historical rows honestly as legacy-unassessed [0.10ms]
src/qa/part-connectivity.test.ts:
(pass) detached clusters > a group that touches itself but not the body is reported as one group [0.79ms]
(pass) detached clusters > the finding says one join is missing, not that several parts are misplaced [0.33ms]
(pass) detached clusters > the largest detached group is reported first [0.21ms]
(pass) legitimately connected assemblies are not flagged > a chain of parts each touching the next is one component [0.13ms]
(pass) legitimately connected assemblies are not flagged > a hinged lid resting on its box stays attached [0.13ms]
(pass) legitimately connected assemblies are not flagged > parts within the tolerance count as touching [0.10ms]
(pass) legitimately connected assemblies are not flagged > a single part cannot be disconnected from anything [0.08ms]
(pass) exemptions > foliage, cards, and decals are expected to stand apart [0.13ms]
(pass) exemptions > a name that is not a declared exempt role is still checked [0.13ms]
(pass) the QA rule > starts in observe with no promotion evidence [0.04ms]
(pass) the QA rule > a missing scene yields no findings rather than a false clean result [0.08ms]
(pass) the QA rule > a connected asset produces no findings [0.16ms]
(pass) the QA rule > the same scene always produces the same report [0.37ms]
src/qa/breadth-evidence.test.ts:
(pass) W7 engine-derived QA evidence > VFX exact evidence comes from actual materials and clips, never scene self-report [5.70ms]
(pass) W7 engine-derived QA evidence > actual opaque material and non-loop clip block despite forged passing metadata [1.66ms]
(pass) W7 engine-derived QA evidence > scope observation is derived from real members and dressing nodes [1.31ms]
(pass) W7 engine-derived QA evidence > MOD-001 consumes actual semantic socket/grid measurements in the production registry [3.12ms]
(pass) W7 engine-derived QA evidence > fake sidecar/userData and semantic facing roles cannot satisfy exact VFX evidence [1.15ms]
(pass) W7 engine-derived QA evidence > dedicated alphaMap is actual alpha evidence even without raw RGBA pixels [0.43ms]
(pass) W7 engine-derived QA evidence > render path exports Sprite as a semantic quad and re-proves exact final-byte parity [14.75ms]
(pass) W7 engine-derived QA evidence > final-byte QA blocks a standalone alphaMap that the GLB bridge cannot pack [4.14ms]
(pass) W7 engine-derived QA evidence > final-byte VFX-003 remeasures an explicit beam normal and direction [12.49ms]
(pass) W7 engine-derived QA evidence > inferred modular scope never enables exact MOD blockers [1.82ms]
(pass) W7 engine-derived QA evidence > registers prop, environment, VFX, modular, and scope production rules [0.19ms]
src/qa/universal.test.ts:
(pass) universal scene QA > valid control is finding-free [7.28ms]
(pass) universal scene QA > blocks empty output [0.15ms]
(pass) universal scene QA > localizes non-finite transforms and attributes [0.41ms]
(pass) universal scene QA > blocks an out-of-range geometry index [0.20ms]
(pass) universal scene QA > blocks zero scale on renderable/required nodes but only warns on empty organization [0.29ms]
(pass) universal scene QA > warns on ordinary duplicate names and blocks required duplicates [0.29ms]
(pass) universal scene QA > blocks missing required clips and unresolved targets [0.50ms]
(pass) universal scene QA > rule modes can demote objective blockers to observe during rollout [0.16ms]
src/qa/vehicle.test.ts:
(pass) vehicle semantic QA > accepts a transformed canonical four-wheel assembly [2.45ms]
(pass) vehicle semantic QA > blocks an explicit four-wheel intent when five assemblies resolve [3.38ms]
(pass) vehicle semantic QA > blocks duplicate semantic assemblies at one corner even when total count remains four [2.11ms]
(pass) vehicle semantic QA > localizes raised hubcaps and invalid nested radii [2.16ms]
(pass) vehicle semantic QA > uses scale-relative local measurements for concentricity [2.96ms]
(pass) vehicle semantic QA > detects wrong axle orientation and off-center component ownership [1.66ms]
(pass) vehicle semantic QA > detects paired-X/Y mismatch and floating contact [1.86ms]
(pass) vehicle semantic QA > requires declared non-wheel supports to touch the canonical contact plane [0.83ms]
(pass) vehicle semantic QA > requires declared non-wheel support types and one stable contact plane [0.52ms]
(pass) vehicle semantic QA > requires generated +X-front semantics and centered steering ownership [1.87ms]
(pass) vehicle semantic QA > rejects a centered steering pivot whose declared local axis is not vehicle +Y [1.70ms]
(pass) vehicle semantic QA > boat and wheelless profiles never inherit wheel rules [0.22ms]
(pass) vehicle semantic QA > validates declared rotor pivot, hierarchy, mast center, and +Y axis frame [0.68ms]
(pass) vehicle semantic QA > validates a declared propeller shaft at its center on vehicle-local +X [0.34ms]
src/qa/vegetation.test.ts:
(pass) W6 vegetation QA > VEG-003 blocks missing, floating, buried, and materially buried contacts [5.49ms]
(pass) W6 vegetation QA > VEG-003 evaluates asset-local contact under a transformed root [0.40ms]
(pass) W6 vegetation QA > VEG-003 accepts a nonrendering ground-contact frame on the semantic trunk [0.37ms]
(pass) W6 vegetation QA > VEG-004 needs corroborating scope evidence and remains observe-only in the registry [4.63ms]
(pass) W6 vegetation QA > VEG-014 measures front, side, top occupancy and canopy-to-trunk ratio by profile [1.14ms]
(pass) W6 vegetation QA > VEG-014 treats explicitly bare/dead growth as a distinct zero-canopy profile [0.42ms]
(pass) W6 vegetation QA > VEG-018 keeps optimized one-role foliage while rich organic mode asks for restrained variation [0.76ms]
(pass) W6 vegetation QA > VEG-013 measures semantic and fallback taper/length ratios with subtype bands [2.12ms]
(pass) W6 vegetation QA > VEG-015 lists detached foliage with nearest-support gap measurements [1.54ms]
(pass) W6 vegetation QA > VEG-016 detects identical transforms and perfect radial lockstep but suppresses formal topiary [1.93ms]
(pass) W6 vegetation QA > advisory aggregation never upgrades heuristic findings to blockers [1.12ms]
src/qa/benchmark-fixtures.test.ts:
(pass) next-cycle deterministic benchmark fixtures > exports the exact four model-independent fixture identities [0.09ms]
(pass) next-cycle deterministic benchmark fixtures > freezes prompts, canonical intent/config, expected semantics, and adversaries deeply [1.33ms]
(pass) next-cycle deterministic benchmark fixtures > pins exact category intent and benchmark semantics without trademark or animation drift [0.14ms]
(pass) next-cycle deterministic benchmark fixtures > pins the canonical JSON digest and reproduces it byte-for-byte [0.24ms]
src/qa/character.test.ts:
(pass) W4 explicit character contract pass controls > complete biped passes hierarchy, roles, contacts, grip, clips, and in-place policy [5.76ms]
(pass) W4 explicit character contract pass controls > complete quadruped passes four chains, contacts, and exact walk clip [1.11ms]
(pass) CHAR-008–012 exact semantic rig validation > duplicate Joint_* names block before export and report both exact paths [0.54ms]
(pass) CHAR-008–012 exact semantic rig validation > broken declared adjacency reports the exact child path and parent edge [0.86ms]
(pass) CHAR-008–012 exact semantic rig validation > explicit biped requires paired arm/leg roles; static biped does not [1.25ms]
(pass) CHAR-008–012 exact semantic rig validation > explicit quadruped requires all four limb chains plus spine/neck/head [1.14ms]
(pass) CHAR-008–012 exact semantic rig validation > serpentine and many-limbed custom graphs pass without humanoid assumptions [1.04ms]
(pass) CHAR-013/014 held-item and contact validation > held item passes under a grip end effector and fails under shoulder/elbow [1.14ms]
(pass) CHAR-013/014 held-item and contact validation > ground contacts use asset-local Y=0 under transformed roots [0.87ms]
(pass) CHAR-013/014 held-item and contact validation > floating and buried contacts report exact path, signed Y, and tolerance [2.56ms]
(pass) CHAR-026 declared attachment motion > blocks item-local animation that breaks a declared grip and accepts a stable grip [5.26ms]
(pass) CHAR-018–020 exact clip/key/loop validation > requires exactly requested names and rejects missing, duplicate, and extra clips [0.60ms]
(pass) CHAR-018–020 exact clip/key/loop validation > rejects invalid duration, non-finite values, duplicate/unsorted/out-of-range keys, and tuple mismatch [0.47ms]
(pass) CHAR-018–020 exact clip/key/loop validation > loop endpoints must match while declared one-shot impact is exempt [0.19ms]
(pass) CHAR-021/022 deterministic sampling and root motion > fixed normalized samples reproduce joint positions across runs [1.73ms]
(pass) CHAR-021/022 deterministic sampling and root motion > forward root motion rejects -X and Z-dominant travel; +X and in-place pass [0.63ms]
src/qa/self-intersection.test.ts:
(pass) true positives — parts occupying the same space > two boxes overlapping by half report the shared volume and fraction [28.68ms]
(pass) true positives — parts occupying the same space > a fully contained part reports a fraction of 1 [58.25ms]
(pass) true positives — parts occupying the same space > worst offender is reported first [63.75ms]
(pass) true negatives — correct geometry that must not be flagged > parts in flush contact share a surface, not a volume [36.77ms]
(pass) true negatives — correct geometry that must not be flagged > a bolt too fat for its bore IS caught — the negative below is not vacuous [178.51ms]
(pass) true negatives — correct geometry that must not be flagged > a socketed part in its hole is not flagged [44.08ms]
(pass) true negatives — correct geometry that must not be flagged > parts that are far apart never reach the narrow phase [0.70ms]
(pass) true negatives — correct geometry that must not be flagged > a sliver of shared volume below the contact threshold is not a penetration [75.93ms]
(pass) determinism and bounds > the same scene produces an identical report every run [202.55ms]
(pass) determinism and bounds > an oversized mesh is skipped with the reason, not silently ignored [23.07ms]
(pass) determinism and bounds > an open shell encloses no volume and is reported, not treated as clean [27.18ms]
(pass) determinism and bounds > a scene with fewer than two parts costs nothing [1.45ms]
(pass) the QA rule > starts in observe, as the plan requires before any promotion evidence [0.07ms]
(pass) the QA rule > a finding names both parts, the shared volume, and how to fix it [71.74ms]
(pass) the QA rule > no evidence yields no findings — an analysis that did not run is not a pass [0.81ms]
(pass) the QA rule > a truncated analysis says so rather than reading as complete [0.79ms]
src/qa/breadth-corpus.test.ts:
(pass) W7 VFX/modular/scope/reference corpus > VFX-002/003/004 exact fixtures emit only their frozen expected codes [6.17ms]
(pass) W7 VFX/modular/scope/reference corpus > VFX-005 reports transparent area/layers/overdraw/texture/sidecar separately [0.42ms]
(pass) W7 VFX/modular/scope/reference corpus > VFX-006 corpus covers every subtype and freezes the Studio rubric identities [0.13ms]
(pass) W7 VFX/modular/scope/reference corpus > VFX prompt is resolved to one subtype and preserves portable/sidecar truth [0.23ms]
(pass) W7 VFX/modular/scope/reference corpus > MOD-001 blocks only an explicit modular contract failure and prompt names the exact sockets [0.96ms]
(pass) W7 VFX/modular/scope/reference corpus > SCOPE-001 remains observe-only even for an explicit single-vs-cluster violation [0.27ms]
(pass) W7 VFX/modular/scope/reference corpus > REF-001 has no synchronous deterministic registry rule or automatic repair surface [0.63ms]
(pass) W7 VFX/modular/scope/reference corpus > missing trusted VFX contract is a request-normalization blocker, not model repair evidence [0.27ms]
src/qa/material.test.ts:
(pass) material portable-PBR conformance fixtures > accepts a finite untextured standard material control [6.50ms]
(pass) material portable-PBR conformance fixtures > blocks a non-finite portable-PBR factor with the exact finding code [0.32ms]
src/qa/geometry-relations.test.ts:
(pass) oriented local-space relation probes > contact, clearance, and penetration are reciprocal with localized evidence [1.82ms]
(pass) oriented local-space relation probes > distinguishes rotated OBB separation where global AABBs overlap [0.21ms]
(pass) oriented local-space relation probes > containment is directional and reports the exact escaped corners [1.00ms]
(pass) oriented local-space relation probes > alignment and concentricity separate angular, lateral, and axial measurements [0.61ms]
(pass) oriented local-space relation probes > coverage clips a rotated projected polygon and remains intentionally directional [3.09ms]
(pass) oriented local-space relation probes > all seven probes are invariant under a shared rigid transform and deterministic on rerun [2.64ms]
(pass) oriented local-space relation probes > directed local-axis clearance measures headroom rather than nearest global separation [0.18ms]
src/qa/vegetation-corpus.test.ts:
(pass) VEG-019 helper-independent vegetation regression corpus > freezes the exact requested control and adversary surface [0.58ms]
(pass) VEG-019 helper-independent vegetation regression corpus > executes semantic/fallback validators with stable expected and forbidden codes [57.41ms]
(pass) VEG-019 helper-independent vegetation regression corpus > contains only finite renderable geometry [19.76ms]
(pass) VEG-019 helper-independent vegetation regression corpus > serializes nonblocking cases byte-stably and rejects the exact floating blocker [3751.67ms]
src/qa/prop.test.ts:
(pass) PROP-002 articulated capability profile > accepts a semantic hinge with pivot, axis, moving subtree, and clear sweep [2.37ms]
(pass) PROP-002 articulated capability profile > localizes missing axis, wrong subtree, missing clearance, and blocked clearance [2.04ms]
(pass) PROP-002 articulated capability profile > allows only explicitly declared stationary hinge support inside the sweep [0.54ms]
(pass) PROP-002 articulated capability profile > preserves the narrow W5 Joint_Lid + Open-clip legacy fallback [0.82ms]
(pass) PROP-003 container negative-space profile > accepts measurable interior/opening markers and rejects a solid filler [0.51ms]
(pass) PROP-003 container negative-space profile > rejects missing or unusably thin negative space when semantic evidence is claimed [0.25ms]
(pass) PROP-004/005 advisory evidence > finds incomplete and radial-vs-tangent rings but ignores arbitrary radial art [3.02ms]
(pass) PROP-004/005 advisory evidence > reports declared scale, ground, and placement-pivot deltas without blocking [0.52ms]
(pass) PROP-006 capability-first helper policy and prompt guidance > approves the generic capability scaffold and closes regressing/noun-only candidates [0.32ms]
(pass) PROP-006 capability-first helper policy and prompt guidance > emits capability vocabulary instead of noun-specific construction recipes [0.33ms]
src/qa/policy-env.test.ts:
(pass) qaPolicyFromEnv / qaBlockingEnabled > unset env keeps ship defaults (empty policy, blocking on) [0.06ms]
(pass) qaPolicyFromEnv / qaBlockingEnabled > observe/off downgrade the default mode and disable blocking [0.07ms]
(pass) qaPolicyFromEnv / qaBlockingEnabled > upgrade modes and garbage are ignored (downgrade-only switch) [0.03ms]
(pass) KILN_QA_MODE render-path integration > a zero-scale program blocks under default env [26.39ms]
(pass) KILN_QA_MODE render-path integration > H-40(3): the blocked-render message carries the finding message + authored repairText [50.46ms]
(pass) KILN_QA_MODE render-path integration > the same program completes under KILN_QA_MODE=observe [71.39ms]
(pass) KILN_QA_MODE render-path integration > H-10: assessProgramGrade reports a QA block as qaBlocked, not a broken program [24.78ms]
(pass) KILN_QA_MODE render-path integration > H-10: observe mode revives the salvage predicate for a QA-blocked program [64.84ms]
src/qa/reference-comparison.test.ts:
(pass) segmentation > rejects the contact shadow instead of counting it as the object [7.43ms]
(pass) segmentation > keeps a genuinely dark object, which a shadow rule could easily eat [1.08ms]
(pass) segmentation > keeps a coloured object at shadow brightness, because a shadow is grey [0.86ms]
(pass) segmentation > derives the backdrop from the border ring, not from a fixed colour [1.55ms]
(pass) segmentation > reports an all-backdrop image as no subject rather than as full coverage [0.72ms]
(pass) comparison > scores a matching shape and colour high on both axes [2.80ms]
(pass) comparison > is unmoved by framing, because shapes are normalised to their own box [2.25ms]
(pass) comparison > flags a genuinely different outline [2.46ms]
(pass) comparison > flags a wrong palette while the outline still agrees [1.87ms]
(pass) comparison > says nothing when one side has no subject at all [1.28ms]
(pass) comparison > is deterministic and independent of input resolution [4.35ms]
(pass) comparison > holds the tolerance constants it documents [0.06ms]
(pass) cropGridCell > cuts one cell out of a sheet so the comparison sees one subject [0.68ms]
(pass) cropGridCell > comparing against the whole sheet would be wrong, and the crop fixes it [5.54ms]
(pass) cropGridCell > clamps an out-of-range index rather than reading past the sheet [0.17ms]
(pass) the registered rule > is heuristic and observe, and stays that way while appearance is unreconciled [0.05ms]
(pass) the registered rule > says nothing when no reference image was involved [0.05ms]
(pass) the registered rule > ignores evidence that is not the shape it expects [0.06ms]
(pass) the registered rule > reports through the evidence seam when a comparison was made [1.65ms]
src/agent/call-budget.test.ts:
(pass) generation-global model-call budget > defaults to no ceiling at all [3.43ms]
(pass) generation-global model-call budget > an unconfigured budget really does keep admitting calls [0.49ms]
(pass) generation-global model-call budget > attributes one shared allowance across author, observer, repair, retry, and fallback [0.13ms]
(pass) generation-global model-call budget > zero preserves the existing explicit unlimited configuration while retaining attribution [0.06ms]
(pass) generation-global model-call budget > the generation-global env wins while the legacy step env remains a fallback [0.07ms]
src/agent/tools-edit.test.ts:
(pass) apply replaces a unique span and records the edit [0.22ms]
(pass) apply errors (no mutation) when oldString is not found [0.10ms]
(pass) apply errors on an ambiguous (multi-match) oldString unless replaceAll [0.13ms]
(pass) apply rejects an identical or empty oldString [0.05ms]
(pass) apply treats newString literally - no $ / $& substitution [0.05ms]
(pass) view returns the raw buffer and a line count that tracks edits [0.10ms]
(pass) makeKilnEditTools exposes the eight edit-mode tools and wires the edit trace [2.67ms]
src/agent/generate.test.ts:
(pass) generateKilnAsset > default model is gemini 3.5 flash (google) [0.02ms]
(pass) generateKilnAsset > defaults to gemini, drives runKilnAgent, renders the submitted code to GLB [7.79ms]
(pass) generateKilnAsset > preserves baked procedural texture lineage on the public generation result [16.72ms]
max_tokens=<64000> | using default maxTokens, which is subject to change | set maxTokens explicitly to pin the value
(pass) generateKilnAsset > threads an explicit model + refine fields [14.94ms]
(pass) generateKilnAsset > full intent is authoritative through agent options and final render [5.96ms]
(pass) generateKilnAsset > throws when the agent returns an error [0.47ms]
(pass) generateKilnAsset > throws when the agent returns no code [0.21ms]
(pass) generateKilnAsset > H-10: a salvaged-on-error run (code + error + salvaged) renders instead of throwing [10.86ms]
(pass) generateKilnAsset > H-10: a step-cap salvage threads salvaged without a salvageError [4.27ms]
(pass) generateKilnAsset > H-10: an UNSALVAGED error with leftover code still throws (no silent bypass) [0.39ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > option absent: CPU grid comes from exact final bytes and fidelity is explicitly geometry-only [236.94ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > R2.11: final CPU fallback does not execute authored source a second time [95.31ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > R2.11: textured exact-byte fallback reports its unsupported sampling code [113.68ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > port success: composited port views, port rendererId, renderDegraded false [9.16ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > port is never consulted when captureViews is off [3.81ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > B4: a rejecting port degrades to the CPU grid with honest provenance [233.68ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > B4: an ok:false port degrades with the port error as the reason [111.31ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > B4: a hanging port trips the deadline and degrades [130.62ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > R2.7: final view timeout consumes dynamic warm-up and generation budget context [134.58ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > B4: undecodable or missing port PNGs degrade instead of throwing [208.23ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > B4: a port returning fewer PNGs than requested degrades instead of shrinking the grid [117.16ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > captureViewsViaPort is a public single-owner shell (success + degrade) [1.85ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > B4: the port receives a copy of the GLB bytes, not a live alias [6.01ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > T3.3 BYTE-IDENTITY: omitting capture is unchanged, and an explicit 3x2 matches it [222.18ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > T3.3: the port is asked for the requested cell count and composited at its columns [8.59ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > T3.3: a 2-column request composites at 2 columns, not the default 3 [13.60ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > T3.3: a GPU degrade produces the SAME layout the port was asked for [110.94ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > T3.3: per-cell zoom sends an exact camera and declines an unattested legacy reply [39.74ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > T3.3: an invalid capture warns and falls back — it never fails the run [209.63ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > T3.3: a bad config degrades the port too, instead of reaching it twice differently [12.56ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > T3.3: the GPU sheet carries the same cell labels and gnomon as the CPU one [12.84ms]
(pass) generateKilnAsset viewRenderPort (B3b/B4) > T3.3: captureViewsViaPort takes capture as its fourth argument [1.16ms]
src/agent/compaction.test.ts:
(pass) pruneStaleRenderImages > only the latest render image survives; older results get the placeholder [0.62ms]
(pass) pruneStaleRenderImages > tool-use/tool-result pairing is intact: no messages added/removed, ids stable [0.28ms]
(pass) pruneStaleRenderImages > is idempotent: a second pass prunes nothing and changes nothing [0.84ms]
(pass) pruneStaleRenderImages > a multi-image result (perFrame animation) collapses to ONE placeholder [0.23ms]
(pass) pruneStaleRenderImages > images outside tool results (the reference inputImage) are never touched [0.13ms]
(pass) pruneStaleRenderImages > keep:2 preserves the two newest image-bearing results [0.11ms]
(pass) pruneStaleRenderImages > no-op on a transcript with at most one image-bearing result [0.06ms]
(pass) installRenderImageCompaction > prunes before each model call and reports via onPrune [0.25ms]
(pass) installGenerationCounters > M1: records projected input tokens + transcript length per model call [0.30ms]
(pass) installGenerationCounters > M2: counts image-bearing (render) tool results; JSON-only results do not count [0.26ms]
(pass) installGenerationCounters > uninstall stops both counters [0.25ms]
src/agent/stream-start.test.ts:
(pass) injects a leading stream-start when the provider omits it (OpenRouter shape) [3.76ms]
(pass) is a no-op when the provider already emits stream-start [0.44ms]
(pass) injects stream-start even for an empty stream [0.23ms]
(pass) passes through non-doStream properties [0.10ms]
src/agent/diff.test.ts:
(pass) returns empty string for identical input [3.97ms]
(pass) a single line change produces one hunk with context [0.27ms]
(pass) emits ---/+++ headers when labels are given [0.08ms]
(pass) pure insertion: a-length is zero on the inserted hunk side [0.11ms]
(pass) pure deletion shows removed lines [0.07ms]
(pass) two far-apart changes produce two separate hunks [0.35ms]
(pass) content with $ tokens diffs literally [0.14ms]
src/agent/tools-media.test.ts:
(pass) makeKilnTools media handling > forwards the global budget so the observer port can debit actual dispatches [109.87ms]
(pass) makeKilnTools media handling > exposes the four registry tools plus the animation view and kiln_submit [0.80ms]
(pass) makeKilnTools media handling > kiln_screenshot returns [ImageBlock, JsonBlock] with the base64 stripped [103.20ms]
(pass) makeKilnTools media handling > a host observer replaces screenshot pixels with a structured visual observation [100.60ms]
(pass) makeKilnTools media handling > an observer failure degrades to explicit unavailable JSON and never leaks pixels [126.86ms]
(pass) makeKilnTools media handling > kiln_screenshot on broken code falls back to the plain JSON error output [1.65ms]
(pass) makeKilnTools media handling > kiln_render keeps its plain JSON output (no media wrapping) [13.69ms]
(pass) makeKilnEditTools kiln_screenshot > defaults to the working buffer and returns image blocks [106.47ms]
src/agent/view-render-timeout.test.ts:
(pass) R2.7 bounded per-request view-render timeout policy > keeps the existing numeric timeout option byte-for-byte compatible [0.06ms]
(pass) R2.7 bounded per-request view-render timeout policy > passes warm-up state and remaining budgets to a deterministic resolver [0.15ms]
(pass) R2.7 bounded per-request view-render timeout policy > caps every resolver result to renderer, generation, and global bounds [0.06ms]
(pass) R2.7 bounded per-request view-render timeout policy > samples host context for every request instead of freezing generation-start state [0.09ms]
(pass) R2.7 bounded per-request view-render timeout policy > contains throwing host hooks and falls back to the bounded numeric policy [0.12ms]
(pass) R2.7 bounded per-request view-render timeout policy > normalizes untrusted runtime state before exposing it to the resolver [0.06ms]
src/agent/run-surface.test.ts:
(pass) buildAgentTools > unified surface -> the eight buffer tools (fresh generate, empty seed) [2.59ms]
(pass) buildAgentTools > unified surface -> the same eight tools when refining (seeded buffer) [1.64ms]
(pass) buildAgentTools > kiln_inspect is unified-only: absent from both current surfaces [0.88ms]
(pass) buildAgentTools > current surface, fresh generate -> the five generate tools [0.35ms]
(pass) buildAgentTools > current surface, refine in edit mode -> the seven edit-mode tools [0.47ms]
(pass) buildAgentTools > current surface, refine in rewrite mode -> the five generate tools (no edit tools) [0.37ms]
(pass) buildAgentTools > threads the host render port, its short deadline, and tally callback into unified kiln_render [124.77ms]
(pass) buildAgentTools > threads a host visual observer into unified kiln_render without returning pixels [110.90ms]
(pass) resolveToolSurface > an explicit option always wins [0.07ms]
(pass) resolveToolSurface > falls back to KILN_TOOL_SURFACE env, defaulting to current [0.09ms]
src/agent/providers.test.ts:
(pass) resolveKilnAgentModel > explicit provider prefixes win and keep the model id intact [0.12ms]
(pass) resolveKilnAgentModel > a bare vendor/model slash id is OpenRouter [0.04ms]
(pass) resolveKilnAgentModel > bare gemini-* resolves to google (the regression the harness vocab gets wrong) [0.03ms]
(pass) resolveKilnAgentModel > bare gpt-* / o3 / o4 resolve to openai [0.06ms]
(pass) resolveKilnAgentModel > bare claude-* and unknown ids default to anthropic [0.03ms]
(pass) resolveKilnAgentModel > trims surrounding whitespace [0.02ms]
(pass) makeKilnModel > constructs the right Strands model class per provider [8.19ms]
(pass) makeKilnModel > accepts a BYOK apiKey override for the google path [0.15ms]
(pass) makeKilnModel > passes a BYOK apiKey through to the anthropic and openai clients [0.55ms]
(pass) makeKilnModel > openrouter reasoning control (thinking → unified reasoning) > effort keywords pass through; max maps to xhigh (OpenRouter vocabulary) [0.09ms]
(pass) makeKilnModel > openrouter reasoning control (thinking → unified reasoning) > numbers become a reasoning token budget floored to 1024 [0.06ms]
(pass) makeKilnModel > openrouter reasoning control (thinking → unified reasoning) > unset / 0 / empty / unknown keywords send nothing [0.04ms]
(pass) makeKilnModel > openrouter reasoning control (thinking → unified reasoning) > A7 clamp: numeric budgets cap at 50% of the completion budget [0.07ms]
(pass) makeKilnModel > openrouter reasoning control (thinking → unified reasoning) > A7 clamp: high/xhigh downgrade to medium when OpenRouter's ~80% translation would starve visible output [0.09ms]
(pass) makeKilnModel > openrouter reasoning control (thinking → unified reasoning) > an OpenRouter-hosted Claude with thinking still constructs the Vercel bridge [0.11ms]
(pass) makeKilnModel > meta uses the Meta base URL and explicit Responses params [0.28ms]
(pass) makeKilnModel > google thinking + budget (B1/H-43) > descriptor maxTokens + thinking flow into the Gemini generationConfig params [0.28ms]
(pass) makeKilnModel > google thinking + budget (B1/H-43) > a bare descriptor sends no params — the pre-knob API-default behavior [0.17ms]
(pass) makeKilnModel > google thinking + budget (B1/H-43) > xhigh/max collapse to high; numbers and unknown keywords are ignored [0.31ms]
(pass) makeKilnModel > anthropic thinking control (KILN_THINKING) > sends nothing by default — the API default (adaptive on Fable 5), the verified config [0.21ms]
(pass) makeKilnModel > anthropic thinking control (KILN_THINKING) > effort keyword maps to the adaptive shape (Fable 5 family), no beta header [0.19ms]
(pass) makeKilnModel > anthropic thinking control (KILN_THINKING) > numeric budget maps to the legacy enabled shape + interleaved beta (pre-adaptive models) [0.18ms]
(pass) makeKilnModel > anthropic thinking control (KILN_THINKING) > adaptive-only models ignore numeric thinking budgets (budget_tokens 400s on them) [0.21ms]
(pass) makeKilnModel > anthropic thinking control (KILN_THINKING) > env keyword/number applies (numbers floored to 1024); descriptor 0 forces default; google ignores it [0.25ms]
(pass) toCachedSystemPrompt (A2 portable cache breakpoint) > Anthropic models get [TextBlock, CachePointBlock] — the adapter emits cache_control [0.30ms]
(pass) toCachedSystemPrompt (A2 portable cache breakpoint) > Bedrock models get the block array too (converse cachePoint entry) [0.53ms]
(pass) toCachedSystemPrompt (A2 portable cache breakpoint) > Google keeps the plain string (its adapter drops cache points) [0.11ms]
(pass) toCachedSystemPrompt (A2 portable cache breakpoint) > OpenAI / OpenRouter (Vercel bridge) / unknown models keep the plain string [0.37ms]
(pass) OpenRouter-Anthropic prompt caching (cache_control) > an anthropic/* slug is built with the ephemeral cache_control directive [0.10ms]
(pass) OpenRouter-Anthropic prompt caching (cache_control) > the directive reaches the outgoing request body (fetch captured, no network) [8.41ms]
(pass) OpenRouter-Anthropic prompt caching (cache_control) > non-Anthropic OpenRouter vendors do NOT get the flag [0.77ms]
(pass) OpenRouter-Anthropic prompt caching (cache_control) > all OpenRouter author calls prefer throughput without changing the requested model [2.60ms]
(pass) OpenRouter-Anthropic prompt caching (cache_control) > the two caching mechanisms stay separate: cache_control is not a system cache point [0.18ms]
src/agent/grade-refine.test.ts:
(pass) gradeRank > orders A best to F worst; unknown ranks worst of all [0.08ms]
(pass) shouldGradeRefine > triggers on a below-B material-sprawl grade with budget headroom [0.16ms]
(pass) shouldGradeRefine > triggers on texture sprawl even when materials are lean [0.04ms]
(pass) shouldGradeRefine > never triggers at or above the B target [0.04ms]
(pass) shouldGradeRefine > skips a transparency-only demotion (glass caps at C by design) [0.04ms]
(pass) shouldGradeRefine > mode 'off' and a missing report never trigger [0.04ms]
(pass) shouldGradeRefine > respects the step budget: needs MIN_HEADROOM calls under the cap [0.05ms]
(pass) shouldGradeRefine > an uncapped run (maxSteps 0) has unlimited headroom [0.03ms]
(pass) buildGradeRefineMessage > carries grade, material count/target, offenders, and the surface verbs [0.17ms]
(pass) buildGradeRefineMessage > mentions texture sprawl only when textures exceed the demotion threshold [0.07ms]
(pass) assessProgramGrade > grades the known-good program post-auto-consolidation [84.09ms]
(pass) assessProgramGrade > a program that does not build comes back ok:false, never throws [0.42ms]
src/agent/split-tool-result-images.test.ts:
(pass) moves a file-data tool-result image into a follow-up user message [0.75ms]
(pass) is a no-op for a tool result with no image [0.29ms]
(pass) passes through non-doStream properties [0.09ms]
src/agent/tools-context.test.ts:
(pass) agent trusted tool context > current surface binds requested category outside generated source [298.20ms]
(pass) agent trusted tool context > unified surface binds full intent and carries it into collapsed render [427.83ms]
(pass) agent trusted tool context > edit surface preserves requested category for screenshot QA [402.73ms]
src/agent/hooks.test.ts:
(pass) MetricsCollector > counts steps and tool calls [0.44ms]
(pass) MetricsCollector > no cap when maxSteps is 0/undefined — loop runs freely [0.44ms]
(pass) MetricsCollector > cancels the (cap+1)-th model call and flags capped [0.27ms]
(pass) MetricsCollector > two collectors debit one aggregate budget before author and repair dispatch [0.16ms]
(pass) MetricsCollector > local sub-cap stops before consuming the shared aggregate allowance [0.12ms]
(pass) MetricsCollector > quoted-cost admission sees projected input and refuses before consuming the call allowance [0.16ms]
(pass) MetricsCollector > records token usage from the agent result [0.07ms]
(pass) MetricsCollector > records cache read/write token counts from a result carrying them (A2) [0.07ms]
(pass) MetricsCollector > accumulates cache counts across invokes and tolerates results without them [0.12ms]
src/agent/tools-unified.test.ts:
(pass) KilnDraftBuffer > seeds empty by default and KilnEditBuffer is the same class (alias) [3.47ms]
(pass) KilnDraftBuffer > draft replaces the whole buffer and is NOT recorded as an edit [0.15ms]
(pass) KilnDraftBuffer > draft then surgical edit: edit is recorded, draft is not [0.14ms]
(pass) makeKilnUnifiedTools > exposes exactly the eight unified tools in order (incl. the close-up, motion + interior views) [1.94ms]
(pass) makeKilnUnifiedTools > kiln_draft writes the buffer + captures into sink.code; kiln_view reads it back [3.31ms]
(pass) makeKilnUnifiedTools > kiln_draft of a broken program surfaces the validation errors inline (A1) [2.24ms]
(pass) makeKilnUnifiedTools > refine seed: kiln_edit updates sink.code; the shared edit trace records it [2.40ms]
(pass) makeKilnUnifiedTools > a kiln_edit that breaks the program reports validation errors inline (A1) [1.87ms]
(pass) makeKilnUnifiedTools > a failed kiln_edit points the model at kiln_draft as the escape hatch [1.26ms]
(pass) makeKilnUnifiedTools > kiln_render returns [ImageBlock, JsonBlock] for a valid buffer [109.01ms]
(pass) makeKilnUnifiedTools > kiln_render fails closed with exact missing procedural texture usages [20.12ms]
(pass) makeKilnUnifiedTools > kiln_render accepts the exact required procedural usages and records current code [121.63ms]
(pass) makeKilnUnifiedTools > kiln_render exposes and honors the bounded capture contract on the working buffer [130.32ms]
(pass) makeKilnUnifiedTools > kiln_render on a broken buffer is image-free (plain JSON error) [2.14ms]
(pass) makeKilnUnifiedTools > shares last faithful evidence across kiln_render then degraded kiln_inspect [366.05ms]
(pass) makeKilnUnifiedTools > kiln_render emits a render candidate (buffer code + six-view png) via onCandidate [136.62ms]
(pass) makeKilnUnifiedTools > kiln_render on a broken buffer does NOT emit a candidate (image-free build) [2.32ms]
(pass) makeKilnUnifiedTools > kiln_inspect frames a named part: [ImageBlock, JsonBlock] and the text names part + view [326.41ms]
(pass) makeKilnUnifiedTools > kiln_inspect exposes and honors object-relative orbit angles on the working buffer [277.90ms]
(pass) makeKilnUnifiedTools > kiln_inspect on an unknown part returns the part list without throwing (image-free) [76.96ms]
(pass) makeKilnUnifiedTools > kiln_inspect isolate:true reaches the renderer and is reported back [261.53ms]
(pass) makeKilnUnifiedTools > kiln_inspect defaults to isolate:false and says so in the framing line [281.38ms]
(pass) makeKilnUnifiedTools > kiln_inspect isolate:true without a part is a no-op, not an error [214.58ms]
(pass) makeKilnUnifiedTools > kiln_inspect with no part frames the whole asset in one view [213.62ms]
(pass) makeKilnUnifiedTools > kiln_view_interior returns [ImageBlock, JsonBlock] for a building buffer [1272.94ms]
(pass) makeKilnUnifiedTools > kiln_view_interior on a broken buffer is image-free (plain JSON error) [3.52ms]
(pass) makeKilnUnifiedTools > kiln_view_interior lifts a semantically-roled roof that is NOT named "Roof" [1116.34ms]
(pass) makeKilnUnifiedTools > kiln_view_interior warns in explicit-override mode when the named node is absent [997.67ms]
(pass) makeKilnUnifiedTools > kiln_view_interior warns in semantic mode when no roof is resolvable at all [278.14ms]
(pass) makeKilnUnifiedTools > kiln_finalize requires the current buffer to have rendered successfully [129.64ms]
(pass) makeKilnUnifiedTools > a mutation invalidates the render receipt until the exact new buffer renders [229.78ms]
(pass) makeKilnUnifiedTools > whole rewrites after a render are unlimited by default [134.41ms]
(pass) makeKilnUnifiedTools > a host that wants the old bound can still ask for it [139.52ms]
(pass) buffer inspection forwards the shared exact camera shot [127.09ms]
src/agent/concurrency.test.ts:
(pass) rejectMixedMutatorBatch > classifies exactly kiln_draft and kiln_edit as mutators [0.16ms]
(pass) rejectMixedMutatorBatch > mixed mutator + reader batch is rejected with an actionable message [0.25ms]
(pass) rejectMixedMutatorBatch > two mutators together are also rejected [0.05ms]
(pass) rejectMixedMutatorBatch > solo mutator is allowed [0.06ms]
(pass) rejectMixedMutatorBatch > pure-reader batches are allowed [0.05ms]
(pass) toolNamesInBatch > extracts toolUse names in order, ignoring text blocks [0.18ms]
⏳ kiln_draft
⏳ kiln_view
🚫 All tools denied
✗ Tool failed
✗ Tool failed
stopping after the rejection
(pass) installMutatorBatchGuard on a real Agent (concurrent executor) > a mixed kiln_draft + kiln_view batch is rejected: both calls error, buffer untouched [12.94ms]
⏳ kiln_draft
🔧 Tool #1: kiln_draft
✓ Tool completed
⏳ kiln_view
⏳ kiln_view
🔧 Tool #2: kiln_view
🔧 Tool #3: kiln_view
✓ Tool completed
✓ Tool completed
⏳ kiln_render
🔧 Tool #4: kiln_render
✓ Tool completed
⏳ kiln_finalize
🔧 Tool #5: kiln_finalize
✓ Tool completed
done
(pass) installMutatorBatchGuard on a real Agent (concurrent executor) > a solo mutator executes, and a later pure-reader batch executes too [155.93ms]
src/composer/world-document.test.ts:
(pass) WorldDocumentV2 contract > migrates v1 deterministically and preserves every evaluated transform exactly [7.55ms]
(pass) WorldDocumentV2 contract > projects canonical objects to exact v1 places for drift-free refine [2.32ms]
(pass) WorldDocumentV2 contract > projected exact places remain editable through move, face, and group operations [2.36ms]
(pass) WorldDocumentV2 contract > uses caller-supplied evaluated placements as the exact migration seam [1.70ms]
(pass) WorldDocumentV2 contract > canonical JSON and SHA-256 are byte-stable and key-order independent [14.30ms]
(pass) WorldDocumentV2 contract > fails closed on unknown versions, unknown keys, bad refs, duplicate ids, and non-finite numbers [5.12ms]
(pass) WorldDocumentV2 contract > rejects unreferenced asset and collision artifacts [2.35ms]
(pass) WorldDocumentV2 contract > accepts an empty world and exactly 200 objects, but rejects 201 [11.18ms]
(pass) WorldDocumentV2 contract > reconciles moved objects while preserving retained world-only fields [11.73ms]
(pass) WorldDocumentV2 contract > reconciles additions and removals with closed asset and collision references [3.76ms]
(pass) WorldDocumentV2 contract > reconciliation is input-order independent and artifact-hash sensitive [16.32ms]
(pass) WorldDocumentV2 contract > keeps only referenced assets and requires a real hash for each one [2.82ms]
(pass) WorldDocumentV2 contract > rejects unknown and malformed persisted v1 model shapes before evaluation [1.31ms]
(pass) WorldDocumentV2 contract > rejects duplicate v1 ids and aliases plus dangling asset references [1.36ms]
src/composer/phase2-contracts.test.ts:
(pass) C5.1/C5.2 strict deterministic collider artifacts > freezes four policies, canonical bytes, and asset-local/world transform parity [3.58ms]
(pass) C5.1/C5.2 strict deterministic collider artifacts > rejects unknown keys, prototype keys, missing authored submeshes, and invalid triangles [0.63ms]
(pass) C5.1/C5.2 strict deterministic collider artifacts > strictly bounds host-resolved GLB node geometry in the asset-local frame [6.65ms]
(pass) C5.3/C5.4 bounded spawn and critical-path reachability > finds a deterministic route around transformed bounds and reports exact budgets [16.88ms]
(pass) C5.3/C5.4 bounded spawn and critical-path reachability > fails closed on a blocked endpoint and on exhausted traversal budget [2.76ms]
(pass) C5.3/C5.4 bounded spawn and critical-path reachability > hash-binds canonical collider artifacts before using them for traversal [13.74ms]
(pass) C5.3/C5.4 bounded spawn and critical-path reachability > samples only the hash-bound canonical heightfield for step and slope checks [16.98ms]
(pass) C5.6/C5.7 strict presentation contract and world persistence > canonicalizes ordered camera cells and validates an exact receipt binding [3.62ms]
(pass) C5.6/C5.7 strict presentation contract and world persistence > rejects duplicate cells, aspect drift, unknown fields, and receipt camera drift [1.23ms]
(pass) C5.8 WorldPackageV2 closure > binds world, presentation, assets, runtime policy, and provenance deterministically [31.06ms]
(pass) C5.8 WorldPackageV2 closure > rejects hash drift, missing presentation, and arbitrary package paths [14.28ms]
(pass) C5.8 WorldPackageV2 closure > rejects package-path aliases across model, terrain, and collider namespaces [15.71ms]
(pass) C5.8 WorldPackageV2 closure > verifies every exact artifact byte and refuses omissions, drift, or extras [19.99ms]
src/composer/presentation-default.test.ts:
(pass) default PresentationDocumentV1 > owns one strict, bounded, ordered neutral inspection presentation [5.85ms]
(pass) default PresentationDocumentV1 > returns fresh parameters while the exported default remains deeply frozen [0.33ms]
(pass) default PresentationDocumentV1 > binds the canonical document to exact world or GLB bytes deterministically [1.17ms]
(pass) default PresentationDocumentV1 > rejects malformed artifact bindings at the factory boundary [0.90ms]
(pass) default PresentationDocumentV1 > enforces the renderer-aligned aggregate camera pixel ceiling [0.79ms]
src/composer/terrain.test.ts:
(pass) HeightfieldArtifactV1 > is deterministic by seed and hashes the exact canonical bytes [8.37ms]
(pass) HeightfieldArtifactV1 > samples bilinear height, clamped edges, and normalized terrain normals [0.49ms]
(pass) HeightfieldArtifactV1 > applies bounded road, path, and pad stamps without mutating the source [1.48ms]
(pass) HeightfieldArtifactV1 > fails closed on unknown versions, invalid dimensions, and non-positive stamp extents [0.49ms]
(pass) HeightfieldArtifactV1 > decode rejects every noncanonical byte representation and invalid UTF-8 [0.81ms]
src/composer/world-integration.test.ts:
(pass) WorldDocumentV2 integration primitives > authors deterministic full replacements and rejects non-positive rect half extents [9.25ms]
(pass) WorldDocumentV2 integration primitives > snaps compatible objects and validates occupancy, portal, reserved, and spawn clearance [4.59ms]
(pass) WorldDocumentV2 integration primitives > samples, aligns, and fills paths with deterministic tangent facing [3.25ms]
(pass) WorldDocumentV2 integration primitives > locks asset swaps while preserving world state and stable edit history [2.31ms]
(pass) WorldDocumentV2 integration primitives > enumerates a deterministic portable artifact closure [0.80ms]
(pass) WorldDocumentV2 integration primitives > reconciles an agent candidate without dropping parent integration state [4.94ms]
src/experiments/w6-material-vegetation.test.ts:
(pass) W6 material and vegetation experiment gate > MAT-019 records nonzero correct portable recipe use without helper words in user prompts [0.22ms]
(pass) W6 material and vegetation experiment gate > VEG-005 candidate closes branch gaps and adds monotonic taper with measured cost [0.28ms]
(pass) W6 material and vegetation experiment gate > VEG-009 candidate lifts multi-view occupancy/profile pass but stays preference-gated [0.37ms]
(pass) W6 material and vegetation experiment gate > VEG-012 candidate resolves attachment/arc/droop but does not become a public helper [0.09ms]
(pass) W6 material and vegetation experiment gate > MAT-020 procedural candidates are seamless and round-trip, but preference evidence closes the gate [0.09ms]
(pass) W6 material and vegetation experiment gate > every exact artifact is byte-stable and round-trips with nonzero geometry [0.28ms]
(pass) W6 material and vegetation experiment gate > all optional promotions use honest insufficientEvidence rather than model preference [0.11ms]
src/experiments/w7-vegetation-lod.test.ts:
(pass) VEG-020 independent semantic LOD parity/cost gate > closes when metadata is stripped and hidden alternates still render for default consumers [1807.14ms]
src/experiments/w8-quadruped-gait-profile.test.ts:
(pass) CHAR-028 provider-free optional quadruped gait-profile experiment > tests walk/trot/gallop phase relations without penalizing unspecified gait [4.09ms]
(pass) CHAR-028 provider-free optional quadruped gait-profile experiment > reproduces the synthetic profile experiment but refuses to treat it as calibration [1.36ms]
src/evaluator/isolation.test.ts:
(pass) isolated evaluator process contract > exposes only the reviewed readiness failure vocabulary [0.31ms]
(pass) isolated evaluator process contract > accepts only bounded v1 negative readiness envelopes [0.24ms]
(pass) isolated evaluator process contract > accepts only the exact fd3 transport marker envelope [0.13ms]
(pass) isolated evaluator process contract > selects isolated mode exactly and rejects near-miss flags [0.10ms]
(pass) isolated evaluator process contract > drops privileges before a no-network, read-only namespace boundary [0.45ms]
(pass) isolated evaluator process contract > requires every Linux capability set to be present and empty [0.39ms]
(pass) isolated evaluator process contract > refuses non-Linux hosts, missing binaries, and workers outside installed dependencies [0.47ms]
src/evaluator/authoring-diagnostic.test.ts:
(pass) gear radii mistakes receive a closed repair hint through handler and actual subprocess [562.40ms]
(pass) undeclared variable gets bounded actionable diagnostic through handler and port [3.41ms]
(pass) actual subprocess retains safe repair advice without source or exception text [661.31ms]
(pass) diagnostic decoder rejects arbitrary strings, extra data, and inappropriate outcome codes [1.13ms]
(pass) arbitrary exceptions and safety denials retain generic rejection [1.01ms]
(pass) shipping registry exposes repair advice from its isolated evaluator [338.39ms]
src/evaluator/port.test.ts:
(pass) production profile requires an injected evaluator with no fallback [0.32ms]
(pass) cancels transport work through a host signal without putting it on the wire [0.63ms]
src/evaluator/subprocess-pipe-order.test.ts:
(pass) Windows Bun fd3 EBADF after a complete reply waits for strict decoding and successful exit [1.38ms]
(pass) deferred response pipe errors never bypass protocol, exit, cancellation, deadline or size checks [24.71ms]
(pass) stdin, stderr, unknown errors and non-Windows-Bun runtimes keep failing closed [6.64ms]
src/evaluator/handler.test.ts:
(pass) transport-neutral evaluator handler > reuses the strict protocol and canonical result encoding [1.64ms]
(pass) transport-neutral evaluator handler > sanitizes execution failures and refuses oversized encoded output [1.01ms]
(pass) transport-neutral evaluator handler > bounds the transport-neutral execution deadline [12.34ms]
src/evaluator/production-boundary.test.ts:
(pass) production evaluator boundary > all source-taking review helpers consume injected evaluator GLB without local execution [514.02ms]
(pass) production evaluator boundary > required production profile has no trusted-local fallback [0.69ms]
(pass) production evaluator boundary > composed-scene exact GLB mode never evaluates source [30.24ms]
src/evaluator/isolation-adversarial.test.ts:
(pass) isolated evaluator adversarial settlement > generated filesystem, environment, network, and process acquisition settle as sanitized rejections [1595.70ms]
(pass) isolated evaluator adversarial settlement > an unavailable isolated boundary is terminal and never runs the valid source in-process [0.48ms]
(pass) isolated evaluator adversarial settlement > resource exhaustion settles at the deadline with no source or prompt echo [105.82ms]
src/evaluator/subprocess.test.ts:
(pass) subprocess evaluator scaffold > exports the same deterministic GLB through the v1 protocol [413.00ms]
(pass) subprocess evaluator scaffold > does not inherit provider, AWS, loader, or Kiln environment variables [0.21ms]
(pass) subprocess evaluator scaffold > is disabled by default and rejects misspelled modes [0.16ms]
(pass) subprocess evaluator scaffold > refuses an unserializable trusted TextureResolver capability [0.26ms]
(pass) subprocess evaluator scaffold > terminates a non-completing build at the host deadline [105.57ms]
(pass) subprocess evaluator scaffold > fails closed when the output cap is exceeded [435.06ms]
(pass) subprocess evaluator scaffold > does not leak rejected source text through the worker error [301.88ms]
src/evaluator/protocol.test.ts:
(pass) evaluator protocol v1 > accepts the exact versioned request shape [0.11ms]
(pass) evaluator protocol v1 > rejects unknown capabilities and oversized source [1.50ms]
(pass) evaluator protocol v1 > round-trips binary fields and verifies the exact GLB identity [0.94ms]
(pass) evaluator protocol v1 > rejects worker-controlled error text even when the outcome code is valid [0.12ms]
(pass) evaluator protocol v1 > rejects malformed or unbound QA evidence from a remote worker [0.31ms]
(pass) evaluator protocol v1 > builds exact transport-neutral requests and rejects host capabilities [0.21ms]
(pass) evaluator protocol v1 > binds the response to the caller request id and enforces transport caps [23.36ms]
(pass) evaluator protocol v1 > preserves bounded QA evidence for the existing repair loop [13.37ms]
src/evaluator/node-worker.test.ts:
(pass) runs the packaged Node worker without a TypeScript loader and survives a runaway build [3754.21ms]
src/evaluator/subprocess-pipe-close.test.ts:
(pass) a worker closing its input before a valid rejection still settles its complete fd3 envelope [79.27ms]
(pass) input-close races never accept incomplete output or a failed worker exit [160.80ms]
(pass) input-close errors retain deadline and cancellation authority [808.92ms]
scripts/evaluation/observe-shipping.test.mjs:
(pass) parallel reservations cannot exceed image allowance and failed calls release reservations [0.50ms]
(pass) call cap and shipping grid/separate counts are bounded before dispatch [0.18ms]
(pass) shipping proxy forwards actual PNGs while retaining source args/text and blocking excess calls [100.74ms]
scripts/evaluation/server.test.ts:
(pass) pilot host advertises a condition, delivers a real image and enforces the call cap [1042.06ms]
(pass) explicit same-run restart retains consumed tool budget [992.36ms]
(pass) parallel requests consume one reservation each and preserve the cap [474.23ms]
scripts/evaluation/conditions.test.ts:
(pass) A/B deny new helper access through aliases but permit raw THREE and harmless strings [1.26ms]
(pass) A hides progressive lookup and advanced camera fields; B retains them [7.08ms]
(pass) all conditions preserve public source-reference tool names and C exposes new helpers [4.62ms]
(pass) reference edits cannot bypass the disabled-helper policy at evaluation [47.01ms]
(pass) B grouped lookup preserves requested order without advertising disabled helpers [1.56ms]
src/agent/__tests__/run-loop.test.ts:
⏳ kiln_draft
🔧 Tool #1: kiln_draft
✓ Tool completed
⏳ kiln_render
🔧 Tool #2: kiln_render
✓ Tool completed
⏳ kiln_finalize
🔧 Tool #3: kiln_finalize
✓ Tool completed
done
(pass) runKilnAgent over a ScriptedModel (unified surface) > draft -> render -> finalize: captures code, usage w/ cache counts, and M1/M2 counters [107.79ms]
⏳ kiln_draft
⏳ kiln_view
🚫 All tools denied
✗ Tool failed
✗ Tool failed
⏳ kiln_draft
🔧 Tool #1: kiln_draft
✓ Tool completed
⏳ kiln_render
🔧 Tool #2: kiln_render
✓ Tool completed
⏳ kiln_finalize
🔧 Tool #3: kiln_finalize
✓ Tool completed
done
(pass) runKilnAgent over a ScriptedModel (unified surface) > A3 on the real run path: a mixed mutator batch is rejected, the model recovers [148.41ms]
⏳ kiln_render
🔧 Tool #1: kiln_render
✓ Tool completed
⏳ kiln_finalize
🔧 Tool #2: kiln_finalize
✓ Tool completed
done
(pass) runKilnAgent over a ScriptedModel (unified surface) > refine framing keeps the directive INSIDE the (cacheable) system prompt text [139.13ms]
⏳ kiln_draft
🔧 Tool #1: kiln_draft
✓ Tool completed
⏳ kiln_render
🔧 Tool #2: kiln_render
✓ Tool completed
⏳ kiln_finalize
🔧 Tool #3: kiln_finalize
✓ Tool completed
(pass) runKilnAgent over a ScriptedModel (unified surface) > a finalize admitted on the exact last call succeeds without a paid follow-up turn [141.03ms]
⏳ kiln_draft
🔧 Tool #1: kiln_draft
✓ Tool completed
⏳ kiln_render
🔧 Tool #2: kiln_render
✓ Tool completed
⏳ kiln_edit
🔧 Tool #3: kiln_edit
✓ Tool completed
(pass) runKilnAgent over a ScriptedModel (unified surface) > step-cap salvage refuses source mutated after the last successful render [142.48ms]
src/views/__tests__/capture-limits.test.ts:
(pass) host pixel limits reject CPU and GPU requests before evaluation or rendering [9.22ms]
(pass) host output byte limits reject returned grid and separate images [77.68ms]
(pass) low-level capture limits reject before invoking a GPU adapter [0.62ms]
(pass) models cannot raise default host limits [0.16ms]
(pass) GPU image headers are bounded before decompression [0.86ms]
src/views/__tests__/glb.test.ts:
(pass) GLB-native geometry-flat view input > reads exact bytes without executeKilnCode and reports their SHA-256 identity [2.50ms]
(pass) GLB-native geometry-flat view input > preserves node world transforms and base color/alpha factors [0.78ms]
(pass) GLB-native geometry-flat view input > expands EXT_mesh_gpu_instancing transforms into exact flat geometry [1.36ms]
(pass) GLB-native geometry-flat view input > reports stable structured reasons for ignored PNG and KTX2 sampling [1.16ms]
(pass) GLB-native geometry-flat view input > review scene retains embedded texture bytes for derivative re-export [0.99ms]
(pass) GLB-native geometry-flat view input > review scene retains normal and uv attributes from primitive [0.73ms]
src/views/__tests__/views.test.ts:
(pass) rasterizeView > renders a centered box with substantial coverage from every view [12.29ms]
(pass) rasterizeView > is deterministic [3.06ms]
(pass) rasterizeView > lighting differentiates faces (flat lambert, not silhouette fill) [3.54ms]
(pass) rasterizeView > orientation is distinguishable: +X vs +Z elongation swap Front/Right profiles [9.18ms]
(pass) rasterizeView > empty scene renders pure background [1.26ms]
(pass) rasterizeView > multi-material mesh: each geometry group renders with its OWN material color [1.15ms]
(pass) rasterizeView > multi-material mesh WITHOUT groups falls back to the first material [0.52ms]
(pass) encodePng > round-trips through a real decoder [6.20ms]
(pass) encodePng > rejects wrong buffer size [0.22ms]
(pass) renderViewGrid / renderCodeViewGrid > produces a valid 3x2 grid PNG with all six views [18.42ms]
(pass) renderViewGrid / renderCodeViewGrid > renderViewGrid accepts a pre-built sandbox scene root [2.73ms]
(pass) renderViewGrid / renderCodeViewGrid > H-33: KILN_GRID_VARIANT=rear-quarter swaps the 3/4 cell; unknown values are ignored [48.14ms]
(pass) renderViewGrid / renderCodeViewGrid > snapSceneToPalette applies the general render palette before CPU previews [1.77ms]
(pass) hideNodeInScene > hides the matched node AND its descendant meshes (per-mesh cull) [1.50ms]
(pass) hideNodeInScene > returns 0 when nothing matches [0.73ms]
(pass) renderInteriorGrid > returns three roof-off views with the roof + near walls hidden for a room() [6.94ms]
(pass) renderInteriorGrid > degrades gracefully on a non-building (no Roof, no walls) but still returns three views [9.77ms]
(pass) renderInteriorGrid > an explicit nodeName stays an exact-name override, semantics ignored [8.90ms]
(pass) renderInteriorGrid > legacy-name fallback is narrow: Roof_Ridge lifts, RoofTop does not [2.33ms]
src/views/__tests__/camera-sdk.test.ts:
(pass) SDK advanced capture sends isolated derivative with explicit cameras and returns receipts [27.43ms]
src/views/__tests__/diagnostic.test.ts:
(pass) QA-018 deterministic generic diagnostic buffers > uses the unchanged six named cameras and stable request IDs [4.78ms]
(pass) QA-018 deterministic generic diagnostic buffers > renders all five buffers byte-deterministically from one named camera [16.89ms]
(pass) QA-018 deterministic generic diagnostic buffers > localizes semantic overlays to stable node paths and pixel bounds [2.26ms]
(pass) QA-018 deterministic generic diagnostic buffers > colors inherited semantic overlays by the most-specific rendered role [3.25ms]
(pass) QA-018 deterministic generic diagnostic buffers > shows explicit backfaces and ground contact in their dedicated buffers [3.75ms]
(pass) QA-019 additive category diagnostic profiles > selects required extras without changing the generic six or their buffers [1.21ms]
(pass) QA-019 additive category diagnostic profiles > requests deterministic motion phases, underside, wheel section, and grazing light [0.60ms]
(pass) QA-019 additive category diagnostic profiles > binds both gable elevations to the trusted ridge axis and keeps non-gables separate [0.50ms]
(pass) QA-019 additive category diagnostic profiles > renders a semantic roof-off cutaway without mutating the source scene [2.34ms]
(pass) QA-019 additive category diagnostic profiles > grazing-light rendering is deterministic and keeps a stable custom camera [2.71ms]
(pass) QA-019 additive category diagnostic profiles > rejects an unregistered camera rather than silently changing evidence [0.38ms]
src/views/__tests__/camera-http.test.ts:
(pass) HTTP adapter forwards exact cameras and artifact fidelity [11.41ms]
src/views/__tests__/camera.test.ts:
(pass) resolved asset cameras > legacy fit resolves identically and padding changes pixels [8.70ms]
(pass) resolved asset cameras > exact paths distinguish duplicate names and name queries reject ambiguity [0.69ms]
(pass) resolved asset cameras > part-local orbit follows parent rotation and preserves world bounds [0.25ms]
(pass) resolved asset cameras > perspective has real depth and clips triangles at the near plane [4.52ms]
(pass) resolved asset cameras > singular and unknown camera inputs fail clearly [0.89ms]
(pass) part-local orbit handles nested and reflected transforms deterministically [0.81ms]
(pass) context geometry determines camera depth while the selected part determines framing [0.30ms]
(pass) fully clipped geometry does not leak into the image [0.44ms]
(pass) explicit frames transform local positions, targets and up with part matrices [0.22ms]
(pass) explicit rigid local frames and bounds fit preserve requested direction [0.44ms]
src/views/__tests__/camera-port.test.ts:
(pass) explicit camera transport validates orthographic extent and preserves projection [5.28ms]
(pass) port requires matching actual cameras and dimensions, not a successful image alone [2.43ms]
(pass) grid padding reaches the GPU as exact orthographic extent [15.92ms]
src/views/__tests__/measurement.test.ts:
(pass) attachment endpoints use named node origins and transformed local offsets [7.68ms]
(pass) singular transforms do not invent invertible local bounds [0.22ms]
src/views/__tests__/animation.test.ts:
(pass) planFrameTimes samples endpoints inclusively [0.09ms]
(pass) renderClipAnimation > renders a 6-frame grid for a named clip with correct metadata [31.06ms]
(pass) renderClipAnimation > posing actually moves the scene — frames differ from each other [26.18ms]
(pass) renderClipAnimation > a track targeting a missing joint surfaces as unresolvedTracks (frozen clip) [27.93ms]
(pass) renderClipAnimation > an unknown clip name returns the available clips [1.67ms]
(pass) renderClipAnimation > a scene with no clips reports it cleanly [0.96ms]
(pass) renderClipAnimation > findClip resolves case-insensitively and by substring [0.95ms]
(pass) renderClipAnimation > prepareClip parses tracks + derives duration [1.07ms]
src/views/__tests__/capture-cache.test.ts:
(pass) GPU cells reuse independently of requested order and invalidate on camera/backend changes [11.40ms]
(pass) missing material or camera receipts are never admitted; unknown backend bypasses reuse [0.73ms]
(pass) CPU cells preserve geometry-flat evidence and never alias GPU entries [2.52ms]
(pass) legacy CPU layout changes reuse unannotated cells without changing default pixels [119.30ms]
(pass) producer changing during render never populates an older identity [0.80ms]
src/views/__tests__/orbit.test.ts:
(pass) orbitDir > reproduces the named grid cameras exactly where they are angle-expressible [0.21ms]
(pass) orbitDir > expresses the shipped 3/4 direction in orbit coordinates [0.13ms]
(pass) orbitDir > returns unit vectors and wraps azimuth [0.06ms]
(pass) orbitDir > clamps elevation short of the poles so azimuth stays meaningful [0.05ms]
(pass) orbitAnglesOf > inverts orbitDir [0.09ms]
(pass) orbitAnglesOf > reports every named grid camera in [0, 360) [0.11ms]
(pass) kiln_inspect orbit > BYTE-IDENTITY: omitting the orbit angles renders exactly what it did before [10.89ms]
(pass) kiln_inspect orbit > reports the angles of a named camera without changing it [1.36ms]
(pass) kiln_inspect orbit > an orbit at a named angle matches that named view pixel-for-pixel [1.88ms]
(pass) kiln_inspect orbit > a different angle actually renders a different image [1.97ms]
(pass) kiln_inspect orbit > either angle alone switches to orbit, with the other defaulting to 0 [3.31ms]
(pass) kiln_inspect orbit > orbit angles override a named view rather than fighting it [0.91ms]
(pass) kiln_inspect orbit > reports the clamped elevation, not the requested one [1.06ms]
(pass) kiln_inspect orbit > orbit composes with part framing and isolate [1.22ms]
(pass) kiln_inspect orbit > an unresolved part still fails cleanly when orbit angles are supplied [0.32ms]
src/views/__tests__/architecture.test.ts:
(pass) semantic architecture roof selection > lifts every semantic roof subtree and no non-roof sibling [0.61ms]
(pass) semantic architecture roof selection > uses narrow legacy names only when semantic roles are absent [0.12ms]
(pass) semantic architecture roof selection > semantic roles suppress legacy fallback so unrelated named nodes remain [0.10ms]
prune: Removed types... Accessor (1)
(pass) semantic architecture roof selection > selects and lifts the semantic roof after final GLB export and reload [80.08ms]
src/views/__tests__/evidence-history.test.ts:
(pass) bounded model-visible view evidence history > success then degrade preserves the older faithful reference without reusing pixels [4.10ms]
(pass) bounded model-visible view evidence history > degrade-only history never invents a faithful reference [0.07ms]
(pass) bounded model-visible view evidence history > a changed current hash remains distinct from the last faithful input [0.18ms]
(pass) bounded model-visible view evidence history > malformed derivative receipts degrade current evidence and cannot replace lastFaithful [0.11ms]
(pass) bounded model-visible view evidence history > faithful history is bounded and returned snapshots cannot mutate the store [0.16ms]
src/views/__tests__/camera-capture.test.ts:
(pass) mixed part sheet resolves exact identities and restores visibility [18.84ms]
src/views/__tests__/vehicle.test.ts:
(pass) vehicle diagnostics > describes +X, chassis, axle, wheel, support, underbody, and section evidence [4.21ms]
(pass) vehicle diagnostics > creates a separate renderable overlay without mutating the source [4.84ms]
(pass) vehicle diagnostics > captures underbody and one wheel close-up through the production render path [337.35ms]
src/views/__tests__/renderer-id-package.test.ts:
(pass) reads its own package version when bundled rather than the consuming application version [50.07ms]
src/views/__tests__/grid.test.ts:
(pass) decodePng > round-trips encodePng output [0.39ms]
(pass) decodePng > unfilters RGB scanlines with filter type 0 [0.44ms]
(pass) decodePng > unfilters RGB scanlines with filter type 1 [0.16ms]
(pass) decodePng > unfilters RGB scanlines with filter type 2 [0.14ms]
(pass) decodePng > unfilters RGB scanlines with filter type 3 [0.18ms]
(pass) decodePng > unfilters RGB scanlines with filter type 4 [0.22ms]
(pass) decodePng > unfilters mixed filter types across rows [0.14ms]
(pass) decodePng > decodes RGBA and drops the alpha channel [0.19ms]
(pass) decodePng > rejects non-PNG bytes, unsupported formats, and corrupt streams [1.33ms]
(pass) compositeCellGrid > lays cells into the padded 3-column grid with the gutter color [0.14ms]
(pass) compositeCellGrid > six cells make the 3x2 layout; bad input throws [0.18ms]
(pass) compositeViewPngGrid > decodes per-view PNGs and composites the same 3x2 layout as the CPU grid [0.72ms]
(pass) compositeViewPngGrid > rejects an empty view list and mismatched cell sizes [0.62ms]
(pass) CPU_RASTER_RENDERER_ID > is the deterministic cpu-raster:<engine-version> constant [0.30ms]
src/views/__tests__/capture.test.ts:
(pass) resolveCapture > an omitted config resolves to the shipped six-view 3x2 by identity [0.20ms]
(pass) resolveCapture > every preset yields a cell count that fits its own grid [0.15ms]
(pass) resolveCapture > a single cell is the 3/4 view, not a flat elevation [0.04ms]
(pass) resolveCapture > explicit cells become orbit cameras with auto labels [0.15ms]
(pass) resolveCapture > an explicit preset is honoured even when the cells would fit a smaller one [0.05ms]
(pass) resolveCapture > a custom cell name is used verbatim (upper-cased for the bitmap font) [0.07ms]
(pass) resolveCapture > rejects the mistakes a model actually makes, with an actionable message [0.48ms]
(pass) resolveGridCapture > with no config, the env variant selects the default cameras [0.11ms]
(pass) resolveGridCapture > an explicit config wins over the env variant instead of being rewritten by it [0.08ms]
(pass) resolveGridCapture > renderViewGrid reads the env through this same helper [3.91ms]
(pass) grid background > the hex and rgb forms are the same color [0.16ms]
(pass) captureCellLabel > uses only glyphs the 3x5 bitmap font has [0.13ms]
(pass) describeCapture > reports the grid in the same coordinates the model steers with [0.25ms]
(pass) renderViewGrid capture > BYTE-IDENTITY: no capture config renders exactly the shipped grid [10.39ms]
(pass) renderViewGrid capture > each preset composites to the right pixel dimensions [6.85ms]
(pass) renderViewGrid capture > custom cells actually change the rendered pixels and the reported names [2.00ms]
(pass) renderViewGrid capture > per-cell zoom changes framing, and omitting it keeps the default path [3.19ms]
(pass) renderViewGrid capture > an explicit views[] still wins over capture, so internal callers are unaffected [0.95ms]
(pass) renderViewGrid capture > a bad capture config throws rather than rendering something wrong [0.32ms]
src/views/__tests__/character.test.ts:
(pass) CHAR-029 skeleton/local-axis/contact diagnostic descriptor > labels joints, colors chains, shows +X/axes/contacts, and aligns invalid edges to paths [1.95ms]
(pass) CHAR-029 skeleton/local-axis/contact diagnostic descriptor > descriptor is byte-repeatable and does not mutate transformed source nodes [0.62ms]
(pass) CHAR-030 automatic fixed-phase motion diagnostics > captures labeled skeleton overlays and both cameras for resolved clips without mutating the rig [23.32ms]
(pass) CHAR-030 automatic fixed-phase motion diagnostics > plans front/right strips for resolved locomotion and primary action [0.53ms]
(pass) CHAR-030 automatic fixed-phase motion diagnostics > no animation still gets automatic skeleton views and no phantom strip [0.32ms]
src/views/__tests__/inspect.test.ts:
(pass) renderInspectView isolate > a buried part is fully occluded by default — the sibling owns every drawn pixel [9.61ms]
(pass) renderInspectView isolate > isolate:true removes the occluding sibling entirely — it contributes zero triangles [8.19ms]
(pass) renderInspectView isolate > isolation does not move the camera: same part, same framing, same size [7.71ms]
(pass) renderInspectView isolate > isolate without a part is a no-op — the whole asset still renders [7.82ms]
(pass) renderInspectView isolate > isolate:false is the documented default framing (occluders kept for context) [4.25ms]
(pass) renderInspectView isolate > an unresolved part is still a retryable miss, isolate or not [2.63ms]
(pass) renderInspectView isolate > a resolvable part with no drawable geometry is a miss, not a blank frame [0.39ms]
(pass) renderInspectView isolate > the default square size is unchanged by the new option [18.35ms]
src/tools/__tests__/camera-integration.test.ts:
(pass) public references render mixed exact cameras and expose separate images [96.51ms]
(pass) GPU inspect honors padding and contextual framing with explicit camera receipt [32.30ms]
(pass) inspection shares strict shot selection; animation locks explicit frame and samples requested phases [268.66ms]
(pass) required GPU does not return CPU success when camera attestation is missing [31.04ms]
(pass) public CPU grids and derivative inspection reuse cells and expose counters [159.68ms]
(pass) public GPU derivative cells reuse only with declared backend identity [77.96ms]
(pass) inspect exposes subject frames and measures exact part-local anchors [183.35ms]
src/tools/__tests__/registry-render-views.test.ts:
(pass) kilnRenderViewsDef (unified kiln_render) > is named kiln_render and is NOT part of the four-tool registry baseline [0.26ms]
(pass) kilnRenderViewsDef (unified kiln_render) > describes the conditional GPU PBR path and the flat-shaded CPU fallback honestly [0.08ms]
(pass) kilnRenderViewsDef (unified kiln_render) > valid code returns metrics AND the six-view grid PNG from one execution [111.52ms]
(pass) kilnRenderViewsDef (unified kiln_render) > build failure is image-free: ok:false, error set, no pngBase64 [0.69ms]
(pass) kilnRenderViewsDef (unified kiln_render) > media() extracts the PNG bytes and strips base64 from the JSON payload [111.75ms]
(pass) kilnRenderViewsDef (unified kiln_render) > media() returns undefined for a failed run (no image to attach) [1.08ms]
src/tools/__tests__/registry-context.test.ts:
(pass) trusted tool context > a dense asset draws no size advisory under any trusted category [1.31ms]
(pass) trusted tool context > intent is authoritative and render/screenshot paths receive vehicle context [787.67ms]
(pass) trusted tool context > collapsed render and dedicated view definitions share the closure context [2548.97ms]
(pass) trusted tool context > legacy registry export is neutral and never trusts source metadata [197.44ms]
src/tools/__tests__/registry-screenshot.test.ts:
(pass) kiln_screenshot > renders valid code to a six-view grid PNG [134.12ms]
(pass) kiln_screenshot > returns ok:false with the error message instead of throwing [0.79ms]
(pass) kiln_screenshot > media() extracts the PNG bytes and strips the base64 from the JSON payload [130.75ms]
(pass) kiln_screenshot > media() returns undefined for a failed run (no image to attach) [0.95ms]
src/tools/__tests__/registry-render-views-port.test.ts:
(pass) kiln_render in-loop GPU port routing > no port injected: CPU raster runs, onViewsRendered reports cpu-raster:* and degraded:false [134.34ms]
(pass) kiln_render in-loop GPU port routing > port injected + untextured metalness-0 scene: port is never called, CPU still draws [126.54ms]
(pass) kiln_render in-loop GPU port routing > port injected + scene with a bound texture: port IS called, its PNG is what comes back [134.62ms]
(pass) kiln_render in-loop GPU port routing > port injected + untextured metalness>0 scene: port IS called (the metal case) [88.19ms]
(pass) kiln_render in-loop GPU port routing > port returns ok:false: CPU fallback draws, degraded:true with the reason, result stays ok:true [135.79ms]
(pass) kiln_render in-loop GPU port routing > no port + textured scene returns explicit model-visible geometry-only fidelity [135.87ms]
(pass) kiln_render in-loop GPU port routing > port throws: falls back to CPU, no throw escapes the tool [139.35ms]
(pass) kiln_render in-loop GPU port routing > port never resolves: the in-loop deadline trips and falls back to CPU [161.66ms]
(pass) kiln_render in-loop GPU port routing > samples warm-up and remaining budget for each in-loop request [157.54ms]
(pass) kiln_render in-loop GPU port routing > an onViewsRendered callback that throws does not fail the render [125.36ms]
(pass) kiln_render in-loop GPU port routing > GPU path view names and grid dimensions match the CPU path for the same capture config [187.22ms]
src/tools/__tests__/registry-animation.test.ts:
(pass) kilnScreenshotAnimationDef > grid mode: returns metrics + a base64 grid PNG [760.45ms]
(pass) kilnScreenshotAnimationDef > media extractor strips base64 and returns PNG bytes [794.55ms]
(pass) kilnScreenshotAnimationDef > perFrame mode: 6 separate frame PNGs via mediaMulti [745.45ms]
(pass) kilnScreenshotAnimationDef > a build failure is image-free (ok:false, no png) [0.99ms]
(pass) kilnScreenshotAnimationDef > an unknown clip reports the available clips, no image [86.66ms]
src/tools/__tests__/registry-derivative-views.test.ts:
(pass) derivative review surfaces > evaluator GLB preserves a bare pivot-name clip and reports its unresolved track [405.31ms]
(pass) derivative review surfaces > animation evaluates once and never re-executes source while binding derivative receipts [85.80ms]
(pass) derivative review surfaces > GPU failure uses GLB-native geometry-flat frames with stable reasons [272.96ms]
(pass) derivative review surfaces > interior cutaway produces one derivative receipt per displayed cell [415.58ms]
(pass) derivative review surfaces > contextual part inspect rejects a port without camera acknowledgement [152.61ms]
(pass) derivative review surfaces > a later degraded request exposes current failure while retaining only a hash reference [148.26ms]
2 tests skipped:
(skip) kiln-glb skill files match the catalog render > references/primitives.md is up to date (bun run kiln:gen-skill)
(skip) kiln-glb skill files match the catalog render > SKILL.md generated block is up to date (bun run kiln:gen-skill)
-------------------------------------------|---------|---------|-------------------
File | % Funcs | % Lines | Uncovered Line #s
-------------------------------------------|---------|---------|-------------------
All files | 94.66 | 93.24 |
scripts/authorship.ts | 66.67 | 97.62 |
scripts/build-runtime.mjs | 85.71 | 54.72 | 35-51,56-61
scripts/evaluation/conditions.ts | 88.89 | 91.25 | 40-42,55-58
scripts/evaluation/observe-shipping.mjs | 75.00 | 44.44 | 25-53
site/scripts/collection.mjs | 100.00 | 100.00 |
site/scripts/history.mjs | 100.00 | 100.00 |
site/scripts/provenance.mjs | 100.00 | 100.00 |
src/agent/call-budget.ts | 100.00 | 100.00 |
src/agent/compaction.ts | 100.00 | 100.00 |
src/agent/concurrency.ts | 100.00 | 100.00 |
src/agent/diff.ts | 100.00 | 100.00 |
src/agent/generate.ts | 66.67 | 66.93 | 177-233,374-376,397-419
src/agent/grade-refine.ts | 100.00 | 96.55 | 73-74
src/agent/hooks.ts | 91.67 | 100.00 |
src/agent/providers.ts | 91.67 | 90.91 | 338-340,381-384,463,487-497
src/agent/run.ts | 80.00 | 59.12 | 92-96,295-296,300-305,308,325-326,363-364,366-367,381-383,404-406,416-421,439-440,477-484,491-510,513-540,543-544,572-583,592-608
src/agent/split-tool-result-images.ts | 100.00 | 100.00 |
src/agent/stream-start.ts | 100.00 | 100.00 |
src/agent/surface.ts | 100.00 | 100.00 |
src/agent/tools.ts | 76.19 | 92.01 | 70-71,114-120,147-151,191-192,306-308,317-319,327-329,356-363
src/agent/view-render-timeout.ts | 100.00 | 98.08 |
src/architecture.ts | 97.44 | 99.84 |
src/arena/adaptive.ts | 100.00 | 100.00 |
src/arena/bradley-terry.ts | 100.00 | 100.00 |
src/breadth-prompt.ts | 100.00 | 100.00 |
src/build-cache-node.ts | 78.57 | 100.00 |
src/build-cache.ts | 90.48 | 100.00 |
src/character.ts | 94.44 | 82.65 | 127-128,132-133,170-174,177-181,186-191,193,196-200,203-207,210,213-217,220-224,226-230,235-240,253-257,261-265,268,299-303,311-314,317-321,324-328,331,339,348-352,357-361,367-371,408,413-417
src/cli-render-mode.ts | 82.35 | 77.40 | 51-52,214,227-244,283-284,286-287,289-292,294-295,297-298
src/composer/agent/compaction.ts | 100.00 | 100.00 |
src/composer/agent/index.ts | 100.00 | 100.00 |
src/composer/agent/prompt.ts | 100.00 | 83.33 | 112-114
src/composer/agent/run.ts | 87.50 | 78.92 | 134-136,143-145,192,247-257,277-286,301-307
src/composer/agent/tools.ts | 97.30 | 98.16 | 164-165,795-803
src/composer/agent/world-run.ts | 96.30 | 94.87 | 139-140,209-212,269,293,304-308,339-341
src/composer/agent/world-tools.ts | 79.31 | 95.70 | 66,194,205,254-257,277,372-374,392-395
src/composer/collision.ts | 100.00 | 100.00 |
src/composer/contract-utils.ts | 100.00 | 97.56 |
src/composer/dsl.ts | 92.00 | 93.81 | 164-169
src/composer/ground.ts | 100.00 | 100.00 |
src/composer/index.ts | 100.00 | 100.00 |
src/composer/layout.ts | 100.00 | 94.05 | 181-182,252-259
src/composer/model.ts | 93.33 | 99.41 | 558
src/composer/overlap.ts | 91.67 | 100.00 |
src/composer/presentation.ts | 100.00 | 89.75 | 38,46-50,53,61,92,108-112,116-120,274,277,280,302-303
src/composer/reachability.ts | 90.91 | 82.66 | 61,65-70,124,142-147,170-175,212,236-239,260-267,286-293,297-304,378-384
src/composer/render-port.ts | 100.00 | 91.93 | 299,307,314,322-323,328,358,362,381-382,405,414
src/composer/terrain-runtime.ts | 100.00 | 98.36 | 127,158,165,197-198
src/composer/terrain.ts | 0.00 | 85.11 | 43-49
src/composer/world-document.ts | 100.00 | 94.06 | 39-43,228-232,235-239,487-491,496-501,632-635,655,709,714-718,724-728,763,775-777,899-901,905-907
src/composer/world-integration.ts | 98.28 | 99.32 | 242-244
src/composer/world-package.ts | 88.89 | 87.38 | 100-105,115-119,136-140,158-162,178-180,184,188
src/contracts/asset.ts | 97.30 | 69.49 | 418-419,426-432,435-440,452-453,471-472,514-519,522-527,530-535,545-550,554-559,562-567,575-581,591-596,600-605,608-613,616-621,626-632,642-647,651-656,662-668,671-676,679-684,694-699,712-717,720-725,728-733,736-741,744-749,755-761,764-769,773-778,783-788,791-796,799-804,816-821,829-834,838-843,853-858,861-866,880-885,889-894,905-910,914-919,922-927,930-935,939-944,964-969,977-982,987-992,995-1000,1051-1056,1061-1066,1069-1074,1083-1088,1092-1097,1100-1105,1113-1121,1127-1136,1139-1144,1147-1152,1193-1198,1220-1223,1227-1231,1241-1245,1267-1271,1296-1300,1312-1317,1336-1341,1357-1362,1365-1369,1378-1383,1390-1395,1398-1402,1423-1428,1431-1435,1453-1458,1463-1467,1471-1475,1487-1491,1502-1506,1533-1534,1660,1771-1782,1811-1818,1848-1849,2026-2027
src/contracts/breadth.ts | 95.00 | 68.81 | 136-140,143-147,150-154,160-165,168-172,176,179-183,186-190,196-201,208-213,228-232,235-239,242-246,249-253,256-260,267-272,303-308,312-316,319-323,333-338,349-353,531-536,539-543,546-550,553-557,561-565,571-572,576-580,585-588,593-597,603-608,610-614,622-627,666,753-762,768-769,773-777,791-795,798-802,805-809
src/contracts/environment.ts | 100.00 | 92.19 | 46,49,57,64-65
src/contracts/index.ts | 100.00 | 100.00 |
src/contracts/integration.ts | 100.00 | 100.00 |
src/contracts/semantic.ts | 94.29 | 76.49 | 189,195-200,203-207,221-222,225,228-232,235-239,260-265,269-273,280-285,289-293,306-307,311-315,327-332,342-351,395-399,414-418,488-492,507-511
src/deform.ts | 100.00 | 100.00 |
src/edit-buffer.ts | 100.00 | 100.00 |
src/evaluator/authoring-diagnostic.ts | 100.00 | 100.00 |
src/evaluator/handler.ts | 100.00 | 88.75 | 49,57,77,90,96-100
src/evaluator/index.ts | 100.00 | 100.00 |
src/evaluator/isolation.ts | 76.47 | 55.02 | 296-298,302-365,369-423,428-444
src/evaluator/probe-invariants.ts | 100.00 | 100.00 |
src/evaluator/protocol.ts | 96.88 | 95.75 | 199-215
src/evaluator/subprocess.ts | 88.24 | 98.99 | 218
src/experiments/geometry-acceptance.ts | 16.67 | 15.12 | 42-52,55-58,61-79,82-97,100-268
src/experiments/program-aliases.ts | 100.00 | 100.00 |
src/experiments/w6-material-vegetation.ts | 97.67 | 99.35 | 712,761-763
src/experiments/w7-vegetation-lod.ts | 78.26 | 95.00 | 199,203-213
src/gears.ts | 100.00 | 100.00 |
src/geometry-catalog.ts | 100.00 | 100.00 |
src/geometry-export.ts | 100.00 | 96.10 | 50-52
src/geometry.ts | 100.00 | 92.03 | 40-45,53-58,60-62,121-123,198-199
src/implicit.ts | 100.00 | 100.00 |
src/inspect.ts | 100.00 | 90.37 | 144-145,158,177-181,218-222
src/kit.ts | 94.12 | 65.41 | 241,247,316-379,419-437,439-445
src/list-primitives.ts | 100.00 | 100.00 |
src/local-runtime.ts | 80.00 | 54.60 | 55,90-93,126-199
src/material-metrics.ts | 100.00 | 100.00 |
src/material-recipe-prompt.ts | 75.00 | 70.97 | 87-95
src/material-recipe-runtime.ts | 100.00 | 100.00 |
src/material-recipes.ts | 90.91 | 88.80 | 475-478,481-485,495-499,505-510,521-525,539-543,547-552,555-560,564-569,572-577,641-643,660-661
src/material-resources.ts | 90.70 | 96.35 | 291-295,469-471,475-477,482-484
src/mcp-server.ts | 50.00 | 56.82 | 65-71,73-76,106-113,130-141,152,155-158,160-161
src/metrics.ts | 100.00 | 100.00 |
src/ops.ts | 94.12 | 90.95 | 111-127,338-340,496
src/palette-snap.ts | 100.00 | 87.62 | 161,195-206
src/palette.ts | 100.00 | 100.00 |
src/portable-material-runtime.ts | 100.00 | 93.83 | 67-69,93-94
src/primitives.ts | 100.00 | 99.37 | 829,1593,1728,1732-1733,1759
src/procedural-material-v2.ts | 100.00 | 94.28 | 190,196,208,212,216-218,290-293,413-415,436-438,592,619,622-624,631-633,650
src/procedural-texture.ts | 100.00 | 98.28 | 211,376-378
src/profile.ts | 100.00 | 95.56 | 167,195,203-206,287-289
src/program-store-node.ts | 92.31 | 98.95 |
src/program-store.ts | 100.00 | 100.00 |
src/prompt-api.ts | 66.67 | 47.85 | 135-137,148-202,211-237
src/prompt.ts | 83.33 | 97.01 | 808,810,1065-1068
src/qa/architecture-corpus.ts | 100.00 | 100.00 |
src/qa/architecture-repairs.ts | 100.00 | 100.00 |
src/qa/architecture.ts | 98.70 | 97.08 | 443-457,791-792,893-894,943-948,1006-1008,1066-1070
src/qa/benchmark-fixtures.ts | 100.00 | 100.00 |
src/qa/breadth-corpus.ts | 100.00 | 100.00 |
src/qa/breadth-evidence.ts | 96.72 | 93.35 | 85,90,93-99,166,174-175,290-292,294-309
src/qa/breadth-final.ts | 93.10 | 60.16 | 37-44,49-68,231-244,248-257,261-274,291-304,309-318,325-339,346-359,365-378,384-399
src/qa/breadth.ts | 95.65 | 83.12 | 101-102,190-203,217-227,283-298,378-388,410-419,483-496,508-523
src/qa/character-advisory.ts | 100.00 | 96.65 | 203-216,523-524
src/qa/character-repairs.ts | 100.00 | 100.00 |
src/qa/character-vehicle-corpus.ts | 100.00 | 100.00 |
src/qa/character.ts | 92.86 | 91.13 | 203-216,269-285,311-323,345-357,364,397-404,511,695-697,708,711,766,881-882
src/qa/corpus.ts | 100.00 | 100.00 |
src/qa/environment.ts | 92.98 | 93.13 | 266,453-471,514-525,566-581
src/qa/geometry-relations.ts | 98.36 | 96.88 | 170,192,200-201,219,223,247,268-279
src/qa/gltf.ts | 77.78 | 87.50 | 69-75
src/qa/index.ts | 100.00 | 100.00 |
src/qa/material.ts | 100.00 | 86.40 | 39,42-47,66-80,82-83,225-234
src/qa/part-connectivity.ts | 100.00 | 100.00 |
src/qa/prop-environment-prompt.ts | 100.00 | 100.00 |
src/qa/prop-helper-policy.ts | 100.00 | 85.14 | 48-51,64,70-71,82-83,99-100
src/qa/prop.ts | 96.43 | 95.19 | 142-143,148,235-247,437-449,499
src/qa/reference-comparison.ts | 100.00 | 100.00 |
src/qa/registry.ts | 100.00 | 100.00 |
src/qa/run.ts | 96.30 | 87.20 | 234-260
src/qa/self-intersection.ts | 100.00 | 99.46 |
src/qa/types.ts | 100.00 | 100.00 |
src/qa/universal.ts | 100.00 | 96.58 | 75,77-83,114,120-122
src/qa/vegetation-corpus.ts | 100.00 | 100.00 |
src/qa/vegetation.ts | 98.96 | 97.92 | 591,671-686,1006-1007
src/qa/vehicle-advisory.ts | 97.50 | 96.53 | 80-81,113-114,357-365
src/qa/vehicle.ts | 93.18 | 98.80 | 49-50,389-394
src/render.ts | 98.61 | 94.61 | 449-451,565,650-653,698-700,776,829-830,884,895,900-901,906,1147-1149,1289,1373-1375,1421,1433,1452-1454,1475,1492-1494,1525-1527,1548-1550,1556-1558,1687-1688,1777,1819,1882-1883,1894-1895,1930,2047-2049,2063,2071,2076-2078,2097-2100,2191,2268-2272,2289-2291
src/runtime-identity.ts | 95.00 | 93.62 | 96-99,127-128,151-153
src/solids.ts | 93.10 | 98.02 | 63-67,137-138
src/sweep.ts | 100.00 | 100.00 |
src/texture-bake.ts | 100.00 | 95.83 | 150,157,283-286,406,518-520
src/texture-resolver.ts | 100.00 | 95.00 |
src/textures.ts | 100.00 | 87.98 | 66-69,89,138,140-142,144-155,157,244-246
src/tools/discovery.ts | 100.00 | 100.00 |
src/tools/programs.ts | 100.00 | 100.00 |
src/tools/registry.ts | 97.00 | 98.59 | 417-419,447-448,452,456,485-487,859,931-936,1167-1168
src/uv-shapes.ts | 100.00 | 98.82 |
src/uv.ts | 100.00 | 93.24 | 122,159-160,171-172,181,211-214
src/validation.ts | 96.43 | 99.72 | 1050
src/vegetation-prompt.ts | 100.00 | 100.00 |
src/vehicle.ts | 100.00 | 100.00 |
src/views/annotate.ts | 100.00 | 100.00 |
src/views/architecture.ts | 100.00 | 100.00 |
src/views/background.ts | 100.00 | 100.00 |
src/views/camera-capture.ts | 100.00 | 100.00 |
src/views/camera.ts | 100.00 | 97.43 | 321-330
src/views/capture-cache.ts | 78.13 | 100.00 |
src/views/capture-limits.ts | 100.00 | 100.00 |
src/views/capture.ts | 88.89 | 100.00 |
src/views/character-capture.ts | 100.00 | 100.00 |
src/views/character.ts | 95.83 | 100.00 |
src/views/diagnostic.ts | 100.00 | 99.19 | 362-364,470
src/views/evidence-history.ts | 100.00 | 100.00 |
src/views/glb.ts | 88.24 | 96.52 | 66-70,464-475
src/views/grid.ts | 100.00 | 100.00 |
src/views/index.ts | 97.14 | 96.50 | 258-259,267-268,463-466,752-754,760,882-883,912-914
src/views/inspect.ts | 100.00 | 100.00 |
src/views/measurement.ts | 100.00 | 100.00 |
src/views/png.ts | 100.00 | 99.24 |
src/views/port.ts | 100.00 | 93.36 | 96,121-124,135-138,243-244,264,297-298
src/views/pose.ts | 100.00 | 96.09 | 154-158,162-163,190-191
src/views/raster.ts | 100.00 | 98.08 | 221,429-432
src/views/renderer-id.ts | 100.00 | 92.31 |
src/views/scene-raster.ts | 100.00 | 98.55 |
src/views/vehicle.ts | 96.15 | 99.43 | 362-363
-------------------------------------------|---------|---------|-------------------
1740 pass
2 skip
0 fail
2 snapshots, 47260 expect() calls
Ran 1742 tests across 195 files. [159.36s]
Coverage gate passed: functions 95.55% (minimum 92.00%), lines 92.53% (minimum 91.00%)