nccgs 1.0.0

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 (278) hide show
  1. package/.claude/agents/nccgs-accessibility-specialist.md +26 -0
  2. package/.claude/agents/nccgs-adversarial-reviewer.md +26 -0
  3. package/.claude/agents/nccgs-ai-programmer.md +26 -0
  4. package/.claude/agents/nccgs-analytics-engineer.md +26 -0
  5. package/.claude/agents/nccgs-art-direction-lead.md +26 -0
  6. package/.claude/agents/nccgs-audio-direction-lead.md +26 -0
  7. package/.claude/agents/nccgs-creative-director.md +26 -0
  8. package/.claude/agents/nccgs-documentation-manager.md +26 -0
  9. package/.claude/agents/nccgs-economy-designer.md +26 -0
  10. package/.claude/agents/nccgs-engine-programmer.md +26 -0
  11. package/.claude/agents/nccgs-game-design-lead.md +26 -0
  12. package/.claude/agents/nccgs-game-designer.md +26 -0
  13. package/.claude/agents/nccgs-gameplay-programmer.md +26 -0
  14. package/.claude/agents/nccgs-level-designer.md +26 -0
  15. package/.claude/agents/nccgs-live-ops-designer.md +26 -0
  16. package/.claude/agents/nccgs-localization-lead.md +26 -0
  17. package/.claude/agents/nccgs-narrative-lead.md +26 -0
  18. package/.claude/agents/nccgs-network-programmer.md +26 -0
  19. package/.claude/agents/nccgs-performance-analyst.md +26 -0
  20. package/.claude/agents/nccgs-producer.md +26 -0
  21. package/.claude/agents/nccgs-production-coordinator.md +23 -0
  22. package/.claude/agents/nccgs-programming-lead.md +26 -0
  23. package/.claude/agents/nccgs-prototyper.md +26 -0
  24. package/.claude/agents/nccgs-qa-engineer.md +26 -0
  25. package/.claude/agents/nccgs-qa-lead.md +26 -0
  26. package/.claude/agents/nccgs-release-engineer.md +26 -0
  27. package/.claude/agents/nccgs-release-lead.md +26 -0
  28. package/.claude/agents/nccgs-security-engineer.md +26 -0
  29. package/.claude/agents/nccgs-sound-designer.md +26 -0
  30. package/.claude/agents/nccgs-systems-designer.md +26 -0
  31. package/.claude/agents/nccgs-technical-architect.md +26 -0
  32. package/.claude/agents/nccgs-technical-artist.md +26 -0
  33. package/.claude/agents/nccgs-technical-director.md +26 -0
  34. package/.claude/agents/nccgs-tools-programmer.md +26 -0
  35. package/.claude/agents/nccgs-ui-programmer.md +26 -0
  36. package/.claude/agents/nccgs-unity-build-specialist.md +26 -0
  37. package/.claude/agents/nccgs-unity-content-specialist.md +26 -0
  38. package/.claude/agents/nccgs-unity-implementer.md +26 -0
  39. package/.claude/agents/nccgs-unity-rendering-specialist.md +26 -0
  40. package/.claude/agents/nccgs-unity-systems-specialist.md +26 -0
  41. package/.claude/agents/nccgs-unity-ui-specialist.md +26 -0
  42. package/.claude/agents/nccgs-ux-designer.md +26 -0
  43. package/.claude/agents/nccgs-verification-engineer.md +26 -0
  44. package/.claude/agents/nccgs-world-builder.md +26 -0
  45. package/.claude/agents/nccgs-writer.md +26 -0
  46. package/.claude/nccgs/THIRD_PARTY_NOTICES.md +13 -0
  47. package/.claude/nccgs/VERSION +1 -0
  48. package/.claude/nccgs/constitution.md +131 -0
  49. package/.claude/nccgs/hooks/agent-audit.mjs +10 -0
  50. package/.claude/nccgs/hooks/common.mjs +41 -0
  51. package/.claude/nccgs/hooks/post-compact.mjs +1 -0
  52. package/.claude/nccgs/hooks/pre-compact.mjs +8 -0
  53. package/.claude/nccgs/hooks/protect-git.mjs +22 -0
  54. package/.claude/nccgs/hooks/protect-write.mjs +17 -0
  55. package/.claude/nccgs/hooks/session-start.mjs +15 -0
  56. package/.claude/nccgs/hooks/session-stop.mjs +7 -0
  57. package/.claude/nccgs/protocols/agent-contract.md +34 -0
  58. package/.claude/nccgs/protocols/context-packets.md +13 -0
  59. package/.claude/nccgs/protocols/evidence.md +15 -0
  60. package/.claude/nccgs/protocols/model-routing.md +22 -0
  61. package/.claude/nccgs/protocols/orchestration.md +26 -0
  62. package/.claude/nccgs/protocols/unity-boundary.md +11 -0
  63. package/.claude/nccgs/settings.fragment.json +77 -0
  64. package/.claude/nccgs/studio.json +347 -0
  65. package/.claude/nccgs/tools/configure-models.mjs +39 -0
  66. package/.claude/nccgs/unity-skills-manifest.json +727 -0
  67. package/.claude/nccgs/workflow-catalog.json +317 -0
  68. package/.claude/rules/nccgs-canonical-docs.md +19 -0
  69. package/.claude/rules/nccgs-editor-tools.md +12 -0
  70. package/.claude/rules/nccgs-localization.md +12 -0
  71. package/.claude/rules/nccgs-networking.md +13 -0
  72. package/.claude/rules/nccgs-performance.md +14 -0
  73. package/.claude/rules/nccgs-rendering.md +16 -0
  74. package/.claude/rules/nccgs-security.md +13 -0
  75. package/.claude/rules/nccgs-tests.md +18 -0
  76. package/.claude/rules/nccgs-ui.md +14 -0
  77. package/.claude/rules/nccgs-unity-assets.md +21 -0
  78. package/.claude/rules/nccgs-unity-code.md +22 -0
  79. package/.claude/skills/accessibility-review/SKILL.md +14 -0
  80. package/.claude/skills/architecture-decision/SKILL.md +14 -0
  81. package/.claude/skills/asset-audit/SKILL.md +14 -0
  82. package/.claude/skills/audit/SKILL.md +16 -0
  83. package/.claude/skills/audit/references/dimensions.md +46 -0
  84. package/.claude/skills/balance-review/SKILL.md +14 -0
  85. package/.claude/skills/bug-triage/SKILL.md +14 -0
  86. package/.claude/skills/build-live-game/SKILL.md +317 -0
  87. package/.claude/skills/build-live-game/references/achievements.md +779 -0
  88. package/.claude/skills/build-live-game/references/apis.md +280 -0
  89. package/.claude/skills/build-live-game/references/authentication.md +437 -0
  90. package/.claude/skills/build-live-game/references/battlepass.md +860 -0
  91. package/.claude/skills/build-live-game/references/cloud-code.md +563 -0
  92. package/.claude/skills/build-live-game/references/cloud-save.md +474 -0
  93. package/.claude/skills/build-live-game/references/deployment.md +216 -0
  94. package/.claude/skills/build-live-game/references/player-account.md +813 -0
  95. package/.claude/skills/build-live-game/references/remote-config.md +96 -0
  96. package/.claude/skills/build-live-game/references/tooling.md +431 -0
  97. package/.claude/skills/closure/SKILL.md +14 -0
  98. package/.claude/skills/code-review/SKILL.md +14 -0
  99. package/.claude/skills/compatibility-review/SKILL.md +14 -0
  100. package/.claude/skills/context-pack/SKILL.md +14 -0
  101. package/.claude/skills/dependency-review/SKILL.md +14 -0
  102. package/.claude/skills/design/SKILL.md +20 -0
  103. package/.claude/skills/design-review/SKILL.md +14 -0
  104. package/.claude/skills/evidence-review/SKILL.md +14 -0
  105. package/.claude/skills/hotfix/SKILL.md +14 -0
  106. package/.claude/skills/implement-in-app-purchases/README.md +233 -0
  107. package/.claude/skills/implement-in-app-purchases/SKILL.md +158 -0
  108. package/.claude/skills/implement-in-app-purchases/references/api-notes.md +562 -0
  109. package/.claude/skills/implement-in-app-purchases/references/codeless-catalog.md +331 -0
  110. package/.claude/skills/implement-in-app-purchases/references/convert-adapty.md +268 -0
  111. package/.claude/skills/implement-in-app-purchases/references/convert-essentialkit.md +239 -0
  112. package/.claude/skills/implement-in-app-purchases/references/convert-revenuecat.md +275 -0
  113. package/.claude/skills/implement-in-app-purchases/references/convert-unipay.md +145 -0
  114. package/.claude/skills/implement-in-app-purchases/references/migration-v4-to-v5.md +204 -0
  115. package/.claude/skills/implement-in-app-purchases/references/path-add-iap-to-new-project.md +198 -0
  116. package/.claude/skills/implement-in-app-purchases/references/path-convert-native-google-billing.md +356 -0
  117. package/.claude/skills/implement-in-app-purchases/references/path-convert-native-storekit.md +446 -0
  118. package/.claude/skills/implement-in-app-purchases/references/path-implement-iap-d2c.md +680 -0
  119. package/.claude/skills/implement-in-app-purchases/references/platform-notes.md +204 -0
  120. package/.claude/skills/implement-in-app-purchases/references/pre-check.md +205 -0
  121. package/.claude/skills/incident-recovery/SKILL.md +14 -0
  122. package/.claude/skills/initialize-ai-navigation/SKILL.md +95 -0
  123. package/.claude/skills/initialize-ai-navigation/references/navigation-system.md +794 -0
  124. package/.claude/skills/levelplay-unity-integration/CHANGELOG.md +57 -0
  125. package/.claude/skills/levelplay-unity-integration/README.md +74 -0
  126. package/.claude/skills/levelplay-unity-integration/SKILL.md +1126 -0
  127. package/.claude/skills/levelplay-unity-integration/references/banner-api.md +920 -0
  128. package/.claude/skills/levelplay-unity-integration/references/best-practices.md +536 -0
  129. package/.claude/skills/levelplay-unity-integration/references/ilrd-api.md +337 -0
  130. package/.claude/skills/levelplay-unity-integration/references/initialization-api.md +630 -0
  131. package/.claude/skills/levelplay-unity-integration/references/interstitial-api.md +899 -0
  132. package/.claude/skills/levelplay-unity-integration/references/ios-setup.md +491 -0
  133. package/.claude/skills/levelplay-unity-integration/references/migration-sdk-9.md +666 -0
  134. package/.claude/skills/levelplay-unity-integration/references/privacy-settings.md +608 -0
  135. package/.claude/skills/levelplay-unity-integration/references/rewarded-api.md +902 -0
  136. package/.claude/skills/localization/SKILL.md +135 -0
  137. package/.claude/skills/localization/references/api-notes.md +76 -0
  138. package/.claude/skills/localization/resources/L10nBatchProcessor.cs +69 -0
  139. package/.claude/skills/localization/resources/LocalizedFontAsset.cs +18 -0
  140. package/.claude/skills/localize-game/SKILL.md +14 -0
  141. package/.claude/skills/migrate-project/SKILL.md +21 -0
  142. package/.claude/skills/migrate-project/references/procedure.md +63 -0
  143. package/.claude/skills/milestone-review/SKILL.md +14 -0
  144. package/.claude/skills/new-unity-project/SKILL.md +179 -0
  145. package/.claude/skills/optimize-audio/SKILL.md +199 -0
  146. package/.claude/skills/optimize-audio/resources/audio-import-api.md +146 -0
  147. package/.claude/skills/optimize-audio/resources/platform-settings.md +48 -0
  148. package/.claude/skills/optimize-text-mesh-pro/SKILL.md +182 -0
  149. package/.claude/skills/optimize-web/SKILL.md +393 -0
  150. package/.claude/skills/optimize-web/resources/WebOptimizer.cs +21 -0
  151. package/.claude/skills/optimize-web/resources/toktx-examples.sh +11 -0
  152. package/.claude/skills/performance-audit/SKILL.md +14 -0
  153. package/.claude/skills/physics-3d-collision/SKILL.md +442 -0
  154. package/.claude/skills/physics-3d-collision/references/troubleshooting.md +41 -0
  155. package/.claude/skills/physics-3d-collision/resources/CollisionDebugger.cs +33 -0
  156. package/.claude/skills/plan-feature/SKILL.md +14 -0
  157. package/.claude/skills/playtest/SKILL.md +14 -0
  158. package/.claude/skills/project-stage/SKILL.md +14 -0
  159. package/.claude/skills/prototype-feature/SKILL.md +14 -0
  160. package/.claude/skills/qa-plan/SKILL.md +14 -0
  161. package/.claude/skills/release/SKILL.md +18 -0
  162. package/.claude/skills/release-readiness/SKILL.md +14 -0
  163. package/.claude/skills/retrospective/SKILL.md +14 -0
  164. package/.claude/skills/review/SKILL.md +16 -0
  165. package/.claude/skills/security-audit/SKILL.md +14 -0
  166. package/.claude/skills/setup-multiplayer-services/SKILL.md +39 -0
  167. package/.claude/skills/setup-multiplayer-services/references/dgs-entrypoint.md +79 -0
  168. package/.claude/skills/setup-multiplayer-services/references/entrypoints.md +213 -0
  169. package/.claude/skills/setup-multiplayer-services/references/examples.md +33 -0
  170. package/.claude/skills/setup-multiplayer-services/references/implementation-fit.md +30 -0
  171. package/.claude/skills/setup-multiplayer-services/references/underlying-services.md +11 -0
  172. package/.claude/skills/setup-multiplayer-services/references/workflows-prerequisites.md +17 -0
  173. package/.claude/skills/setup-vivox-voice-chat/SKILL.md +118 -0
  174. package/.claude/skills/setup-vivox-voice-chat/evals/.env.example +6 -0
  175. package/.claude/skills/setup-vivox-voice-chat/evals/README.md +101 -0
  176. package/.claude/skills/setup-vivox-voice-chat/evals/promptfooconfig.yaml +32 -0
  177. package/.claude/skills/setup-vivox-voice-chat/evals/tests/init-and-login.yaml +76 -0
  178. package/.claude/skills/setup-vivox-voice-chat/evals/tests/text-chat.yaml +65 -0
  179. package/.claude/skills/setup-vivox-voice-chat/evals/tests/voice-channels.yaml +74 -0
  180. package/.claude/skills/setup-vivox-voice-chat/references/events-and-participants.md +79 -0
  181. package/.claude/skills/setup-vivox-voice-chat/references/init-and-login.md +92 -0
  182. package/.claude/skills/setup-vivox-voice-chat/references/text-chat.md +93 -0
  183. package/.claude/skills/setup-vivox-voice-chat/references/troubleshooting.md +47 -0
  184. package/.claude/skills/setup-vivox-voice-chat/references/voice-channels.md +90 -0
  185. package/.claude/skills/shader-graph-create-custom-node/SKILL.md +25 -0
  186. package/.claude/skills/shader-graph-create-custom-node/resources/all_hints.hlsl +182 -0
  187. package/.claude/skills/sprint-plan/SKILL.md +14 -0
  188. package/.claude/skills/sprite-editor/SKILL.md +66 -0
  189. package/.claude/skills/sprite-editor/references/api_reference.md +151 -0
  190. package/.claude/skills/sprite-editor/references/background.md +112 -0
  191. package/.claude/skills/sprite-editor/references/templates.md +72 -0
  192. package/.claude/skills/sprite-editor/scripts/AutomaticSliceTexture.cs +40 -0
  193. package/.claude/skills/sprite-editor/scripts/GenerateNewSpriteRects.cs +200 -0
  194. package/.claude/skills/sprite-editor/scripts/GetTextureSourceImageSize.cs +32 -0
  195. package/.claude/skills/sprite-editor/scripts/GetTextureToSlice.cs +55 -0
  196. package/.claude/skills/sprite-editor/scripts/GridSliceTexture.cs +40 -0
  197. package/.claude/skills/sprite-editor/scripts/IsometricSliceTexture.cs +141 -0
  198. package/.claude/skills/sprite-editor/scripts/README.md +134 -0
  199. package/.claude/skills/sprite-editor/scripts/SetPivotExample.cs +58 -0
  200. package/.claude/skills/sprite-editor/scripts/SpriteToPng.cs +88 -0
  201. package/.claude/skills/status/SKILL.md +16 -0
  202. package/.claude/skills/story-readiness/SKILL.md +14 -0
  203. package/.claude/skills/test/SKILL.md +16 -0
  204. package/.claude/skills/ui/SKILL.md +142 -0
  205. package/.claude/skills/ui-imgui/SKILL.md +186 -0
  206. package/.claude/skills/ui-imgui/references/gui-elements.md +156 -0
  207. package/.claude/skills/ui-imgui/references/templates.md +141 -0
  208. package/.claude/skills/ui-review/SKILL.md +14 -0
  209. package/.claude/skills/ui-ugui/SKILL.md +282 -0
  210. package/.claude/skills/ui-ugui/references/scrollview-setup.md +29 -0
  211. package/.claude/skills/ui-uitk/SKILL.md +235 -0
  212. package/.claude/skills/ui-uitk/references/common-issues.md +74 -0
  213. package/.claude/skills/ui-uitk/references/custom-elements.md +241 -0
  214. package/.claude/skills/ui-uitk/references/painter2d.md +282 -0
  215. package/.claude/skills/ui-uitk/references/pointermanipulator-guide.md +94 -0
  216. package/.claude/skills/ui-uitk/references/svg-icons.md +136 -0
  217. package/.claude/skills/ui-uitk/references/ui-runtime-binding.md +234 -0
  218. package/.claude/skills/ui-uitk/references/uss-guide.md +138 -0
  219. package/.claude/skills/unity-cli/CHANGELOG.md +233 -0
  220. package/.claude/skills/unity-cli/SECURITY.md +22 -0
  221. package/.claude/skills/unity-cli/SKILL.md +414 -0
  222. package/.claude/skills/unity-cli/references/auth-license-cloud.md +146 -0
  223. package/.claude/skills/unity-cli/references/build-run-test.md +349 -0
  224. package/.claude/skills/unity-cli/references/collaboration.md +472 -0
  225. package/.claude/skills/unity-cli/references/config-hub.md +103 -0
  226. package/.claude/skills/unity-cli/references/diagnostics-maintenance.md +326 -0
  227. package/.claude/skills/unity-cli/references/editors-install.md +327 -0
  228. package/.claude/skills/unity-cli/references/integration-advanced.md +472 -0
  229. package/.claude/skills/unity-cli/references/projects-templates.md +574 -0
  230. package/.claude/skills/unity-package-management/SKILL.md +304 -0
  231. package/.claude/skills/unity-package-management/references/select-packages.md +108 -0
  232. package/.claude/skills/urp-postprocessing/SKILL.md +188 -0
  233. package/.claude/skills/urp-postprocessing/references/code-templates.md +119 -0
  234. package/.claude/skills/urp-postprocessing/references/effect-reference.md +86 -0
  235. package/.claude/skills/validate-urp-render-graph-renderer-feature/SKILL.md +269 -0
  236. package/.claude/skills/work/SKILL.md +36 -0
  237. package/.claude/skills/work/references/classification.md +41 -0
  238. package/.claude/skills/work/references/closure.md +50 -0
  239. package/.claude/skills/work/references/feature-contracts.md +32 -0
  240. package/.claude/skills/work/references/verification.md +26 -0
  241. package/CLAUDE.md +6 -0
  242. package/LICENSE +21 -0
  243. package/README.md +162 -0
  244. package/THIRD_PARTY_NOTICES.md +23 -0
  245. package/UPGRADING.md +32 -0
  246. package/VERSION +1 -0
  247. package/docs/ARCHITECTURE.md +73 -0
  248. package/docs/HUONG-DAN-MIGRATE-VA-SU-DUNG.md +324 -0
  249. package/docs/MIGRATION-MATRIX.md +23 -0
  250. package/docs/PROJECT-POLICY.md +67 -0
  251. package/docs/WORKFLOWS.md +61 -0
  252. package/package-assets/setup-vivox-voice-chat-evals.gitignore +7 -0
  253. package/package.json +41 -0
  254. package/scaffold/.nccgs/bugs/.gitkeep +1 -0
  255. package/scaffold/.nccgs/closures/.gitkeep +1 -0
  256. package/scaffold/.nccgs/context/.gitkeep +1 -0
  257. package/scaffold/.nccgs/decisions/.gitkeep +1 -0
  258. package/scaffold/.nccgs/evidence/.gitkeep +1 -0
  259. package/scaffold/.nccgs/features/.gitkeep +1 -0
  260. package/scaffold/.nccgs/migrations/.gitkeep +1 -0
  261. package/scaffold/.nccgs/playtests/.gitkeep +1 -0
  262. package/scaffold/.nccgs/project.yaml +103 -0
  263. package/scaffold/.nccgs/requirements.yaml +10 -0
  264. package/scaffold/.nccgs/reviews/.gitkeep +1 -0
  265. package/scaffold/.nccgs/state.md +40 -0
  266. package/scaffold/.nccgs/templates/agent-handoff.md +25 -0
  267. package/scaffold/.nccgs/templates/architecture-decision.md +27 -0
  268. package/scaffold/.nccgs/templates/closure-record.md +51 -0
  269. package/scaffold/.nccgs/templates/context-packet.yaml +17 -0
  270. package/scaffold/.nccgs/templates/evidence-record.md +23 -0
  271. package/scaffold/.nccgs/templates/feature-contract.md +35 -0
  272. package/scaffold/.nccgs/templates/migration-plan.md +40 -0
  273. package/scaffold/.nccgs/templates/waiver.md +11 -0
  274. package/scripts/cli.mjs +56 -0
  275. package/scripts/install.mjs +267 -0
  276. package/scripts/sync-unity-skills.mjs +126 -0
  277. package/scripts/validate.mjs +205 -0
  278. package/tests/framework.test.mjs +121 -0
package/CLAUDE.md ADDED
@@ -0,0 +1,6 @@
1
+ # NCCGS project bootstrap
2
+
3
+ @.claude/nccgs/constitution.md
4
+
5
+ Project-specific decisions live in `.nccgs/project.yaml`. Keep this file small;
6
+ put local additions in that policy file or in canonical project documents.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Donchitos
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,162 @@
1
+ # NCCGS
2
+
3
+ NCCGS is a Unity-first studio operating system for Claude Code. It combines the
4
+ specialization of a full game-development team with project-aware governance,
5
+ bounded orchestration, configurable model routing, official Unity Skills, objective
6
+ evidence, and strict closure.
7
+
8
+ Version 1.0 contains:
9
+
10
+ - 45 studio agents across leadership, design, programming, Unity, content, quality,
11
+ and release;
12
+ - 36 composable NCCGS workflows with eight primary entrypoints;
13
+ - 11 path-scoped project rules;
14
+ - 8 cross-platform Node lifecycle/safety hooks;
15
+ - 22 unmodified official Unity Skills with a SHA-256 manifest;
16
+ - brownfield migration, context packets, evidence records, closure modes, model
17
+ profiles, installer backup, and behavioral framework tests.
18
+
19
+ ## Operating architecture
20
+
21
+ ```text
22
+ Product Owner
23
+ -> Claude Code primary orchestrator
24
+ -> NCCGS policy, context packet, risk and model router
25
+ -> specialized studio roles (bounded to one delegation level)
26
+ -> official Unity Skills
27
+ -> Unity CLI/Pipeline and Editor
28
+ -> independent evidence, review, and closure
29
+ ```
30
+
31
+ NCCGS does not simulate a hierarchy for ceremony. It selects specialized roles when
32
+ their domain knowledge or isolation improves the result. The primary session owns
33
+ the execution graph, assigns one writer per path, and keeps implementation separate
34
+ from independent verification.
35
+
36
+ ## Install
37
+
38
+ Requirements: Claude Code, Node.js, a Unity project, and Unity CLI/Pipeline when live
39
+ Editor automation is needed.
40
+
41
+ Open PowerShell in the Unity project root, or `cd` into it, then run:
42
+
43
+ ```powershell
44
+ npx nccgs@latest install --dry-run
45
+ npx nccgs@latest install
46
+ ```
47
+
48
+ For an existing NCCGS installation:
49
+
50
+ ```powershell
51
+ npx nccgs@latest install --dry-run
52
+ npx nccgs@latest install --force
53
+ ```
54
+
55
+ The current directory is the installation target. `--project <directory>` remains
56
+ available for automation, but is not needed for ordinary use.
57
+
58
+ The installer validates the package, backs up replaced framework/settings files to
59
+ `.nccgs/backups/<timestamp>/`, copies `.claude/`, initializes missing `.nccgs/`
60
+ scaffold files without overwriting project truth, merges managed hooks into shared
61
+ `.claude/settings.json`, configures agent models, and adds the NCCGS constitution
62
+ import to `CLAUDE.md`.
63
+
64
+ Select a model profile during installation when needed:
65
+
66
+ ```powershell
67
+ npx nccgs@latest install --force --model-profile quality
68
+ npx nccgs@latest install --force --model-profile balanced
69
+ npx nccgs@latest install --force --model-profile inherit
70
+ ```
71
+
72
+ Open a new Claude Code session after installation. Run `/migrate-project review` for
73
+ an existing project; installing framework files alone is not migration.
74
+
75
+ ## Model routing
76
+
77
+ | Profile | Lightweight | Standard | Deep | Leadership |
78
+ |---|---|---|---|---|
79
+ | `quality` (default) | Haiku | Sonnet | Opus | Opus |
80
+ | `balanced` | Haiku | Sonnet | Opus | Sonnet |
81
+ | `inherit` | Session model | Session model | Session model | Session model |
82
+
83
+ Role selection happens before model selection. Risk may escalate a task, but a title
84
+ alone does not justify Opus. If a pinned model is unavailable or conflicts with the
85
+ current context mode, project policy can allow the primary session to continue using
86
+ the inherited model and report the fallback.
87
+
88
+ Reconfigure an installed project:
89
+
90
+ ```powershell
91
+ node .\.claude\nccgs\tools\configure-models.mjs --project . --profile inherit
92
+ ```
93
+
94
+ ## Primary workflows
95
+
96
+ | Command | Purpose |
97
+ |---|---|
98
+ | `/work` | End-to-end implementation, bug fix, refactor, tooling, or content integration |
99
+ | `/design` | Player-facing design and canonical requirements |
100
+ | `/audit` | Read-only multidomain diagnosis and gap analysis |
101
+ | `/migrate-project` | Review, plan, apply, or verify adoption/upgrades |
102
+ | `/test` | Requirement-based automated/runtime/build verification |
103
+ | `/review` | Independent adversarial review |
104
+ | `/release` | Reproducible release candidate and guarded external actions |
105
+ | `/status` | Current work, roles/models, evidence, blockers, closure, and next action |
106
+
107
+ Thirty-six discoverable workflows include focused modules for architecture decisions,
108
+ context packets, story readiness, code/design/evidence review, closure, QA planning,
109
+ triage, performance, security, accessibility, balance, prototypes, playtests,
110
+ localization, hotfixes, milestones, assets, compatibility, incidents, and UI review.
111
+ Ordinary natural-language requests still work; the user does not need to manually
112
+ chain these modules.
113
+
114
+ ## Project-owned state
115
+
116
+ ```text
117
+ .nccgs/
118
+ project.yaml authority, model, studio, context, ownership and gate policy
119
+ state.md compact recovery checkpoint
120
+ requirements.yaml targeted requirement registry
121
+ context/ task-specific source and ownership maps
122
+ features/ persistent STANDARD/CONTROLLED contracts and plans
123
+ decisions/ durable architecture decisions
124
+ evidence/ test/runtime/build evidence
125
+ reviews/ independent review artifacts when persistence adds value
126
+ closures/ canonical feature closure records
127
+ migrations/ migration and upgrade plans/ledgers
128
+ backups/ local installer backups, ignored by Git
129
+ runtime/ local hook audit events, ignored by Git
130
+ ```
131
+
132
+ Existing GDDs, ADRs, reports, registers, tests, and asset layouts stay where the
133
+ project already owns them. Map their semantic roles in `project.yaml`.
134
+
135
+ ## Official Unity Skills
136
+
137
+ Unity Skills under `.claude/skills/` are an unmodified snapshot from
138
+ `Unity-Technologies/skills`. NCCGS roles define intent and constraints; official
139
+ skills define current Unity operation mechanics. Project-specific conventions belong
140
+ in `.nccgs/project.yaml`, not in vendored skill files.
141
+
142
+ ```powershell
143
+ node .\scripts\sync-unity-skills.mjs --source "D:\path\to\UnitySkills" --dry-run
144
+ node .\scripts\sync-unity-skills.mjs --source "D:\path\to\UnitySkills"
145
+ npm run validate
146
+ ```
147
+
148
+ ## Validate NCCGS
149
+
150
+ ```powershell
151
+ npm run validate
152
+ npm test
153
+ ```
154
+
155
+ Validation covers catalogs, model assignments, delegation boundaries, hooks, schema,
156
+ links, official Unity Skill hashes, and installer structure. Behavioral tests cover
157
+ role references, model reconfiguration, destructive-command blocking, and installer
158
+ dry-run behavior.
159
+
160
+ See [architecture](docs/ARCHITECTURE.md), [workflows](docs/WORKFLOWS.md),
161
+ [project policy](docs/PROJECT-POLICY.md), [migration matrix](docs/MIGRATION-MATRIX.md),
162
+ and the [Vietnamese migration and usage guide](docs/HUONG-DAN-MIGRATE-VA-SU-DUNG.md).
@@ -0,0 +1,23 @@
1
+ # Third-party notices
2
+
3
+ ## Claude Code Game Studios
4
+
5
+ NCCGS was informed by the workflow, traceability, brownfield adoption, and QA
6
+ ideas in Donchitos/Claude-Code-Game-Studios. The supplied source is MIT licensed.
7
+ NCCGS replaces its multi-engine agent hierarchy rather than redistributing that
8
+ hierarchy verbatim.
9
+
10
+ Source: https://github.com/Donchitos/Claude-Code-Game-Studios
11
+
12
+ ## Unity Skills
13
+
14
+ The directories identified in `.claude/nccgs/unity-skills-manifest.json` are an
15
+ unmodified snapshot of Unity Technologies' Unity Skills. Unity Skills are
16
+ copyright Unity Technologies and are governed by the Unity Companion License for
17
+ Unity-dependent projects.
18
+
19
+ Source: https://github.com/Unity-Technologies/skills
20
+
21
+ License: https://unity3d.com/legal/licenses/unity_companion_license
22
+
23
+ Do not remove this notice when redistributing NCCGS with the vendored snapshot.
package/UPGRADING.md ADDED
@@ -0,0 +1,32 @@
1
+ # Upgrading NCCGS
2
+
3
+ Always inspect a dry run and preserve project policy.
4
+
5
+ ```powershell
6
+ cd "D:\path\to\UnityProject"
7
+ npx nccgs@latest install --dry-run
8
+ npx nccgs@latest install --force
9
+ ```
10
+
11
+ Version 1.0 is a framework and policy-schema upgrade from 0.2. The installer updates
12
+ framework files and merges managed hooks, but deliberately does not overwrite an
13
+ existing `.nccgs/project.yaml`. After installation, open a new Claude Code session
14
+ and run:
15
+
16
+ ```text
17
+ /migrate-project review
18
+ /migrate-project plan
19
+ /migrate-project apply
20
+ /migrate-project verify
21
+ /status full
22
+ ```
23
+
24
+ The migration plan must move schema 1 policy to schema 2, choose a model profile,
25
+ enable departments, configure context packets and orchestration, preserve closure
26
+ artifacts, verify hooks, and resolve obsolete global skills. Keep
27
+ `.claude/settings.local.json` local. Commit shared `.claude/` and `.nccgs/`; nested
28
+ `.nccgs/.gitignore` excludes backups and runtime audit events.
29
+
30
+ Use `--model-profile inherit` during installation if pinned models are unavailable.
31
+ All replaced shared framework/settings files are backed up under
32
+ `.nccgs/backups/<timestamp>/`.
package/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,73 @@
1
+ # NCCGS architecture
2
+
3
+ ## Design objective
4
+
5
+ NCCGS optimizes correctness, specialization, context efficiency, recoverability, and
6
+ evidence. File or agent count is not an objective. A component exists when it owns a
7
+ distinct decision surface, failure mode, artifact, or verification lens.
8
+
9
+ ## Layers
10
+
11
+ 1. **Kernel** — constitution, authority, project policy, ownership, state, closure.
12
+ 2. **Router** — domain/risk classification, model profile, context packet, execution
13
+ graph and write ownership.
14
+ 3. **Studio roles** — 45 leadership, lead, specialist, Unity, quality, and release
15
+ agents with shared handoff contracts.
16
+ 4. **Workflow modules** — 36 composable skills with eight user-facing entrypoints.
17
+ 5. **Unity operations** — unmodified official Unity Skills and Unity CLI/Pipeline.
18
+ 6. **Automation** — Node hooks for recovery, audit and safety.
19
+ 7. **Evaluation** — structural validation and executable behavioral tests.
20
+
21
+ ## Bounded orchestration
22
+
23
+ The primary Claude Code session is the sole orchestrator. It constructs a DAG,
24
+ selects the smallest complete role set, passes a context packet, assigns one writer
25
+ per path, and merges handoffs. Studio agents do not recursively delegate.
26
+
27
+ This preserves domain decomposition while preventing context-amplifying chains such
28
+ as director → lead → engine lead → specialist. Read-only agents may run concurrently;
29
+ overlapping writes are serialized.
30
+
31
+ ## Context architecture
32
+
33
+ The feature contract stores approved scope. The context packet stores the current
34
+ working-set map: source anchors and revisions, decision summaries, ownership,
35
+ dependencies, verification, and reasons for any full-source read. Agents receive the
36
+ packet path and exact responsibility rather than copies of every canonical document.
37
+
38
+ State, packets, and handoffs are file-backed so compaction and session restarts do not
39
+ require reconstructing truth from chat history.
40
+
41
+ ## Model architecture
42
+
43
+ Each catalog role has a capability class: lightweight, standard, deep, or leadership.
44
+ An installation profile compiles that class into agent frontmatter. The package
45
+ defaults to quality but supports balanced and inherit profiles without duplicating
46
+ agent prompts.
47
+
48
+ The router selects role/domain first and model second. Risk escalation is evidence
49
+ based. Project policy records fallback behavior so model availability failure does
50
+ not become an unexplained task blocker.
51
+
52
+ ## Unity boundary
53
+
54
+ NCCGS does not copy Unity API/CLI procedures into agent prompts. Studio roles own
55
+ product and technical intent; official Unity Skills own operation mechanics. The
56
+ SHA-256 manifest makes upstream modifications visible.
57
+
58
+ ## Evidence and closure
59
+
60
+ Implementation and verification are separate work nodes. STANDARD work normally has
61
+ independent verification; CONTROLLED work adds adversarial review. Evidence is mapped
62
+ to requirements and source revision.
63
+
64
+ One canonical closure record links existing project artifacts. `lean`, `linked`, and
65
+ `strict` policies determine what blocks DONE. Waivers are item-specific and retain
66
+ Product Owner authority.
67
+
68
+ ## Extension rules
69
+
70
+ Add a role only for a distinct domain contract. Add a workflow when a repeated
71
+ sequence, gate, or artifact benefits from independent discovery and testing. Put
72
+ conditional detail in references. Do not modify official Unity Skills for local
73
+ policy, and do not hard-code one project's paths in framework files.
@@ -0,0 +1,324 @@
1
+ # Hướng dẫn migrate và sử dụng NCCGS 1.0
2
+
3
+ NCCGS 1.0 là studio operating system dành cho Unity project trong Claude Code. Nó
4
+ không thay thế cách chat trực tiếp; nó tự phân loại rủi ro, chọn workflow, agent và
5
+ model phù hợp, sử dụng official Unity Skills, thu thập bằng chứng và áp dụng closure.
6
+
7
+ ## 1. Thành phần
8
+
9
+ - 45 studio agents chuyên biệt.
10
+ - 36 NCCGS workflows; 8 entrypoint chính.
11
+ - 3 model profiles: `quality`, `balanced`, `inherit`.
12
+ - 11 path-scoped rules.
13
+ - 8 Node hooks cho recovery, audit và safety.
14
+ - 22 official Unity Skills giữ nguyên và kiểm tra hash.
15
+
16
+ ```text
17
+ Bạn
18
+ -> Claude Code chính
19
+ -> NCCGS router (domain + risk + model)
20
+ -> studio agents cần thiết
21
+ -> official Unity Skills + Unity CLI/Pipeline
22
+ -> evidence + review + closure
23
+ ```
24
+
25
+ Claude Code chính là orchestrator duy nhất. Agent không tự tạo thêm cây subagent.
26
+ Mỗi path chỉ có một writing owner trong một batch.
27
+
28
+ ## 2. Cài mới hoặc cập nhật
29
+
30
+ Trong PowerShell:
31
+
32
+ ```powershell
33
+ cd "D:\path\to\UnityProject"
34
+ npx nccgs@latest install --dry-run
35
+ npx nccgs@latest install
36
+ ```
37
+
38
+ Nếu project đã có NCCGS:
39
+
40
+ ```powershell
41
+ npx nccgs@latest install --dry-run
42
+ npx nccgs@latest install --force
43
+ ```
44
+
45
+ NCCGS mặc định cài vào directory hiện tại. Bạn không cần truyền đường dẫn project;
46
+ hãy mở PowerShell tại Unity project root hoặc dùng `cd` đến đó trước.
47
+
48
+ Installer sẽ:
49
+
50
+ 1. validate NCCGS;
51
+ 2. backup file framework/settings bị thay thế vào `.nccgs/backups/<timestamp>/`;
52
+ 3. cập nhật `.claude/`;
53
+ 4. chỉ tạo những scaffold file `.nccgs/` còn thiếu, không ghi đè project truth;
54
+ 5. merge NCCGS hooks vào `.claude/settings.json` mà không xóa settings khác;
55
+ 6. cấu hình model cho agents;
56
+ 7. thêm NCCGS import vào `CLAUDE.md`.
57
+
58
+ Sau khi cài, đóng phiên Claude Code cũ và mở phiên mới tại project root.
59
+
60
+ ## 3. Chọn model profile
61
+
62
+ | Profile | Cách dùng |
63
+ |---|---|
64
+ | `quality` | Mặc định; Opus cho deep/leadership, Sonnet cho implementation, Haiku cho việc nhẹ |
65
+ | `balanced` | Giữ Opus cho deep reasoning, leadership thông thường chạy Sonnet |
66
+ | `inherit` | Bỏ toàn bộ model pin; agents dùng model của phiên chính |
67
+
68
+ Cài với profile cụ thể:
69
+
70
+ ```powershell
71
+ npx nccgs@latest install --force --model-profile quality
72
+ ```
73
+
74
+ Đổi profile trong project đã cài:
75
+
76
+ ```powershell
77
+ node .\.claude\nccgs\tools\configure-models.mjs --project . --profile inherit
78
+ ```
79
+
80
+ Profile được ghi trong `.nccgs/project.yaml`. Nếu model pin không dùng được với tài
81
+ khoản hoặc context mode hiện tại, dùng `inherit` hoặc cho phép inherit fallback.
82
+
83
+ ## 4. Migrate project cũ
84
+
85
+ Migration gồm bốn bước:
86
+
87
+ ```text
88
+ review -> plan -> apply -> verify
89
+ ```
90
+
91
+ ### Review
92
+
93
+ ```text
94
+ /migrate-project review
95
+ ```
96
+
97
+ Review là read-only. Nó phải tìm canonical sources, architecture, ownership,
98
+ protected paths, Unity tooling, tests/baselines, reports/registers/checklists, global
99
+ skills xung đột, model policy, hooks, local settings và Git state.
100
+
101
+ Mỗi artifact nhận một nhãn: KEEP, ADAPT, MIGRATE, DEPRECATE, REMOVE hoặc MISSING.
102
+
103
+ ### Plan
104
+
105
+ ```text
106
+ /migrate-project plan
107
+ ```
108
+
109
+ Plan phải có policy schema 2 được đề xuất, batches có rollback, model profile,
110
+ departments, context packets, hook merge, Unity integration, verification, closure,
111
+ Git tracking và những quyết định Product Owner cần chốt.
112
+
113
+ Hai quyết định thường gặp:
114
+
115
+ ```text
116
+ D1: Use strict closure mode. Keep existing implementation reports, register
117
+ entries, evidence, and safety checklists as required linked artifacts. They block
118
+ DONE unless an item-specific Product Owner waiver exists.
119
+
120
+ D2: Commit shared .claude/ and .nccgs/ framework and policy to Git. Keep
121
+ .claude/settings.local.json local. Ignore only .nccgs/backups/ and .nccgs/runtime/.
122
+ ```
123
+
124
+ ### Apply
125
+
126
+ ```text
127
+ /migrate-project apply
128
+ ```
129
+
130
+ Claude áp dụng từng batch, xem diff, validate và cập nhật ledger trước khi sang batch
131
+ tiếp theo. Xóa dữ liệu, đổi canon/gameplay, dependency/service, compatibility hoặc
132
+ migration không thể hoàn tác cần bạn phê duyệt.
133
+
134
+ ### Verify
135
+
136
+ ```text
137
+ /migrate-project verify
138
+ /status full
139
+ ```
140
+
141
+ Verify kiểm tra schema 2, model routing/fallback, 45 agent files, 36 workflow files,
142
+ hooks, context packet, official Unity Skill hashes, CLI/Pipeline, compile/tests,
143
+ baseline, evidence mapping và closure gate.
144
+
145
+ `VERIFIED, not DONE` không phải lỗi nếu artifact, decision hoặc PO gate còn thiếu.
146
+
147
+ ## 5. Dùng NCCGS hằng ngày
148
+
149
+ Bạn có thể chat như trước:
150
+
151
+ ```text
152
+ Implement campaign walkthrough sessions C–G from the canonical design documents.
153
+ Preserve protected tuning values and verify the result in Unity.
154
+ ```
155
+
156
+ NCCGS sẽ tự chọn:
157
+
158
+ - risk tier FAST/STANDARD/CONTROLLED;
159
+ - domains và studio roles;
160
+ - model theo profile;
161
+ - context packet và working set;
162
+ - tests, runtime/build evidence và review cần thiết;
163
+ - closure artifacts và PO gates.
164
+
165
+ ### Entry commands
166
+
167
+ | Command | Dùng khi |
168
+ |---|---|
169
+ | `/work` | Implement/fix/refactor/integrate hoàn chỉnh |
170
+ | `/design` | Thiết kế hoặc thay đổi player-facing semantics |
171
+ | `/audit` | Chẩn đoán read-only |
172
+ | `/migrate-project` | Cài/migrate/nâng cấp framework |
173
+ | `/test` | Thu thập bằng chứng objective |
174
+ | `/review` | Review độc lập, không sửa |
175
+ | `/release` | Tạo release candidate |
176
+ | `/status` | Xem trạng thái, model, agents, evidence và blockers |
177
+
178
+ Các workflow chuyên biệt như `/architecture-decision`, `/code-review`,
179
+ `/performance-audit`, `/security-audit`, `/balance-review`, `/playtest`, `/hotfix`,
180
+ `/incident-recovery` có thể gọi trực tiếp, nhưng thông thường `/work` tự phối hợp.
181
+
182
+ ## 6. Context packet
183
+
184
+ STANDARD và CONTROLLED work dùng:
185
+
186
+ ```text
187
+ .nccgs/context/<feature-id>.yaml
188
+ ```
189
+
190
+ Packet chứa link/anchor tới requirements, decisions, ownership, dependencies và
191
+ verification; nó không copy toàn bộ GDD/ADR. Agent chỉ đọc full source khi summary
192
+ thiếu, stale, mâu thuẫn hoặc risk yêu cầu.
193
+
194
+ Nếu muốn chuẩn bị riêng:
195
+
196
+ ```text
197
+ /context-pack FEATURE-ID
198
+ /story-readiness FEATURE-ID
199
+ /plan-feature FEATURE-ID
200
+ ```
201
+
202
+ ## 7. Model và agents hoạt động thế nào?
203
+
204
+ NCCGS chọn domain role trước rồi áp model class. Ví dụ:
205
+
206
+ ```text
207
+ CONTROLLED save migration
208
+ -> technical architect (Opus)
209
+ -> engine/network specialists (Sonnet)
210
+ -> verification engineer (Sonnet)
211
+ -> adversarial reviewer (Opus)
212
+ ```
213
+
214
+ Một bug FAST thường không gọi cả studio. Một feature UI STANDARD có thể dùng UX,
215
+ accessibility, UI programmer, Unity UI specialist và verification, nhưng các phần
216
+ read-only/không trùng ownership mới được chạy song song.
217
+
218
+ ## 8. Evidence và closure
219
+
220
+ - IMPLEMENTED: thay đổi tồn tại.
221
+ - VERIFIED: bằng chứng objective chứng minh requirement.
222
+ - VALIDATED: subjective gate đã được bạn chấp nhận.
223
+ - DONE: mọi objective, artifact và PO gate bắt buộc đã đóng.
224
+
225
+ Implementation không tự chứng minh chính nó. STANDARD work nên có independent
226
+ verification; CONTROLLED work có adversarial review.
227
+
228
+ Closure modes:
229
+
230
+ - `lean`: closure record đủ, link khác optional;
231
+ - `linked`: artifact `required` chặn DONE;
232
+ - `strict`: mọi artifact/checklist khai báo chặn DONE nếu không có waiver cụ thể.
233
+
234
+ Không hạ closure mode chỉ để trạng thái chuyển xanh.
235
+
236
+ ## 9. Git
237
+
238
+ Khuyến nghị commit:
239
+
240
+ ```text
241
+ .claude/
242
+ .nccgs/
243
+ CLAUDE.md
244
+ ```
245
+
246
+ Không commit:
247
+
248
+ ```text
249
+ .claude/settings.local.json
250
+ .nccgs/backups/
251
+ .nccgs/runtime/
252
+ ```
253
+
254
+ Nested `.nccgs/.gitignore` đã bỏ qua backup và runtime events.
255
+
256
+ Sau migration:
257
+
258
+ ```powershell
259
+ git add .claude .nccgs CLAUDE.md
260
+ git status --short
261
+ git commit -m "chore: adopt NCCGS 1.0 studio workflow"
262
+ ```
263
+
264
+ Luôn đọc diff trước commit.
265
+
266
+ ## 10. Xử lý blocker thường gặp
267
+
268
+ ### Global Unity MCP skill còn hoạt động
269
+
270
+ Di chuyển/xóa legacy global skill khỏi user skills directory, mở phiên Claude mới,
271
+ rồi chạy `/status full`. Đây không phải 22 official Unity Skills trong project.
272
+
273
+ ### Report thiếu register entry
274
+
275
+ Đọc từng report, dùng report và Git history để backfill. Không đoán commit. Nếu không
276
+ xác định được, ghi unknown và để item bị block cho tới khi có quyết định/waiver riêng.
277
+
278
+ ### Model agent không spawn được
279
+
280
+ Chuyển sang `inherit`, mở phiên mới và verify routing. Đừng coi lỗi model/context là
281
+ lỗi implementation.
282
+
283
+ ### `project.yaml` vẫn schema 1/template
284
+
285
+ Installer không ghi đè policy. Chạy lại migration plan/apply để nâng schema và map
286
+ project truth.
287
+
288
+ ### Hook xung đột settings cũ
289
+
290
+ Xem `.claude/settings.json` và bản backup timestamp. Installer chỉ thay các hook có
291
+ command `.claude/nccgs/hooks/`, giữ nhóm hook và permission khác.
292
+
293
+ ## 11. Validate và rollback
294
+
295
+ Trong NCCGS source:
296
+
297
+ ```powershell
298
+ npm run validate
299
+ npm test
300
+ ```
301
+
302
+ Nếu upgrade lỗi, dừng thay đổi mới, xem `.nccgs/backups/<timestamp>/`, phục hồi đúng
303
+ file framework/settings hoặc Git revert commit nâng cấp, mở phiên mới, rồi chạy
304
+ `/migrate-project verify`. Không dùng destructive reset khi worktree còn dữ liệu.
305
+
306
+ ## 12. Checklist hoàn tất migration
307
+
308
+ - [ ] Project policy dùng schema 2.
309
+ - [ ] Canonical sources và ownership được map.
310
+ - [ ] Model profile/fallback được quyết định.
311
+ - [ ] Departments và orchestration depth được cấu hình.
312
+ - [ ] Context packet mẫu hoạt động.
313
+ - [ ] Managed Node hooks hoạt động.
314
+ - [ ] Official Unity Skills khớp manifest.
315
+ - [ ] Unity CLI/Pipeline và compile/tests đạt baseline.
316
+ - [ ] D1 closure và D2 Git tracking được ghi nhận.
317
+ - [ ] Legacy routing conflicts được xử lý.
318
+ - [ ] Closure gate chặn đúng artifact thiếu.
319
+ - [ ] Representative `/work` path thành công.
320
+ - [ ] `/status full` không còn blocker ngoài ý muốn.
321
+ - [ ] Framework/policy đã được commit.
322
+
323
+ Sau đó quay lại feature sản phẩm có giá trị cao nhất; không tiếp tục làm framework
324
+ nếu không còn blocker thực tế.
@@ -0,0 +1,23 @@
1
+ # CCGS to NCCGS 1.0 migration matrix
2
+
3
+ | CCGS capability | NCCGS 1.0 treatment | Reason |
4
+ |---|---|---|
5
+ | Three-tier studio hierarchy | ADAPT into 44 roles and a central one-level orchestrator | Preserve specialization without recursive context chains |
6
+ | Opus/Sonnet/Haiku agent pins | ADAPT into quality/balanced/inherit profiles | Preserve model routing while handling compatibility and cost |
7
+ | 73 large workflow skills | ADAPT into 36 composable workflows and focused references | Preserve lifecycle coverage without repeated prompt/context payload |
8
+ | Team commands spawning departments | MIGRATE to risk/domain execution DAGs | Select roles by deliverable, not ceremony |
9
+ | Per-file approval protocol | REMOVE for ordinary authorized implementation | Keep approval at product, compatibility, dependency and irreversible boundaries |
10
+ | Fixed `src/design/production` layout | MIGRATE to semantic canonical-source mapping | Support existing Unity repositories without moving truth |
11
+ | Full ADR rereads per story | REMOVE; use revisioned context packets and anchored summaries | Avoid duplicated context and stale contracts |
12
+ | Bash lifecycle hooks | MIGRATE to managed Node hooks | Cross-platform behavior and deterministic validation |
13
+ | Agent audit/session recovery | KEEP and move to `.nccgs/runtime` plus state/context packets | Preserve observability without Git churn |
14
+ | Rules for code/content domains | ADAPT to Unity paths plus project policy | Keep scoped constraints without assuming one architecture |
15
+ | Multiple reports/checklists | KEEP as linked closure artifacts | Preserve data-loss and compliance safeguards |
16
+ | Engine-specific agents for three engines | Package design supports profiles; Unity installation activates Unity roles | Avoid routing competition inside a Unity project |
17
+ | Unity agent operation instructions | MIGRATE to official Unity Skills | One current, hash-verified operational source |
18
+ | Skill testing framework specs | ADAPT into catalog validation and executable behavior tests | Test observable invariants, not wording alone |
19
+ | User memory in directors | MIGRATE to project files/state/context | Prevent cross-project memory bleed and staleness |
20
+
21
+ NCCGS keeps CCGS's breadth where specialization improves results and replaces only
22
+ mechanisms that duplicate context, hard-code layout, fragment authority, or obscure
23
+ accountability.