Skip to content

t1k:unity:base:cleanroom-adapter

FieldValue
Modulebase
Version5.116.6
Effortlow
Tools—

Keywords: cleanroom adapter unity, cleanroom unity template, PuzzleTemplate, t1k-cleanroom-adapter, x-cleanroom

/t1k:unity:base:cleanroom-adapter

Engine-specific half of t1k-cleanroom (theonekit-core). Contract t1k-cleanroom-adapter/1 — see the core skill’s own adapter-contract reference (t1k-cleanroom/references/adapter-contract.md in the installed core kit; it does not ship in this skill). Transport is the gamedev extension slice gamedev-adapter.json here (capability x-cleanroom, reference: cleanroom/adapter.json). The launcher resolves it with core’s cleanroom-adapter.cjs resolve --engine unity and hands the workflow the adapter.json PATH; section files are read from disk.

The content is today’s Unity behaviour in core, field for field: every section equals adapters/legacy-unity.json of core phase 2 (theonekit-core#6114, the field-name reference) except the three script hooks, which point at this skill’s own {{adapterDir}}/scripts/.

FileHolds
cleanroom/adapter.jsonentry: requires.core >=2.13.0, section file map
cleanroom/template.jsonThe1Studio/PuzzleTemplate@develop, bootstrap.{scaffoldCreate,scaffoldSkill}, platforms.{default,map,validateTarget}
cleanroom/layout.jsonUnity<repo>/Assets/<game>, layers, gateDirs, commitPaths, asmdefs, layout prompts, <GAME>_RELEASE
cleanroom/roles.jsonbase{spec,build,judge,tester,git} + slices
cleanroom/validation.jsoneditor-headless: Unity batch compile/test/build commands, concurrency gate
cleanroom/acquire.jsonAssetRipper, Il2CppDumper, ilspycmd pipeline and logic sources
cleanroom/logic-recovery.jsonScriptableObject/prefab-YAML/IL2CPP recovery rules
cleanroom/prompts.jsontween policy, MCP sweep, studio libraries, uiLaneRule, lane rules, layout audit, library usage
cleanroom/scripts.jsonlibrary check, release scan, sprite-meta ({{adapterDir}}/scripts/...), stateLayout
scripts/, install.json, install-handlers/relocated unchanged except one line (below)

Relocated scripts: cleanroom-library-check.cjs is byte-identical to core. sprite-meta.cjs and cleanroom-release-check.cjs change ONE line each: a neutral core helper they require is resolved from the installed core skill (../../t1k-cleanroom/scripts/). install.json + install-handlers/release-tool.cjs: the three pinned tools and checksums are unchanged (only _origin re-stamped).

Tests: tests/cleanroom-adapter-parity.test.cjs (bundle self-checks and the legacy-unity field comparison run anywhere; set T1K_CORE_R1_DIR to a core checkout with phase 2 to also run render parity through tests/parity-preload.cjs; oracles in tests/fixtures/).

The mechanical steps are scripts/cleanroom-library-check.cjs and scripts/cleanroom-release-check.cjs (both gate a build and print a verdict in --json) and scripts/sprite-meta.cjs (reads a Unity .meta), all deterministic and prompt-free, so the cheap-tier t1k-list-classifier runs them. Filling the adapter’s own section files, and any prompt text, stays on the reasoning tier: those are the contract, not a tabulation.