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,74 +0,0 @@
1
- # Orchestration protocol
2
-
3
- Use this protocol when work benefits from more than one studio role.
4
-
5
- 1. Identify the smallest complete set of domains required by the approved outcome.
6
- 2. Separate decision work, implementation work, and independent verification.
7
- 3. Assign one accountable owner to every output and writable path.
8
- 4. Express dependencies as a directed acyclic graph.
9
- 5. Schedule independent work by dependency and ownership. In standalone 2.0.0,
10
- launch foreground calls sequentially and collect each final result before the next.
11
- 6. Stop dependent work when an upstream contract is unresolved.
12
-
13
- Default maximum subagent depth is one. The primary session composes the graph,
14
- passes context packets, merges handoffs, and owns closure. Agents return requests for
15
- another specialty instead of spawning their own hierarchy.
16
-
17
- ## Team sizing
18
-
19
- - FAST: one accountable lightweight implementer with a concise plan and report.
20
- - STANDARD: one accountable standard implementer plus independent verification; add a design
21
- or domain specialist only when the feature actually needs it.
22
- - CONTROLLED: one deep implementer accountable for integration, decision owner,
23
- affected specialists, verification, and
24
- adversarial reviewer. Avoid ceremonial roles with no distinct deliverable.
25
-
26
- Pass a context packet path and exact responsibility. Do not paste full GDDs, ADRs,
27
- or chat history into every prompt. Surface blocked nodes immediately and preserve
28
- completed independent outputs.
29
-
30
- Standalone execution follows [the standalone protocol](standalone.md), including
31
- durable dispatch reservations, attempt budgets, mode guards and optional external
32
- review. Path ownership is checked for declared reservations and direct edit tools;
33
- opaque shell/MCP operations require independent diff review, not a sandbox claim.
34
-
35
- Under compatibility execution with astra-claude, Astra owns the plan and document scope. Claude orchestrates
36
- implementation nodes inside that plan using the task's risk-selected model/effort.
37
- Every coding outcome must
38
- pass an independent Fable review before its final report goes to Astra. Even FAST
39
- work cannot bypass this sequence. See [the handoff protocol](astra-claude.md).
40
-
41
- Use `nccgs-task-scout` only to close a named factual gap. Do not launch a scout,
42
- design consultation, or extra reviewer when existing evidence already answers the
43
- question. Each reviewer must cover a distinct risk. Preserve one accountable
44
- implementer even when support spans multiple specialists.
45
-
46
- Keep only one reviewer in flight per task. Standalone checks work-stage readiness
47
- before reserving review and again before launch. A rejected launch is automatically
48
- marked failed only while demonstrably unclaimed; its quota stays spent. Claimed or
49
- uncertain invocations still require runtime evidence or external reconciliation.
50
- When technical checks prevent work-stage recording, use measured negative criteria
51
- to request an eligible protected repair instead of reserving a premature reviewer.
52
-
53
- Do not expand scope speculatively. Stop when the approved criteria and relevant
54
- checks pass with no actionable blockers; rerun only checks affected by changed
55
- inputs, failures, or new evidence. Turn unresolved subjective questions into a
56
- playable Product Owner test. Review budgets are enforced by task gates; context
57
- and time budgets are advisory. Exhaustion requires an evidence-backed stop and an
58
- explicit external extension, never automatic approval.
59
-
60
- Native agent `maxTurns` comes from the installed role frontmatter; a larger
61
- `Agent.max_turns` request is not evidence that the role cap increased. Templates
62
- are authoritative and policy compilation synchronizes the registry. Read the
63
- [generated turn-ceiling table](../routing.generated.md) rather than copying limits
64
- into assignments. Check installed frontmatter and session overrides before launch;
65
- these ceilings neither extend task budgets nor establish observed execution.
66
-
67
- An external operator can reallocate a pinned dispatch limit with `task
68
- extend-dispatch --id TASK --request FILE`. The request must contain
69
- `previousLimit`, a larger finite `maxDispatches`, `reason`, and a hashed
70
- authorization artifact `reference`. All dispatches must be settled. The ledger
71
- records before/after limits; spent attempts, ancestor limits and protected slots
72
- remain unchanged. Claude cannot invoke this command. If a framework update changes
73
- a plan's source baseline, retain the old failed plan and create a bounded child
74
- under its preserved aggregate budget; do not reset the old baseline or history.
@@ -1,101 +0,0 @@
1
- # Reviewer-owned verdict and remaining conditions
2
-
3
- For a reservation with `handoffTransport: "native-result"`, return the entire
4
- Markdown handoff as one final text block and do not write a file. The native hook
5
- copies it verbatim into the single declared fresh handoff path. The consumer
6
- re-evaluates the actual response with the native completion policy and preserves
7
- any upstream completion failure. Only validated provider-designated informational
8
- leading/tail blocks are removed; exactly one nonempty model text block of at most
9
- 262144 UTF-8 bytes must remain. Unknown, invalid, incomplete or ambiguous responses
10
- reject without publishing. Model-authored lookalike tags, review JSON, conditions
11
- and completion markers are never rewritten. The exact same
12
- review contract, independent identity and gates below still apply. Other
13
- reservations retain the existing file-writing workflow.
14
-
15
- New standalone installs enable `reviewContractRequired: true`. The completed
16
- review dispatch must pin the same Markdown handoff used as the review stage's
17
- `evidence`. The reviewer writes exactly one `nccgs-review` fenced JSON block:
18
-
19
- ```nccgs-review
20
- {
21
- "schemaVersion": 1,
22
- "taskId": "TASK",
23
- "contractHash": "CURRENT_CONTRACT_HASH",
24
- "snapshot": "REVIEWED_SOURCE_SNAPSHOT",
25
- "verdict": "BLOCKED",
26
- "criteriaMet": false,
27
- "findings": [],
28
- "conditions": [
29
- { "id": "C-01", "description": "Required baseline comparison has not been supplied or reviewed." }
30
- ]
31
- }
32
- ```
33
-
34
- Use actual task identity, hash and snapshot supplied by the coordinator. Findings
35
- retain the required severity, status, description and design acceptanceImpact.
36
- Finding severity must be BLOCKER, HIGH, MEDIUM, LOW or INFO; status must be OPEN,
37
- RESOLVED or ACCEPTED. Use ACCEPTED for an acknowledged informational limitation,
38
- not NOTED. The coordinator must not translate an invalid reviewer-owned value.
39
- Prose explains the evidence, scope and limits; the block is the authoritative
40
- verdict, assessment, findings and remaining conditions. Coordinator stage input
41
- must copy these four fields exactly, including an explicit `conditions` array.
42
-
43
- Use `task dispatch-prompt --id TASK --dispatch ID` to prepare the registered
44
- assignment and a PARTIAL draft. Before returning, the running reviewer can call
45
- the fixed `task handoff-validate --id TASK --dispatch ID --file PATH` operation
46
- for its own declared handoff. Correct structural errors in that draft while the
47
- invocation is still active. VALID checks structure only; it never approves work.
48
- After native completion, the coordinator uses `task record-review --id TASK
49
- --dispatch ID --file PATH` to copy the pinned result through the existing review
50
- gate without retyping its fields. Run each as one plain invocation of
51
- `node .claude/nccgs/tools/task.mjs`. See [handoff operations](../../../docs/HANDOFF-AUTOMATION.md).
52
-
53
- PASS requires `conditions: []`. If acceptance still depends on a diff, test,
54
- source read or other check, return BLOCKED or CHANGES_REQUIRED with that condition.
55
- A finished negative review may mark its handoff COMPLETE. Do not write a conditional
56
- PASS or hide pending acceptance work in a prose disclaimer. The framework checks
57
- the explicit contract; detecting an omitted semantic condition remains a reviewer
58
- responsibility. Neither a marker nor a schema proves complete semantic coverage.
59
-
60
- Supply required checks before launching review. When new evidence arrives after
61
- a completed conditional/negative review, retain that artifact and obtain a fresh
62
- independent review within the existing dispatch/round/time/cost limits. A coordinator
63
- cannot clear conditions, change the verdict, edit the captured handoff or relabel
64
- its own check as the reviewer's completed work. Report PARTIAL/BLOCKED when the
65
- remaining allowance cannot fund the required follow-up.
66
-
67
- For a broad delivery review, check the effective native role `maxTurns` before
68
- dispatch. A number in the assignment prompt does not override the role's limit.
69
- Read the [generated native ceilings](../routing.generated.md); a ceiling is not a target.
70
- Keep session cost, time and dispatch limits active. Index current receipts, raw
71
- files and source changes before review, and use focused reads instead of repeatedly
72
- loading whole histories. Write a truthful PARTIAL handoff early and update it as
73
- checks finish, so interruption leaves concrete unresolved work. Only the reviewer
74
- may replace its own draft with the completed verdict before the dispatch ends.
75
- Capacity changes require an external allocation within the owner's authority;
76
- never reset failed attempts or loosen the acceptance requirements.
77
-
78
- The native harness can report an invocation `completed` and still say its worker
79
- stopped at a turn limit. Harness-designated incomplete notices override a COMPLETE
80
- file: the attempt fails as incomplete, all spent quota remains, and its evidence
81
- cannot certify a stage. Unsupported harness notices/metadata fail closed pending
82
- external inspection. Arbitrary quoted text in a worker's response is not harness
83
- metadata and does not itself change completion status. Captured observations retain
84
- the reported invocation status and a diagnosis/hash, not arbitrary response text.
85
-
86
- The provider-designated informational block
87
- `<tools-used-before-summary>Edit</tools-used-before-summary>` is recognized as a
88
- tool inventory. Recognition applies only inside the declared leading/tail harness
89
- blocks, never to the model handoff. The whole text block must be at most 4096
90
- characters and contain only that exact case-sensitive wrapper, one or more
91
- comma-separated tool identifiers, and optional surrounding whitespace. Identifiers
92
- start with an ASCII letter and continue with ASCII letters, digits, `_`, `.`, `:`
93
- or `-`; whitespace may surround commas. Empty lists, nested tags, extra prose,
94
- non-text blocks and any other advisory remain unrecognized and fail closed.
95
- Turn-limit notices retain priority even when mixed with a recognized inventory.
96
- An informational note preserves its hash and the provider's reported status;
97
- it never upgrades a failed or unknown invocation. This compatibility rule does
98
- not rewrite a previous failed dispatch or waive its consumed quota or review.
99
-
100
- Older pinned policies remain unchanged. Upgrade policy only for fresh authorized
101
- tasks; never retrofit frozen evaluation records or reset attempts to obtain PASS.
@@ -1,33 +0,0 @@
1
- # Optional shared Graphify context consumer
2
-
3
- Use this protocol only when the project has adopted the external Agent Project
4
- Workflow 1.7 tooling. Preserve NCCGS's existing internal execution and task gates.
5
- The approved outer assignment and actual source documents remain authoritative.
6
-
7
- Resolve the external implementation root from the accepted project workflow binding.
8
- The default common configuration is `docs/workflow/workflow.config.json`; it is owned
9
- by the shared workflow, not an NCCGS policy/freshness copy. Do not create it during
10
- ordinary intake. A missing configuration skips context operations without installing
11
- or bootstrapping Graphify.
12
-
13
- At task entry, after required direct instruction/source reads, run:
14
-
15
- ```text
16
- node .claude/nccgs/tools/shared-context.mjs --project PROJECT_ROOT --workflow-root EXTERNAL_IMPLEMENTATION_ROOT --action status
17
- ```
18
-
19
- Use `--action query --text TERM` only for suitable verified coverage. A held review
20
- adds the actual `--hold HOLD_ID --secret HOLD_CAPABILITY`; queries resolve the retained
21
- generation and pinned source. Preserve the hold capability as local operational state.
22
- At a settled write boundary use `--action refresh` only when accepted scope covers it.
23
- This consumer cannot perform setup, update or initial rebuild. Report unavailable,
24
- partial/stale or recovery-required coverage and continue with original sources.
25
-
26
- The external common adapter owns GC-01 through GC-04, one current commit and updater.
27
- Do not add a private graph, native hook, model change, independent source ignore rule,
28
- or copied freshness file. Link the common generation/result in the existing context
29
- packet/handoff. Graph context does not provide provider execution evidence or external
30
- acceptance; NCCGS internal DONE may return a candidate awaiting outer review.
31
-
32
- This source bridge has fixture coverage. It does not certify a Claude Code/native
33
- or Unity runtime session; adoption and host qualification remain explicit operations.
@@ -1,329 +0,0 @@
1
- # NCCGS 2.0.0 — implementation and operation
2
-
3
- Version: **2.0.0**. Target executor: **Claude Code**.
4
- Framework tests and scoped native delivery evidence exist. A new full Unity task
5
- through this exact stable archive is not claimed. Published-1.3 upgrade qualification
6
- passed within its documented fixture scope; see [release status](../../../docs/RELEASE-STATUS.md).
7
- Read [MEMORY.md](../MEMORY.md) before interpreting evaluation results.
8
-
9
- ## Policies and migration
10
-
11
- New installs use `.nccgs/execution.json`:
12
-
13
- ```json
14
- {
15
- "schemaVersion": 1,
16
- "name": "standalone",
17
- "externalReview": { "mode": "off" },
18
- "acceptanceRequired": false,
19
- "requireObservedEffort": false,
20
- "maxParallelWorkers": 2,
21
- "designReviewRequired": true,
22
- "reviewContractRequired": true
23
- }
24
- ```
25
-
26
- Model profile lives separately in `.nccgs/project.yaml`; the default is
27
- `claude-standalone`. Its Sonnet/Opus aliases are requests, never resolved observations.
28
- Missing execution.json resolves to compatibility. Changing a model profile alone
29
- does not remove an external, acceptance or historical task obligation.
30
-
31
- Use `nccgs migrate-execution --to standalone --dry-run` after a framework update;
32
- remove `--dry-run` to apply. Add `--model-profile claude-standalone` to explicitly
33
- change models too. Configuration archives live under `.nccgs/backups/execution/ID`.
34
- `--rollback ID --dry-run` checks restoration; rollback refuses changed configuration
35
- or corrupted backup hashes. Tasks/evidence/budgets are preserved. See
36
- the packaged UPGRADING.md for failure recovery and legacy task handling.
37
-
38
- ## Intake, classification and modes
39
-
40
- Before initializing a fresh Unity task, map its known generated IDE/local metadata
41
- as exact `unityGeneratedFiles` paths in `.nccgs/inputs.json` (see
42
- [input freshness](task-gates.md#input-freshness-and-bounded-verification)). Preserve
43
- other input mappings and timeout ceilings. Inspect existing IDE files: custom or
44
- build-input files stay tracked. No automatic directory/glob ignore is applied.
45
- The manifest is pinned at init; generated-file hashes remain in verification
46
- receipts, while source, assets, packages and ProjectSettings remain in the source
47
- snapshot. Existing tasks retain their original inputs and historical verdicts.
48
-
49
- Large implementation tasks may use `task slice-preview|slice-plan --id TASK --file
50
- PLAN` and `task slice-status --id TASK`; see [task slices](task-slices.md).
51
- These commands preserve the original task and gates. A pinned plan tracks bounded
52
- delivery assignments, not replacement contracts or additional budgets.
53
-
54
- Example `.nccgs/evidence/intake/hud-fix.json`:
55
-
56
- ```json
57
- {
58
- "schemaVersion": 1,
59
- "objective": "Correct the pause-button offset at the declared reference resolution",
60
- "mode": "implement",
61
- "scope": "local",
62
- "systems": ["HUD"],
63
- "target": "fix",
64
- "readiness": "ready",
65
- "acceptance": [{ "id": "HUD-01", "description": "Offset matches the reference", "check": "layout-reference",
66
- "assertions": [{ "artifact": ".nccgs/evidence/measurements/layout.json", "pointer": "/offsetMatches", "op": "eq", "value": true }] }],
67
- "requiredChecks": ["layout-reference"],
68
- "requiredArtifacts": [],
69
- "manualGates": [],
70
- "assumptions": ["Gameplay and input behavior remain unchanged"],
71
- "reassessWhen": ["The layout defect crosses multiple UI systems"]
72
- }
73
- ```
74
-
75
- This is a template, not evidence that the check ran. For `audit` or `plan`, declare
76
- `analysisArtifacts` such as `.nccgs/evidence/analysis/TASK-result.md`; source edits
77
- are prohibited. Include real `sources` paths to hash authoritative documents.
78
- Criteria with `check` add required objective checks; `{id,description,manual:true}`
79
- adds a manual acceptance gate. Project-level gate manifests remain mandatory.
80
- Automatic criteria require measured JSON assertions (`eq`, `gte`, `lte`); check-only
81
- criteria remain UNVERIFIED. The verifier captures changed measurement files into
82
- hashed per-job evidence. Failed/unverified criteria block PASS review, success report
83
- and DONE, independently of the helper's exit code. Inspect `task acceptance-status`.
84
- Use `checkpoint: "early"` only for a small delivery prerequisite that actually
85
- blocks dependent work. Bot survival/victory, damage headroom and product balance
86
- are not default expansion gates. See [delivery acceptance](delivery-acceptance.md)
87
- and [phase-2 operations](../../../docs/PHASE-2-OPERATIONS.md). The engine still
88
- enforces pinned criteria; revising scope requires an explicit reviewed contract.
89
-
90
- ```text
91
- node .claude/nccgs/tools/task.mjs init --id hud-fix --intake .nccgs/evidence/intake/hud-fix.json
92
- node .claude/nccgs/tools/task.mjs bind --id hud-fix --session ACTUAL_SESSION_ID
93
- node .claude/nccgs/tools/task.mjs inspect --id hud-fix
94
- ```
95
-
96
- Run each task command in its own shell tool call from the project directory.
97
- Do not append pipes, redirection (including `2>&1`), semicolons, `cd`, or other
98
- commands. The guard recognizes a plain task invocation; composed shell commands
99
- are not lifecycle commands and require a correlated implementation worker.
100
- Use `inspect` to read task state, and Read/Grep for command documentation.
101
- `status` and `--help` are not recognized lifecycle operations. If a plain command
102
- is rejected, retain the error and inspect its arguments instead of bypassing the
103
- guard or requesting an external bind before correcting the invocation.
104
-
105
- The classifier is deterministic and conservative, not a general semantic model.
106
- Ready/local/fix can be FAST. Unknown or feature scope defaults to STANDARD.
107
- Save/serialization, migration, network authority, commerce and cross-system signals
108
- require CONTROLLED. The coordinator must inspect real risk and supply `riskSignals`,
109
- reason and evidence; keyword absence is not proof of safety.
110
-
111
- Explicit `reclassify --classification FILE` requires `reason` and `evidence`; optional
112
- `risk`, `scope`, `target`, `readiness`, `systems` and `riskSignals` explain the change.
113
- To change intake content, update the same file and use `refresh-inputs --reason TEXT`.
114
- Reclassification invalidates affected stages while retaining old evidence and spent
115
- review rounds. Source/input/policy changes never reuse old approval. Execution policy
116
- changes cannot be adopted by input refresh: restore pinned policy for current work
117
- or explicitly scope new work while retaining prior history and spent budgets. Audit/plan
118
- baseline hashing still detects source edits after canonical inputs are refreshed.
119
-
120
- ## Dispatch, budget and evidence
121
-
122
- Save a request under `.nccgs/evidence/requests/`:
123
-
124
- ```json
125
- {
126
- "requestKey": "hud-fix-implementation-1",
127
- "kind": "implementation",
128
- "agent": "nccgs-fast-implementer",
129
- "writePaths": ["Assets/Game/UI/PauseButton.cs"],
130
- "reason": "One ready local layout fix with a targeted reference check"
131
- }
132
- ```
133
-
134
- ```text
135
- node .claude/nccgs/tools/task.mjs reserve --id hud-fix --request .nccgs/evidence/requests/hud-fix.json
136
- ```
137
-
138
- Use the returned ID in the Agent prompt prefix `[NCCGS-DISPATCH:ID]`, select the
139
- specified role and task route, and include contract, inputs, ownership and acceptance.
140
- PreToolUse claims the slot with actual session/tool-use identity. SubagentStart binds
141
- an unambiguous agent ID. Foreground PostToolUse completion captures final telemetry.
142
- Use foreground calls; background runs hold slots until correlated
143
- final evidence or external reconciliation. SubagentStop alone cannot prove model,
144
- effort or complete usage. Ambiguous same-role starts are not guessed.
145
-
146
- Review requests use `kind: "review"`, `agent: "nccgs-adversarial-reviewer"`, and
147
- empty writePaths. Analysis requests also have no source ownership. Dispatch ceilings
148
- are 6/12/24 for new FAST/STANDARD/CONTROLLED tasks by default; first reservation may explicitly
149
- set `limits.maxDispatches`, `maxDurationMs`, `maxCostUsd`. Limits are pinned, counted
150
- across descendants, and cannot be raised by another reservation. Review limits are
151
- 2/3/3. Failed, cancelled and uncertain attempts remain spent. Extensions of review
152
- rounds require a reasoned external operator decision and never grant approval.
153
- New implementation ledgers protect four slots within the total: two reviews, one
154
- repair and one read-only QA dispatch. Ordinary `purpose: "delivery"` cannot spend
155
- them. `purpose: "repair"` needs recorded negative review/measured acceptance feedback
156
- and a bounded `workPacket` with exact files, checks and one fresh handoff. Use
157
- `task dispatch-prompt --id TASK --dispatch ID` after reservation. See
158
- [bounded repair](bounded-repair.md) for enforced per-worker allowances;
159
- `purpose: "qa"` uses a QA/verification role after a completed repair with retained feedback.
160
- Audit/plan protect one review slot. Existing ledgers retain their pinned allocation.
161
-
162
- At most two implementation workers can reserve disjoint paths; review/analysis
163
- cannot overlap source writers. Direct edit tools enforce ownership. Opaque shell/MCP
164
- operations are not OS-sandboxed by NCCGS; inspect their actual diff and test effects.
165
- Typed Unity repair requires exclusive project ownership, exact pinned Editor steps
166
- and a source-scope audit. An uncertain Editor operation retains that ownership
167
- even after the native worker returns; its observed usage and handoff remain recorded.
168
- Audit/plan/review block arbitrary shells and unknown tools. Use read tools, declared
169
- analysis artifacts and externally supplied command evidence when required.
170
-
171
- `task verify --id TASK --name CHECK -- EXECUTABLE ARGS` records the actual command,
172
- exit code, bounded timeout, log hash and before/after source snapshot. Claude may
173
- run it only for implementation tasks. The verifier must not change source.
174
- Use `verify --timeout-ms 900000 --background` before `--` for a long real-time
175
- check when no check-specific timeout is configured. The requested timeout is
176
- recorded and pinned to the request key (100..7200000 ms); it cannot exceed an
177
- explicit check timeout or extend the supervisor's overall deadline. Windows jobs
178
- retain all descendants, even detached children: a quick launcher does not let a
179
- 600-second player escape the default 300-second timeout. Keep long collection in
180
- the managed job with a sufficient bound, then validate its retained output.
181
- Do not use WMI or another parent process to escape job ownership. Poll the actual
182
- job with `job-status` or `job-wait --timeout-ms 30000`; do not create sleep-only
183
- verification jobs or keep waiting after the collector has exited.
184
- `task ref --file PATH` produces a `{path,sha256}` reference without inventing evidence.
185
-
186
- Record a completed work stage with a JSON payload (placeholders below must be
187
- replaced with returned values, never copied as observations):
188
-
189
- ```json
190
- {
191
- "snapshot": "ACTUAL_FINAL_SNAPSHOT",
192
- "dispatchId": "ACTUAL_COMPLETED_DISPATCH_ID",
193
- "runtime": { "path": ".nccgs/evidence/runtime/observations/ACTUAL.json", "sha256": "ACTUAL_HASH" },
194
- "checks": [{ "name": "layout-reference", "status": "PASS", "evidence": { "path": ".nccgs/evidence/ACTUAL-check.json", "sha256": "ACTUAL_HASH" } }]
195
- }
196
- ```
197
-
198
- Use `record --id TASK --stage implementation --evidence FILE`. Audit/plan use stage
199
- `analysis` and include `evidence` referencing the declared result artifact. Each
200
- accepted work/review dispatch can be consumed once, including across history.
201
-
202
- Review payload adds `verdict` (`PASS|CHANGES_REQUIRED|BLOCKED`), `criteriaMet`,
203
- `findings`, and a review-artifact `evidence` ref to snapshot/dispatchId/runtime.
204
- Findings include `severity` (`BLOCKER|HIGH|MEDIUM|LOW|INFO`), `status`
205
- (`OPEN|RESOLVED|ACCEPTED`) and `description`. An unresolved BLOCKER/HIGH or unmet
206
- required criterion prevents internal PASS. Review identity must differ from work.
207
- With reviewContractRequired, the completed reviewer's pinned handoff must contain
208
- exactly one nccgs-review JSON block; copy its verdict, criteriaMet, findings and
209
- conditions exactly into the stage payload. Pending conditions block PASS. Follow
210
- [review handoff](review-handoff.md); a coordinator cannot remove those conditions.
211
- For source versions with handoff automation, the coordinator can instead use
212
- `task record-review --id TASK --dispatch ID --file PATH` to import those fields
213
- directly from the completed pinned handoff through the same record gate. The
214
- running worker can first use `task handoff-validate` on its own declared file to
215
- catch structure errors. See [handoff operations](../../../docs/HANDOFF-AUTOMATION.md).
216
- For design revisions, run fixed `task design-compare --id TASK --baseline PINNED_SOURCE
217
- --file DECLARED_CANDIDATE` before the final review and supply its immutable receipt.
218
-
219
- ## Reporting, external review and closure
220
-
221
- ```text
222
- node .claude/nccgs/tools/task.mjs report --id TASK --outcome blocked --summary "Actual blocker and missing evidence"
223
- node .claude/nccgs/tools/task.mjs check --id TASK --target done
224
- node .claude/nccgs/tools/task.mjs close --id TASK
225
- ```
226
-
227
- Reports accept `partial|blocked|failed` even when successful closure is unavailable.
228
- Success requires verified current work and independent review before any report is
229
- written. Generated Markdown includes evidence status and unresolved gates.
230
- `record --stage report` can supply `artifacts` refs for required closure outputs.
231
- Success wording does not override failed checks. Only `close` with all current gates
232
- passing establishes DONE. `inspect` remains usable with changed/malformed policy.
233
-
234
- `export-external --out .nccgs/evidence/external/requests/UNIQUE.json` writes an
235
- immutable task/contract/snapshot packet. An external actor reviews it and imports
236
- a receipt through `import-external --file FILE` outside the Claude executor:
237
-
238
- ```json
239
- {
240
- "schemaVersion": 1,
241
- "id": "REVIEW_ID",
242
- "taskId": "TASK",
243
- "contractHash": "EXPORTED_HASH",
244
- "snapshot": "EXPORTED_SNAPSHOT",
245
- "actor": "ACTUAL_EXTERNAL_REVIEWER",
246
- "verdict": "PASS",
247
- "findings": [],
248
- "reviewedAt": "ACTUAL_ISO_TIMESTAMP",
249
- "source": "ACTUAL_REVIEW_REFERENCE"
250
- }
251
- ```
252
-
253
- Off ignores external closure dependency. Advisory retains current findings without
254
- blocking. Required evaluates all active current receipts; a later empty PASS cannot
255
- erase earlier blocking findings. To replace a prior decision, include
256
- `supersedes: ["PRIOR_RECEIPT_ID"]` and `supersessionReason` identifying the new
257
- evidence. Old findings remain traceable. Stale/duplicate/malformed receipts fail.
258
-
259
- If acceptance is required, an external Product Owner decision references taskId,
260
- contractHash, snapshot, `actor: "Product Owner"`, `decision: "ACCEPTED"`, decidedAt,
261
- statement, reference and each manual gate `{id,decision:"ACCEPTED",reference}`.
262
- Import via `record --stage acceptance` with its evidence ref. Claude cannot accept
263
- on the user's behalf. NCCGS neither launches Astra nor sends external messages.
264
-
265
- ## Recovery and telemetry
266
-
267
- Supervised verification pins the owning run's absolute deadline in its request and
268
- receipt. Its managed command tree ends at the earlier of that deadline and the
269
- check timeout, even if the coordinator exits. A long per-attempt timeout never
270
- extends the approved run. After expiry, existing request keys remain readable but
271
- new attempts are refused. Do not escape this ownership through WMI or services.
272
-
273
- Use `checkpoint --reason TEXT`, `resume`, `dispatch-status` and `telemetry` with
274
- `--id TASK`. Resume preserves reservations, findings, attempts and budgets. A lost
275
- callback or dead worker does not refund a slot by timeout. An external operator can
276
- use `dispatch-reconcile --dispatch ID --request FILE` with `status: failed|cancelled`,
277
- reason and observed reference after confirming the process is no longer running.
278
- Never manually reset the ledger. Missing initialized history or altered durable
279
- evidence fails closed. A crashed lock requires operator inspection before recovery.
280
-
281
- Telemetry reports known subtotals and coverage for duration, tool calls, tokens and
282
- cost. Total is null if any started attempt lacks that metric. Observed zero remains
283
- zero. These are worker measurements; coordinator work, human delay and billing are
284
- not automatically covered. A configured spend/time ceiling cannot interrupt an
285
- already running provider request. Unknown duration still blocks its optional cap.
286
-
287
- When worker cost is missing, `limits.maxCostUsd` can instead use a conservative
288
- supervised-session ceiling. `nccgs run --session-budget-usd` supplies the current
289
- whole-session allowance, including coordinator work. The guard adds verified
290
- terminal costs of every prior supervised session in the task ancestry and requires
291
- that total plus the current allowance fit the original cap. Every started worker
292
- must belong to those sessions; unknown/corrupt prior usage, expired deadlines,
293
- uncovered sessions or missing exclusive supervisor ownership block admission.
294
- Concurrent supervised sessions cannot reuse one project's remaining allowance.
295
- Each reservation records its budget basis and must launch in that same session.
296
- This does not backfill worker telemetry: preserve null cost, never allocate the
297
- session total to a worker or infer it from tokens. Without supervised coverage,
298
- the optional cost cap still requires complete worker measurements. Pinned limits
299
- cannot be unset through another reservation. `dispatch-reconcile` only settles
300
- active/uncertain slots; it does not backfill cost on a completed dispatch.
301
-
302
- For tasks with a pinned `budget-plan`, the root's protected final-review reserve
303
- also applies to every child. Work phases pay for design (including its review),
304
- implementation, checks and repair, leaving the reserved money and time intact.
305
- After recording implementation from the completed native worker and fresh checks,
306
- invoke `node .claude/nccgs/tools/task.mjs report --id TASK --outcome partial --summary "Awaiting protected independent review"`
307
- before ending the work session. A prose PARTIAL response alone does not write the
308
- lifecycle report. Do not dispatch the delivery reviewer inside the work phase.
309
- The external supervisor launches the same task with
310
- `--budget-phase final-review`. That phase may only dispatch independent delivery
311
- reviewers and settle existing evidence; it cannot fund repair or new checks.
312
- Read `task budget-status --id TASK` for the pinned terms and settled spend. A new
313
- session does not reset either allocation. Unknown in-flight cost remains unknown.
314
- If the final reviewer cannot finish, preserve PARTIAL; reserved funds are not a
315
- review verdict or permission to reduce acceptance. Only the external operator
316
- registers the plan before spending; a native worker/coordinator cannot edit it.
317
-
318
- Native capture follows the documented Claude Code [hook inputs and Agent tool
319
- response](https://code.claude.com/docs/en/hooks): resolvedModel/modelsUsed and native
320
- duration/token/tool-use fields when present. It does not invent effort or cost.
321
- Actual field availability and correlation must be confirmed by the real pilot.
322
-
323
- ## Release boundary
324
-
325
- Framework tests and the synthetic five-size benchmark validate mechanics. They
326
- cannot measure model reasoning, game quality or end-to-end team productivity.
327
- The [historical pilot protocol](standalone-pilot.md) describes benchmark controls.
328
- Any qualification of this stable archive needs fresh scoped evidence; package
329
- preparation does not establish it. CP0 remains reference-only and cannot be scored.