nccgs 2.1.1 → 3.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (705) hide show
  1. package/CHANGELOG.md +76 -235
  2. package/LICENSE +1 -1
  3. package/README.md +87 -206
  4. package/THIRD_PARTY_NOTICES.md +6 -34
  5. package/bin/nccgs.mjs +96 -0
  6. package/cli/doctor.mjs +82 -0
  7. package/cli/feedback.mjs +13 -0
  8. package/cli/install.mjs +111 -0
  9. package/cli/release.mjs +59 -0
  10. package/cli/run.mjs +35 -0
  11. package/cli/spawn.mjs +20 -0
  12. package/cli/uninstall.mjs +43 -0
  13. package/cli/update-check.mjs +66 -0
  14. package/docs/EVIDENCE-VERIFICATION.md +22 -0
  15. package/package.json +23 -30
  16. package/runtime/core/diag.mjs +43 -0
  17. package/runtime/core/feedback-policy.mjs +54 -0
  18. package/runtime/core/fs.mjs +80 -0
  19. package/runtime/core/job-object.mjs +73 -0
  20. package/runtime/core/modes.mjs +87 -0
  21. package/runtime/core/process-tree.mjs +109 -0
  22. package/runtime/core/project.mjs +113 -0
  23. package/runtime/core/snapshot.mjs +114 -0
  24. package/runtime/hooks/common.mjs +22 -0
  25. package/runtime/hooks/done-guard.mjs +15 -0
  26. package/runtime/hooks/guard-mcp.mjs +8 -0
  27. package/runtime/hooks/guard-shell.mjs +16 -0
  28. package/runtime/hooks/guard-write.mjs +25 -0
  29. package/runtime/hooks/session-log.mjs +7 -0
  30. package/runtime/hooks/session-start.mjs +40 -0
  31. package/runtime/hooks/unity-transport.mjs +12 -0
  32. package/runtime/modes.json +39 -0
  33. package/runtime/task/cost.mjs +103 -0
  34. package/runtime/task/criteria.mjs +128 -0
  35. package/runtime/task/feedback.mjs +136 -0
  36. package/runtime/task/ledger.mjs +109 -0
  37. package/runtime/task/plan.mjs +69 -0
  38. package/runtime/task/project.mjs +79 -0
  39. package/runtime/task/report.mjs +252 -0
  40. package/runtime/task/task.mjs +238 -0
  41. package/runtime/unity/assets.mjs +51 -0
  42. package/runtime/unity/playtest.mjs +145 -0
  43. package/runtime/unity/unity.mjs +350 -0
  44. package/scripts/check-job-object.mjs +18 -0
  45. package/scripts/sync-unity-skills.mjs +35 -119
  46. package/template/CLAUDE.md +39 -0
  47. package/template/agents/fast-fix.md +9 -0
  48. package/template/agents/implementer.md +19 -0
  49. package/template/agents/playtester.md +15 -0
  50. package/template/agents/reviewer.md +19 -0
  51. package/template/agents/scout.md +9 -0
  52. package/template/ponytail/README.md +8 -0
  53. package/{.claude/nccgs/packages → template}/ponytail/engineering.md +10 -0
  54. package/template/protocols/evidence.md +52 -0
  55. package/template/protocols/playtest.md +45 -0
  56. package/template/protocols/review.md +34 -0
  57. package/template/protocols/unity-cli-notes.md +56 -0
  58. package/template/settings.fragment.json +33 -0
  59. package/template/skills/art-bible/SKILL.md +19 -0
  60. package/template/skills/asset-spec/SKILL.md +19 -0
  61. package/template/skills/brainstorm/SKILL.md +17 -0
  62. package/template/skills/feedback/SKILL.md +16 -0
  63. package/template/skills/map-systems/SKILL.md +25 -0
  64. package/template/skills/playtest/SKILL.md +17 -0
  65. package/template/skills/status/SKILL.md +18 -0
  66. package/template/skills/test/SKILL.md +34 -0
  67. package/template/skills/unity-foundation/SKILL.md +17 -0
  68. package/template/skills/vertical-slice/SKILL.md +17 -0
  69. package/template/skills/work/SKILL.md +65 -0
  70. package/tools/feedback-worker/README.md +12 -0
  71. package/tools/feedback-worker/worker.js +39 -0
  72. package/tools/feedback-worker/wrangler.toml +12 -0
  73. package/unity-skills/2d-pixel-perfect/SKILL.md +208 -0
  74. package/unity-skills/2d-pixel-perfect/references/api-reference.md +81 -0
  75. package/unity-skills/2d-pixel-perfect/references/camera-setup-builtin.cs +40 -0
  76. package/unity-skills/2d-pixel-perfect/references/camera-setup-urp.cs +49 -0
  77. package/unity-skills/2d-pixel-perfect/references/pipeline-detection.cs +50 -0
  78. package/unity-skills/2d-pixel-perfect/references/sprite-settings.cs +37 -0
  79. package/unity-skills/asset-transformer-toolkit/SECURITY.md +15 -0
  80. package/unity-skills/asset-transformer-toolkit/SKILL.md +39 -0
  81. package/unity-skills/asset-transformer-toolkit/references/create-importer.md +121 -0
  82. package/unity-skills/asset-transformer-toolkit/references/lods.md +61 -0
  83. package/unity-skills/asset-transformer-toolkit/references/rule-api.md +154 -0
  84. package/unity-skills/asset-transformer-toolkit/references/ruleblock-api.md +37 -0
  85. package/unity-skills/asset-transformer-toolkit/references/ruleset-api.md +138 -0
  86. package/unity-skills/asset-transformer-toolkit/references/rulesets-and-actions.md +227 -0
  87. package/unity-skills/audio-setup-mixers/SECURITY.md +16 -0
  88. package/unity-skills/audio-setup-mixers/SKILL.md +127 -0
  89. package/unity-skills/audio-setup-mixers/references/api.md +162 -0
  90. package/unity-skills/build-gtk/SKILL.md +242 -0
  91. package/unity-skills/build-gtk/references/graph-api.md +324 -0
  92. package/unity-skills/build-gtk/references/pitfalls.md +86 -0
  93. package/unity-skills/build-gtk/references/runtime-and-visualization.md +196 -0
  94. package/unity-skills/build-gtk/references/state-machine-api.md +286 -0
  95. package/unity-skills/build-live-game/SKILL.md +255 -0
  96. package/{.claude/skills → unity-skills}/build-live-game/references/achievements.md +132 -154
  97. package/{.claude/skills → unity-skills}/build-live-game/references/apis.md +10 -19
  98. package/{.claude/skills → unity-skills}/build-live-game/references/authentication.md +14 -20
  99. package/{.claude/skills → unity-skills}/build-live-game/references/battlepass.md +269 -225
  100. package/unity-skills/build-live-game/references/blueprints-and-samples.md +75 -0
  101. package/unity-skills/build-live-game/references/cloud-code-cloudbehaviours.md +1111 -0
  102. package/unity-skills/build-live-game/references/cloud-code-modules.md +1276 -0
  103. package/unity-skills/build-live-game/references/cloud-code.md +58 -0
  104. package/{.claude/skills → unity-skills}/build-live-game/references/cloud-save.md +15 -25
  105. package/{.claude/skills → unity-skills}/build-live-game/references/deployment.md +33 -18
  106. package/{.claude/skills → unity-skills}/build-live-game/references/player-account.md +31 -23
  107. package/{.claude/skills → unity-skills}/build-live-game/references/tooling.md +0 -56
  108. package/unity-skills/build-live-game/references/ugs-cli.md +86 -0
  109. package/unity-skills/craft-game-floors/SECURITY.md +23 -0
  110. package/unity-skills/craft-game-floors/SKILL.md +134 -0
  111. package/unity-skills/craft-game-floors/references/art-direction.md +85 -0
  112. package/unity-skills/craft-game-floors/references/camera-rigs.md +51 -0
  113. package/unity-skills/craft-game-floors/references/character-motion.md +35 -0
  114. package/unity-skills/craft-game-floors/references/game-audio.md +47 -0
  115. package/unity-skills/craft-game-floors/references/game-feel.md +68 -0
  116. package/unity-skills/craft-game-floors/references/game-shell.md +45 -0
  117. package/unity-skills/craft-game-floors/references/live-floor.md +35 -0
  118. package/unity-skills/craft-game-floors/references/placeholder-assets.md +35 -0
  119. package/unity-skills/craft-game-floors/references/scene-lighting.md +52 -0
  120. package/unity-skills/craft-game-floors/references/toon-shading.md +34 -0
  121. package/unity-skills/craft-game-floors/references/vfx.md +40 -0
  122. package/unity-skills/craft-game-floors/references/visual-scorecard.md +43 -0
  123. package/unity-skills/create-2d-physics/SECURITY.md +16 -0
  124. package/unity-skills/create-2d-physics/SKILL.md +128 -0
  125. package/unity-skills/create-2d-physics/references/2d-physics-core.md +155 -0
  126. package/unity-skills/create-2d-physics/references/legacy-2d-physics.md +45 -0
  127. package/unity-skills/create-tile-palette-or-rule-tiles/SKILL.md +12 -0
  128. package/unity-skills/create-tile-palette-or-rule-tiles/references/hexagonalruletile.md +71 -0
  129. package/unity-skills/create-tile-palette-or-rule-tiles/references/palette-create.md +38 -0
  130. package/unity-skills/create-tile-palette-or-rule-tiles/references/ruletile-createempty.md +35 -0
  131. package/unity-skills/create-tile-palette-or-rule-tiles/references/ruletile-createfromsegment.md +212 -0
  132. package/unity-skills/create-tile-palette-or-rule-tiles/references/ruletile.md +90 -0
  133. package/unity-skills/create-tile-palette-or-rule-tiles/scripts/CreatePaletteTemplate.cs +148 -0
  134. package/unity-skills/create-tile-palette-or-rule-tiles/scripts/ManualWorkflowExample.cs +63 -0
  135. package/unity-skills/create-tile-palette-or-rule-tiles/scripts/RuleTileGenerator.cs +61 -0
  136. package/unity-skills/create-tile-palette-or-rule-tiles/scripts/TilemapRuleTileCreateFromSegment.cs +225 -0
  137. package/unity-skills/generate-editor-search-query/SECURITY.md +17 -0
  138. package/unity-skills/generate-editor-search-query/SKILL.md +117 -0
  139. package/unity-skills/generate-editor-search-query/references/open-search-window.md +70 -0
  140. package/unity-skills/generate-editor-search-query/references/query-patterns.md +124 -0
  141. package/{.claude/skills → unity-skills}/implement-in-app-purchases/SKILL.md +1 -2
  142. package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/api-notes.md +25 -28
  143. package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/path-convert-native-google-billing.md +1 -1
  144. package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/path-implement-iap-d2c.md +40 -5
  145. package/{.claude/skills → unity-skills}/initialize-ai-navigation/SKILL.md +4 -4
  146. package/{.claude/skills → unity-skills}/initialize-ai-navigation/references/navigation-system.md +3 -3
  147. package/{.claude/skills → unity-skills}/levelplay-unity-integration/CHANGELOG.md +12 -0
  148. package/{.claude/skills → unity-skills}/levelplay-unity-integration/README.md +9 -5
  149. package/unity-skills/levelplay-unity-integration/SKILL.md +442 -0
  150. package/{.claude/skills → unity-skills}/levelplay-unity-integration/references/banner-api.md +15 -8
  151. package/{.claude/skills → unity-skills}/levelplay-unity-integration/references/best-practices.md +604 -536
  152. package/unity-skills/levelplay-unity-integration/references/dependency-resolution.md +94 -0
  153. package/{.claude/skills → unity-skills}/levelplay-unity-integration/references/ilrd-api.md +2 -2
  154. package/{.claude/skills → unity-skills}/levelplay-unity-integration/references/initialization-api.md +221 -0
  155. package/{.claude/skills → unity-skills}/levelplay-unity-integration/references/interstitial-api.md +11 -3
  156. package/{.claude/skills → unity-skills}/levelplay-unity-integration/references/ios-setup.md +6 -34
  157. package/{.claude/skills → unity-skills}/levelplay-unity-integration/references/migration-sdk-9.md +1 -1
  158. package/{.claude/skills → unity-skills}/levelplay-unity-integration/references/privacy-settings.md +14 -29
  159. package/{.claude/skills → unity-skills}/levelplay-unity-integration/references/rewarded-api.md +20 -4
  160. package/unity-skills/levelplay-unity-integration/references/testing-and-validation.md +222 -0
  161. package/unity-skills/levelplay-unity-integration/references/troubleshooting.md +99 -0
  162. package/unity-skills/localization/SKILL.md +347 -0
  163. package/{.claude/skills → unity-skills}/localization/references/api-notes.md +4 -0
  164. package/unity-skills/localization/resources/L10nBatchProcessor.cs +191 -0
  165. package/unity-skills/manage-sprite-atlas/SKILL.md +351 -0
  166. package/unity-skills/manage-sprite-atlas/references/addressables-delivery.md +58 -0
  167. package/unity-skills/manage-sprite-atlas/references/api.md +382 -0
  168. package/unity-skills/manage-sprite-atlas/references/best-practices.md +183 -0
  169. package/unity-skills/manage-sprite-atlas/references/common-errors.md +123 -0
  170. package/unity-skills/manage-sprite-atlas/references/custom-packing.md +147 -0
  171. package/unity-skills/manage-sprite-atlas/references/manual-authoring.md +39 -0
  172. package/unity-skills/manage-sprite-atlas/resources/authoringvsruntime.cs +176 -0
  173. package/unity-skills/manage-sprite-atlas/resources/buildaddressablespostprocess.cs +59 -0
  174. package/unity-skills/manage-sprite-atlas/resources/cacheloadedatlases.cs +145 -0
  175. package/unity-skills/manage-sprite-atlas/resources/cleanupbatchoperations.cs +119 -0
  176. package/unity-skills/manage-sprite-atlas/resources/createandconfiguremasteratlas.cs +57 -0
  177. package/unity-skills/manage-sprite-atlas/resources/custompackersetup.cs +88 -0
  178. package/unity-skills/manage-sprite-atlas/resources/deprecatedmethods.cs +142 -0
  179. package/unity-skills/manage-sprite-atlas/resources/dontmodifywithoutsaving.cs +120 -0
  180. package/unity-skills/manage-sprite-atlas/resources/dontpackinruntimebuilds.cs +190 -0
  181. package/unity-skills/manage-sprite-atlas/resources/dontscriptspriteatlasineditor.cs +114 -0
  182. package/unity-skills/manage-sprite-atlas/resources/editorconfiguration.cs +95 -0
  183. package/unity-skills/manage-sprite-atlas/resources/enablespritepacking.cs +172 -0
  184. package/unity-skills/manage-sprite-atlas/resources/gridspritepacker.cs +50 -0
  185. package/unity-skills/manage-sprite-atlas/resources/handlelatebinding.cs +147 -0
  186. package/unity-skills/manage-sprite-atlas/resources/handlenullcases.cs +141 -0
  187. package/unity-skills/manage-sprite-atlas/resources/migratev1tov2.cs +335 -0
  188. package/unity-skills/manage-sprite-atlas/resources/multipagepacker.cs +80 -0
  189. package/unity-skills/manage-sprite-atlas/resources/optimizetexturesettings.cs +191 -0
  190. package/unity-skills/manage-sprite-atlas/resources/packerdebugging.cs +158 -0
  191. package/unity-skills/manage-sprite-atlas/resources/packtransform.cs +51 -0
  192. package/unity-skills/manage-sprite-atlas/resources/platformnames.cs +127 -0
  193. package/unity-skills/manage-sprite-atlas/resources/queryspritesefficiently.cs +222 -0
  194. package/unity-skills/manage-sprite-atlas/resources/registercallbacks.cs +152 -0
  195. package/unity-skills/manage-sprite-atlas/resources/runtimeatlasloader.cs +15 -0
  196. package/unity-skills/manage-sprite-atlas/resources/runtimespriteaccess.cs +19 -0
  197. package/unity-skills/manage-sprite-atlas/resources/savespriteatlasasset.cs +107 -0
  198. package/unity-skills/manage-sprite-atlas/resources/scriptablepacker.cs +81 -0
  199. package/unity-skills/manage-sprite-atlas/resources/setincludeinbuild.cs +164 -0
  200. package/unity-skills/manage-sprite-atlas/resources/sizeoptimizedpacker.cs +88 -0
  201. package/unity-skills/manage-sprite-atlas/resources/spriteatlaslatebinding.cs +123 -0
  202. package/unity-skills/manage-sprite-atlas/resources/spriteatlasprebuildgenerator.cs +219 -0
  203. package/unity-skills/manage-sprite-atlas/resources/spritedata.cs +35 -0
  204. package/unity-skills/manage-sprite-atlas/resources/spritepack.cs +39 -0
  205. package/unity-skills/manage-sprite-atlas/resources/texturedata.cs +15 -0
  206. package/unity-skills/manage-sprite-atlas/resources/updatebuildscripts.cs +357 -0
  207. package/unity-skills/manage-sprite-atlas/resources/updatesettingsconfiguration.cs +135 -0
  208. package/unity-skills/manage-sprite-atlas/resources/usevariantswisely.cs +179 -0
  209. package/unity-skills/manage-sprite-atlas/resources/variantatlas.cs +39 -0
  210. package/unity-skills/manifest.json +1155 -0
  211. package/unity-skills/migrate-birp-to-urp/SECURITY.md +16 -0
  212. package/unity-skills/migrate-birp-to-urp/SKILL.md +543 -0
  213. package/unity-skills/migrate-birp-to-urp/references/capturing-the-editor.md +66 -0
  214. package/unity-skills/migrate-birp-to-urp/references/complex-shader-situations.md +272 -0
  215. package/unity-skills/migrate-birp-to-urp/references/custom-shader-triage.md +123 -0
  216. package/unity-skills/migrate-birp-to-urp/references/implementation-patterns.md +529 -0
  217. package/unity-skills/migrate-birp-to-urp/references/migration-workflow.md +265 -0
  218. package/unity-skills/migrate-birp-to-urp/references/quality-settings-map.md +69 -0
  219. package/unity-skills/new-unity-project/SECURITY.md +26 -0
  220. package/unity-skills/new-unity-project/SKILL.md +386 -0
  221. package/unity-skills/new-unity-project/references/skill-setup.md +66 -0
  222. package/unity-skills/optimize-audio/SECURITY.md +16 -0
  223. package/{.claude/skills → unity-skills}/optimize-audio/SKILL.md +17 -17
  224. package/{.claude/skills → unity-skills}/optimize-audio/resources/audio-import-api.md +8 -5
  225. package/{.claude/skills → unity-skills}/optimize-text-mesh-pro/SKILL.md +1 -11
  226. package/unity-skills/optimize-web/SECURITY.md +16 -0
  227. package/{.claude/skills → unity-skills}/optimize-web/SKILL.md +164 -27
  228. package/unity-skills/optimize-web/scripts/WebOptimizer.cs +46 -0
  229. package/unity-skills/optimize-web/scripts/toktx-examples.sh +11 -0
  230. package/{.claude/skills → unity-skills}/physics-3d-collision/SKILL.md +2 -2
  231. package/unity-skills/physics-3d-collision/references/troubleshooting.md +8 -0
  232. package/unity-skills/project-auditor-fixes/SKILL.md +64 -0
  233. package/{.claude/skills → unity-skills}/setup-multiplayer-services/SKILL.md +1 -4
  234. package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/SKILL.md +1 -1
  235. package/{.claude/skills → unity-skills}/shader-graph-create-custom-node/SKILL.md +1 -1
  236. package/unity-skills/sprite-editor/SECURITY.md +16 -0
  237. package/{.claude/skills → unity-skills}/sprite-editor/SKILL.md +9 -9
  238. package/{.claude/skills → unity-skills}/sprite-editor/references/templates.md +1 -1
  239. package/unity-skills/sprite-segment-3x3grid/SKILL.md +136 -0
  240. package/unity-skills/sprite-segment-3x3grid/scripts/SpriteGridAnalysis.cs +119 -0
  241. package/{.claude/skills → unity-skills}/ui/SKILL.md +1 -1
  242. package/{.claude/skills → unity-skills}/ui-imgui/SKILL.md +1 -7
  243. package/{.claude/skills → unity-skills}/ui-ugui/SKILL.md +3 -9
  244. package/{.claude/skills → unity-skills}/ui-uitk/SKILL.md +8 -14
  245. package/{.claude/skills → unity-skills}/ui-uitk/references/custom-elements.md +1 -1
  246. package/unity-skills/unity-cli/CHANGELOG.md +515 -0
  247. package/unity-skills/unity-cli/SECURITY.md +68 -0
  248. package/unity-skills/unity-cli/SKILL.md +723 -0
  249. package/unity-skills/unity-cli/references/auth-license-cloud.md +318 -0
  250. package/unity-skills/unity-cli/references/build-run-test.md +555 -0
  251. package/unity-skills/unity-cli/references/cloud-automation.md +736 -0
  252. package/{.claude/skills → unity-skills}/unity-cli/references/collaboration.md +166 -105
  253. package/unity-skills/unity-cli/references/config-hub.md +239 -0
  254. package/unity-skills/unity-cli/references/diagnostics-maintenance.md +720 -0
  255. package/unity-skills/unity-cli/references/docs-workflow.md +179 -0
  256. package/unity-skills/unity-cli/references/editors-install.md +476 -0
  257. package/unity-skills/unity-cli/references/integration-advanced.md +1130 -0
  258. package/unity-skills/unity-cli/references/playmode-verification-loop.md +279 -0
  259. package/unity-skills/unity-cli/references/projects-templates.md +996 -0
  260. package/unity-skills/unity-cli/references/version-control.md +612 -0
  261. package/{.claude/skills → unity-skills}/unity-package-management/SKILL.md +60 -12
  262. package/{.claude/skills → unity-skills}/unity-package-management/references/select-packages.md +39 -21
  263. package/unity-skills/unity-pipeline/SECURITY.md +17 -0
  264. package/unity-skills/unity-pipeline/SKILL.md +335 -0
  265. package/unity-skills/urp-postprocessing/SECURITY.md +16 -0
  266. package/{.claude/skills → unity-skills}/urp-postprocessing/SKILL.md +12 -12
  267. package/{.claude/skills → unity-skills}/urp-postprocessing/references/code-templates.md +39 -8
  268. package/{.claude/skills → unity-skills}/validate-urp-render-graph-renderer-feature/SKILL.md +1 -1
  269. package/.claude/agents/nccgs-adversarial-reviewer.md +0 -43
  270. package/.claude/agents/nccgs-engine-programmer.md +0 -27
  271. package/.claude/agents/nccgs-fast-implementer.md +0 -30
  272. package/.claude/agents/nccgs-game-designer.md +0 -26
  273. package/.claude/agents/nccgs-gameplay-programmer.md +0 -26
  274. package/.claude/agents/nccgs-qa-engineer.md +0 -27
  275. package/.claude/agents/nccgs-task-scout.md +0 -24
  276. package/.claude/agents/nccgs-ui-programmer.md +0 -27
  277. package/.claude/agents/nccgs-unity-build-specialist.md +0 -27
  278. package/.claude/agents/nccgs-unity-implementer.md +0 -28
  279. package/.claude/agents/nccgs-unity-systems-specialist.md +0 -27
  280. package/.claude/agents/nccgs-unity-ui-specialist.md +0 -27
  281. package/.claude/agents/nccgs-verification-engineer.md +0 -27
  282. package/.claude/nccgs/MEMORY.md +0 -66
  283. package/.claude/nccgs/THIRD_PARTY_NOTICES.md +0 -29
  284. package/.claude/nccgs/VERSION +0 -1
  285. package/.claude/nccgs/agent-library/nccgs-accessibility-specialist.md +0 -25
  286. package/.claude/nccgs/agent-library/nccgs-adversarial-reviewer.md +0 -41
  287. package/.claude/nccgs/agent-library/nccgs-ai-programmer.md +0 -25
  288. package/.claude/nccgs/agent-library/nccgs-analytics-engineer.md +0 -25
  289. package/.claude/nccgs/agent-library/nccgs-art-direction-lead.md +0 -25
  290. package/.claude/nccgs/agent-library/nccgs-audio-direction-lead.md +0 -25
  291. package/.claude/nccgs/agent-library/nccgs-creative-director.md +0 -25
  292. package/.claude/nccgs/agent-library/nccgs-documentation-manager.md +0 -25
  293. package/.claude/nccgs/agent-library/nccgs-economy-designer.md +0 -25
  294. package/.claude/nccgs/agent-library/nccgs-engine-programmer.md +0 -25
  295. package/.claude/nccgs/agent-library/nccgs-fast-implementer.md +0 -28
  296. package/.claude/nccgs/agent-library/nccgs-game-design-lead.md +0 -25
  297. package/.claude/nccgs/agent-library/nccgs-game-designer.md +0 -24
  298. package/.claude/nccgs/agent-library/nccgs-gameplay-programmer.md +0 -24
  299. package/.claude/nccgs/agent-library/nccgs-level-designer.md +0 -25
  300. package/.claude/nccgs/agent-library/nccgs-live-ops-designer.md +0 -25
  301. package/.claude/nccgs/agent-library/nccgs-localization-lead.md +0 -25
  302. package/.claude/nccgs/agent-library/nccgs-narrative-lead.md +0 -25
  303. package/.claude/nccgs/agent-library/nccgs-network-programmer.md +0 -25
  304. package/.claude/nccgs/agent-library/nccgs-performance-analyst.md +0 -25
  305. package/.claude/nccgs/agent-library/nccgs-producer.md +0 -25
  306. package/.claude/nccgs/agent-library/nccgs-production-coordinator.md +0 -22
  307. package/.claude/nccgs/agent-library/nccgs-programming-lead.md +0 -25
  308. package/.claude/nccgs/agent-library/nccgs-prototyper.md +0 -25
  309. package/.claude/nccgs/agent-library/nccgs-qa-engineer.md +0 -25
  310. package/.claude/nccgs/agent-library/nccgs-qa-lead.md +0 -25
  311. package/.claude/nccgs/agent-library/nccgs-release-engineer.md +0 -25
  312. package/.claude/nccgs/agent-library/nccgs-release-lead.md +0 -25
  313. package/.claude/nccgs/agent-library/nccgs-security-engineer.md +0 -25
  314. package/.claude/nccgs/agent-library/nccgs-sound-designer.md +0 -25
  315. package/.claude/nccgs/agent-library/nccgs-systems-designer.md +0 -25
  316. package/.claude/nccgs/agent-library/nccgs-task-scout.md +0 -22
  317. package/.claude/nccgs/agent-library/nccgs-technical-architect.md +0 -25
  318. package/.claude/nccgs/agent-library/nccgs-technical-artist.md +0 -25
  319. package/.claude/nccgs/agent-library/nccgs-technical-director.md +0 -25
  320. package/.claude/nccgs/agent-library/nccgs-tools-programmer.md +0 -25
  321. package/.claude/nccgs/agent-library/nccgs-ui-programmer.md +0 -25
  322. package/.claude/nccgs/agent-library/nccgs-unity-build-specialist.md +0 -25
  323. package/.claude/nccgs/agent-library/nccgs-unity-content-specialist.md +0 -25
  324. package/.claude/nccgs/agent-library/nccgs-unity-implementer.md +0 -26
  325. package/.claude/nccgs/agent-library/nccgs-unity-rendering-specialist.md +0 -25
  326. package/.claude/nccgs/agent-library/nccgs-unity-systems-specialist.md +0 -25
  327. package/.claude/nccgs/agent-library/nccgs-unity-ui-specialist.md +0 -25
  328. package/.claude/nccgs/agent-library/nccgs-ux-designer.md +0 -25
  329. package/.claude/nccgs/agent-library/nccgs-verification-engineer.md +0 -25
  330. package/.claude/nccgs/agent-library/nccgs-world-builder.md +0 -25
  331. package/.claude/nccgs/agent-library/nccgs-writer.md +0 -25
  332. package/.claude/nccgs/constitution.md +0 -187
  333. package/.claude/nccgs/hooks/agent-audit.mjs +0 -16
  334. package/.claude/nccgs/hooks/closure-guard.mjs +0 -59
  335. package/.claude/nccgs/hooks/common.mjs +0 -42
  336. package/.claude/nccgs/hooks/post-compact.mjs +0 -1
  337. package/.claude/nccgs/hooks/pre-compact.mjs +0 -8
  338. package/.claude/nccgs/hooks/protect-git.mjs +0 -22
  339. package/.claude/nccgs/hooks/protect-write.mjs +0 -17
  340. package/.claude/nccgs/hooks/runtime-observation.mjs +0 -11
  341. package/.claude/nccgs/hooks/session-start.mjs +0 -29
  342. package/.claude/nccgs/hooks/session-stop.mjs +0 -7
  343. package/.claude/nccgs/hooks/unity-transport-guard.mjs +0 -11
  344. package/.claude/nccgs/packages/ponytail/README.md +0 -46
  345. package/.claude/nccgs/packages/ponytail/manifest.json +0 -24
  346. package/.claude/nccgs/pipeline.json +0 -260
  347. package/.claude/nccgs/protocols/agent-contract.md +0 -101
  348. package/.claude/nccgs/protocols/astra-claude.md +0 -111
  349. package/.claude/nccgs/protocols/bounded-repair.md +0 -246
  350. package/.claude/nccgs/protocols/context-packets.md +0 -23
  351. package/.claude/nccgs/protocols/delivery-acceptance.md +0 -105
  352. package/.claude/nccgs/protocols/design-lifecycle.md +0 -139
  353. package/.claude/nccgs/protocols/editor-session-evidence.md +0 -52
  354. package/.claude/nccgs/protocols/evidence.md +0 -31
  355. package/.claude/nccgs/protocols/model-routing.md +0 -46
  356. package/.claude/nccgs/protocols/orchestration.md +0 -74
  357. package/.claude/nccgs/protocols/review-handoff.md +0 -101
  358. package/.claude/nccgs/protocols/shared-workflow-context.md +0 -33
  359. package/.claude/nccgs/protocols/standalone-gates.md +0 -329
  360. package/.claude/nccgs/protocols/standalone-pilot.md +0 -144
  361. package/.claude/nccgs/protocols/standalone.md +0 -207
  362. package/.claude/nccgs/protocols/task-autonomy.md +0 -55
  363. package/.claude/nccgs/protocols/task-gates.md +0 -144
  364. package/.claude/nccgs/protocols/task-slices.md +0 -106
  365. package/.claude/nccgs/protocols/unity-boundary.md +0 -31
  366. package/.claude/nccgs/routing.generated.md +0 -49
  367. package/.claude/nccgs/settings.fragment.json +0 -213
  368. package/.claude/nccgs/studio.json +0 -472
  369. package/.claude/nccgs/tools/approve-overrides.mjs +0 -81
  370. package/.claude/nccgs/tools/autonomy.mjs +0 -40
  371. package/.claude/nccgs/tools/command-process.mjs +0 -50
  372. package/.claude/nccgs/tools/command-tokens.mjs +0 -22
  373. package/.claude/nccgs/tools/compile-policy.mjs +0 -121
  374. package/.claude/nccgs/tools/configure-models.mjs +0 -96
  375. package/.claude/nccgs/tools/criteria.mjs +0 -121
  376. package/.claude/nccgs/tools/delivery-budget.mjs +0 -52
  377. package/.claude/nccgs/tools/design-readiness.mjs +0 -158
  378. package/.claude/nccgs/tools/editor-session-evidence.mjs +0 -66
  379. package/.claude/nccgs/tools/evidence.mjs +0 -153
  380. package/.claude/nccgs/tools/gates.mjs +0 -297
  381. package/.claude/nccgs/tools/handoff.mjs +0 -51
  382. package/.claude/nccgs/tools/hook-transport.mjs +0 -34
  383. package/.claude/nccgs/tools/inputs.mjs +0 -108
  384. package/.claude/nccgs/tools/installation-guard.mjs +0 -55
  385. package/.claude/nccgs/tools/integrity.mjs +0 -69
  386. package/.claude/nccgs/tools/lifecycle.mjs +0 -542
  387. package/.claude/nccgs/tools/native-completion.mjs +0 -30
  388. package/.claude/nccgs/tools/orchestration.mjs +0 -680
  389. package/.claude/nccgs/tools/paths.mjs +0 -60
  390. package/.claude/nccgs/tools/policy.mjs +0 -107
  391. package/.claude/nccgs/tools/process-lock.mjs +0 -74
  392. package/.claude/nccgs/tools/repair-packet.mjs +0 -106
  393. package/.claude/nccgs/tools/returned-handoff.mjs +0 -47
  394. package/.claude/nccgs/tools/review-budget.mjs +0 -171
  395. package/.claude/nccgs/tools/review-handoff.mjs +0 -66
  396. package/.claude/nccgs/tools/runtime.mjs +0 -71
  397. package/.claude/nccgs/tools/session-budget.mjs +0 -67
  398. package/.claude/nccgs/tools/shared-context-guard.mjs +0 -60
  399. package/.claude/nccgs/tools/shared-context.mjs +0 -25
  400. package/.claude/nccgs/tools/task-slices.mjs +0 -147
  401. package/.claude/nccgs/tools/task.mjs +0 -145
  402. package/.claude/nccgs/tools/tool-guard.mjs +0 -120
  403. package/.claude/nccgs/tools/unity-repair.mjs +0 -128
  404. package/.claude/nccgs/tools/unity-transport.mjs +0 -170
  405. package/.claude/nccgs/tools/verification-jobs.mjs +0 -171
  406. package/.claude/nccgs/tools/verification-worker.mjs +0 -71
  407. package/.claude/nccgs/tools/windows-compiler-server.cs +0 -163
  408. package/.claude/nccgs/tools/windows-job.cs +0 -103
  409. package/.claude/nccgs/unity-skills-manifest.json +0 -727
  410. package/.claude/nccgs/workflow-catalog.json +0 -654
  411. package/.claude/rules/nccgs-canonical-docs.md +0 -19
  412. package/.claude/rules/nccgs-editor-tools.md +0 -12
  413. package/.claude/rules/nccgs-localization.md +0 -12
  414. package/.claude/rules/nccgs-networking.md +0 -13
  415. package/.claude/rules/nccgs-performance.md +0 -14
  416. package/.claude/rules/nccgs-rendering.md +0 -16
  417. package/.claude/rules/nccgs-security.md +0 -13
  418. package/.claude/rules/nccgs-tests.md +0 -18
  419. package/.claude/rules/nccgs-ui.md +0 -14
  420. package/.claude/rules/nccgs-unity-assets.md +0 -21
  421. package/.claude/rules/nccgs-unity-code.md +0 -22
  422. package/.claude/skills/accessibility-review/SKILL.md +0 -22
  423. package/.claude/skills/accessibility-review/references/astra.md +0 -17
  424. package/.claude/skills/accessibility-review/references/legacy.md +0 -7
  425. package/.claude/skills/architecture-decision/SKILL.md +0 -22
  426. package/.claude/skills/architecture-decision/references/astra.md +0 -12
  427. package/.claude/skills/architecture-decision/references/legacy.md +0 -7
  428. package/.claude/skills/asset-audit/SKILL.md +0 -22
  429. package/.claude/skills/asset-audit/references/astra.md +0 -17
  430. package/.claude/skills/asset-audit/references/legacy.md +0 -7
  431. package/.claude/skills/audit/SKILL.md +0 -22
  432. package/.claude/skills/audit/references/astra.md +0 -17
  433. package/.claude/skills/audit/references/dimensions.md +0 -46
  434. package/.claude/skills/audit/references/legacy.md +0 -9
  435. package/.claude/skills/balance-review/SKILL.md +0 -22
  436. package/.claude/skills/balance-review/references/astra.md +0 -17
  437. package/.claude/skills/balance-review/references/legacy.md +0 -7
  438. package/.claude/skills/bug-triage/SKILL.md +0 -22
  439. package/.claude/skills/bug-triage/references/astra.md +0 -27
  440. package/.claude/skills/bug-triage/references/legacy.md +0 -7
  441. package/.claude/skills/build-live-game/SKILL.md +0 -317
  442. package/.claude/skills/build-live-game/references/cloud-code.md +0 -563
  443. package/.claude/skills/closure/SKILL.md +0 -22
  444. package/.claude/skills/closure/references/astra.md +0 -15
  445. package/.claude/skills/closure/references/legacy.md +0 -7
  446. package/.claude/skills/compatibility-review/SKILL.md +0 -22
  447. package/.claude/skills/compatibility-review/references/astra.md +0 -17
  448. package/.claude/skills/compatibility-review/references/legacy.md +0 -7
  449. package/.claude/skills/context-pack/SKILL.md +0 -22
  450. package/.claude/skills/context-pack/references/astra.md +0 -12
  451. package/.claude/skills/context-pack/references/legacy.md +0 -7
  452. package/.claude/skills/dependency-review/SKILL.md +0 -22
  453. package/.claude/skills/dependency-review/references/astra.md +0 -17
  454. package/.claude/skills/dependency-review/references/legacy.md +0 -7
  455. package/.claude/skills/design/SKILL.md +0 -24
  456. package/.claude/skills/design/references/astra.md +0 -12
  457. package/.claude/skills/design/references/legacy.md +0 -13
  458. package/.claude/skills/design-review/SKILL.md +0 -24
  459. package/.claude/skills/design-review/references/astra.md +0 -17
  460. package/.claude/skills/design-review/references/legacy.md +0 -7
  461. package/.claude/skills/evidence-review/SKILL.md +0 -22
  462. package/.claude/skills/evidence-review/references/astra.md +0 -17
  463. package/.claude/skills/evidence-review/references/legacy.md +0 -7
  464. package/.claude/skills/hotfix/SKILL.md +0 -22
  465. package/.claude/skills/hotfix/references/astra.md +0 -30
  466. package/.claude/skills/hotfix/references/legacy.md +0 -7
  467. package/.claude/skills/incident-recovery/SKILL.md +0 -22
  468. package/.claude/skills/incident-recovery/references/astra.md +0 -27
  469. package/.claude/skills/incident-recovery/references/legacy.md +0 -7
  470. package/.claude/skills/levelplay-unity-integration/SKILL.md +0 -1126
  471. package/.claude/skills/localization/SKILL.md +0 -135
  472. package/.claude/skills/localization/resources/L10nBatchProcessor.cs +0 -69
  473. package/.claude/skills/localize-game/SKILL.md +0 -22
  474. package/.claude/skills/localize-game/references/astra.md +0 -27
  475. package/.claude/skills/localize-game/references/legacy.md +0 -7
  476. package/.claude/skills/migrate-project/SKILL.md +0 -22
  477. package/.claude/skills/migrate-project/references/astra.md +0 -30
  478. package/.claude/skills/migrate-project/references/legacy.md +0 -19
  479. package/.claude/skills/migrate-project/references/procedure.md +0 -96
  480. package/.claude/skills/milestone-review/SKILL.md +0 -22
  481. package/.claude/skills/milestone-review/references/astra.md +0 -12
  482. package/.claude/skills/milestone-review/references/legacy.md +0 -7
  483. package/.claude/skills/nccgs-code-review/SKILL.md +0 -22
  484. package/.claude/skills/nccgs-code-review/references/astra.md +0 -21
  485. package/.claude/skills/nccgs-code-review/references/legacy.md +0 -7
  486. package/.claude/skills/new-unity-project/SKILL.md +0 -179
  487. package/.claude/skills/performance-audit/SKILL.md +0 -22
  488. package/.claude/skills/performance-audit/references/astra.md +0 -17
  489. package/.claude/skills/performance-audit/references/legacy.md +0 -7
  490. package/.claude/skills/physics-3d-collision/references/troubleshooting.md +0 -41
  491. package/.claude/skills/plan-feature/SKILL.md +0 -22
  492. package/.claude/skills/plan-feature/references/astra.md +0 -12
  493. package/.claude/skills/plan-feature/references/legacy.md +0 -7
  494. package/.claude/skills/playtest/SKILL.md +0 -22
  495. package/.claude/skills/playtest/references/astra.md +0 -31
  496. package/.claude/skills/playtest/references/legacy.md +0 -7
  497. package/.claude/skills/project-stage/SKILL.md +0 -22
  498. package/.claude/skills/project-stage/references/astra.md +0 -12
  499. package/.claude/skills/project-stage/references/legacy.md +0 -7
  500. package/.claude/skills/prototype-feature/SKILL.md +0 -22
  501. package/.claude/skills/prototype-feature/references/astra.md +0 -31
  502. package/.claude/skills/prototype-feature/references/legacy.md +0 -7
  503. package/.claude/skills/qa-plan/SKILL.md +0 -22
  504. package/.claude/skills/qa-plan/references/astra.md +0 -12
  505. package/.claude/skills/qa-plan/references/legacy.md +0 -7
  506. package/.claude/skills/release/SKILL.md +0 -22
  507. package/.claude/skills/release/references/astra.md +0 -30
  508. package/.claude/skills/release/references/legacy.md +0 -11
  509. package/.claude/skills/release-readiness/SKILL.md +0 -22
  510. package/.claude/skills/release-readiness/references/astra.md +0 -17
  511. package/.claude/skills/release-readiness/references/legacy.md +0 -7
  512. package/.claude/skills/retrospective/SKILL.md +0 -22
  513. package/.claude/skills/retrospective/references/astra.md +0 -12
  514. package/.claude/skills/retrospective/references/legacy.md +0 -7
  515. package/.claude/skills/review/SKILL.md +0 -22
  516. package/.claude/skills/review/references/astra.md +0 -21
  517. package/.claude/skills/review/references/legacy.md +0 -9
  518. package/.claude/skills/security-audit/SKILL.md +0 -22
  519. package/.claude/skills/security-audit/references/astra.md +0 -17
  520. package/.claude/skills/security-audit/references/legacy.md +0 -7
  521. package/.claude/skills/sprint-plan/SKILL.md +0 -22
  522. package/.claude/skills/sprint-plan/references/astra.md +0 -12
  523. package/.claude/skills/sprint-plan/references/legacy.md +0 -7
  524. package/.claude/skills/status/SKILL.md +0 -22
  525. package/.claude/skills/status/references/astra.md +0 -19
  526. package/.claude/skills/status/references/legacy.md +0 -9
  527. package/.claude/skills/story-readiness/SKILL.md +0 -24
  528. package/.claude/skills/story-readiness/references/astra.md +0 -17
  529. package/.claude/skills/story-readiness/references/legacy.md +0 -7
  530. package/.claude/skills/test/SKILL.md +0 -22
  531. package/.claude/skills/test/references/astra.md +0 -27
  532. package/.claude/skills/test/references/legacy.md +0 -9
  533. package/.claude/skills/ui-review/SKILL.md +0 -22
  534. package/.claude/skills/ui-review/references/astra.md +0 -17
  535. package/.claude/skills/ui-review/references/legacy.md +0 -7
  536. package/.claude/skills/unity-cli/CHANGELOG.md +0 -233
  537. package/.claude/skills/unity-cli/SECURITY.md +0 -22
  538. package/.claude/skills/unity-cli/SKILL.md +0 -414
  539. package/.claude/skills/unity-cli/references/auth-license-cloud.md +0 -146
  540. package/.claude/skills/unity-cli/references/build-run-test.md +0 -349
  541. package/.claude/skills/unity-cli/references/config-hub.md +0 -103
  542. package/.claude/skills/unity-cli/references/diagnostics-maintenance.md +0 -326
  543. package/.claude/skills/unity-cli/references/editors-install.md +0 -327
  544. package/.claude/skills/unity-cli/references/integration-advanced.md +0 -472
  545. package/.claude/skills/unity-cli/references/projects-templates.md +0 -574
  546. package/.claude/skills/work/SKILL.md +0 -22
  547. package/.claude/skills/work/references/astra.md +0 -32
  548. package/.claude/skills/work/references/classification.md +0 -41
  549. package/.claude/skills/work/references/closure.md +0 -60
  550. package/.claude/skills/work/references/feature-contracts.md +0 -36
  551. package/.claude/skills/work/references/legacy.md +0 -29
  552. package/.claude/skills/work/references/verification.md +0 -26
  553. package/CLAUDE.md +0 -10
  554. package/MEMORY.md +0 -109
  555. package/UPGRADING.md +0 -130
  556. package/VERSION +0 -1
  557. package/docs/ARCHITECTURE.md +0 -131
  558. package/docs/ASSET-PRODUCTION-GRAPHIFY-PLAN.md +0 -230
  559. package/docs/BOUNDED-REPAIR.md +0 -80
  560. package/docs/EDITOR-SESSION-EVIDENCE.md +0 -52
  561. package/docs/HANDOFF-AUTOMATION.md +0 -144
  562. package/docs/HUONG-DAN-MIGRATE-VA-SU-DUNG.md +0 -117
  563. package/docs/MIGRATION-MATRIX.md +0 -23
  564. package/docs/NCCGS-1.3.md +0 -13
  565. package/docs/NCCGS-1.4.1.md +0 -149
  566. package/docs/NCCGS-1.4.md +0 -184
  567. package/docs/NCCGS-1.5-IMPLEMENTATION-PLAN.md +0 -378
  568. package/docs/NCCGS-1.5-PILOT.md +0 -130
  569. package/docs/NCCGS-1.5.md +0 -237
  570. package/docs/PHASE-1-OPERATIONS.md +0 -278
  571. package/docs/PHASE-2-OPERATIONS.md +0 -183
  572. package/docs/PROJECT-POLICY.md +0 -94
  573. package/docs/RELEASE-STATUS.md +0 -150
  574. package/docs/TASK-SLICING.md +0 -57
  575. package/docs/UNINSTALL.md +0 -134
  576. package/docs/UPGRADE-QUALIFICATION.md +0 -45
  577. package/docs/WFK17-HOOK-REPAIR.md +0 -71
  578. package/docs/WORKFLOWS.md +0 -85
  579. package/package-assets/nccgs-project.gitignore +0 -2
  580. package/package-assets/setup-vivox-voice-chat-evals.gitignore +0 -7
  581. package/scaffold/.nccgs/autonomy.json +0 -4
  582. package/scaffold/.nccgs/bugs/.gitkeep +0 -1
  583. package/scaffold/.nccgs/closures/.gitkeep +0 -1
  584. package/scaffold/.nccgs/context/.gitkeep +0 -1
  585. package/scaffold/.nccgs/decisions/.gitkeep +0 -1
  586. package/scaffold/.nccgs/evidence/.gitkeep +0 -1
  587. package/scaffold/.nccgs/execution.json +0 -10
  588. package/scaffold/.nccgs/features/.gitkeep +0 -1
  589. package/scaffold/.nccgs/gates.json +0 -7
  590. package/scaffold/.nccgs/inputs.json +0 -6
  591. package/scaffold/.nccgs/migrations/.gitkeep +0 -1
  592. package/scaffold/.nccgs/playtests/.gitkeep +0 -1
  593. package/scaffold/.nccgs/project.yaml +0 -109
  594. package/scaffold/.nccgs/requirements.yaml +0 -10
  595. package/scaffold/.nccgs/reviews/.gitkeep +0 -1
  596. package/scaffold/.nccgs/state.md +0 -40
  597. package/scaffold/.nccgs/templates/agent-handoff.md +0 -37
  598. package/scaffold/.nccgs/templates/architecture-decision.md +0 -27
  599. package/scaffold/.nccgs/templates/closure-record.md +0 -62
  600. package/scaffold/.nccgs/templates/context-packet.yaml +0 -17
  601. package/scaffold/.nccgs/templates/design-contract.json +0 -34
  602. package/scaffold/.nccgs/templates/evidence-record.md +0 -23
  603. package/scaffold/.nccgs/templates/feature-contract.md +0 -60
  604. package/scaffold/.nccgs/templates/implementation-report.md +0 -52
  605. package/scaffold/.nccgs/templates/migration-plan.md +0 -40
  606. package/scaffold/.nccgs/templates/repair-packet.json +0 -14
  607. package/scaffold/.nccgs/templates/repair-unity-code.json +0 -18
  608. package/scaffold/.nccgs/templates/repair-unity-editor.json +0 -21
  609. package/scaffold/.nccgs/templates/task-slices.json +0 -28
  610. package/scaffold/.nccgs/templates/waiver.md +0 -11
  611. package/scripts/benchmark-snapshot.mjs +0 -205
  612. package/scripts/benchmark-v15.mjs +0 -173
  613. package/scripts/cli.mjs +0 -205
  614. package/scripts/doctor.mjs +0 -261
  615. package/scripts/install.mjs +0 -530
  616. package/scripts/recover-session.mjs +0 -89
  617. package/scripts/run.mjs +0 -86
  618. package/scripts/supervise.mjs +0 -152
  619. package/scripts/uninstall.mjs +0 -292
  620. package/scripts/validate.mjs +0 -285
  621. package/scripts/work-handoff.mjs +0 -38
  622. package/tests/autonomy.test.mjs +0 -126
  623. package/tests/benchmark-v15.test.mjs +0 -65
  624. package/tests/design-readiness.test.mjs +0 -200
  625. package/tests/editor-session-evidence.test.mjs +0 -45
  626. package/tests/evidence.test.mjs +0 -186
  627. package/tests/fixtures/compiler-shutdown.cs +0 -67
  628. package/tests/fixtures/native-provider.mjs +0 -61
  629. package/tests/framework.test.mjs +0 -740
  630. package/tests/gates.test.mjs +0 -479
  631. package/tests/hook-repair.test.mjs +0 -106
  632. package/tests/lifecycle-v15.test.mjs +0 -346
  633. package/tests/native-completion-notices.test.mjs +0 -181
  634. package/tests/orchestration-v15.test.mjs +0 -596
  635. package/tests/phase1.test.mjs +0 -427
  636. package/tests/phase2.test.mjs +0 -250
  637. package/tests/policy-v15.test.mjs +0 -234
  638. package/tests/ponytail-package.test.mjs +0 -75
  639. package/tests/returned-handoff-notices.test.mjs +0 -170
  640. package/tests/review-budget.test.mjs +0 -177
  641. package/tests/runtime-v15.test.mjs +0 -1198
  642. package/tests/session-budget.test.mjs +0 -34
  643. package/tests/task-slices.test.mjs +0 -285
  644. package/tests/uninstall.test.mjs +0 -477
  645. package/tests/unity-generated.test.mjs +0 -140
  646. package/tests/unity-transport.test.mjs +0 -348
  647. /package/{.claude/nccgs/packages → template}/ponytail/LICENSE +0 -0
  648. /package/{.claude/nccgs/packages → template}/ponytail/NOTICE.md +0 -0
  649. /package/{.claude/nccgs/packages → template}/ponytail/complexity-review.md +0 -0
  650. /package/{.claude/skills → unity-skills}/build-live-game/references/remote-config.md +0 -0
  651. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/README.md +0 -0
  652. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/codeless-catalog.md +0 -0
  653. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/convert-adapty.md +0 -0
  654. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/convert-essentialkit.md +0 -0
  655. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/convert-revenuecat.md +0 -0
  656. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/convert-unipay.md +0 -0
  657. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/migration-v4-to-v5.md +0 -0
  658. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/path-add-iap-to-new-project.md +0 -0
  659. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/path-convert-native-storekit.md +0 -0
  660. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/platform-notes.md +0 -0
  661. /package/{.claude/skills → unity-skills}/implement-in-app-purchases/references/pre-check.md +0 -0
  662. /package/{.claude/skills → unity-skills}/localization/resources/LocalizedFontAsset.cs +0 -0
  663. /package/{.claude/skills → unity-skills}/optimize-audio/resources/platform-settings.md +0 -0
  664. /package/{.claude/skills → unity-skills}/optimize-web/resources/WebOptimizer.cs +0 -0
  665. /package/{.claude/skills → unity-skills}/optimize-web/resources/toktx-examples.sh +0 -0
  666. /package/{.claude/skills → unity-skills}/physics-3d-collision/resources/CollisionDebugger.cs +0 -0
  667. /package/{.claude/skills → unity-skills}/setup-multiplayer-services/references/dgs-entrypoint.md +0 -0
  668. /package/{.claude/skills → unity-skills}/setup-multiplayer-services/references/entrypoints.md +0 -0
  669. /package/{.claude/skills → unity-skills}/setup-multiplayer-services/references/examples.md +0 -0
  670. /package/{.claude/skills → unity-skills}/setup-multiplayer-services/references/implementation-fit.md +0 -0
  671. /package/{.claude/skills → unity-skills}/setup-multiplayer-services/references/underlying-services.md +0 -0
  672. /package/{.claude/skills → unity-skills}/setup-multiplayer-services/references/workflows-prerequisites.md +0 -0
  673. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/evals/.env.example +0 -0
  674. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/evals/README.md +0 -0
  675. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/evals/promptfooconfig.yaml +0 -0
  676. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/evals/tests/init-and-login.yaml +0 -0
  677. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/evals/tests/text-chat.yaml +0 -0
  678. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/evals/tests/voice-channels.yaml +0 -0
  679. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/references/events-and-participants.md +0 -0
  680. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/references/init-and-login.md +0 -0
  681. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/references/text-chat.md +0 -0
  682. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/references/troubleshooting.md +0 -0
  683. /package/{.claude/skills → unity-skills}/setup-vivox-voice-chat/references/voice-channels.md +0 -0
  684. /package/{.claude/skills → unity-skills}/shader-graph-create-custom-node/resources/all_hints.hlsl +0 -0
  685. /package/{.claude/skills → unity-skills}/sprite-editor/references/api_reference.md +0 -0
  686. /package/{.claude/skills → unity-skills}/sprite-editor/references/background.md +0 -0
  687. /package/{.claude/skills → unity-skills}/sprite-editor/scripts/AutomaticSliceTexture.cs +0 -0
  688. /package/{.claude/skills → unity-skills}/sprite-editor/scripts/GenerateNewSpriteRects.cs +0 -0
  689. /package/{.claude/skills → unity-skills}/sprite-editor/scripts/GetTextureSourceImageSize.cs +0 -0
  690. /package/{.claude/skills → unity-skills}/sprite-editor/scripts/GetTextureToSlice.cs +0 -0
  691. /package/{.claude/skills → unity-skills}/sprite-editor/scripts/GridSliceTexture.cs +0 -0
  692. /package/{.claude/skills → unity-skills}/sprite-editor/scripts/IsometricSliceTexture.cs +0 -0
  693. /package/{.claude/skills → unity-skills}/sprite-editor/scripts/README.md +0 -0
  694. /package/{.claude/skills → unity-skills}/sprite-editor/scripts/SetPivotExample.cs +0 -0
  695. /package/{.claude/skills → unity-skills}/sprite-editor/scripts/SpriteToPng.cs +0 -0
  696. /package/{.claude/skills → unity-skills}/ui-imgui/references/gui-elements.md +0 -0
  697. /package/{.claude/skills → unity-skills}/ui-imgui/references/templates.md +0 -0
  698. /package/{.claude/skills → unity-skills}/ui-ugui/references/scrollview-setup.md +0 -0
  699. /package/{.claude/skills → unity-skills}/ui-uitk/references/common-issues.md +0 -0
  700. /package/{.claude/skills → unity-skills}/ui-uitk/references/painter2d.md +0 -0
  701. /package/{.claude/skills → unity-skills}/ui-uitk/references/pointermanipulator-guide.md +0 -0
  702. /package/{.claude/skills → unity-skills}/ui-uitk/references/svg-icons.md +0 -0
  703. /package/{.claude/skills → unity-skills}/ui-uitk/references/ui-runtime-binding.md +0 -0
  704. /package/{.claude/skills → unity-skills}/ui-uitk/references/uss-guide.md +0 -0
  705. /package/{.claude/skills → unity-skills}/urp-postprocessing/references/effect-reference.md +0 -0
@@ -1,246 +0,0 @@
1
- # Bounded repair — source edits and Unity operations
2
-
3
- Typed Unity packets below ship in the **prepared, unpublished 2.0.0 stable package**.
4
- Schema-1 packets and existing reservations retain their original behavior and limits.
5
-
6
- The Unity phase-2 retest exhausted a repair worker's 22 native turns while exploring
7
- parameters in a scratch harness. It made no gameplay change and left a PARTIAL
8
- handoff. A protected dispatch slot alone did not reserve time to deliver an edit.
9
- Fresh repair reservations require a concrete repair packet and durable
10
- tool admission limits. Existing failed cases and legacy reservations stay unchanged.
11
-
12
- ## Prepare the decision before spending the repair slot
13
-
14
- The Claude coordinator first uses the recorded review or measured failure to choose
15
- one correction. It must preserve the approved requirements and measurement rules.
16
- If diagnosis is unresolved, use eligible read-only analysis within the existing
17
- budget or report PARTIAL; do not spend the repair slot on another parameter search.
18
- General task autonomy does not expand an individual worker's assigned scope.
19
-
20
- The coordinator applies [Ponytail engineering guidance](../packages/ponytail/engineering.md)
21
- to this diagnosis and solution choice: trace relevant callers, reuse suitable
22
- existing behavior, and preserve every requirement and check. Include the material
23
- rationale and limits in the existing packet fields. The worker does not spend
24
- additional reads loading that package or reopen exploration to optimize diff size.
25
-
26
- Copy `.nccgs/templates/repair-packet.json` into
27
- `.nccgs/evidence/work-packets/UNIQUE.json` and replace every placeholder:
28
-
29
- This is the unchanged schema-1 source-edit format:
30
-
31
- - `taskId`, `contractHash`, `sourceSnapshot`: current task and snapshot from the CLI.
32
- - `problem`, `solution`: concise failure and already-chosen correction.
33
- - `changes`: 1–4 exact existing source files, each with a concrete instruction.
34
- Directory ownership, new files, governance and evidence edits are rejected.
35
- - `context`: up to four existing `.nccgs/evidence/` artifact references produced by
36
- `task ref`. Supply only relevant measured facts and rationale, not entire logs.
37
- - `verification`: all required check names from the contract. At least one is
38
- required. The coordinator runs them after the worker returns.
39
- - `budget`: optional lower limits. Defaults and ceilings are 12 work tool calls,
40
- including 6 reads/searches, 3 separate handoff writes, and 600000 ms from claim.
41
- The packet is at most 16 KiB. Limits cannot be raised in the request.
42
-
43
- ## Select a Unity repair profile when needed
44
-
45
- Use a **fresh schema-2 packet**, never change an already reserved packet or relabel
46
- a repair as delivery. The existing negative-feedback requirement and aggregate
47
- repair/QA/review allowances apply to every profile.
48
-
49
- | Profile | Exact files | Work calls / reads | Handoff writes | Deadline |
50
- |---|---:|---:|---:|---:|
51
- | schema 1, source edit | 1–4 existing | 12 / 6 | 3 | 10 minutes |
52
- | schema 2, `unity-code` | 1–8 edit/create | 24 / 12 | 3 | 15 minutes |
53
- | schema 2, `unity-editor` | 1–8 edit/create | 20 / 8 | 3 | 15 minutes |
54
-
55
- These are ceilings, not targets, extra native turns or extensions to task-wide
56
- time/cost/dispatch budgets. Packet budget fields may lower them. Schema-2 packets
57
- are at most 32 KiB. Larger or unresolved work returns PARTIAL for a new bounded
58
- decision within remaining allowances; no automatic retry or budget reset.
59
-
60
- Start from `.nccgs/templates/repair-unity-code.json` or
61
- `.nccgs/templates/repair-unity-editor.json`. Keep the common identity, problem,
62
- chosen solution, context and full verification list. Add `repairType` and an
63
- explicit `operation: "edit"` or `"create"` to every change.
64
-
65
- - `unity-code`: C#, assembly definitions/references, shaders/includes, UXML and USS
66
- under `Assets/`. Structured file edits are allowed only for these exact files.
67
- Include a focused regression file when the correction needs one.
68
- - `unity-editor`: scenes, prefabs, assets, materials, controllers and animations
69
- under `Assets/`. Apply and save through the pinned Editor operations only;
70
- Write/Edit/MultiEdit cannot edit these assets or their metadata.
71
- A coupled correction may also list code files and edit those with structured
72
- file tools in the same packet, within the shared eight-file/work allowance.
73
- - Existing targets need valid companion `.meta` GUIDs. New targets and their
74
- metadata must both be absent at reservation. Parents must already exist.
75
- New folders, deletion/renaming, packages and ProjectSettings are outside these
76
- profiles; do not smuggle them into an Editor script or widen writePaths.
77
- - `writePaths` lists exactly the changed targets, not their metadata or directories.
78
- The scope guard also tracks each target's Unity-generated companion `.meta`.
79
- Preserve all existing GUIDs. Never invent or hand-write metadata.
80
-
81
- Typed Unity repair has exclusive project ownership until it finishes or is
82
- externally reconciled. A captured source inventory rejects undeclared created,
83
- changed or deleted files, including unrelated import side effects. This is a
84
- post-operation guard, not a rollback or an OS sandbox. Keep other project writers
85
- idle; use a clean Editor state with the exact target scene/prefab selected in the
86
- operation, never depend on an unspecified active scene.
87
-
88
- ## Pin Editor steps before dispatch
89
-
90
- `unity.steps` is an ordered array of up to four entries. Existing-code-only packets
91
- may use `[]`. New code needs an import step; every `unity-editor` packet needs at
92
- least one Editor step. Finish import/save and generated metadata **before the
93
- worker returns**, so the runtime observation covers the same source as verification.
94
-
95
- The supported adapter is the installed **Unity CLI** and its connected Editor
96
- commands. Use the bundled [Unity CLI guidance](../../skills/unity-cli/SKILL.md)
97
- and the specific official Unity skill for the chosen operation during preparation.
98
- Use existing discovery captured by delivery or operator preflight for this project;
99
- do not guess commands or install/upgrade tooling inside repair. When steps are
100
- present, pin that discovery as `unity.capabilities: {path, sha256}` under evidence.
101
- Discovery context is not provider or acceptance evidence. MCP names from another
102
- integration are not interchangeable with this adapter.
103
-
104
- Each step contains `id`, a discovered `command`, positional `arguments` and
105
- `timeoutMs` from 1000 to 60000. No argument may begin with `-`: project routing,
106
- timeouts and global flags are supplied by the runner. New 2.0.0 reservations require
107
- the discovered **eval** command with one C# statement body using fully qualified
108
- types for exact named assets; top-level using directives are rejected.
109
- The pinned **loaded-scenes-clean-v1** policy prepends a check in that same Editor
110
- eval, before the packet body. Any loaded dirty scene (including untitled and
111
- non-active additive scenes) returns a correlated refusal. No auto-save, discard
112
- or scene switch occurs. The receipt records the blocked scene as a failed step;
113
- the worker returns PARTIAL, retains the attempt and lets the owner resolve work.
114
- A new eligible packet consumes normal quota; a blocked step never replays itself.
115
- Legacy reservations retain their original pinned invocation without retroactive
116
- guard injection. The guard checks entry state; review the entire body, including
117
- any later scene switches, and save only explicitly owned changes.
118
- Review the body during packet preparation; pinning code does not make arbitrary
119
- C# safe. The worker cannot change it or substitute another command.
120
-
121
- The injected prompt supplies foreground Bash inputs of this shape:
122
-
123
- ```json
124
- {
125
- "command": "node .claude/nccgs/tools/task.mjs repair-editor --id TASK --dispatch DISPATCH_ID --step STEP_ID",
126
- "timeout": 35000
127
- }
128
- ```
129
-
130
- The tool timeout must be at least the step timeout plus 5000 ms, at most 120000 ms.
131
- Use one plain invocation. The runner requires the correlated worker's prior tool
132
- admission, launches `unity command` without a shell, fixes `--project-path` to the
133
- current project's real path and uses finite timeouts. It does not open an Editor,
134
- install a package, create a detached service or grant native permissions.
135
-
136
- A step gets a durable started record before execution and one original receipt
137
- under `.nccgs/evidence/repair-operations/`. Repeating its ID never executes it again.
138
- `EXECUTED` means the CLI returned zero and the source scope check passed; inspect
139
- its actual output. It is **not** a compile/test result or acceptance PASS. Long
140
- compile/EditMode/PlayMode/build checks stay with the coordinator's managed jobs.
141
-
142
- An interrupted, timed-out or nonzero Editor call may still have effects in the
143
- resident Editor. Its dispatch stays UNCERTAIN and keeps ownership. Write the
144
- remaining PARTIAL handoff, preserve the receipt and stop. An external operator must
145
- confirm the operation stopped and reconcile the original attempt before another
146
- writer can start. Missing CLI executables are recorded as failed without claiming
147
- Editor execution. No path rolls back user files or refunds calls/attempts.
148
- If the native worker returns first, its runtime observation, usage and partial
149
- handoff are retained while the repair stays UNCERTAIN. Duplicate completion events
150
- reuse that observation; they neither double-count usage nor release ownership.
151
-
152
- ## Reserve the chosen packet
153
-
154
- The reservation must contain the packet path, exactly matching writePaths, and one
155
- fresh handoff path. It still needs recorded negative feedback and eligible remaining
156
- repair capacity within the original aggregate budget:
157
-
158
- ```json
159
- {
160
- "requestKey": "repair-1",
161
- "kind": "implementation",
162
- "purpose": "repair",
163
- "agent": "nccgs-gameplay-programmer",
164
- "reason": "Apply the chosen correction from the recorded negative review",
165
- "workPacket": ".nccgs/evidence/work-packets/repair-1.json",
166
- "writePaths": ["Assets/ChosenFile.cs"],
167
- "handoffPaths": [".nccgs/evidence/analysis/repair-1.md"]
168
- }
169
- ```
170
-
171
- ```text
172
- node .claude/nccgs/tools/task.mjs reserve --id TASK --request .nccgs/evidence/requests/repair-1.json
173
- node .claude/nccgs/tools/task.mjs dispatch-prompt --id TASK --dispatch RETURNED_ID
174
- ```
175
-
176
- Use the returned `prompt` for the foreground Agent call. The pre-tool hook replaces
177
- that call's prompt with the same pinned packet so the worker receives the chosen
178
- solution, exact files, limits and handoff without first searching for them. Model
179
- route, risk-selected effort and native turn limits remain unchanged. Packet/context
180
- hashes are checked before launch, work calls, completion and stage validation.
181
- Direct writes to pinned packet/context evidence are refused even after completion.
182
-
183
- ## Execute and hand off
184
-
185
- The worker may Read/Grep/Glob inside the project and use only the selected profile's
186
- edits or fixed Editor steps. The assigned handoff is the only evidence file it can
187
- edit. General shell commands, MCP, web and nested agents are refused. Schema 1 has
188
- no shell exception; schema 2 permits only its fixed `repair-editor` wrapper.
189
-
190
- Write `NCCGS-HANDOFF: PARTIAL` early. Apply the chosen correction, then replace that
191
- line with `NCCGS-HANDOFF: COMPLETE` only when the assigned edits are finished.
192
- Include changed files, rationale, remaining unverified checks, risks and next owner.
193
- COMPLETE means the edit assignment is finished; it does not mean product PASS.
194
- If the fix needs more investigation, preserve PARTIAL and return promptly.
195
-
196
- Every correlated tool attempt reaching the ledger consumes its bucket, including
197
- scope denials. Identical hook redelivery with the same tool-use ID and input is
198
- idempotent. A changed payload under that ID is rejected. The ledger stores a payload
199
- hash and counts, not the raw command or tool content. Atomic lock protection keeps
200
- parallel hooks from both taking the last call. Lock contention fails closed; retry
201
- the same ID after the other owner finishes. It is not an admitted/spent call until
202
- the transaction can record it. Missing/corrupt accounting is never reset.
203
-
204
- Reads count within the work allowance. Exhausting reads leaves remaining edit calls;
205
- exhausting work or reaching the deadline still permits remaining handoff writes.
206
- The deadline is checked at tool admission and cannot interrupt a model request or
207
- tool already running. These counts are **tool calls, not native turns or token
208
- limits**; they cannot guarantee three native turns remain. Missing/partial handoffs
209
- still fail the dispatch, and quota is never refunded. Counter exhaustion does not
210
- complete, release, resume or replace an active worker.
211
-
212
- The coordinator then runs declared checks with `task verify`, collects their original
213
- receipts, records the work stage and dispatches protected QA and independent review
214
- when eligible. Failing measurements still block PASS and DONE. No helper exit code
215
- or handoff marker substitutes for measured acceptance.
216
- New implementation records preserve prior negative review and task history. A fresh
217
- independent reviewer still owns its exact verdict and conditions. External/manual
218
- acceptance gates remain separate; Editor receipts cannot satisfy measured criteria.
219
-
220
- ## Validation and rollout boundary
221
-
222
- Apply only to a fresh authorized install/task. Updating a historical reservation
223
- does not retroactively enforce a packet or rewrite its result; idempotent requests
224
- return the original reservation. Old limits, attempts, evidence and failures persist.
225
- Do not upgrade/resume frozen game cases merely to obtain a passing result.
226
-
227
- Local tests exercise executable hooks, concurrency, exact ownership, stale context,
228
- separate handoff allocation and a complete synthetic repair/QA/re-review cycle under
229
- the original cap. They establish framework behavior, not actual Claude performance,
230
- Unity gameplay viability, provider usage or token savings. A new real Claude/Unity
231
- acceptance run is still required. NCCGS is a workflow guard, not an OS sandbox or
232
- protection against malicious code, falsified measurements or externally edited ledgers.
233
- Typed Unity tests use synthetic source/metadata and an injected fake Editor process,
234
- plus an actual missing-executable CLI failure. They do not launch Unity or Claude.
235
- Profile capacities, CLI compatibility and delivery efficiency still need a fresh
236
- authorized native evaluation; historical game cases remain frozen.
237
-
238
- Native hook output uses `PreToolUse.hookSpecificOutput.updatedInput` for the packet
239
- and `additionalContext` for remaining counts, without granting native permissions.
240
- See the [official Claude Code hooks reference](https://code.claude.com/docs/en/hooks#pretooluse-decision-control).
241
-
242
- ## External Editor stop handoff
243
-
244
- Publish the original operator start/shutdown/stop receipts into reviewer-readable
245
- project evidence before handing off. Preserve sealed cases through a separate
246
- addendum; never recreate or overwrite historical process facts. See the installed `editor-session-evidence.mjs` helper and `editor-session-evidence.md` protocol.
@@ -1,23 +0,0 @@
1
- # Context packet protocol
2
-
3
- A context packet is a task-specific map, not a copy of project documentation. Store
4
- it under `.nccgs/context/<feature-id>.yaml` for STANDARD or CONTROLLED work.
5
-
6
- For a project that has adopted the external shared workflow, follow
7
- [shared workflow context](shared-workflow-context.md) for its optional common Graphify
8
- consumer. Link its generation/readiness in the existing packet; keep one shared graph
9
- and freshness record. Missing setup skips without installing or bootstrapping it.
10
-
11
- Include objective, risk tier, domains, accountable owner, requirement IDs, exact
12
- canonical sections, decision summaries with source anchors, affected/protected paths,
13
- approved semantics, out-of-scope boundaries, dependencies, verification, PO gates,
14
- source revisions, and contradictions.
15
-
16
- Prefer anchors, IDs, paths, and hashes over pasted prose. Update the packet when its
17
- sources change. Read a full source only when the packet records why its summary is
18
- insufficient.
19
-
20
- Keep context proportional to the approved risk tier. Context and elapsed-time
21
- budgets are advisory: crossing one is a reason to narrow the next read or surface
22
- the exact missing fact, not proof of failure or permission to discard evidence.
23
- They do not reset or extend the separately enforced task review-round limit.
@@ -1,105 +0,0 @@
1
- # Delivery acceptance and separate product research
2
-
3
- Owner decision, 2026-10-04: evaluate NCCGS on supporting game development from
4
- brief through implementation, testing and acceptance. Balance is researched
5
- separately for each product. Apply this policy when authoring new or explicitly
6
- revised criteria; preserve frozen contracts, measurements, verdicts and spent budgets.
7
-
8
- ## Define what is being accepted
9
-
10
- For each brief item, identify its source and choose one of these scopes in the
11
- design handoff's prose and requirement mapping. These labels are guidance, not
12
- new JSON fields or additional machine verdicts.
13
-
14
- - **Delivery obligation:** specified behavior, formulas/configuration, UI/content,
15
- integration, compatibility, build, tests and required delivery evidence. Map to
16
- executable acceptance or a scoped owner decision where objectively necessary.
17
- - **Technical diagnostic:** a probe used to locate defects, cover a state or measure
18
- load. State setup, interventions and limitations. Do not promote it to production
19
- evidence or an unrelated mandatory gate.
20
- - **Product research:** difficulty, fairness, enjoyment, pacing preferences, build
21
- viability, win rate, strategy strength and choosing tuning targets. Record in a
22
- separate product research brief with its own questions, methods and owner. Do
23
- not import those questions as mandatory delivery criteria or default manual gates.
24
-
25
- Implementing an approved damage formula, drop probability, spawn schedule or tuning
26
- value is delivery work. Deciding whether that value feels fair or produces a desired
27
- win rate is research. Report suspected balance issues without silently changing the
28
- approved numbers. If a required value is genuinely unspecified, obtain its authority
29
- before dependent implementation; continue independent work. Never discard a stated
30
- behavior, accessibility requirement or technical performance budget as "balance".
31
-
32
- NCCGS can support a separately requested `/balance-review` or `/playtest`; judge its
33
- research deliverable against that research brief. Such a task does not make a bot's
34
- victory or a positive balance finding a universal condition for studio acceptance.
35
-
36
- ## Delivery review checklist
37
-
38
- 1. **Brief fidelity:** each required item has a stable ID, actual source, implementable
39
- rule and test/observation; ambiguities and scope changes are recorded with authority.
40
- 2. **Implementation:** trace the item to changed code/assets and actual behavior.
41
- Preserve unrelated functionality. A build or test count alone proves no coverage.
42
- 3. **Testing:** cover the relevant normal, boundary and failure paths; make expected
43
- outcomes independent of implementation self-report. A correct loss/death is a
44
- passing test when the requirement is correct loss handling.
45
- 4. **Evidence integrity:** bind measurements to the source/build, environment, inputs
46
- and attempt; reject stale/missing/foreign data. Exercise negative controls for a
47
- helper's consequential pass logic. Keep actual failures and intervention records.
48
- 5. **Integration and delivery:** build the specified target, exercise required input/UI
49
- and system interactions, package reproduction steps and disclose remaining gaps.
50
- 6. **Independent review and repair:** compare brief, code and evidence on a matching
51
- snapshot. Fix blocking findings and repeat affected checks. Do not invent a finding
52
- to consume a repair slot or call every successful invocation completed work.
53
- 7. **Coordination:** complete useful bounded packets under cumulative resource limits,
54
- own and settle command processes, reuse valid evidence, and report any required
55
- operator assistance. A missing measurement is neither zero usage nor permission
56
- to renew a budget. A partial repair is useful when honestly labelled; inability
57
- to fit an entire playtest does not by itself forbid an authorized small code fix.
58
- 8. **Honest acceptance:** report each delivery criterion's evidence, review, limitations
59
- and scoped owner decisions. Delivery acceptance does not claim enjoyable/balanced
60
- gameplay or general productivity superiority. Record research status separately.
61
-
62
- The generic engine still enforces every criterion in the imported contract. This
63
- checklist guides the designer/reviewer; it does not silently filter old criteria,
64
- grant manual approval, or convert old FAIL/UNVERIFIED into PASS.
65
-
66
- ## Choose tests that measure the requirement
67
-
68
- Use short deterministic scenarios for state transitions, damage/formulas, schedules,
69
- exactly-once rewards, death precedence, pause, reset and UI flows. Establish a known
70
- precondition, apply the normal operation under test, and observe the result. A fixture
71
- may set health, place entities, select a reference build or advance simulation time
72
- when necessary. Disclose those interventions; verify shipped defaults separately.
73
- The fixture must not directly set the result it claims to test (e.g. injecting a
74
- Victory state cannot prove that the normal victory condition works).
75
-
76
- Use an actual player build for integration/launch/input/platform behavior. Choose
77
- duration and workload to expose the specific risk. Neither a universal 600-second
78
- run nor bot survival/victory is a default delivery requirement. A real-time soak,
79
- performance threshold or human UI inspection may be mandatory when the delivery
80
- brief explicitly requires it; explain the authority, workload and failure rule.
81
- Keep unrelated implementation work progressing if it does not depend on that result.
82
- Never relabel an assisted fixture as an unassisted natural play session.
83
-
84
- Bot losses, seeds and actions are diagnostics unless a separately scoped requirement
85
- is the bot itself. Separate a product defect, test/collector defect, bot limitation,
86
- and research question before assigning repair work. Retry or change input only to
87
- test a stated hypothesis; do not repeatedly play until an unexplained PASS appears.
88
-
89
- ## Early checkpoint and revision
90
-
91
- Use `checkpoint: "early"` only for a small delivery prerequisite whose failure
92
- actually prevents dependent work: for example build/start plus one core input/state
93
- path. State the dependency and fit it into the first bounded implementation slice.
94
- Do not select bot win rate, survival time, enjoyment, balance or damage headroom as
95
- a universal expansion gate. The current engine blocks all further delivery dispatches
96
- for an unmet early criterion; therefore do not mark a late integration/soak requirement
97
- early when independent features can still be implemented. Ordinary final criteria
98
- remain mandatory for final delivery acceptance.
99
-
100
- For a previously pinned contract, write an explicit old-to-new criterion comparison
101
- against the owner's scope decision, preserve required game behavior and the old
102
- evidence, then follow design validation/comparison and independent review before
103
- importing a revised executable handoff. Preserve spent attempts and cumulative limits.
104
- Do not edit `.nccgs/tasks`, receipts or a frozen design to make this policy appear
105
- retroactively satisfied. A changed acceptance scope is not a new budget authorization.
@@ -1,139 +0,0 @@
1
- # Standalone design, independent document review and readiness
2
-
3
- Use with [standalone](standalone.md) for `/design`, `/design-review` and
4
- `/story-readiness`. Claude Code owns these responsibilities. Ponytail complexity
5
- guidance is not their review standard. Schema validation does not judge game design.
6
- Apply [delivery acceptance](delivery-acceptance.md): NCCGS delivery is judged on
7
- brief fidelity, implementation, testing, review and handoff. Balance/viability/feel
8
- research belongs to a separately scoped product study, not default delivery gates.
9
-
10
- ## /design — Game Designer responsibility
11
-
12
- 1. Read the brief, canonical GDD sections, recorded owner decisions and relevant
13
- existing behavior. Identify concrete ambiguities, contradictions and missing
14
- rules. Do not assume that a numeric GDD is necessarily complete.
15
- 2. Define the assigned feature's states, rules/formulas, player feedback, boundaries,
16
- interactions, failure/edge cases, dependencies and out-of-scope behavior. Give
17
- each requirement a stable ID and a source section/excerpt with its actual hash.
18
- 3. Separate fixed behavior from delegated tuning. Record tuning parameters, bounds
19
- and the source granting authority. Resolve routine choices within that authority.
20
- Batch only meaningful unresolved product decisions for the owner; continue
21
- independent work. An invented assumption is not an owner decision.
22
- 4. Map every requirement to concrete acceptance: procedure, environment, pass
23
- condition, rationale and authority for that threshold. Automatic criteria need
24
- actual measurement assertions. Keep product balance/experience research outside
25
- the delivery contract and list its disposition in the handoff/outOfScope; do not
26
- silently omit a required behavior. Manual delivery gates require a specific
27
- brief obligation and named decision, not a default "fun/viability" gate. Keep
28
- diagnostics separate, with their limitations. "Two viable builds" is an unresolved
29
- product-research question unless the owner supplies a scoped definition; it does
30
- not imply every bot/seed wins, and random offers do not imply early access.
31
- Equal seeds alone do not establish equal action traces or timestep schedules.
32
- 5. Produce one bounded contract using the installed
33
- `.nccgs/templates/design-contract.json` schema. The JSON is a versioned handoff
34
- referencing canonical truth, not a replacement GDD tree. Supporting explanatory
35
- prose belongs in its declared handoff. Preserve open decisions and return
36
- BLOCKED when they affect implementation. READY_WITH_RISKS cannot hide an open
37
- product decision. Human product acceptance can still be pending on a READY design.
38
-
39
- The coordinator initializes a `mode: "plan", workflow: "design"` task with
40
- `requiredChecks: ["design-contract"]`, `acceptance: []`, the canonical `sources`,
41
- and `analysisArtifacts` listing the output JSON and each worker's fresh handoff.
42
- The plan task's acceptance is about delivering/reviewing the document; do not copy
43
- the future game's executable criteria into the plan task. Reserve a designer as
44
- `kind: "analysis"`, normally `nccgs-game-designer`; use technical analysis only for
45
- a concrete feasibility question. The worker writes only declared analysis outputs.
46
- `handoffPaths` should name a separate Markdown handoff with the required marker;
47
- the JSON contract itself is not a handoff-marker file.
48
-
49
- After the designer returns, the coordinator executes the fixed read-only validator:
50
-
51
- ```text
52
- node .claude/nccgs/tools/task.mjs design-validate --id DESIGN --file .nccgs/evidence/analysis/DESIGN-contract.json
53
- ```
54
-
55
- Use its returned `evidence` as the `design-contract` check and the contract JSON's
56
- `task ref` as the analysis stage's `evidence`; record the completed designer's actual
57
- runtime and dispatch. No arbitrary shell check is granted to a plan worker.
58
- A structurally valid BLOCKED document can be recorded and reviewed honestly.
59
-
60
- For a bounded revision, pin the baseline JSON in the plan intake's `sources` and
61
- run the fixed comparison before sending the candidate to the reviewer:
62
-
63
- ```text
64
- node .claude/nccgs/tools/task.mjs design-compare --id DESIGN --baseline .nccgs/evidence/context/baseline.json --file .nccgs/evidence/analysis/DESIGN-contract.json
65
- ```
66
-
67
- This command captures changed/added/removed requirement and criterion IDs, order
68
- changes and other changed top-level fields into immutable design-check evidence.
69
- It does not approve scope, interpret prose or claim PASS. Supply its receipt with
70
- the actual baseline and candidate to the reviewer; arbitrary plan shell remains
71
- blocked. A missing comparison cannot be deferred until after a conditional PASS.
72
-
73
- ## /design-review — independent document acceptance
74
-
75
- Reserve the existing independent reviewer (`kind: "review"`) after analysis is
76
- recorded. Review the actual sources and full scoped contract, not just its schema:
77
-
78
- - Is the intended player experience translated into implementable behavior? Are
79
- rules, states, formulas, interaction/edge cases and tuning ownership complete?
80
- - Does each required behavior have the right test, environment and justified
81
- threshold? Are all requirements covered without adding unauthorized demands?
82
- - Are delivery obligations distinguished from product research? Does a bot loss
83
- wrongly fail a functional test or block unrelated implementation? Does an early
84
- checkpoint represent a real prerequisite rather than a late soak/balance result?
85
- Do controlled scenarios test normal logic without directly injecting the expected
86
- outcome? Are shipped values checked separately from test setup interventions?
87
- - Are bot diagnostics, technical checks, natural gameplay and human judgement
88
- distinguished? Can a helper falsely pass while the player requirement fails?
89
- - Are decisions genuinely authorized, contradictions resolved, dependencies feasible
90
- and deferred behavior really out of scope? Cite exact sources for findings.
91
-
92
- Return PASS, CHANGES_REQUIRED or BLOCKED with prioritized evidence and missing
93
- decisions. Be independent of the designer. A PASS requires READY/READY_WITH_RISKS
94
- and no unresolved blocking issue. A complete negative review is useful evidence.
95
- Every recorded design finding must include `acceptanceImpact`: `none`, `false-pass`,
96
- `missing-coverage` or `authority-gap`. A demonstrated way to pass a criterion while
97
- violating a scoped fixed requirement or delegated bound is a blocking acceptance
98
- gap, even if labelled MEDIUM or accepted as a risk. Missing required coverage or
99
- threshold authority is also blocking. Return CHANGES_REQUIRED/BLOCKED until the
100
- document is corrected and independently reviewed; never defer these gaps to QA
101
- after importing the deficient criteria. PASS rejects all unresolved acceptance
102
- impacts regardless of severity or ACCEPTED status. Ordinary nonblocking risks may
103
- use `none`. Semantic detection remains the reviewer's responsibility; this field
104
- does not turn structural validation into a semantic oracle.
105
- Use the existing review budget; do not mint tasks to reset attempts. A document
106
- revision requires fresh validation and independent review before a new handoff.
107
- Follow [review handoff](review-handoff.md). New policies bind verdict, criteriaMet,
108
- findings and remaining conditions to the completed reviewer's pinned JSON block.
109
- Pending acceptance work requires BLOCKED/CHANGES_REQUIRED, not a conditional PASS.
110
-
111
- ## /story-readiness — gate before dependent implementation
112
-
113
- Check the approved scope, stable requirements, test mapping, decisions, dependencies,
114
- ownership, feasibility, protected paths and current source revisions. Preserve
115
- residual risks. A READY verdict describes the document, not a verified game.
116
- After positive independent review, record the plan's honest success report and
117
- close its gates through the CLI. Unresolved product decisions remain BLOCKED.
118
-
119
- The implementation intake references the closed plan:
120
-
121
- ```json
122
- { "schemaVersion": 1, "mode": "implement", "design": { "taskId": "DESIGN" } }
123
- ```
124
-
125
- Initialization verifies the complete plan gates and pins its task, contract, sources,
126
- validation receipt and independent runtime evidence. It imports objective, scope,
127
- target, criteria, required checks and manual gates exactly. A conflicting override
128
- is rejected. Evidence changes invalidate the handoff; edits to the implementation
129
- source alone do not rewrite or invalidate the historical document review.
130
-
131
- New installs enable `designReviewRequired: true` in execution.json. With this policy,
132
- feature/cross-system implementation cannot reserve, launch, write source, verify
133
- or close without a current reviewed handoff. A ready local fix with explicit
134
- acceptance can proceed without a separate design task; do not misclassify new
135
- gameplay as a local fix. Structural controls cannot infer hidden semantic scope.
136
- Missing/false policy retains older obligations and is not evidence of design
137
- readiness. Existing projects opt in explicitly for fresh tasks; do not change a
138
- frozen task's pinned execution policy to retrofit approval. Compatibility branches
139
- retain their original design/approval process.
@@ -1,52 +0,0 @@
1
- # Editor lifecycle evidence visible to the reviewer
2
-
3
- An external operator may own a Unity Editor while native workers run bounded
4
- operations. Keep ownership with that operator. Before handing the task to review,
5
- publish the operator's existing start, graceful shutdown command and settled stop
6
- receipts under the project's `.nccgs/evidence/editor-control/` directory.
7
- An external artifact directory alone is insufficient when the reviewer can only
8
- read the project tree.
9
-
10
- Use the installed helper from the external operator's existing harness:
11
-
12
- ```js
13
- import { publishEditorSessionEvidence } from './.claude/nccgs/tools/editor-session-evidence.mjs';
14
- const reference = publishEditorSessionEvidence(project, {
15
- sourceProject: project,
16
- startFile: absoluteStartReceipt,
17
- stopFile: absoluteStopReceipt,
18
- shutdownFile: absoluteShutdownCommandReceipt
19
- });
20
- ```
21
-
22
- The supported receipt format is the Windows owned-Editor harness format: start
23
- has `at`, `project`, and `identity` (`pid`, `windowsJob`, `groupName`); stop has the
24
- same identity, `state: "dead"`, `forced: false`, and `result: {code: 0, signal: null}`.
25
- The shutdown command receipt has `at`, fixed Unity `args` with the exact
26
- `--project-path` and `UnityEditor.EditorApplication.Exit(0)`, its own owned CLI
27
- identity, `treeState: "dead"`, `code: 0`, and `signal: null`.
28
-
29
- The helper checks ownership/project consistency, event order and reported normal
30
- settlement. It copies the three original files byte for byte, adds SHA-256
31
- references, and returns the reference to an immutable receipt bundle. Existing
32
- bundle IDs cannot be overwritten. Include that reference in the coordinator's
33
- review handoff alongside the ordinary managed-check receipts.
34
-
35
- This publisher performs no process operation or live process probe. The operator
36
- must still verify its owned group is dead using the existing process manager.
37
- Forced, failed, live or uncertain stops retain their original evidence and cannot
38
- be published as a normal stop by this helper. A copied receipt is not a new stop,
39
- native worker execution, a reviewer verdict, or acceptance evidence for gameplay.
40
- Untrusted receipt contents never authorize commands. Other producer formats need
41
- an explicit adapter and qualification; do not invent observations to fit this one.
42
-
43
- When the original case is already sealed, publish to a separate addendum project
44
- and pass the original absolute `sourceProject`. The bundle marks itself as a
45
- historical import. Keep the original task, findings, costs and hashes untouched;
46
- a fresh independent reviewer assesses the addendum without rewriting the old
47
- verdict. Do not restart the Editor merely to manufacture a replacement receipt.
48
-
49
- For future runs, publish after every externally controlled normal stop, including
50
- the stop after resolving an unsaved-scene refusal, before the next native handoff.
51
- This evidence step does not grant save/discard authority, expand worker scope,
52
- waive any check, or enlarge the original total budget.
@@ -1,31 +0,0 @@
1
- # Evidence protocol
2
-
3
- Evidence must address an acceptance criterion or risk; volume is not quality.
4
-
5
- Strength order: deterministic automated tests; controlled runtime/build observation;
6
- compiler/analyzer/profiler/security output; serialized configuration inspection;
7
- static source inspection; unsupported implementation claims.
8
-
9
- For STANDARD work, verify from requirements and the final diff rather than the
10
- implementer's rationale. CONTROLLED work also receives adversarial review. Record
11
- test counts, skips, baselines, environment, failures, and relevant Unity console or
12
- build state. A changed baseline must be explained before closure.
13
-
14
- Subjective experience remains a Product Owner gate. Provide a reproducible scenario
15
- and what to observe; never fabricate validation.
16
-
17
- For standalone execution, use [the standalone protocol](standalone.md): reports
18
- may honestly be partial, blocked or failed; only successful closure needs all gates.
19
- For compatibility execution with astra-claude, every code change requires Fable review, including FAST work.
20
- Record requested versus observed model/effort and the final dirty/untracked snapshot,
21
- not only a role label or commit ID. A Fable PASS permits reporting to Astra, not
22
- DONE. Astra's check and the Product Owner's explicit acceptance remain separate
23
- required evidence. See [the handoff protocol](astra-claude.md).
24
-
25
- Match verification to the criterion and concrete risk. Stop expanding evidence
26
- when approved criteria and relevant checks pass with no actionable blockers. Rerun
27
- only for changed inputs, failures, or new evidence; a repeated green run adds no
28
- new proof by itself. Reviewers cover distinct risks, not duplicate reassurance.
29
- If subjective questions remain, supply a playable observation scenario for the
30
- Product Owner. Exhausted review rounds require a recorded stop or explicit external
31
- extension; they never justify PASS or weaken the acceptance chain.
@@ -1,46 +0,0 @@
1
- # Model routing protocol
2
-
3
- NCCGS runs in Claude Code. Resolve execution obligations independently of models.
4
- `pipeline.json` is the routing source; generated catalog/frontmatter and
5
- [routing.generated.md](../routing.generated.md) must match it. Thirteen roles
6
- load by default; 34 optional specialists remain in `agent-library/` until needed.
7
-
8
- ## Standalone default
9
-
10
- | Risk | Implementation | Requested effort | Review rounds |
11
- |---|---|---|---|
12
- | FAST | Sonnet, lightweight class | high | 2 |
13
- | STANDARD | Opus, standard class | high | 3 |
14
- | CONTROLLED | Opus, deep class | xhigh | 3 |
15
-
16
- Independent review uses Fable/high. Leadership requests Opus/xhigh. These are family aliases, not claims about a
17
- particular resolved provider version. Runtime observations must identify actual
18
- Claude models. Unknown effort remains null unless project policy requires observed
19
- effort, in which case missing evidence blocks the stage. Never infer observed
20
- effort, model, duration or cost from configuration.
21
-
22
- Use `nccgs-fast-implementer` for bounded FAST work; use a domain programmer for
23
- STANDARD and `nccgs-unity-implementer` for CONTROLLED. A scout resolves one missing
24
- fact; it is optional. Do not promote work merely because a role sounds senior.
25
- The same model family may implement and review, but review must run in a separate
26
- observed agent invocation and consume a reserved review attempt.
27
-
28
- `configure-models.mjs` renders profile model/effort settings. Local settings,
29
- environment, provider restrictions and existing sessions may override them.
30
- Restart/recheck the real session after configuration changes. Classify and reserve
31
- before dispatch, then use the task's route. Do not silently fall back when a model
32
- is unavailable. Report the actual blocker and measurements.
33
-
34
- ## Compatibility
35
-
36
- Missing `.nccgs/execution.json` means compatibility. Historical `astra-claude`
37
- retains Sonnet/medium for FAST, `claude-opus-5-5` medium/high for larger work,
38
- Fable/high review, external Astra check and explicit Product Owner acceptance.
39
- These historical identifiers are preserved configuration, not new availability
40
- claims. See [its protocol](astra-claude.md).
41
-
42
- `quality`, `balanced` and `inherit` remain available for historical workflows.
43
- Changing only a model profile cannot waive task gates. Standalone schema-2 tasks
44
- require explicit implementation/review families; an unpinned inherit route cannot
45
- prove them. Ordinary updates retain configuration. Use explicit execution migration
46
- to adopt standalone; historical task records and spent budgets remain intact.