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,144 +0,0 @@
1
- > Historical development/reference document. Version, status, commands and plans
2
- > below describe their original scope, not the current package defaults. Read
3
- > [current release guidance](../MEMORY.md) before use. Research/benchmark proposals
4
- > do not automatically add requirements to a delivery contract.
5
-
6
- # Claude Code pilot and benchmark protocol
7
-
8
- Status: **prepared, not executed**. Framework version: **1.5.0-preview.1**.
9
- The authorized current work is framework development. Game work resumes later
10
- through Claude Code. Do not run a provider or change the game merely to fill this report.
11
- Evaluation scope follows [delivery acceptance](delivery-acceptance.md): measure
12
- brief fidelity, implementation, testing, review/repair and honest handoff. Balance
13
- research is a separate product assignment; bot outcomes are not studio scores.
14
-
15
- ## Provenance and clean starting point
16
-
17
- Vector Survivors CP0 was built by Codex. Preserve it, label it contaminated, and
18
- exclude it from scored orchestration/efficiency results. A copy of its solution
19
- is not a fresh baseline. Prefer unseen tasks from later checkpoints or a new
20
- equivalent foundation with withheld solution code. Record solution exposure and
21
- exclude exposed tasks from independent quality/productivity claims.
22
-
23
- Freeze framework/package hash, game starting snapshot, contract, Unity version,
24
- machine, Claude Code version, permissions, model routes and available measurements
25
- before each run. Use real Claude Code agent identities and durable raw observations.
26
- Requested Sonnet/Opus aliases alone are insufficient. Label all synthetic fixture
27
- data separately; never import it into a real task as runtime evidence.
28
-
29
- ## Start with a small real pilot
30
-
31
- 1. Install the local preview into a fresh disposable Unity project. Review dry-run
32
- and doctor results; preserve the existing CP0 game untouched.
33
- 2. Start Claude Code, confirm managed hooks load, and read NCCGS memory.
34
- 3. Run one fresh FAST fix in foreground with one worker and one reviewer. Confirm
35
- PreToolUse -> SubagentStart -> PostToolUse IDs actually correlate. Inspect raw
36
- metadata, model history, missing effort/cost and spent attempts. Do not fabricate
37
- fields when the client does not provide them.
38
- 4. Run one audit and one plan task. Attempt no source mutation; verify their outputs
39
- and source baseline. Check a failed/blocked report as well as successful closure.
40
- 5. Test an interrupted foreground/background worker, external reconciliation and
41
- resume. Confirm no duplicate agent or refunded budget. Check one explicit policy
42
- migration/rollback on a copy with pending legacy tasks.
43
- 6. Only after these mechanics pass, run the size benchmark below. A blocked runtime
44
- adapter is a pilot finding, not a reason to substitute Codex orchestration.
45
-
46
- ## Five task sizes in the survivors game
47
-
48
- These are example *fresh* tasks. Freeze exact acceptance and withheld checks before
49
- dispatch; do not reuse a solved task from CP0. Shapes and simple colors are enough.
50
-
51
- | Size | Example | Expected route, subject to inspection | Required outcome |
52
- |---|---|---|---|
53
- | 1: tiny | Correct a HUD offset across fixed resolutions | implement / FAST if ready and local | Reference comparison, unchanged controls, one bounded fix |
54
- | 2: small prototype | Add one experimental weapon idea with a simple upgrade | implement / STANDARD | Playable loop and explicit learning questions; no production gate inflation |
55
- | 3: medium integration slice | Implement the specified timeline with progression, pause, loss/restart and feedback | implement / STANDARD; persistence raises risk | Deterministic state/timing tests, actual player integration checks, bug triage and a reproducible build; no bot-win requirement |
56
- | 4: medium-large system | Redesign spawning/pooling/performance or plan save-compatible progression | implement or plan / CONTROLLED when cross-system | Measured before/after, architecture rationale, relevant regressions and compatibility |
57
- | 5: large | Finish a large enemy/weapon/progression feature or audit the complete later game | implement or audit / CONTROLLED | Child contracts, integration/load tests, broad evidence and prioritized findings |
58
-
59
- For size 3, exercise normal operations from controlled, disclosed preconditions;
60
- check normal victory and defeat conditions independently of the bot's skill. A
61
- ten-minute game timer does not require every state test to wait ten real minutes.
62
- Verify shipped timer values and boundary logic, then cover the built player's
63
- relevant integration paths. Do not inject the expected terminal state itself.
64
- Human balance/feel studies, including participant count and sampling, belong to a
65
- separate research brief; do not make five playtesters a default NCCGS delivery gate.
66
- If a delivery brief explicitly requires human accessibility/usability inspection,
67
- retain that scoped obligation and record human waiting separately.
68
- For sizes 4–5, lock workload, seed where relevant, entity counts and
69
- machine/settings before profiling; measure p50/p95/p99 frame time, GC allocations,
70
- memory growth, restart stability, and relevant save/upgrade compatibility. Do not
71
- infer frame performance from framework snapshot timing.
72
-
73
- ## Compare fairly
74
-
75
- Use two arms on matched, fresh work: plain Claude Code with a concise team workflow,
76
- and Claude Code with NCCGS preview. Keep model access, task acceptance and tools
77
- comparable; record actual route differences. Randomize order and use isolated
78
- projects/sessions so the second arm does not see the first solution. Blind quality
79
- review to the arm where practical. Astra is off for the primary benchmark; evaluate
80
- advisory/required review as a separate experiment, recording added benefit and delay.
81
-
82
- Start with two matched pairs per size (20 runs total) as an exploratory pilot. This
83
- is not enough to claim broad statistical superiority. Extend to the larger sample
84
- in the implementation plan only after runtime mechanics and task comparability pass.
85
- Failures, retries, abandoned attempts and intervention remain in the denominator.
86
- Do not replace failed tasks with easier ones or score only completed work.
87
-
88
- ## Record useful efficiency and overthinking metrics
89
-
90
- | Dimension | Measure | Interpretation |
91
- |---|---|---|
92
- | Correctness | Acceptance pass rate; severity-weighted escaped defects | A cheap but incorrect result is not efficient |
93
- | Delivery | End-to-end elapsed, active executor time, human wait separately | Never compare worker time with another arm's whole task |
94
- | Resource use | Observed tokens/cost per accepted outcome, coverage and billing source | Unknown is null; report partial coverage |
95
- | Coordination | Dispatch count, useful specialist contributions, repeated reads, repeated unchanged reviews | Identify overhead that changed no decision or output |
96
- | Rework | Failed checks, accepted/rejected findings, fix/review rounds | Count every attempt and actual recovery work |
97
- | Autonomy | Human interventions and reasons; incorrect vs necessary escalations | Don't reward unsafe action or unexplained blocking |
98
- | Maintainability | Independent assessment of cohesion, clarity, tests and extension cost | Blind review with concrete evidence |
99
- | Resilience | Crash/resume, duplicate callback, missing evidence, budget conservation | No false success and no hidden attempt reset |
100
-
101
- Pre-register what counts as unnecessary analysis: e.g. a repeated unchanged-source
102
- review with no new evidence, repeated broad document loading with no decision
103
- dependency, or speculative refactor outside acceptance. A long task alone does
104
- not establish overthinking. Review whether extra reasoning prevented a real defect.
105
-
106
- Compute quality-adjusted productivity only when scope is comparable: accepted
107
- contract outcomes / total elapsed or observed spend. Show numerator, denominator,
108
- coverage and uncertainty. Do not fabricate monetary savings from model names.
109
- Preserve raw runs and per-size results; a single pooled average can hide tiny-task
110
- overhead behind large-task gains.
111
-
112
- ## Promotion gates
113
-
114
- - **Preview -> stable 1.5:** real hook/identity/model evidence works on the supported
115
- client; no known false-DONE, ownership, quota, migration or evidence-loss defect;
116
- all five sizes have real results and documented failure recovery; scoped delivery
117
- acceptance passes; measurements distinguish unknown values; owner accepts limitations.
118
- - **Consider 2.0:** demonstrate useful autonomy and repeatable quality/efficiency
119
- gains across the agreed workload, including small tasks; assess migration/API
120
- compatibility and maintenance cost; explicitly approve major-version scope.
121
-
122
- No version promotion is automatic merely because framework fixtures pass.
123
-
124
- ## Run report template
125
-
126
- ```text
127
- Run ID / arm / task size / mode / risk:
128
- Fresh baseline hash / solution-exposure declaration:
129
- Framework package hash / client version / Unity / machine:
130
- Contract + required checks + manual acceptance:
131
- Requested routes / actual models / missing fields:
132
- Dispatch IDs / all attempts / reviews / interventions:
133
- Outcome / accepted criteria / open findings / escaped defects:
134
- Requirement-to-code-to-test coverage / fixture interventions / independent review:
135
- Failure attribution: product code / verification helper / bot / orchestration / research:
136
- Separate product research questions and their status (not a delivery verdict):
137
- Elapsed / worker time / human wait:
138
- Tokens and cost / measurement coverage / raw source:
139
- Game profiling data when applicable:
140
- Unnecessary analysis observations and counterexamples:
141
- Recovery actions / budget before and after:
142
- Independent reviewer / Product Owner decision:
143
- Limitations and next concrete action:
144
- ```
@@ -1,207 +0,0 @@
1
- # Standalone Claude Code execution — 2.0.0
2
-
3
- Read `.claude/nccgs/MEMORY.md`. NCCGS means New Claude Code Game Studio. Only
4
- real Claude Code execution supplies NCCGS orchestration evidence. Codex maintenance,
5
- synthetic tests, installed files and requested model aliases do not prove it.
6
-
7
- Read [task autonomy](task-autonomy.md). The task authorizes necessary shell commands,
8
- reports and outside-project operations without asking again. Start with `nccgs run`
9
- to activate native permissions; execution mode and evidence gates remain separate.
10
-
11
- ## Select obligations before models
12
-
13
- `.nccgs/execution.json` selects standalone or compatibility, external review
14
- `off|advisory|required`, acceptance, observed-effort requirements and worker limit.
15
- `.nccgs/project.yaml` selects the model profile independently. Missing execution
16
- configuration means compatibility; never silently relax existing gates. New
17
- installs use standalone and `claude-standalone`. Astra is an optional reviewer.
18
- Policy and input hashes are pinned per task. Changed inputs require an explicit
19
- refresh/reclassification with invalidation. Changed execution policy requires
20
- restoring the pinned configuration for current work or explicitly scoped new work;
21
- preserve prior history and spent budgets. No prior approval carries over.
22
-
23
- ## Intake and mode
24
-
25
- For `/design`, `/design-review` and `/story-readiness`, also follow the
26
- [design lifecycle](design-lifecycle.md). Before dependent feature implementation,
27
- use its reviewed design handoff. New installs require this through execution policy;
28
- a self-declared readiness value alone is insufficient. `task design-validate`
29
- checks document structure; the independent designer/reviewer process owns semantics.
30
-
31
- Use [delivery acceptance](delivery-acceptance.md) to distinguish implementing the
32
- brief from bot performance and product-specific balance research. Keep research
33
- questions outside delivery gates unless the task itself explicitly requests that
34
- research deliverable. Preserve fixed rules and concrete acceptance in the brief.
35
-
36
- Use `implement` for requested changes, `audit` for examination, and `plan` for
37
- design/planning. `/audit`, `/review`, diagnostic and specialist audit/review commands
38
- default to audit; `/design`, `/plan-feature`, `/qa-plan`, `/sprint-plan` default to
39
- plan. `/status` reads state without dispatch. Other entrypoints follow the user's
40
- requested outcome; never turn a review into a fix without authorization.
41
-
42
- Write a bounded intake JSON under `.nccgs/evidence/intake/` with `objective`,
43
- `mode`, `scope` (`local|feature|cross-system`), `systems`, `target`
44
- (`fix|learning-prototype|alpha-ready|production-change`), `readiness`
45
- (`ready|needs-inspection|needs-product-decision`), acceptance criteria,
46
- `requiredChecks`, `requiredArtifacts`, and `manualGates`. Audit/plan outputs belong
47
- only to explicitly listed `analysisArtifacts` under `.nccgs/evidence/analysis/`.
48
- Use `riskSignals` for discovered compatibility, security and other critical risks.
49
- Do not request irrelevant tests or multiple reviewers merely to fill a template.
50
- Map automatic criteria to JSON measurement assertions, including assistance/rule
51
- changes when natural gameplay is required. A check name or helper exit 0 alone is
52
- not acceptance. Mark only a small, actual delivery prerequisite `checkpoint: "early"`;
53
- do not make feature expansion depend on bot survival, victory or balance. Put late
54
- integration checks in final acceptance when independent work can proceed.
55
- Read `task acceptance-status`; preserve
56
- FAIL/UNVERIFIED and missing evidence in partial reports. Exact fields and examples
57
- are in [phase-2 operations](../../../docs/PHASE-2-OPERATIONS.md).
58
-
59
- Initialize and bind through the CLI:
60
-
61
- ```text
62
- node .claude/nccgs/tools/task.mjs init --id TASK --intake .nccgs/evidence/intake/TASK.json
63
- node .claude/nccgs/tools/task.mjs bind --id TASK --session SESSION_ID
64
- node .claude/nccgs/tools/task.mjs inspect --id TASK
65
- ```
66
-
67
- The rule-based classifier chooses a conservative tier with reasons and evidence;
68
- it is not a semantic oracle. Inspect the result. Unknown scope stays STANDARD;
69
- save/migration/authority/commerce/cross-system signals require CONTROLLED. Any
70
- override needs evidence and a reason. Reclassify when facts change, preserving
71
- spent review rounds, dispatches and history. Substantial product ambiguity blocks
72
- dependent work; independent inspection may proceed.
73
-
74
- ## Reserve, execute, verify, review
75
-
76
- When one implementation assignment is too broad, follow [task slices](task-slices.md).
77
- Preview and pin bounded assignments inside the same task and total budget. Preserve
78
- original criteria, reviewed rules and early checkpoints. Only final integration
79
- can supply whole-task implementation; intermediate handoffs are not acceptance.
80
- The independent reviewer must differ from all slice/repair contributors.
81
-
82
- The main Claude Code session coordinates. Reserve every worker before invoking
83
- Agent; do not delegate recursively. A reservation request contains a stable
84
- `requestKey`, `kind` (`implementation|analysis|review`), known `agent`, concrete
85
- `reason`, and explicit `writePaths` (empty for analysis/review). Save requests under
86
- `.nccgs/evidence/requests/`. Use the returned reservation ID once:
87
-
88
- ```text
89
- node .claude/nccgs/tools/task.mjs reserve --id TASK --request .nccgs/evidence/requests/TASK-work.json
90
- ```
91
-
92
- Prefix the Agent prompt with `[NCCGS-DISPATCH:RETURNED_ID]`. Include the task's
93
- contract, route, owned paths, acceptance criteria and expected bounded handoff.
94
- Use `task dispatch-prompt --id TASK --dispatch RETURNED_ID` through the plain
95
- task CLI to generate that prompt and PARTIAL draft templates from the reservation.
96
- This prepares an assignment without launching it or authoring evidence. The
97
- worker writes its own handoff. See [handoff operations](../../../docs/HANDOFF-AUTOMATION.md).
98
- The pre-tool hook claims the reservation using the actual session/tool-use ID.
99
- Use foreground Agent calls in 2.0.0. Launch distinct roles sequentially
100
- through their start hooks; ambiguous start identities must not be guessed.
101
- Background Agent/Task calls are rejected.
102
- `nccgs run` also sets `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1` to prevent native
103
- auto-backgrounding; an omitted `run_in_background` flag alone is insufficient.
104
- Launch one Agent call per coordinator message and wait for its final result before
105
- starting another. Do not mutate a dispatch from uncertain to running to bypass this.
106
- The environment setting also disables native background Bash tasks; use managed
107
- verification jobs or explicitly tracked bounded collectors for long-running checks.
108
- See https://code.claude.com/docs/en/env-vars for the native setting.
109
- For required handoff documents, declare
110
- fresh `handoffPaths` under `.nccgs/evidence/analysis/` in the reservation. Invocation
111
- completion with missing declared artifacts cannot satisfy a work stage; undeclared
112
- handoffs are unassessed, not automatically complete.
113
- Use the risk-selected implementation model/effort and configured review model.
114
- Aliases are requests; only resolved Claude model observations count as evidence.
115
-
116
- At most two implementation workers may run with disjoint path ownership. Review
117
- and analysis hold a stable source snapshot and cannot overlap writers. The review
118
- slot is unique per task. Failed/cancelled attempts still consume quota, including
119
- ancestor quota for child tasks. Do not split tasks to mint budget.
120
- New implementation budgets protect initial review plus one repair, read-only QA and
121
- re-review within the total cap. Use `purpose: "repair"` only against recorded negative
122
- feedback; `purpose: "qa"` is a read-only QA/verification dispatch. Ordinary delivery
123
- cannot consume the protected tail. Inspect `dispatch-status.deliveryBudget` and stop
124
- expansion before it runs out; more review rounds do not create more dispatch slots.
125
-
126
- Fresh repair reservations require a pinned `workPacket`, exact file ownership
127
- and one fresh handoff path. Choose the correction before reserving; do not
128
- send an open-ended tuning investigation. `task dispatch-prompt --id TASK --dispatch ID`
129
- returns the bounded assignment; the launch hook injects the same prompt. Repair
130
- schema-1 packets retain 1–4 existing files, 12 work calls (6 reads), 3 handoff writes
131
- and a 10-minute admission deadline. Opt-in schema-2 unity-code/unity-editor packets
132
- support exact new files or pinned Editor operations with profile-specific limits,
133
- GUID preservation and project-wide exclusive ownership. Only the fixed
134
- repair-editor wrapper may execute their pinned Unity CLI steps; general shell,
135
- MCP, web and delegation remain blocked. The coordinator runs declared checks after return. See
136
- [bounded repair](bounded-repair.md) for packet fields and limitations.
137
- These limits do not add native turns or reset dispatch quota.
138
-
139
- Use targeted objective checks appropriate to the request. The coordinator's
140
- `task verify` owns the command and captures a receipt on the first execution. For
141
- long commands use `--request-key ATTEMPT --background`; retain the returned job ID
142
- and use `job-status` or bounded `job-wait`. Reuse its receipt for QA and closure;
143
- do not rerun successful checks just to capture evidence. A helper's arguments after
144
- `--` belong to the helper, including its own `--project`. Audit/plan/review
145
- workers use read tools and declared analysis artifacts; arbitrary shell and unknown
146
- MCP tools are blocked. A running non-repair worker may use only the fixed
147
- `task handoff-validate` command for its own declared handoff; it checks structure
148
- without executing arbitrary code or recording a stage. If a required analysis check needs command execution,
149
- provide externally run evidence or start a separately authorized implementation
150
- task. Do not loosen mode simply to bypass the guard.
151
-
152
- Record implementation/analysis with its completed `dispatchId`, current snapshot,
153
- checks, artifacts and captured runtime observation. Record independent review with
154
- a fresh completed review dispatch and explicit verdict/findings. The same dispatch
155
- cannot be consumed twice. Read `task inspect` and the exact payload fields in
156
- [standalone gates](standalone-gates.md). Missing observations block the relevant
157
- stage; never author runtime evidence to make it pass.
158
-
159
- For a completed reviewer-owned handoff, `task record-review --id TASK --dispatch ID
160
- --file PATH` imports the exact pinned result through the same record gate. It
161
- preserves negative verdicts, conditions, history and spent budgets. This command
162
- is coordinator-only; it does not report success or close the task.
163
-
164
- ## Report and stop
165
-
166
- Always permit an honest report outcome: `success`, `partial`, `blocked` or `failed`.
167
- Keep unresolved findings, absent tests, missing measurements and required decisions
168
- visible. Reporting does not imply DONE. Successful closure checks the final source,
169
- contract, verification, independent review, required artifacts and configured
170
- external/manual/acceptance gates. Stop once these gates pass; repeat work only for
171
- changed inputs, new findings or failed evidence.
172
-
173
- External review is file based. `off` adds no dependency. `advisory` retains findings
174
- without gating closure. `required` gates closure with a receipt tied to task,
175
- contract and source snapshot. External actors import their own decisions outside
176
- Claude. NCCGS does not launch Astra or send messages to another service.
177
-
178
- ## Resume and evidence limits
179
-
180
- Use `checkpoint`, `resume`, `dispatch-status` and `telemetry`; do not edit task or
181
- ledger JSON. A background launch, missing callback or crashed worker retains its
182
- slot. Only correlated final provider evidence or external reconciliation releases
183
- it. No lease timeout refunds attempts. New local locks can recover only after the
184
- owner and all managed command descendants are verified dead, with an audit entry.
185
- Legacy/malformed/remote locks and uncertain spawn windows still need inspection.
186
- Restore missing/corrupt ledger
187
- history from a known checkpoint; never initialize a replacement to reset budgets.
188
-
189
- Native hooks observe resolved models and selected usage fields when Claude Code
190
- actually provides them. They do not prove effort when no effort field is available.
191
- Unknown values remain null with coverage; they are never zero-cost measurements.
192
- Time/token/cost summaries cover observed worker attempts, not unmeasured coordinator
193
- work, human waiting, account-wide spend or provider billing. Monetary/duration
194
- limits with missing measurements fail closed before another dispatch, but cannot
195
- interrupt a provider request already running. Hooks are workflow controls, not a
196
- hostile-code filesystem sandbox: shell/MCP writers still require independent diff
197
- review and objective checks.
198
-
199
- The optional external `nccgs run --supervise` launcher waits for managed jobs and
200
- performs bounded same-session continuation with cumulative cost tracking. It cannot
201
- invent missing native usage or release uncertain provider dispatches. A supervised
202
- session may yield while that external owner waits; an unsupervised premature Stop
203
- receives a bounded reminder to collect pending jobs. DONE still rejects pending jobs.
204
-
205
- A fresh full Unity qualification of the exact 2.0.0 archive remains separate from
206
- framework fixture tests and frozen earlier-version qualifications. Contaminated Vector Survivors CP0
207
- must not be scored or presented as an independent NCCGS implementation.
@@ -1,55 +0,0 @@
1
- # Task autonomy
2
-
3
- An NCCGS assignment preauthorizes the ordinary actions needed to finish that task:
4
- implementation, testing, tool execution, Bash/PowerShell, report generation,
5
- temporary files and required operations outside the Unity/project directory.
6
- Do not ask again merely because a command writes a report, uses shell redirection,
7
- changes directory, invokes an installed tool elsewhere, or accesses an authorized
8
- external task output. Choose routine implementation details and continue to a
9
- tested result and an honest report. Ask for missing requirements only when they
10
- cannot be resolved from the task; do not disguise a repeated permission request
11
- as clarification.
12
-
13
- ## Activate the native session
14
-
15
- The external user/operator starts `nccgs run --project PATH -- [Claude arguments]`.
16
- With `.nccgs/autonomy.json` mode `full`, the launcher passes Claude Code's supported
17
- `--permission-mode bypassPermissions` and inherits installed tools and model routes.
18
- It does not install a restrictive Bash allowlist. The native mode cannot reliably
19
- be activated by a project `permissions.defaultMode` setting in current Claude Code.
20
- An already-running session must be resumed through the launcher by its external
21
- operator; do not nest another Claude CLI to change your own permissions.
22
-
23
- New installations select `full`. Updates preserve the recorded setting, and older
24
- installations without this file retain `guarded` until the owner requests
25
- `update --autonomy full`. `guarded` uses native default permissions. Installation
26
- or configuration alone is not evidence that a session executed in the selected mode.
27
-
28
- ## Scope and evidence
29
-
30
- Task authority covers the assigned objective, including its external paths. Use
31
- the existing reserved implementation worker for shell operations outside the
32
- project; no extra user approval is needed for the location. Declare its intended
33
- external outputs in the dispatch prompt and handoff. Do not overlap other writers.
34
- Audit/plan/review source restrictions, dispatch budgets and independent review stay
35
- effective. The coordinator can record reports through the task CLI, including
36
- quoted semicolons and multiline summary text. When outside the project, use the
37
- absolute task CLI path and `--project` pointing to the original project.
38
-
39
- Hooks remain anchored to the starting project so external commands do not move
40
- the ledger, bypass gates or lose provider observations. External files are not
41
- automatically included in the project source snapshot: copy required evidence
42
- into `.nccgs/evidence/` and record its source path/hash. Do not claim external
43
- source coverage or performance merely because the shell command returned zero.
44
-
45
- This mode does not disable destructive-action guards, vendored-skill protection,
46
- immutable evidence, external sign-off requirements, or DONE checks. It does not
47
- turn a missing test into PASS or authorize an unrelated change. Explicit deny/ask
48
- rules and organization, OS and sandbox restrictions can still block an operation.
49
- Report the actual restriction; do not claim unrestricted machine access or try
50
- another command solely to evade a rejection. No user/global Claude settings are
51
- rewritten by the launcher.
52
-
53
- Wait for launched verification jobs and collect their actual result before ending
54
- a print-mode session. Task autonomy does not fix the provider's background-job
55
- lifetime or make a pending job complete.
@@ -1,144 +0,0 @@
1
- # Executable task gates
2
-
3
- This document specifies compatibility/schema-1 gates. For standalone/schema-2
4
- contracts and payloads use [the standalone gate guide](standalone-gates.md) and
5
- [standalone execution](standalone.md). Existing tasks retain their original gates.
6
-
7
- Run the installed tool as `node .claude/nccgs/tools/task.mjs COMMAND ...`, or use
8
- `nccgs task COMMAND ...`. Paths in evidence are project-relative POSIX paths.
9
-
10
- 1. Astra supplies the plan and project-specific acceptance obligations.
11
- Astra maps existing project closure artifacts/manual gates to `.nccgs/gates.json`
12
- (`requiredChecks`, `requiredArtifacts`, `manualGates`) and sets its `policySha256`
13
- to the hash of the reviewed project.yaml. A missing/stale mapping blocks task init.
14
- Optional `--requirements FILE.json` adds the same arrays for this task. These
15
- manifests are hashed; changing obligations invalidates the current task.
16
- 2. `task init --id feature-1 --plan .nccgs/features/feature-1.md --risk STANDARD`
17
- creates a task. Risk is FAST, STANDARD, or CONTROLLED; omission defaults to
18
- STANDARD. The task pins `risk`, `implementationRoute` (class/model/effort), and
19
- `reviewBudget` (`used`, `limit`, `extensions`) from `contract.taskTiers`.
20
- 3. `task bind --id feature-1 --session SESSION_ID` connects hook telemetry to it.
21
- 4. `task snapshot` prints the current source fingerprint. It covers files, names,
22
- additions, and deletions, including untracked files. Top-level generated roots
23
- in pipeline.json and explicit Build/Builds output subdirectories from
24
- `.nccgs/inputs.json` are excluded. Opt-in exact `unityGeneratedFiles` paths are
25
- also excluded from source, with their before/after hashes retained in managed
26
- verification receipts. Requirements, decisions and registered canon
27
- are pinned separately and included in the snapshot. The plan and evidence files
28
- retain their own hashes. Never place source or canon in an excluded directory.
29
- 5. `task ref --file .nccgs/evidence/check.log` prints a `{path, sha256}` reference.
30
- 6. `task record --id feature-1 --stage implementation --evidence .nccgs/evidence/implementation.json`
31
- records implementation with `snapshot`, `runtime` (artifact reference), and
32
- nonempty `checks: [{name, status: "PASS", evidence: {path, sha256}}]`.
33
- 7. Run `task check --id feature-1 --target review` before invoking Fable; proceed
34
- only when allowed. The bound-task pre-agent guard also checks readiness and
35
- remaining rounds. Record `review` with `snapshot`, `runtime`, `verdict`, `criteriaMet`, `findings`
36
- (each has severity/status), and `evidence` referencing the independent review.
37
- Only PASS with criteriaMet true and no unresolved BLOCKER/HIGH unlocks reporting.
38
- Corrections require fresh implementation evidence and independent review.
39
- 8. `task check --id feature-1 --target report` must pass before final reporting.
40
- Write the report and record stage `report` with snapshot and its evidence reference.
41
- Store new report/evidence files under `.nccgs/evidence/` so producing evidence
42
- does not change the reviewed source snapshot. Do not edit a hashed report to add
43
- sign-offs; use separate decision files. Source or canonical document changes
44
- outside excluded evidence directories require fresh implementation/review.
45
- 9. Astra, outside Claude, checks the report and records stage `astra`. The evidence
46
- reference points to JSON with actor `Astra`, decision `PASS`, taskId, snapshot,
47
- decidedAt (ISO time), statement, and a source reference identifying the decision.
48
- 10. After the user's explicit acceptance, outside Claude record stage `acceptance`
49
- with an evidence file of the same shape: actor `Product Owner`, decision
50
- `ACCEPTED`. Never generate a user's decision or infer it from a passed test.
51
- 11. `task check --id feature-1 --target done` and `task close --id feature-1` enforce
52
- the entire chain. Changed source, plan, policy, or evidence invalidates old gates.
53
-
54
- Initialize once; remediation stays on the same task. Recording an upstream stage
55
- clears every downstream stage and preserves history.
56
- It does not reset the review-round counter.
57
- The `check` command is read-only. A failed check exits nonzero and names the blocker.
58
- Stop-hook DONE checks are supplemental; task close is the canonical closing action.
59
- Waiting for Astra or the user is a valid stopping point, not a reason to keep an
60
- agent running. Do not write task JSON or external approvals through Write/Edit.
61
-
62
- ## Review rounds and explicit extension
63
-
64
- The default limits are FAST 2, STANDARD 3, and CONTROLLED 3 recorded review rounds.
65
- Each valid review record consumes one round, including CHANGES_REQUIRED or BLOCKED.
66
- Malformed records or invalid runtime evidence are rejected without consuming a
67
- round. A PASS at the limit can proceed; the limit blocks the next review, not an
68
- already valid result. `task check` reports used, limit, and remaining rounds.
69
-
70
- Keep only one Fable review in flight per task; do not launch concurrent duplicate
71
- reviewers. The pre-dispatch guard checks the current recorded budget but does not
72
- reserve a round. Enforced limits count accepted review records, not parallel model
73
- invocations, tokens, or cost. The single-review-in-flight rule is orchestration
74
- policy, not an atomic execution cap.
75
-
76
- When no usable PASS remains and the budget is exhausted, stop with the current
77
- evidence, unresolved findings, and next decision. Do not silently reset the task,
78
- lower its risk, waive findings, or treat exhaustion as success. Re-recording
79
- implementation preserves the counter even though it clears stale review stages.
80
-
81
- After an explicit decision, an external operator can run:
82
-
83
- ```text
84
- task extend-review --id feature-1 --reason "Approved another round to verify the save migration fix" --rounds 1
85
- ```
86
-
87
- Use the command prefix described above. `--reason` must be nonempty; `--rounds`
88
- must be a positive integer no greater than that tier's base limit per extension.
89
- The command refuses a Claude Code session environment and records the timestamp,
90
- reason, added rounds, old/new limits, and history event. An extension authorizes
91
- more review attempts, not new product scope or acceptance. It does not supply PASS.
92
-
93
- Context and elapsed-time budgets are advisory planning limits. Review-round counts
94
- are enforced by the task tool. Older tasks without risk, route, or review budget
95
- must be replaced with a new task and fresh stage evidence; old sign-offs do not
96
- silently carry over. Preserve the old record as history.
97
-
98
- ## Runtime observations
99
-
100
- Agent lifecycle and Agent-tool hooks capture available native model telemetry,
101
- including modelsUsed so a mid-run fallback is visible. They do not copy prompts,
102
- credentials, full transcripts, or arbitrary tool output. Missing fields remain null.
103
- The documented Agent result does not guarantee an effort field, so native captures
104
- alone may be insufficient for a gate.
105
-
106
- Use `task observe --id feature-1 --file .nccgs/evidence/provider-observation.json`
107
- to import an explicit runtime observation when needed. That source JSON must contain
108
- taskId, snapshot, capturedAt, sessionId, agentId, observedModel, observedEffort,
109
- modelsUsed (if swapped), status `completed`, and provenance with kind `provider-log`
110
- or `operator-observation` and a nonempty reference. It must describe the actual run,
111
- not settings or the agent's requested model. The tool hashes the source and emits
112
- an observation reference for the stage record. Both observation and raw bytes are
113
- stored under `.nccgs/evidence/runtime/` and must accompany a clean project copy.
114
- Unknown effort remains blocked. Use `task migrate-evidence --id ID` to copy existing
115
- legacy runtime evidence without deleting originals or changing run metadata.
116
-
117
- ## Input freshness and bounded verification
118
-
119
- Before init, map all governing inputs in `.nccgs/inputs.json`; requirements.yaml
120
- and the decisions tree are always pinned. JSON mapping is explicit: arbitrary
121
- YAML and Markdown links are not automatically followed. Do not register generated
122
- task/evidence folders as canonical inputs. Configure per-check `timeoutMs` and
123
- explicit build output subdirectories in the same manifest.
124
-
125
- For a new Unity project, declare only known, wholly generated IDE/local metadata
126
- files in `unityGeneratedFiles` before init. Use exact project-root `.csproj`,
127
- `.sln`/`.slnx` paths, `.vscode/extensions.json`, `.vscode/launch.json`,
128
- `.vscode/settings.json`, `UserSettings/EditorUserSettings.asset` or
129
- `UserSettings/Search.settings`, as applicable. No folders or globs are accepted.
130
- Do not declare user-owned IDE configuration or project files consumed as build
131
- inputs; leave them tracked or register them as canonical inputs. Canonical/output
132
- overlaps are rejected. This opt-in policy is itself pinned; adding exclusions
133
- after a FAIL cannot make that old attempt pass or preserve stale approvals.
134
-
135
- After an approved input change, or for a 1.4 task lacking input pins, run
136
- `task refresh-inputs --id ID --reason TEXT`. This archives the old state, clears
137
- stages, retains review consumption, and requires fresh observations/checks and
138
- approvals. It does not itself approve changed requirements. Closed legacy records
139
- remain historical. See the installed 1.4.1 migration guide in the package docs.
140
-
141
- Local files are an auditable workflow boundary, not cryptographic identity or a
142
- defense against a person who can rewrite the tool and all evidence. Astra/PO
143
- attestations need honest external source references. Claude sessions may not import
144
- their own external sign-offs. These tools do not send messages across applications.