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,41 +0,0 @@
1
- # Task classification
2
-
3
- Use the lowest tier that safely covers the actual risk.
4
-
5
- ## FAST
6
-
7
- Use when the intended behavior is unambiguous, impact is local, rollback is easy,
8
- and no durable contract changes.
9
-
10
- Examples: localized bug fix, safe refactor, editor utility, typo, missing reference,
11
- small visual correction, test repair that preserves intent.
12
-
13
- Minimum flow: inspect -> implement -> relevant test/verification -> diff -> report.
14
-
15
- ## STANDARD
16
-
17
- Default for ordinary features and multi-file behavior changes with established
18
- design and architecture.
19
-
20
- Signals: new player-visible behavior, a meaningful requirement, several coordinated
21
- files, new tests/runtime scenario, or documentation/evidence that must persist.
22
-
23
- Flow: focused contract -> impact check -> implement -> automated/runtime evidence ->
24
- targeted regression -> docs/state sync -> closure.
25
-
26
- ## CONTROLLED
27
-
28
- Use only when at least one material risk applies:
29
-
30
- - public or cross-system architecture contract;
31
- - save, serialization, network authority, protocol, or compatibility change;
32
- - package, service, platform, render-pipeline, or major project-setting decision;
33
- - broad or irreversible migration;
34
- - core gameplay design ambiguity or extensive blast radius;
35
- - security, commerce, account, privacy, or release-critical behavior.
36
-
37
- Flow adds explicit impact analysis, recorded decisions/ADR where durable, migration
38
- and rollback planning, full relevant verification, and independent review.
39
-
40
- File count alone does not make work CONTROLLED. Raise a tier when new facts expose
41
- risk; record the reason in state/closure.
@@ -1,60 +0,0 @@
1
- # Closure
2
-
3
- Keep state vocabulary exact:
4
-
5
- - IMPLEMENTED: change exists.
6
- - VERIFIED: required objective evidence passes.
7
- - VALIDATED: required subjective gates are accepted.
8
- - DONE: every configured closure gate is satisfied; waivers have explicit authority.
9
-
10
- ## Canonical record and linked artifacts
11
-
12
- For persistent STANDARD/CONTROLLED work, write the canonical record at the path
13
- configured by `closure.canonical_record`, normally
14
- `.nccgs/closures/<feature-id>.md`. It is the single entry point for requirement
15
- coverage, implementation, evidence, documents, gates, waivers, and final state.
16
-
17
- The record may link additional project-required artifacts. Link them instead of
18
- copying their contents. Examples include an implementation report, register entry,
19
- manual evidence, migration log, recovery checklist, or deletion-safety gate.
20
-
21
- ## Closure modes
22
-
23
- - **lean**: the canonical record is sufficient. Linked artifacts are optional and
24
- cannot become blocking unless policy changes mode.
25
- - **linked**: artifacts with `required: true` must exist, be linked, and meet their
26
- configured completion rule. Optional artifacts remain advisory.
27
- - **strict**: every declared artifact and checklist condition is blocking. A missing
28
- item prevents DONE unless the PO records an explicit waiver and accepted risk.
29
-
30
- Unknown or missing mode is a configuration blocker for closure; do not silently
31
- assume lean in an already-migrated project.
32
-
33
- ## Gate evaluation
34
-
35
- Before DONE:
36
-
37
- 1. confirm implementation and objective verification;
38
- 2. resolve applicable manual PO gates;
39
- 3. inspect `closure.required_artifacts` and record each path, completion rule,
40
- observed status, and waiver authority;
41
- 4. ensure the canonical record links every required artifact;
42
- 5. keep the final state below DONE while a blocking item remains.
43
-
44
- Update `.nccgs/state.md` to contain only current objective, active feature/tier,
45
- current phase, pending PO decisions, manual gates, closure blockers, last closure,
46
- and next candidate. Git and closure records hold history.
47
-
48
- Technical records may be synchronized autonomously. Canonical player-facing design
49
- changes require an accepted PO decision. If code and canon disagree, fix or escalate;
50
- never rewrite canon silently.
51
-
52
- ## Mandatory astra-claude gates
53
-
54
- For astra-claude, lean mode does not remove Fable review, the reviewed report,
55
- Astra checking, or explicit Product Owner acceptance. Require Fable PASS on the
56
- final snapshot, then the report, then Astra PASS, then Product Owner ACCEPTED on
57
- that same snapshot. Claude records factual progress/evidence and hands off at
58
- AWAITING_ASTRA_CHECK. Astra owns final documentation and closure. Missing or stale
59
- sign-offs block DONE; changes require renewed review and downstream acceptance.
60
- Only an explicit Product Owner policy change can alter this sequence.
@@ -1,36 +0,0 @@
1
- # Focused feature contracts
2
-
3
- A feature contract records approved outcome and scope. Its context packet records the
4
- current working-set map; neither is a rewritten GDD.
5
-
6
- For meaningful STANDARD or CONTROLLED work, create or update
7
- `.nccgs/features/<feature-id>.md` from the scaffold template. Include only:
8
-
9
- - objective and approved player-facing intent;
10
- - relevant requirement IDs and links to canonical sections;
11
- - governing project policies and ADRs;
12
- - affected systems and expected files, without treating the list as immutable;
13
- - out-of-scope behavior;
14
- - objective acceptance and subjective gates;
15
- - verification and regression obligations;
16
- - open PO decisions.
17
-
18
- Create or refresh `.nccgs/context/<feature-id>.yaml` for the exact canonical sections,
19
- decision summaries, source revisions, ownership, and execution working set. Keep the
20
- contract stable across implementation while the context packet may change as the
21
- working set is discovered.
22
-
23
- Do not copy whole design or architecture documents. If discovery changes the working
24
- set, update the contract rather than loading unrelated sources.
25
-
26
- FAST work normally uses an in-memory contract. Persist it when the fix changes a
27
- meaningful requirement, spans sessions, needs a manual gate, or will benefit future
28
- debugging.
29
-
30
- Requirement IDs belong in `.nccgs/requirements.yaml` only for player-visible
31
- contracts, technical invariants, acceptance criteria, and cross-system dependencies.
32
- Do not assign IDs to private class structure or every documentation sentence.
33
-
34
- Under astra-claude, Astra authors and revises these contracts and context packets.
35
- Claude consumes them, records newly discovered facts in evidence, and requests
36
- revisions from Astra instead of rewriting planning or canonical documents.
@@ -1,29 +0,0 @@
1
- # Work
2
-
3
- Complete the approved outcome rather than stopping at a plan.
4
-
5
- ## Route
6
-
7
- Read project policy and state, inspect Git status, and classify FAST, STANDARD, or CONTROLLED using [classification](../references/classification.md). Identify affected domains before selecting roles from `../../nccgs/studio.json`.
8
-
9
- - FAST normally stays in the main session or uses one specialist.
10
- - STANDARD uses a context packet, an accountable implementer, and independent verification.
11
- - CONTROLLED adds the relevant decision owner and adversarial review.
12
-
13
- Read the [orchestration protocol](../../../nccgs/protocols/orchestration.md) for multi-role work. Do not build a ceremonial management chain.
14
-
15
- ## Contract
16
-
17
- Use [feature contracts](../references/feature-contracts.md). Create or refresh a context packet through `/context-pack` for STANDARD or CONTROLLED work. Resolve Product Owner decisions that affect semantics, scope, canon, compatibility, dependencies, or irreversibility; continue safe independent nodes while decisions are pending.
18
-
19
- ## Execute
20
-
21
- Build a dependency graph with one writer per path. Route distinct domains to their specialists. Use official Unity Skills for operation mechanics and `unity-cli` for connected Editor, tests, builds, and runtime evidence. Agents receive the context packet path and bounded ownership, not the entire chat or document set.
22
-
23
- Fix in-scope failures, inspect the final diff, and preserve unrelated work.
24
-
25
- ## Verify and close
26
-
27
- Use [verification](../references/verification.md) and the shared [evidence protocol](../../../nccgs/protocols/evidence.md). Map objective evidence to requirements, run proportional regression, and separate PO gates. CONTROLLED work receives `/review` or `/evidence-review` from an independent role.
28
-
29
- Synchronize state and technical records, then run `/closure`. Report classification, roles/models used, changed files, evidence, blockers, PO gates, residual risk, and final state.
@@ -1,26 +0,0 @@
1
- # Verification strategy
2
-
3
- Choose evidence that directly proves the requirement.
4
-
5
- | Evidence | Proves | Does not prove |
6
- |---|---|---|
7
- | Static/diff inspection | Structure and obvious policy conformance | Runtime behavior |
8
- | EditMode test | Deterministic logic/editor behavior | Full scene/player experience |
9
- | PlayMode test | Unity lifecycle and runtime integration | Subjective feel |
10
- | Unity CLI runtime inspection | Actual state, references, errors, deterministic transitions | Broad regression or subjective quality |
11
- | Build | Target compilation/packaging | Feature correctness by itself |
12
- | PO gate | Subjective intended experience | Technical regression coverage |
13
-
14
- For each acceptance criterion, classify evidence:
15
-
16
- - **PASS**: direct evidence demonstrates it;
17
- - **FAIL**: evidence contradicts it;
18
- - **NOT PROVEN**: no adequate evidence exists;
19
- - **PO GATE**: the criterion is intentionally subjective.
20
-
21
- Run regression based on changed contracts and downstream consumers. A local bug fix
22
- needs targeted regression; release or core contract work may justify a broader suite.
23
-
24
- When Unity is involved, use the relevant official Unity Skill and `unity-cli`. Prefer
25
- connected Editor observation/action/verification when available. Persist only useful
26
- evidence summaries; do not dump console walls into closure records.
package/CLAUDE.md DELETED
@@ -1,10 +0,0 @@
1
- # NCCGS project bootstrap
2
-
3
- @MEMORY.md
4
-
5
- @.claude/nccgs/constitution.md
6
-
7
- Project-specific decisions live in `.nccgs/project.yaml`. Keep this file small;
8
- put local additions in that policy file or in canonical project documents.
9
-
10
- For Unity work, load `.claude/nccgs/protocols/unity-boundary.md` before any generic Unity Skill. Its CLI-only transport policy is mandatory.
package/MEMORY.md DELETED
@@ -1,109 +0,0 @@
1
- # NCCGS — portable framework decisions
2
-
3
- NCCGS means **New Claude Code Game Studio** and targets **Claude Code**.
4
- This is the unpublished 2.1.1 release source, adding reversible project uninstallation.
5
- The earlier 2.0.0 release was published on 2026-10-28; its archive is unchanged.
6
- The registry's existing 2.1.0 artifact is distinct from the accepted local R11 r05
7
- baseline; 2.1.1 is its separately prepared release identity.
8
- Local preparation does not change npm tags. Native qualification remains scoped
9
- to its frozen archives; see README.md and CHANGELOG.md for evidence boundaries.
10
- Project-specific authorizations, provider sessions, budgets and internal development
11
- history are retained separately, outside the public package. Nothing in this file
12
- authorizes spending, provider access or changes to a user's project by itself.
13
-
14
- ## Execution and authority
15
-
16
- - Follow the user's explicit instructions and the project's approved contract.
17
- - In the user's shared workflow, the sequence is PO + ChatGPT/Codex brainstorm,
18
- confirm the approach, ChatGPT/Codex issue the English prompt, Claude Code executes
19
- through NCCGS, then PO + ChatGPT/Codex review. NCCGS's entire internal workflow
20
- belongs to the Claude execution step. The external role is ChatGPT/Codex; no
21
- additional named planner or compatibility-role mapping is part of this contract.
22
- Internal planning, workers, reviews and task states remain NCCGS responsibilities
23
- within the approved assignment. Standalone execution is not itself a conflict;
24
- do not require compatibility migration or native external gates just to represent
25
- the outer workflow. Internal completion returns a candidate for external review.
26
- Preserve actual existing gates/history until a separately authorized change.
27
- - New installations use standalone Claude Code execution; external review is optional
28
- and separately configured. Preserve existing execution/profile obligations on update.
29
- - Codex may maintain and test framework source. It must not replace Claude Code agents
30
- to claim actual NCCGS game orchestration. Installed files, configured models and
31
- synthetic tests are not provider execution evidence.
32
- - Use actual correlated native worker observations. Unknown model, effort or usage
33
- remains unknown. Never infer execution from a requested alias or a handoff marker.
34
- - Preserve failed attempts, negative reviews, task history, evidence and consumed
35
- allowances. An update, migration, retry or new report must not reset spent budgets.
36
- - Uninstall only from an external terminal after sessions and owned work stop.
37
- Preserve game source, custom files and .nccgs history/budgets. Uninstall never
38
- closes tasks, waives review/acceptance or authorizes deleting retained records.
39
- - Known-solution or contaminated benchmark baselines remain reference-only; do not
40
- score them as independent NCCGS runs.
41
-
42
- ## Delivery and evidence
43
-
44
- - Evaluate brief fidelity, implementation, tests, integration, review/repair and
45
- evidence-backed handoff. Product balance and feel are separate unless the contract
46
- explicitly includes them. Do not expand a delivery task into an unrequested study.
47
- - Keep approved gameplay rules, formulas and UI/accessibility requirements. A correct
48
- loss can pass a behavior test. Disclosed fixtures may arrange preconditions but must
49
- exercise real logic rather than inject the asserted outcome.
50
- - Automatic acceptance requires current measured assertions; helper exit zero and a
51
- reviewer boolean alone do not prove success. Reject missing, stale or malformed data.
52
- - A completed independent reviewer owns its exact verdict/findings/conditions. PASS
53
- requires no unresolved mandatory conditions; do not translate or edit its verdict.
54
- - Technical acceptance, human/Product Owner acceptance and benchmark claims are distinct.
55
- Never claim broad performance, quality or productivity from one supported case.
56
- - Keep frozen evaluations unchanged when maintaining the framework or preparing a release.
57
-
58
- ## Operational boundaries
59
-
60
- - Launch/resume through nccgs run. Honor native, OS, managed, destructive-action and
61
- project permission constraints; do not repeatedly request already-authorized routine work.
62
- - Use foreground Agent calls and managed verification jobs for long engine checks.
63
- Keep process ownership, finite time/cost/dispatch limits and interruption evidence.
64
- Never escape ownership through a detached or WMI-launched process.
65
- - Task lifecycle commands are one plain invocation per shell call, without pipes,
66
- redirection or chained commands. Read task state with inspect.
67
- - Check effective native role limits; prompt text does not change maxTurns. The
68
- reviewer ceiling is 200 turns, not a target or a budget extension.
69
- - Use reviewed design readiness for features and exact bounded repair packets when
70
- required. Read the relevant protocols rather than guessing governance syntax.
71
- - Preserve bundled third-party licenses and attribution, including Ponytail guidance
72
- and the official Unity Skills. Additional guidance does not waive acceptance gates.
73
-
74
- ## Planned framework additions
75
-
76
- - Add focused asset-production support, drawing on `create-game-assets` from
77
- https://github.com/gamedev-skills/awesome-gamedev-agent-skills.
78
- Prioritize the art-direction brief, asset manifest, and production/import/visual-QA
79
- checklists through the existing Art Direction, Technical Artist and Asset Audit
80
- responsibilities. Preserve project art direction, approval authority and provenance;
81
- review and retain applicable upstream licensing when adapting content.
82
- This is a recorded future addition, not an implemented integration. Do not import
83
- the full skills catalog, add a second router, or make image generation mandatory.
84
- - Add optional Graphify integration only for projects that already use it. A global
85
- `graphifyy` installation alone does not activate it. Skip projects without a setup;
86
- NCCGS does not install or upgrade Graphify. For usable existing setups, synchronize
87
- changed indexed inputs in settled batches, including semantic document processing,
88
- and preserve explicit pending/stale status on failure. Shared workflow/project
89
- configuration owns the tool and corpus; NCCGS owns its change handoff and truthful
90
- freshness reporting. Shared-workflow authors and NCCGS must use the same effective
91
- project configuration, corpus, graph location and freshness contract. No separate
92
- NCCGS graph or independently editable integration policy. Both sides account for
93
- their selected file changes; one updater at a time refreshes the shared graph after
94
- writers settle, before graph-dependent handoff/review snapshot capture. This
95
- integration is planned, not implemented.
96
- - The two-feature implementation plan is
97
- [Asset Production and Graphify Update Plan](docs/ASSET-PRODUCTION-GRAPHIFY-PLAN.md).
98
- Archify remains outside NCCGS as an optional shared-workflow visualization tool.
99
-
100
- ## Unity CLI-only transport
101
-
102
- Unity operations use direct Unity CLI and the approved com.unity.pipeline package.
103
- Do not install, configure, discover or call Unity MCP, including Coplay,
104
- AnkleBreaker or the official CLI's optional unity mcp mode. No MCP fallback is
105
- authorized by a licensing/connection failure. Follow the NCCGS unity-boundary
106
- protocol before applying generic Unity Skills; upstream MCP examples remain
107
- reference only. Non-Unity integrations need an explicit external configuration
108
- and are not removed or enabled globally by this package. Existing gates, models,
109
- history and consumed budgets remain authoritative.
package/UPGRADING.md DELETED
@@ -1,130 +0,0 @@
1
- # Upgrading NCCGS 2.1.1
2
-
3
- Current source: **2.1.1**, unpublished. Version 2.0.0 was published on 2026-10-28.
4
- The registry already contains a different `nccgs@2.1.0` tarball. This prepared
5
- 2.1.1 package derives from the accepted local R11 r05 qualification; it does not
6
- replace or retroactively qualify the registry artifact. No npm tags are changed.
7
-
8
- Preparation does not change npm tags. Use the local 2.1.1 archive for evaluation.
9
- Read [release status](docs/RELEASE-STATUS.md) for what has and has not been verified.
10
-
11
- ## Choose the operation
12
-
13
- | Situation | Operation | Effect |
14
- |---|---|---|
15
- | No NCCGS installation | `install` | Adds framework and initial project policy |
16
- | Existing NCCGS installation | `update` | Updates managed files; preserves project-owned policy and customizations |
17
- | Intentionally adopt standalone execution | `migrate-execution --to standalone` | Explicitly changes execution configuration; separate from updating files |
18
- | Resume work | `run` | Launches Claude Code with the project's configured obligations |
19
- | Stop using NCCGS in this project | `uninstall` | Removes unchanged framework files/hooks; retains source, customizations and history |
20
- | Undo removal | `uninstall --rollback ID` | Restores verified backup bytes, refusing later edits |
21
-
22
- **Historical published-1.3.0 → RC3 upgrade qualification covers its tested fixture matrix.**
23
- See [upgrade qualification](docs/UPGRADE-QUALIFICATION.md) for scope and the RC2
24
- issue corrected in RC3. RC4 archive checks are recorded separately in its release
25
- receipts; historical results do not certify a different archive. Try a complete
26
- copy before applying this package to active work.
27
-
28
- ## New installation
29
-
30
- Requirements: Node.js 18+, Claude Code with access to the selected models, and a
31
- Unity project with Assets, Packages and ProjectSettings. Live Unity operations
32
- also require the appropriate Unity Editor/CLI integration.
33
-
34
- ```powershell
35
- $NccgsArchive = "D:\path\to\nccgs-2.1.1.tgz"
36
- npx --yes --package "$NccgsArchive" nccgs install --project "D:\path\to\UnityProject" --dry-run
37
- npx --yes --package "$NccgsArchive" nccgs install --project "D:\path\to\UnityProject"
38
- npx --yes --package "$NccgsArchive" nccgs doctor --project "D:\path\to\UnityProject"
39
- ```
40
-
41
- New installations select standalone execution and the claude-standalone model
42
- profile. External review is off by default; manual/project acceptance obligations
43
- still apply when required. New task autonomy defaults to full, activated by `run`;
44
- OS restrictions, explicit deny rules and evidence/destructive-action guards remain.
45
-
46
- ## Update an existing installation
47
-
48
- Back up the complete project first, including .claude, .nccgs, source, settings,
49
- open task records and evidence. Stop active NCCGS sessions before applying an
50
- update. Do not update a frozen evaluation in place.
51
-
52
- ```powershell
53
- npx --yes --package "$NccgsArchive" nccgs update --project "D:\path\to\ProjectCopy" --dry-run
54
- npx --yes --package "$NccgsArchive" nccgs update --project "D:\path\to\ProjectCopy"
55
- npx --yes --package "$NccgsArchive" nccgs doctor --project "D:\path\to\ProjectCopy"
56
- ```
57
-
58
- Inspect the dry-run changes before the second command. Ordinary updates preserve
59
- model profile, execution policy and project customizations. A project with no
60
- execution.json retains compatibility obligations; selecting a model profile alone
61
- does not migrate its execution policy. Existing autonomy settings are preserved.
62
-
63
- Changed or intentionally missing managed files are recorded in
64
- `.nccgs/framework-overrides.json`. Resolve pending overrides through the project's
65
- reviewed migration workflow; do not use `--force` just to make doctor green. Keep
66
- the project's canonical requirements and applicable gates. Reopen Claude Code
67
- after changing hooks, settings or managed agents.
68
-
69
- If update reports that NCCGS is not installed, use the exact local-archive `install` command
70
- above after checking the target. Some legacy CLI messages mention `@latest`;
71
- that selects the published stable channel, not this unpublished local archive.
72
-
73
- ## Optional execution-policy migration
74
-
75
- For removal instead of migration, use [uninstall and recovery](docs/UNINSTALL.md).
76
- The 2.1.1 CLI can remove an existing 2.0.0 installation directly. Removing or
77
- reinstalling never resets prior task, review, acceptance or budget obligations.
78
-
79
- After installing/updating, migrate only when the owner intends to adopt standalone.
80
- Review any active task's pinned obligations before changing policy.
81
-
82
- ```powershell
83
- npx --yes --package "$NccgsArchive" nccgs migrate-execution --project "D:\path\to\ProjectCopy" --to standalone --model-profile claude-standalone --dry-run
84
- ```
85
-
86
- Inspect the result, then repeat without `--dry-run` to apply. Omit
87
- `--model-profile` to preserve model routes. An update alone does not perform this
88
- migration. Schema-1 tasks retain their original gates/history; do not relabel them
89
- as schema-2, reuse stale approvals or reset consumed attempts. A changed pipeline can block resuming an old task. Finish it before upgrading,
90
- or explicitly scope subsequent work with retained lineage/evidence; updating or
91
- rolling back execution settings does not re-approve an old task.
92
-
93
- The command archives configuration under `.nccgs/backups/execution/<ID>`. To
94
- preview restoration of that execution migration:
95
-
96
- ```powershell
97
- npx --yes --package "$NccgsArchive" nccgs migrate-execution --project "D:\path\to\ProjectCopy" --rollback "MIGRATION_UUID" --dry-run
98
- ```
99
-
100
- Use the actual printed UUID; remove `--dry-run` only after reviewing the preview.
101
- Rollback refuses changed current configuration or altered backup hashes and
102
- requires a compatible framework version. It restores execution configuration,
103
- **not a complete package downgrade**. A full recovery uses the complete project
104
- backup. Do not install 1.3.0 over a 2.0 project and assume task-schema downgrade
105
- is safe. Caught migration failures restore captured configuration; an OS kill is
106
- not an atomic transaction and may require manual recovery.
107
-
108
- ## Start and review work
109
-
110
- ```powershell
111
- npx --yes --package "$NccgsArchive" nccgs run --project "D:\path\to\UnityProject"
112
- ```
113
-
114
- Use `/status` in Claude Code to inspect obligations. Use `/migrate-project` when
115
- the installer/doctor reports project migration or override review is required.
116
- Installation and doctor checks prove package/setup integrity, not Claude execution,
117
- game quality, completion of a task or human acceptance.
118
-
119
- Existing projects that intentionally use Astra/Fable keep their configured chain.
120
- See [compatibility gates](.claude/nccgs/protocols/task-gates.md). Historical 1.4/1.5
121
- guides describe their original versions; this document governs the current 2.1.1 package's
122
- installation commands and release status.
123
-
124
- ## R07 CLI-only working candidate (unpublished)
125
-
126
- The Unity CLI-only transport boundary now applies at launch, normal and repair tool admission, and project hooks. A strict empty MCP configuration is the default; separately approved non-Unity configurations remain explicit. Retained supervised runs without strict MCP isolation are refused before launch and without rewriting original run/cost/dispatch records. Start a properly authorized fresh continuation using the existing task/history/budget; never reset quotas to pass. No global configuration or game project is migrated automatically.
127
-
128
- This working candidate retains the R06 completion/returned-handoff repairs and shared Graphify consumer. Frozen R03/R04/R06 records remain unchanged. Native scoped qualification and human acceptance are separate; no npm tag is changed.
129
-
130
- R07 review repair: Claude Code declares its MCP-config option variadic. The one validated config is therefore placed at argv end or immediately before the explicit option terminator, preserving positional prompts and preventing an unchecked second config. Recovery requires that canonical boundary without rewriting retained state. Ordinary Claude/Codex Unity MCP registration is denied; non-Unity community server/method names remain available. Provider instruction-pattern warnings remain fail-closed; qualification handoffs describe settings in prose instead of reproducing configuration JSON.
package/VERSION DELETED
@@ -1 +0,0 @@
1
- 2.1.1
@@ -1,131 +0,0 @@
1
- # NCCGS architecture
2
-
3
- ## Design objective
4
-
5
- NCCGS optimizes correctness, specialization, context efficiency, recoverability, and
6
- evidence. File or agent count is not an objective. A component exists when it owns a
7
- distinct decision surface, failure mode, artifact, or verification lens.
8
-
9
- ## Layers
10
-
11
- 1. **Kernel** — constitution, authority, project policy, ownership, state, closure.
12
- 2. **Router** — domain/risk classification, model profile, context packet, execution
13
- graph and write ownership.
14
- 3. **Studio roles** — a focused active set plus optional specialists. Counts, model
15
- routes and native turn ceilings come from the [generated routing reference](../.claude/nccgs/routing.generated.md).
16
- Activation choices survive updates; customized files are preserved.
17
- 4. **Workflow modules** — 36 composable skills with eight user-facing entrypoints.
18
- 5. **Unity operations** — unmodified official Unity Skills and Unity CLI/Pipeline.
19
- 6. **Automation** — Node hooks for recovery, audit and safety.
20
- 7. **Evaluation** — structural validation and executable behavioral tests.
21
-
22
- ## Bounded orchestration
23
-
24
- The primary Claude Code session is the sole Claude subagent orchestrator. New
25
- installations use standalone execution: Claude Code owns intake, planning,
26
- documents, dispatch and reporting. It constructs an implementation DAG,
27
- selects the smallest complete role set, passes a context packet, assigns one writer
28
- per path, and merges handoffs. Studio agents do not recursively delegate.
29
-
30
- This preserves domain decomposition while preventing context-amplifying chains such
31
- as director → lead → engine lead → specialist. The 2.0.0 operating protocol launches
32
- one foreground Agent call at a time and waits for its final result. The configured
33
- worker ceiling is not a promise of parallel dispatch. Review/analysis reserves a
34
- stable snapshot and cannot overlap source writers in the same project.
35
-
36
- Execution obligations are selected before models. Missing execution.json means
37
- compatibility; existing Astra/Fable/Product Owner gates survive updates. Explicit
38
- execution migration and model-profile selection are separate operations.
39
-
40
- ## Context architecture
41
-
42
- Large standalone implementation tasks can use a pinned [slice plan](TASK-SLICING.md)
43
- within the same task. Exact file ownership, original criterion IDs and dependency
44
- dispatches bound each assignment. One final integration receives the full contract;
45
- intermediate handoffs cannot satisfy implementation or acceptance. Independent
46
- review excludes every implementation contributor in the task subtree. Plans and
47
- revisions retain attempts and reserve capacity inside existing ancestor limits;
48
- they create no child task, review round or session budget.
49
-
50
- The feature contract stores approved scope. The context packet stores the current
51
- working-set map: source anchors and revisions, decision summaries, ownership,
52
- dependencies, verification, and reasons for any full-source read. Agents receive the
53
- packet path and exact responsibility rather than copies of every canonical document.
54
-
55
- State, packets, and handoffs are file-backed so compaction and session restarts do not
56
- require reconstructing truth from chat history.
57
-
58
- ## Model architecture
59
-
60
- Each catalog role has a capability class: lightweight, standard, deep, leadership,
61
- or review. `pipeline.json` is the routing source; the compiler generates catalog
62
- routes and agent frontmatter, and validation rejects drift. The default
63
- claude-standalone profile requests Sonnet/high for FAST, Opus/high for STANDARD,
64
- Opus/xhigh for CONTROLLED/leadership and Fable/high for independent review. Requested routes
65
- do not establish actual provider execution. The generated reference includes
66
- compatibility routes; quality, balanced and inherit profiles remain available
67
- without duplicating agent prompts.
68
-
69
- Legacy profiles support policy-directed fallback. The astra-claude profile instead
70
- blocks a required stage when its model/effort cannot be confirmed; it never labels
71
- an inherited model's output as Fable review or the selected implementation route.
72
-
73
- ## Unity boundary
74
-
75
- NCCGS does not copy Unity API/CLI procedures into agent prompts. Studio roles own
76
- product and technical intent; official Unity Skills own operation mechanics. The
77
- SHA-256 manifest makes upstream modifications visible.
78
-
79
- ## Evidence and closure
80
-
81
- Standalone work follows scoped intake and reviewed design where required ->
82
- risk-selected implementation -> measured verification -> independent review ->
83
- report -> configured external/manual/acceptance gates. The accountable implementer
84
- fixes findings and an independent reviewer re-reviews changed work. Compatibility
85
- with astra-claude retains Fable review, Astra checking and explicit Product Owner
86
- acceptance. `task.mjs` enforces the selected sequence using snapshot hashes, immutable
87
- artifact references, runtime observations and explicit external decisions. A changed
88
- snapshot invalidates previous review/acceptance. Re-recording an earlier stage clears
89
- downstream stages while retaining history. Hooks supplement the task gate; they are
90
- not a security sandbox. There is no automatic cross-app transport.
91
-
92
- Task risk selects a frozen implementation route and a review budget from
93
- `contract.taskTiers`: FAST/lightweight/2 rounds, STANDARD/standard/3, or
94
- CONTROLLED/deep/3. Valid review records consume rounds even for negative verdicts.
95
- Re-recording implementation preserves the counter. A PASS at the limit can proceed;
96
- otherwise exhaustion stops the task until an explicit external, reasoned extension.
97
- Planning estimates are advisory. Standalone dispatch and configured worker
98
- time/cost limits govern admission using observed telemetry; they do not measure
99
- account-wide usage or interrupt a provider request already running.
100
-
101
- Requested model settings and observed runtime values are separate fields. Native
102
- events can report the resolved model and fallback history; absent observed effort
103
- stays unknown until supporting runtime evidence is imported.
104
-
105
- Every workflow dispatcher selects execution policy first. Standalone loads the
106
- shared standalone protocol; design entrypoints also load the design lifecycle.
107
- Compatibility loads exactly one Astra or legacy reference. Risk selects scope and
108
- model routing; all standalone tiers retain independent review.
109
-
110
- Handoff helpers generate bounded prompts and PARTIAL drafts, validate structure
111
- before completion, and import a completed reviewer's pinned result through the
112
- existing record gate. They never supply provider evidence, change a verdict,
113
- close the task, or reset budgets. See [handoff operations](HANDOFF-AUTOMATION.md).
114
-
115
- One implementer remains accountable for the task. The scout closes a named factual
116
- gap; specialist reviewers add distinct risk coverage. Neither is a compulsory
117
- ritual. Approved scope and evidence determine the stopping point: once criteria
118
- and relevant checks pass without actionable blockers, hand off. New checks require
119
- changed inputs, failures, or new evidence; subjective questions require a playable
120
- Product Owner test instead of indefinite model debate.
121
-
122
- One canonical closure record links existing project artifacts. `lean`, `linked`, and
123
- `strict` policies determine what blocks DONE. Waivers are item-specific and retain
124
- Product Owner authority.
125
-
126
- ## Extension rules
127
-
128
- Add a role only for a distinct domain contract. Add a workflow when a repeated
129
- sequence, gate, or artifact benefits from independent discovery and testing. Put
130
- conditional detail in references. Do not modify official Unity Skills for local
131
- policy, and do not hard-code one project's paths in framework files.