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
docs(dogfood): carry verified authoring and harness lessons into skills
Matt Kissingerf844d69dbd5a
diff --git a/docs/dogfooding.md b/docs/dogfooding.mdindex 8775f316..dcc90244 100644--- a/docs/dogfooding.md+++ b/docs/dogfooding.md@@ -21,6 +21,13 @@ assisted OpenCode recoveries remain distinct from the incomplete blind handoffs.The report covers native traces, independent export checks, visual defects andthe resulting evaluation-tool and skill changes.+The [October 13 public 1.2.3 campaign](reviews/2026-10-13-1.2.3-blind-dogfood.md)+records nine initial assets and six localized edits with AGY/Gemini and+OpenCode/Muse, including an extra blind attempt and an OpenCode client error+whose underlying session completed. It separates validated delivery from visual+quality, native image receipt from independent GPU review, and tested published+guidance from subsequent local documentation changes.+| tier | question it answers | cost || --- | --- | --- || 0 · wiring smoke | can this harness reach the tools at all? | one short turn |@@ -52,7 +59,7 @@ harness, then ask for an asset the way a user would:```bashnode scripts/create-workspace.mjs /tmp/dogfood-opencode --harness opencodecd /tmp/dogfood-opencode-opencode run --auto -m PROVIDER/MODEL "Generate a weathered dockside crane asset."+opencode run --standalone --auto -m PROVIDER/MODEL "Generate a weathered dockside crane asset."```The workspace already registers the skills and the MCP server and writes an AGENTS.md that@@ -107,7 +114,7 @@ interrupted run is not a completed asset.`dogfood:tier2` drives the outer, blind agent. It supports Agy, Claude Code, Codex, Hermes andOpenCode, using each harness's verified isolation: an operator-prepared clean auth home for Agy,strict empty MCP for Claude, ignored user configuration and rules for Codex, safe mode or an-isolated home for Hermes, and a fresh XDG configuration plus pure mode for OpenCode. The ordinary+isolated home for Hermes, and a fresh XDG configuration plus a private V2 server for OpenCode. The ordinaryroutes keep their normal authentication store. Adding another adapter is appropriate only afterits isolation can be demonstrated; a clean current directory by itself does not suppressuser-level skills or MCP servers.@@ -147,6 +154,15 @@ It does not name setup commands, skills, Kiln tools, primitives, or examples. Thsurface being tested. Claude runs in safe mode with a strict empty MCP configuration and no savedouter session. Codex ignores user configuration and execution rules and uses an ephemeral outersession. OpenCode uses `--standalone` under a fresh `XDG_CONFIG_HOME`; Hermes uses `--safe-mode`.++For OpenCode V2, configuration and persistent state are separate. `--standalone`+starts a private server but does not select a separate session database. Record+the resolved data/database location as well as the configuration location. Use a+separately prepared `XDG_DATA_HOME` or `OPENCODE_DB` for concurrent independent+servers, including nested authors; changing this can also remove access to saved+provider sign-ins. Verify the requested route before dispatch, never copy a user's+database or credentials, and never count a client exit as proof that its server or+children stopped. See [harness storage and completion](harnesses.md#opencode-v2-storage-and-completion).Agy has no equivalent flag, so it requires `--agy-home` pointing to an operator-prepared homewhose `agy mcp list` is empty and which exposes only the authentication/runtime files the testneeds. The driver never copies credentials into it. Authentication remains available where thediff --git a/docs/harnesses.md b/docs/harnesses.mdindex c428808d..90afdd40 100644--- a/docs/harnesses.md+++ b/docs/harnesses.md@@ -131,6 +131,24 @@ The ones that cost real time:installs its own copy must pin a release that knows the requested model; one short`smoke:harness` turn shows the refusal before a batch spends time.+## OpenCode V2 storage and completion++`run --standalone` gives the command a private server; `XDG_CONFIG_HOME` selects+configuration. Neither alone isolates the persistent session database. OpenCode+documents `XDG_DATA_HOME` and `OPENCODE_DB` as database-location controls, and stores+provider sign-ins in that database too. Use a separately prepared data location+for concurrent independent servers or nested headless authors. Verify model access+there first; do not copy credentials or silently switch providers to make it work.+[OpenCode V2 provider storage](https://dev.opencode.ai/v2/docs/cli/providers/#storage).++In the October 13 Windows trials, an OpenCode 2.0.14 client reported a provider+reasoning-item error after server-restart notices while descendant work continued.+This does not establish the restart's root cause. Retain the client exit, native+session outcome and child-process results separately. Before retrying, check the+actual processes and saved outputs; a disconnected client is not a stopped author.+Export native sessions after they become idle so evidence collection does not+start another server against an active database.+## Long-running sessions and compactionKeep automatic compaction enabled. It is a normal continuation boundary, not a reason for adiff --git a/docs/reviews/2026-10-13-1.2.3-blind-dogfood.md b/docs/reviews/2026-10-13-1.2.3-blind-dogfood.mdnew file mode 100644index 00000000..01b84049--- /dev/null+++ b/docs/reviews/2026-10-13-1.2.3-blind-dogfood.md@@ -0,0 +1,176 @@+# Kiln 1.2.3 blind setup and authoring dogfood++Nine initial assets and six localized edits completed using the public npm+package. All fifteen selected deliveries match saved editable revisions, pass+independent glTF validation with zero errors or warnings, and rebuild to identical+GLB bytes. This establishes working delivery and revision paths, not acceptance+of the artwork. The bags need better fabric construction and fitting; several+outputs miss parts of their requested surface style.++An OpenCode client exited with an error while its native session continued and+eventually completed. Both outcomes are retained. An additional fresh blind run+started before that recovery was discovered, so this report includes it as a ninth+attempt rather than replacing the original observation.++## Frozen inputs and scope++- Package: public `@instruktlabs/[email protected]`, installed from npm, with integrity+ `sha512-Gba3khVavV/hJAQlahA+WqaI7LhjHVoGtxfmdcLlmXfEgY6K5boqH7Q0IaPKCr4TRnYioJF2zCRh/5VoS3CszQ==`.+- Released checkout: `743965ac`; the package records source commit `c3b12343`.+ Recorded runtime build identity:+ `sha256:c6feeaca5cf2b08f8fff3b45d23c0b14acfb65bdafeb150270910e98e765a7a7`.+- AGY 1.3.4, `gemini-3.8-flash-high`, explicit high effort. AGY auto-updated+ from the initial 1.3.2 inventory before actual trials; the trial executable+ hashes and version receipts are retained.+- OpenCode 2.0.14, `opencode/muse-spark-1.3-contributor-free`. Native session+ metadata confirms this route, including nested authors. Muse stayed available;+ the user's conditional DeepSeek v4.1 fallback was not invoked.+- Node 22.23.3 for generated runtime invocations. Existing AGY subscription and+ the requested Contributor route only; no purchased credits or paid fallback.+- Eight planned initial attempts and six frozen edits, plus the explicitly+ recorded ninth attempt. Deadlines: 45 minutes for blind setup, 25 minutes for+ prepared authoring, 15 minutes for edits. No model ranking or timing benchmark+ is inferred from this small campaign.++This is an onboarding and authoring campaign, not the separate twelve-cell+affordance ablation in [protocol 1](../evaluation/protocol.md). No PSX assets,+scene controllers, past outputs or geometry corrections were supplied to authors.+The four briefs cover an articulated lamp without a prescribed art style,+smooth glazed porcelain, worn canvas, and a flat-color wooden toy. The latter+three each have one narrowly scoped follow-up, declared before dispatch.++All authoring ran outside the engine checkout. Blind agents received the public+repository URL and the goal, performed setup and launched an independent author.+Prepared trials started from generated npm workspaces. The canonical Tier 2+driver's process, invocation, prompt, artifact and event helpers were reused by+an external campaign orchestrator. Native exports supplement process receipts.++AGY used fresh homes and configuration, retaining OS sign-in without copying+credentials. The first OpenCode lamp and teapot used fresh configuration and a+private server but retained normal persistent data. Subsequent OpenCode bag,+bird and repeat-lamp trials also isolated data, state and cache, with a successful+route probe first. These are recorded context boundaries, not OS sandboxes.+No engine implementation or example-asset reads were identified in the inspected+author traces; blind setup documentation and setup-script reads were allowed.++## Outcomes++| Run | Setup | Outcome and important qualification |+| --- | --- | --- |+| 01 AGY lamp | Blind | Setup, nested MCP author, native PNG reads, source/GLB/preview and fold animation completed. Parent prepared a detailed task handoff and draft before the independent author; this is not an unelaborated child prompt. |+| 02 OpenCode lamp | Blind | Client exited 1 after an expired reasoning-item error and server-restart notices. Exported native outer/setup/author sessions later show success and exact saved artifacts. Author used CLI plus native PNG reads, not MCP authoring. |+| 03 AGY teapot | Prepared | Smooth glossy body with restrained band; lid-only edit completed. |+| 04 OpenCode teapot | Prepared | Complete delivery and lid edit, but visible body ridges and a segmented handle remain in the GPU view despite the smooth brief. CPU shading is not a sufficient explanation. |+| 05 AGY bag | Prepared | Complete delivery and strap edit. Body remains too rigid, folds are weak, and strap fittings need correction. Original source/export retained under `asset-original.*` before replacement of the current files. |+| 06 OpenCode bag | Prepared | Complete delivery and strap edit. Softer body but stiff flap, weak contact and coarse surface treatment. Agent reported the substantial draw/material cost rather than concealing it. |+| 07 AGY toy bird | Prepared | Correct broad shape and colors, but shiny shading and faceted wings/feet weaken the requested illustration style. Center-feather edit completed. |+| 08 OpenCode toy bird | Prepared | Rounded flat-color result and center-feather edit. Agent received CPU images and disclosed the shading limitation. Independent GPU review confirms smoother curved surfaces than its CPU preview suggests. |+| 09 OpenCode lamp | Extra blind attempt | Fresh data isolation; native outer/setup/author sessions succeeded. Hybrid MCP discovery and CLI authoring, with images read back. Fold motion sheets retained. This is an additional observation, not a replacement for run 02. |++Native image delivery is established for every author by image content blocks or+recorded reads of the produced PNGs. MCP reachability, actual MCP authoring and+CLI authoring are reported separately. The trace audit counts OpenCode code-mode+batches, not necessarily individual Kiln calls. It recognizes both dotted and+bracketed MCP access. An empty extracted fidelity field is not interpreted as+absence of rendering; retained evaluation and saved-preview receipts are used.++No technical qualification here establishes that every prompt requirement was+met. In particular, realistic cloth and attachment quality remain weak, and no+destination game or interactive scene was requested or qualified in this run.++## Independent artifact and edit checks++The fifteen selected deliveries have exact saved source/GLB matches. A broader+scan of nineteen exported GLBs, including intermediate or duplicate exports,+also found zero validator errors or warnings; informational unused-object+messages remain. Independently rebuilt exports match their submitted bytes.++All fifteen selected revisions were rendered again on the RTX 3070/D3D12+renderer using the same two-shot capture definition. Every review delivered+`full-material` fidelity without degradation. The CLI receipt retains+`exactArtifact: false` with `IN_LOOP_BUILD_NOT_PERSISTED`; the separate byte+comparison establishes identity with the saved GLB. That flag was not rewritten+or treated as a failed material render. Review images remain distinct from the+images the agents actually received.++Eleven saved previews record full-material fidelity; four (the OpenCode teapot+and bird, before and after editing) record geometry-flat fidelity. Their later+independent GPU images do not retroactively qualify the agents' original+material review.++Independent decoded geometry, transforms, materials and animation comparisons:++| Edit | Changed exported parts | Preserved evidence |+| --- | --- | --- |+| AGY teapot | Lid transform | Other 5 nodes and all materials unchanged |+| OpenCode teapot | Lid, lid stem and knob transforms | Other 3 nodes and all materials unchanged |+| AGY bag | Strap and pad geometry, strap fittings, shared stitch mesh | 48 of 55 nodes unchanged; body, flap, buckle assemblies and materials preserved |+| OpenCode bag | Strap geometry and pad transform | 79 of 81 nodes unchanged; materials preserved |+| AGY bird | Center feather geometry | 14 of 15 nodes and all materials unchanged |+| OpenCode bird | Center feather transform | 16 of 17 nodes and all materials unchanged |++No animation channel changes were found in the six revisions. These checks+establish localized editing, not that a longer strap has good fit or that each+asset is ready for production. Lamp motion sheets sample the fold at five phases;+the original motion exports remain with their respective workspaces.++All nine workspaces retained the published skill bytes throughout the campaign:+14 installed resource files in each blind workspace and 16 in each prepared+workspace with the optional batch workflow. No guidance correction was slipped+into an ongoing author session. All fifteen selected saved revisions were also+copied, with exact source/GLB identity and original previews, into the standard+local Kiln Library. This does not publish them to the site gallery.++## Findings and maintained guidance changes++1. **OpenCode process isolation and storage isolation are different.** A private+ `--standalone` server does not itself select a separate persistent database.+ Official [OpenCode V2 provider storage documentation](https://dev.opencode.ai/v2/docs/cli/providers/#storage)+ describes data-location controls and the authentication stored there. Harness,+ dogfood and clean-room guidance now record this distinction and require access+ verification without copying credentials. The observed restart/error cause+ remains unproven; fresh storage succeeding does not establish causation.+2. **Client exit is not authoritative completion evidence.** Retain native+ session/child outcomes, check active descendants before retrying, and collect+ native exports after idle. Run 02's failed client and successful author are+ both part of the result.+3. **Smoothness needs shape and shading evidence.** Geometry guidance now+ distinguishes profile continuity, tessellation and normals, and requires+ material-faithful views to distinguish CPU face boundaries from actual ridges.+ Intentional creases and facets remain valid when requested. Flat color does+ not require faceted geometry.+4. **Style follows the user's prompt.** The author skill states this directly,+ without making PSX, smooth shading, cloth, textures or scene optimization a+ universal requirement. The variety here argues against an unavoidable PSX+ default, but nine attempts do not establish general style neutrality. The+ cloth and illustration misses remain evidence to track.++Only documentation and maintained skill guidance changed. No runtime workaround+or scene-specific rule was added. Existing author workspaces and the published+1.2.3 package were left untouched. These guidance edits are local and have not+been retested in a new live-model campaign; delivery checks do not prove that+they improve model behavior.++Validation: skill checks (six skills, two registered setup copies), lint, and+36 focused skill/workspace tests passed. A fresh OpenCode workspace and a managed+AGY upgrade from the published package were exercised separately; copied resource+identity and package inclusion are recorded in the closeout evidence. Existing+customization conflict behavior is covered by the workspace tests. No runtime+behavior changed, so the release's full runtime/performance qualification was+not repeated or newly claimed here.++## Local evidence and review++The private campaign archive is retained as `release-1.2.3-2026-10-13`.+Its local `review/index.html` contains originals, edits, independent GPU images and source,+GLB and original-preview downloads. These artifacts are candidates for owner+review, not automatically accepted showcase assets.++Key receipts: `authorization.json`, `isolation-amendment.json`,+`opencode-outcome-reconciliation.json`, `package-and-guidance.json`,+`final-deliveries.json`, `selected-delivery-verification.json`,+`artifact-validation.json`, `independent-preservation.json`,+`review-gpu-receipts.json`, `trace-audit-summary.json`, `library-archive.json`+and `guidance-delivery-check.json`. Per-run `evidence/` retains immutable inputs,+process results and native exports. Raw traces stay local; they are not included+in the public report or review downloads.diff --git a/skills/kiln-author-asset/SKILL.md b/skills/kiln-author-asset/SKILL.mdindex f1f1c1c6..6bab46ab 100644--- a/skills/kiln-author-asset/SKILL.md+++ b/skills/kiln-author-asset/SKILL.md@@ -17,7 +17,7 @@ Read the [program contract](references/program-contract.md) when writing source.## Make the asset-Establish the subject, scale, style, and destination constraints from the request. Build a recognizable silhouette and meaningful construction details. Name parts by their role. Use metres, +X forward, +Y up, +Z right; ground contact normally sits at Y=0. Forward is the direction the object faces: a bench's sitter faces +X, so its backrest sits toward -X. Part `rotation` is in degrees and follows the right-hand rule in this frame: `[0, 90, 0]` turns forward (+X) toward -Z, the object's left; `[0, 0, 90]` tips +X up to +Y; `[90, 0, 0]` rolls +Y toward +Z.+Take subject, scale, style and destination constraints from the request, not examples or recipes. Build a recognizable silhouette and meaningful construction details. Name parts by their role. Use metres, +X forward, +Y up, +Z right; ground contact normally sits at Y=0. Forward is the direction the object faces: a bench's sitter faces +X, so its backrest sits toward -X. Part `rotation` is in degrees and follows the right-hand rule in this frame: `[0, 90, 0]` turns forward (+X) toward -Z, the object's left; `[0, 0, 90]` tips +X up to +Y; `[90, 0, 0]` rolls +Y toward +Z.Unless exact reconstruction is requested, use reference images to align silhouette,materials and art direction alongside the written brief, not as a requirement todiff --git a/skills/kiln-author-asset/references/geometry-recipes.md b/skills/kiln-author-asset/references/geometry-recipes.mdindex 6a92c0be..dee236ae 100644--- a/skills/kiln-author-asset/references/geometry-recipes.md+++ b/skills/kiln-author-asset/references/geometry-recipes.md@@ -39,6 +39,14 @@ their transforms or motion survived the export.## Surfaces from equations+Match continuity to the brief. For a requested smooth surface, inspect both its+silhouette and its shading: increasing radial segments does not smooth a coarse+longitudinal profile, and smooth normals do not remove corners from the geometry.+Refine the curve or topology where the shape needs it; preserve intentional+creases and facets. Flat colours do not require faceted geometry. CPU geometry+views can exaggerate face boundaries, so use material-faithful views to separate+that limitation from ridges that remain in the exported surface.+An asymmetric canopy or corrugated sheet can be much shorter as a function than as many primitives:```jsdiff --git a/skills/kiln-batch-dispatch/references/clean-room-evaluation.md b/skills/kiln-batch-dispatch/references/clean-room-evaluation.mdindex 8ca3e7d2..cca43d1c 100644--- a/skills/kiln-batch-dispatch/references/clean-room-evaluation.md+++ b/skills/kiln-batch-dispatch/references/clean-room-evaluation.md@@ -12,6 +12,14 @@ Use a new workspace when testing changed skills. `--repair` repairs generated inHash the package and every installed skill resource recursively, not only `SKILL.md`. Keep the exact model identifier and harness version beside the run. When a provider reports a resolved model identity, retain it as well.+A private harness server need not have private session storage. For OpenCode V2,+record configuration and database locations separately; concurrent independent+servers and nested authors need separately prepared data locations. Changing+`XDG_DATA_HOME` or `OPENCODE_DB` can also change provider authentication. Verify+the requested route without copying credentials. A client error or exit can leave+server-side work running: check native session and child-process outcomes before+retrying, and retain both results when they disagree.+## A small but complete trialUse a brief with three recognizable parts and one requested revision. Save the first `programRef`; render, source-view, source-edit, and inspect by reference. Export the revised source and GLB. Compare unrelated source text before and after, and verify the changed part in a targeted image. A source handle proves revision reuse; it does not by itself prove a render-cache hit.