nccgs 1.1.1 → 1.3.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 (212) hide show
  1. package/.claude/agents/nccgs-adversarial-reviewer.md +7 -1
  2. package/.claude/agents/nccgs-engine-programmer.md +2 -1
  3. package/.claude/agents/nccgs-gameplay-programmer.md +2 -1
  4. package/.claude/agents/nccgs-qa-engineer.md +2 -1
  5. package/.claude/agents/nccgs-ui-programmer.md +2 -1
  6. package/.claude/agents/nccgs-unity-build-specialist.md +2 -1
  7. package/.claude/agents/nccgs-unity-implementer.md +2 -1
  8. package/.claude/agents/nccgs-unity-systems-specialist.md +2 -1
  9. package/.claude/agents/nccgs-unity-ui-specialist.md +2 -1
  10. package/.claude/agents/nccgs-verification-engineer.md +2 -1
  11. package/.claude/nccgs/VERSION +1 -1
  12. package/.claude/{agents → nccgs/agent-library}/nccgs-accessibility-specialist.md +0 -1
  13. package/.claude/nccgs/agent-library/nccgs-adversarial-reviewer.md +30 -0
  14. package/.claude/{agents → nccgs/agent-library}/nccgs-ai-programmer.md +0 -1
  15. package/.claude/{agents → nccgs/agent-library}/nccgs-analytics-engineer.md +0 -1
  16. package/.claude/{agents → nccgs/agent-library}/nccgs-art-direction-lead.md +0 -1
  17. package/.claude/{agents → nccgs/agent-library}/nccgs-audio-direction-lead.md +0 -1
  18. package/.claude/{agents → nccgs/agent-library}/nccgs-creative-director.md +0 -1
  19. package/.claude/{agents → nccgs/agent-library}/nccgs-documentation-manager.md +0 -1
  20. package/.claude/{agents → nccgs/agent-library}/nccgs-economy-designer.md +0 -1
  21. package/.claude/nccgs/agent-library/nccgs-engine-programmer.md +25 -0
  22. package/.claude/{agents → nccgs/agent-library}/nccgs-game-design-lead.md +0 -1
  23. package/.claude/{agents → nccgs/agent-library}/nccgs-game-designer.md +0 -1
  24. package/.claude/nccgs/agent-library/nccgs-gameplay-programmer.md +25 -0
  25. package/.claude/{agents → nccgs/agent-library}/nccgs-level-designer.md +0 -1
  26. package/.claude/{agents → nccgs/agent-library}/nccgs-live-ops-designer.md +0 -1
  27. package/.claude/{agents → nccgs/agent-library}/nccgs-localization-lead.md +0 -1
  28. package/.claude/{agents → nccgs/agent-library}/nccgs-narrative-lead.md +0 -1
  29. package/.claude/{agents → nccgs/agent-library}/nccgs-network-programmer.md +0 -1
  30. package/.claude/{agents → nccgs/agent-library}/nccgs-performance-analyst.md +0 -1
  31. package/.claude/{agents → nccgs/agent-library}/nccgs-producer.md +0 -1
  32. package/.claude/{agents → nccgs/agent-library}/nccgs-production-coordinator.md +0 -1
  33. package/.claude/{agents → nccgs/agent-library}/nccgs-programming-lead.md +0 -1
  34. package/.claude/{agents → nccgs/agent-library}/nccgs-prototyper.md +0 -1
  35. package/.claude/nccgs/agent-library/nccgs-qa-engineer.md +25 -0
  36. package/.claude/{agents → nccgs/agent-library}/nccgs-qa-lead.md +0 -1
  37. package/.claude/{agents → nccgs/agent-library}/nccgs-release-engineer.md +0 -1
  38. package/.claude/{agents → nccgs/agent-library}/nccgs-release-lead.md +0 -1
  39. package/.claude/{agents → nccgs/agent-library}/nccgs-security-engineer.md +0 -1
  40. package/.claude/{agents → nccgs/agent-library}/nccgs-sound-designer.md +0 -1
  41. package/.claude/{agents → nccgs/agent-library}/nccgs-systems-designer.md +0 -1
  42. package/.claude/{agents → nccgs/agent-library}/nccgs-technical-architect.md +0 -1
  43. package/.claude/{agents → nccgs/agent-library}/nccgs-technical-artist.md +0 -1
  44. package/.claude/{agents → nccgs/agent-library}/nccgs-technical-director.md +0 -1
  45. package/.claude/{agents → nccgs/agent-library}/nccgs-tools-programmer.md +0 -1
  46. package/.claude/nccgs/agent-library/nccgs-ui-programmer.md +25 -0
  47. package/.claude/nccgs/agent-library/nccgs-unity-build-specialist.md +25 -0
  48. package/.claude/{agents → nccgs/agent-library}/nccgs-unity-content-specialist.md +0 -1
  49. package/.claude/nccgs/agent-library/nccgs-unity-implementer.md +25 -0
  50. package/.claude/{agents → nccgs/agent-library}/nccgs-unity-rendering-specialist.md +0 -1
  51. package/.claude/nccgs/agent-library/nccgs-unity-systems-specialist.md +25 -0
  52. package/.claude/nccgs/agent-library/nccgs-unity-ui-specialist.md +25 -0
  53. package/.claude/{agents → nccgs/agent-library}/nccgs-ux-designer.md +0 -1
  54. package/.claude/nccgs/agent-library/nccgs-verification-engineer.md +25 -0
  55. package/.claude/{agents → nccgs/agent-library}/nccgs-world-builder.md +0 -1
  56. package/.claude/{agents → nccgs/agent-library}/nccgs-writer.md +0 -1
  57. package/.claude/nccgs/constitution.md +13 -0
  58. package/.claude/nccgs/hooks/agent-audit.mjs +6 -0
  59. package/.claude/nccgs/hooks/closure-guard.mjs +34 -0
  60. package/.claude/nccgs/hooks/runtime-observation.mjs +11 -0
  61. package/.claude/nccgs/hooks/session-start.mjs +8 -1
  62. package/.claude/nccgs/pipeline.json +176 -0
  63. package/.claude/nccgs/protocols/agent-contract.md +5 -0
  64. package/.claude/nccgs/protocols/astra-claude.md +77 -0
  65. package/.claude/nccgs/protocols/evidence.md +6 -0
  66. package/.claude/nccgs/protocols/model-routing.md +27 -5
  67. package/.claude/nccgs/protocols/orchestration.md +5 -0
  68. package/.claude/nccgs/protocols/task-gates.md +66 -0
  69. package/.claude/nccgs/routing.generated.md +11 -0
  70. package/.claude/nccgs/settings.fragment.json +73 -9
  71. package/.claude/nccgs/studio.json +187 -96
  72. package/.claude/nccgs/tools/compile-policy.mjs +83 -0
  73. package/.claude/nccgs/tools/configure-models.mjs +75 -35
  74. package/.claude/nccgs/tools/gates.mjs +167 -0
  75. package/.claude/nccgs/tools/policy.mjs +62 -0
  76. package/.claude/nccgs/tools/runtime.mjs +40 -0
  77. package/.claude/nccgs/tools/task.mjs +77 -0
  78. package/.claude/nccgs/workflow-catalog.json +90 -13
  79. package/.claude/skills/accessibility-review/SKILL.md +6 -5
  80. package/.claude/skills/accessibility-review/references/astra.md +17 -0
  81. package/.claude/skills/accessibility-review/references/legacy.md +7 -0
  82. package/.claude/skills/architecture-decision/SKILL.md +6 -5
  83. package/.claude/skills/architecture-decision/references/astra.md +12 -0
  84. package/.claude/skills/architecture-decision/references/legacy.md +7 -0
  85. package/.claude/skills/asset-audit/SKILL.md +6 -5
  86. package/.claude/skills/asset-audit/references/astra.md +17 -0
  87. package/.claude/skills/asset-audit/references/legacy.md +7 -0
  88. package/.claude/skills/audit/SKILL.md +6 -7
  89. package/.claude/skills/audit/references/astra.md +17 -0
  90. package/.claude/skills/audit/references/legacy.md +9 -0
  91. package/.claude/skills/balance-review/SKILL.md +6 -5
  92. package/.claude/skills/balance-review/references/astra.md +17 -0
  93. package/.claude/skills/balance-review/references/legacy.md +7 -0
  94. package/.claude/skills/bug-triage/SKILL.md +6 -5
  95. package/.claude/skills/bug-triage/references/astra.md +20 -0
  96. package/.claude/skills/bug-triage/references/legacy.md +7 -0
  97. package/.claude/skills/closure/SKILL.md +5 -4
  98. package/.claude/skills/closure/references/astra.md +15 -0
  99. package/.claude/skills/closure/references/legacy.md +7 -0
  100. package/.claude/skills/compatibility-review/SKILL.md +6 -5
  101. package/.claude/skills/compatibility-review/references/astra.md +17 -0
  102. package/.claude/skills/compatibility-review/references/legacy.md +7 -0
  103. package/.claude/skills/context-pack/SKILL.md +5 -4
  104. package/.claude/skills/context-pack/references/astra.md +12 -0
  105. package/.claude/skills/context-pack/references/legacy.md +7 -0
  106. package/.claude/skills/dependency-review/SKILL.md +6 -5
  107. package/.claude/skills/dependency-review/references/astra.md +17 -0
  108. package/.claude/skills/dependency-review/references/legacy.md +7 -0
  109. package/.claude/skills/design/SKILL.md +6 -11
  110. package/.claude/skills/design/references/astra.md +12 -0
  111. package/.claude/skills/design/references/legacy.md +13 -0
  112. package/.claude/skills/design-review/SKILL.md +6 -5
  113. package/.claude/skills/design-review/references/astra.md +17 -0
  114. package/.claude/skills/design-review/references/legacy.md +7 -0
  115. package/.claude/skills/evidence-review/SKILL.md +6 -5
  116. package/.claude/skills/evidence-review/references/astra.md +17 -0
  117. package/.claude/skills/evidence-review/references/legacy.md +7 -0
  118. package/.claude/skills/hotfix/SKILL.md +6 -5
  119. package/.claude/skills/hotfix/references/astra.md +23 -0
  120. package/.claude/skills/hotfix/references/legacy.md +7 -0
  121. package/.claude/skills/incident-recovery/SKILL.md +6 -5
  122. package/.claude/skills/incident-recovery/references/astra.md +20 -0
  123. package/.claude/skills/incident-recovery/references/legacy.md +7 -0
  124. package/.claude/skills/localize-game/SKILL.md +6 -5
  125. package/.claude/skills/localize-game/references/astra.md +20 -0
  126. package/.claude/skills/localize-game/references/legacy.md +7 -0
  127. package/.claude/skills/migrate-project/SKILL.md +6 -16
  128. package/.claude/skills/migrate-project/references/astra.md +23 -0
  129. package/.claude/skills/migrate-project/references/legacy.md +19 -0
  130. package/.claude/skills/migrate-project/references/procedure.md +8 -0
  131. package/.claude/skills/milestone-review/SKILL.md +6 -5
  132. package/.claude/skills/milestone-review/references/astra.md +12 -0
  133. package/.claude/skills/milestone-review/references/legacy.md +7 -0
  134. package/.claude/skills/nccgs-code-review/SKILL.md +6 -4
  135. package/.claude/skills/nccgs-code-review/references/astra.md +15 -0
  136. package/.claude/skills/nccgs-code-review/references/legacy.md +7 -0
  137. package/.claude/skills/performance-audit/SKILL.md +6 -5
  138. package/.claude/skills/performance-audit/references/astra.md +17 -0
  139. package/.claude/skills/performance-audit/references/legacy.md +7 -0
  140. package/.claude/skills/plan-feature/SKILL.md +6 -5
  141. package/.claude/skills/plan-feature/references/astra.md +12 -0
  142. package/.claude/skills/plan-feature/references/legacy.md +7 -0
  143. package/.claude/skills/playtest/SKILL.md +5 -4
  144. package/.claude/skills/playtest/references/astra.md +20 -0
  145. package/.claude/skills/playtest/references/legacy.md +7 -0
  146. package/.claude/skills/project-stage/SKILL.md +5 -4
  147. package/.claude/skills/project-stage/references/astra.md +12 -0
  148. package/.claude/skills/project-stage/references/legacy.md +7 -0
  149. package/.claude/skills/prototype-feature/SKILL.md +6 -5
  150. package/.claude/skills/prototype-feature/references/astra.md +20 -0
  151. package/.claude/skills/prototype-feature/references/legacy.md +7 -0
  152. package/.claude/skills/qa-plan/SKILL.md +6 -5
  153. package/.claude/skills/qa-plan/references/astra.md +12 -0
  154. package/.claude/skills/qa-plan/references/legacy.md +7 -0
  155. package/.claude/skills/release/SKILL.md +6 -9
  156. package/.claude/skills/release/references/astra.md +23 -0
  157. package/.claude/skills/release/references/legacy.md +11 -0
  158. package/.claude/skills/release-readiness/SKILL.md +6 -5
  159. package/.claude/skills/release-readiness/references/astra.md +17 -0
  160. package/.claude/skills/release-readiness/references/legacy.md +7 -0
  161. package/.claude/skills/retrospective/SKILL.md +6 -5
  162. package/.claude/skills/retrospective/references/astra.md +12 -0
  163. package/.claude/skills/retrospective/references/legacy.md +7 -0
  164. package/.claude/skills/review/SKILL.md +6 -7
  165. package/.claude/skills/review/references/astra.md +15 -0
  166. package/.claude/skills/review/references/legacy.md +9 -0
  167. package/.claude/skills/security-audit/SKILL.md +6 -5
  168. package/.claude/skills/security-audit/references/astra.md +17 -0
  169. package/.claude/skills/security-audit/references/legacy.md +7 -0
  170. package/.claude/skills/sprint-plan/SKILL.md +6 -5
  171. package/.claude/skills/sprint-plan/references/astra.md +12 -0
  172. package/.claude/skills/sprint-plan/references/legacy.md +7 -0
  173. package/.claude/skills/status/SKILL.md +5 -6
  174. package/.claude/skills/status/references/astra.md +13 -0
  175. package/.claude/skills/status/references/legacy.md +9 -0
  176. package/.claude/skills/story-readiness/SKILL.md +5 -4
  177. package/.claude/skills/story-readiness/references/astra.md +17 -0
  178. package/.claude/skills/story-readiness/references/legacy.md +7 -0
  179. package/.claude/skills/test/SKILL.md +6 -7
  180. package/.claude/skills/test/references/astra.md +20 -0
  181. package/.claude/skills/test/references/legacy.md +9 -0
  182. package/.claude/skills/ui-review/SKILL.md +6 -5
  183. package/.claude/skills/ui-review/references/astra.md +17 -0
  184. package/.claude/skills/ui-review/references/legacy.md +7 -0
  185. package/.claude/skills/work/SKILL.md +6 -27
  186. package/.claude/skills/work/references/astra.md +20 -0
  187. package/.claude/skills/work/references/closure.md +10 -0
  188. package/.claude/skills/work/references/feature-contracts.md +4 -0
  189. package/.claude/skills/work/references/legacy.md +29 -0
  190. package/README.md +59 -25
  191. package/UPGRADING.md +37 -0
  192. package/VERSION +1 -1
  193. package/docs/ARCHITECTURE.md +30 -13
  194. package/docs/HUONG-DAN-MIGRATE-VA-SU-DUNG.md +34 -329
  195. package/docs/MIGRATION-MATRIX.md +1 -1
  196. package/docs/NCCGS-1.3.md +125 -0
  197. package/docs/PROJECT-POLICY.md +18 -3
  198. package/docs/WORKFLOWS.md +19 -13
  199. package/package.json +5 -3
  200. package/scaffold/.nccgs/gates.json +7 -0
  201. package/scaffold/.nccgs/project.yaml +6 -3
  202. package/scaffold/.nccgs/state.md +1 -1
  203. package/scaffold/.nccgs/templates/agent-handoff.md +10 -0
  204. package/scaffold/.nccgs/templates/closure-record.md +11 -0
  205. package/scaffold/.nccgs/templates/feature-contract.md +9 -0
  206. package/scaffold/.nccgs/templates/implementation-report.md +49 -0
  207. package/scripts/cli.mjs +9 -4
  208. package/scripts/doctor.mjs +27 -1
  209. package/scripts/install.mjs +4 -3
  210. package/scripts/validate.mjs +20 -7
  211. package/tests/framework.test.mjs +143 -2
  212. package/tests/gates.test.mjs +170 -0
@@ -6,9 +6,10 @@ allowed-tools: Read, Glob, Grep, Bash
6
6
 
7
7
  # Story Readiness
8
8
 
9
- Read `.nccgs/project.yaml`, `.nccgs/state.md`, and the active context packet when present. Preserve Product Owner authority and unrelated work.
9
+ Read models.profile in .nccgs/project.yaml; if absent, use the defaultProfile in
10
+ .claude/nccgs/pipeline.json. Load exactly one procedure:
10
11
 
11
- Remain read-only. Check approved objective, stable requirements, acceptance criteria, governing decisions, dependencies, ownership, protected paths, compatibility, testability, and unresolved semantics. Verify the context packet source revisions. Return READY, READY WITH RISKS, or BLOCKED with exact missing inputs and the smallest next action. Do not demand documents that add no implementation value.
12
-
13
- Return outcome, evidence, affected records, blockers or decisions, residual risk, and the exact next workflow. Do not claim DONE unless this is the `closure` skill and every configured gate passes.
12
+ - astra-claude: [Astra/Claude procedure](references/astra.md).
13
+ - quality, balanced, inherit: [Legacy procedure](references/legacy.md).
14
14
 
15
+ Do not load or merge the other branch. Unknown profiles are configuration errors.
@@ -0,0 +1,17 @@
1
+ # Story Readiness — astra-claude
2
+
3
+ Read [the pipeline protocol](../../../nccgs/protocols/astra-claude.md) and
4
+ [generated routing](../../../nccgs/routing.generated.md). Use Astra's supplied plan,
5
+ requirements, and exact context references. Never substitute a legacy procedure.
6
+
7
+ Domain objective: Checks whether a feature or story is safe and specific enough to implement, including requirements, decisions, dependencies, ownership, tests, and Product Owner gates.
8
+
9
+ Work only inside the supplied plan and assigned write set. Activate an optional
10
+ specialist with the agents command only when its domain is required. Keep one writer
11
+ per path and use official Unity Skills for Editor/assets/runtime operations.
12
+
13
+ This procedure is read-only: return evidence-backed findings and decisions to Astra
14
+ or the implementer. Supplemental analysis does not replace the mandatory Fable gate.
15
+
16
+ Use [task gate commands](../../../nccgs/protocols/task-gates.md) for evidence and
17
+ state transitions. Report outcome, evidence, pending decisions, and next owner.
@@ -0,0 +1,7 @@
1
+ # Story Readiness
2
+
3
+ Read `.nccgs/project.yaml`, `.nccgs/state.md`, and the active context packet when present. Preserve Product Owner authority and unrelated work.
4
+
5
+ Remain read-only. Check approved objective, stable requirements, acceptance criteria, governing decisions, dependencies, ownership, protected paths, compatibility, testability, and unresolved semantics. Verify the context packet source revisions. Return READY, READY WITH RISKS, or BLOCKED with exact missing inputs and the smallest next action. Do not demand documents that add no implementation value.
6
+
7
+ Return outcome, evidence, affected records, blockers or decisions, residual risk, and the exact next workflow. Do not claim DONE unless this is the `closure` skill and every configured gate passes.
@@ -1,16 +1,15 @@
1
1
  ---
2
2
  name: test
3
3
  description: Plans or executes requirement-based Unity verification using automated tests, Unity CLI/Pipeline, runtime, build, regression, profiling, and explicit Product Owner gates. Use to prove behavior or reproduce failures without changing intended semantics.
4
- allowed-tools: Read, Glob, Grep, Write, Edit, Bash, Task, AskUserQuestion
4
+ allowed-tools: Read, Glob, Grep, Write, Edit, Bash, Agent, AskUserQuestion
5
5
  ---
6
6
 
7
7
  # Test
8
8
 
9
- Read policy, context packet, requirements, decisions, implementation, existing tests, and baseline. Classify each target as objective verification, regression, or subjective validation.
9
+ Read models.profile in .nccgs/project.yaml; if absent, use the defaultProfile in
10
+ .claude/nccgs/pipeline.json. Load exactly one procedure:
10
11
 
11
- Use `/qa-plan` when coverage is not obvious. Choose the strongest proportional evidence described in the [evidence protocol](../../nccgs/protocols/evidence.md). Use official Unity Skills and `unity-cli` for Unity operations.
12
-
13
- Run existing relevant checks first. Add deterministic tests only when the surrounding request authorizes implementation; remain read-only for a standalone audit. Capture environment, commands/actions, counts, skips, baseline comparison, runtime/build state, console errors, and regressions.
14
-
15
- Use an independent verification role for STANDARD/CONTROLLED work. Verdicts are PASS, FAIL, NOT PROVEN, PO GATE, or N/A with reason. Do not mark the feature DONE; hand evidence to `/evidence-review` and `/closure`.
12
+ - astra-claude: [Astra/Claude procedure](references/astra.md).
13
+ - quality, balanced, inherit: [Legacy procedure](references/legacy.md).
16
14
 
15
+ Do not load or merge the other branch. Unknown profiles are configuration errors.
@@ -0,0 +1,20 @@
1
+ # Test — astra-claude
2
+
3
+ Read [the pipeline protocol](../../../nccgs/protocols/astra-claude.md) and
4
+ [generated routing](../../../nccgs/routing.generated.md). Use Astra's supplied plan,
5
+ requirements, and exact context references. Never substitute a legacy procedure.
6
+
7
+ Domain objective: Plans or executes requirement-based Unity verification using automated tests, Unity CLI/Pipeline, runtime, build, regression, profiling, and explicit Product Owner gates. Use to prove behavior or reproduce failures without changing intended semantics.
8
+
9
+ Work only inside the supplied plan and assigned write set. Activate an optional
10
+ specialist with the agents command only when its domain is required. Keep one writer
11
+ per path and use official Unity Skills for Editor/assets/runtime operations.
12
+
13
+ For code changes: task init with Astra's plan, bind the session, implement and test,
14
+ record implementation evidence, request independent review, fix and re-review as
15
+ needed, then task check --target report. Only after that check passes write and
16
+ record the report for Astra. Stop at AWAITING_ASTRA_CHECK. Astra checking and the
17
+ Product Owner's explicit acceptance happen outside the Claude implementation session.
18
+
19
+ Use [task gate commands](../../../nccgs/protocols/task-gates.md) for evidence and
20
+ state transitions. Report outcome, evidence, pending decisions, and next owner.
@@ -0,0 +1,9 @@
1
+ # Test
2
+
3
+ Read policy, context packet, requirements, decisions, implementation, existing tests, and baseline. Classify each target as objective verification, regression, or subjective validation.
4
+
5
+ Use `/qa-plan` when coverage is not obvious. Choose the strongest proportional evidence described in the [evidence protocol](../../../nccgs/protocols/evidence.md). Use official Unity Skills and `unity-cli` for Unity operations.
6
+
7
+ Run existing relevant checks first. Add deterministic tests only when the surrounding request authorizes implementation; remain read-only for a standalone audit. Capture environment, commands/actions, counts, skips, baseline comparison, runtime/build state, console errors, and regressions.
8
+
9
+ Use an independent verification role for STANDARD/CONTROLLED work. Verdicts are PASS, FAIL, NOT PROVEN, PO GATE, or N/A with reason. Do not mark the feature DONE; hand evidence to `/evidence-review` and `/closure`.
@@ -1,14 +1,15 @@
1
1
  ---
2
2
  name: ui-review
3
3
  description: Performs a read-only review of Unity UI behavior, architecture, navigation, responsiveness, localization, accessibility, performance, and UX conformance.
4
- allowed-tools: Read, Glob, Grep, Bash, Task
4
+ allowed-tools: Read, Glob, Grep, Bash, Agent
5
5
  ---
6
6
 
7
7
  # Ui Review
8
8
 
9
- Read `.nccgs/project.yaml`, `.nccgs/state.md`, and the active context packet when present. Preserve Product Owner authority and unrelated work.
9
+ Read models.profile in .nccgs/project.yaml; if absent, use the defaultProfile in
10
+ .claude/nccgs/pipeline.json. Load exactly one procedure:
10
11
 
11
- Read approved UX flows, UI requirements, platform/input policy, accessibility targets, implementation, scenes/assets, and tests. Pair UX and Unity UI lenses without conflating them. Inspect state ownership, navigation, focus, errors, scaling, layout expansion, binding, lifecycle, allocations, and runtime evidence. Report prioritized findings and subjective PO scenarios; do not redesign or edit.
12
-
13
- Return outcome, evidence, affected records, blockers or decisions, residual risk, and the exact next workflow. Do not claim DONE unless this is the `closure` skill and every configured gate passes.
12
+ - astra-claude: [Astra/Claude procedure](references/astra.md).
13
+ - quality, balanced, inherit: [Legacy procedure](references/legacy.md).
14
14
 
15
+ Do not load or merge the other branch. Unknown profiles are configuration errors.
@@ -0,0 +1,17 @@
1
+ # Ui Review — astra-claude
2
+
3
+ Read [the pipeline protocol](../../../nccgs/protocols/astra-claude.md) and
4
+ [generated routing](../../../nccgs/routing.generated.md). Use Astra's supplied plan,
5
+ requirements, and exact context references. Never substitute a legacy procedure.
6
+
7
+ Domain objective: Performs a read-only review of Unity UI behavior, architecture, navigation, responsiveness, localization, accessibility, performance, and UX conformance.
8
+
9
+ Work only inside the supplied plan and assigned write set. Activate an optional
10
+ specialist with the agents command only when its domain is required. Keep one writer
11
+ per path and use official Unity Skills for Editor/assets/runtime operations.
12
+
13
+ This procedure is read-only: return evidence-backed findings and decisions to Astra
14
+ or the implementer. Supplemental analysis does not replace the mandatory Fable gate.
15
+
16
+ Use [task gate commands](../../../nccgs/protocols/task-gates.md) for evidence and
17
+ state transitions. Report outcome, evidence, pending decisions, and next owner.
@@ -0,0 +1,7 @@
1
+ # Ui Review
2
+
3
+ Read `.nccgs/project.yaml`, `.nccgs/state.md`, and the active context packet when present. Preserve Product Owner authority and unrelated work.
4
+
5
+ Read approved UX flows, UI requirements, platform/input policy, accessibility targets, implementation, scenes/assets, and tests. Pair UX and Unity UI lenses without conflating them. Inspect state ownership, navigation, focus, errors, scaling, layout expansion, binding, lifecycle, allocations, and runtime evidence. Report prioritized findings and subjective PO scenarios; do not redesign or edit.
6
+
7
+ Return outcome, evidence, affected records, blockers or decisions, residual risk, and the exact next workflow. Do not claim DONE unless this is the `closure` skill and every configured gate passes.
@@ -1,36 +1,15 @@
1
1
  ---
2
2
  name: work
3
3
  description: Runs end-to-end Unity feature, bug-fix, refactor, tooling, content-integration, or other concrete project work. Routes by domain and risk, composes specialist roles, verifies independently, synchronizes records, and closes configured gates.
4
- allowed-tools: Read, Glob, Grep, Write, Edit, Bash, Task, AskUserQuestion, WebSearch, WebFetch
4
+ allowed-tools: Read, Glob, Grep, Write, Edit, Bash, Agent, AskUserQuestion, WebSearch, WebFetch
5
5
  ---
6
6
 
7
7
  # Work
8
8
 
9
- Complete the approved outcome rather than stopping at a plan.
9
+ Read models.profile in .nccgs/project.yaml; if absent, use the defaultProfile in
10
+ .claude/nccgs/pipeline.json. Load exactly one procedure:
10
11
 
11
- ## Route
12
-
13
- Read project policy and state, inspect Git status, and classify FAST, STANDARD, or CONTROLLED using [classification](references/classification.md). Identify affected domains before selecting roles from `../../nccgs/studio.json`.
14
-
15
- - FAST normally stays in the main session or uses one specialist.
16
- - STANDARD uses a context packet, an accountable implementer, and independent verification.
17
- - CONTROLLED adds the relevant decision owner and adversarial review.
18
-
19
- Read the [orchestration protocol](../../nccgs/protocols/orchestration.md) for multi-role work. Do not build a ceremonial management chain.
20
-
21
- ## Contract
22
-
23
- Use [feature contracts](references/feature-contracts.md). Create or refresh a context packet through `/context-pack` for STANDARD or CONTROLLED work. Resolve Product Owner decisions that affect semantics, scope, canon, compatibility, dependencies, or irreversibility; continue safe independent nodes while decisions are pending.
24
-
25
- ## Execute
26
-
27
- Build a dependency graph with one writer per path. Route distinct domains to their specialists. Use official Unity Skills for operation mechanics and `unity-cli` for connected Editor, tests, builds, and runtime evidence. Agents receive the context packet path and bounded ownership, not the entire chat or document set.
28
-
29
- Fix in-scope failures, inspect the final diff, and preserve unrelated work.
30
-
31
- ## Verify and close
32
-
33
- Use [verification](references/verification.md) and the shared [evidence protocol](../../nccgs/protocols/evidence.md). Map objective evidence to requirements, run proportional regression, and separate PO gates. CONTROLLED work receives `/review` or `/evidence-review` from an independent role.
34
-
35
- Synchronize state and technical records, then run `/closure`. Report classification, roles/models used, changed files, evidence, blockers, PO gates, residual risk, and final state.
12
+ - astra-claude: [Astra/Claude procedure](references/astra.md).
13
+ - quality, balanced, inherit: [Legacy procedure](references/legacy.md).
36
14
 
15
+ Do not load or merge the other branch. Unknown profiles are configuration errors.
@@ -0,0 +1,20 @@
1
+ # Work — astra-claude
2
+
3
+ Read [the pipeline protocol](../../../nccgs/protocols/astra-claude.md) and
4
+ [generated routing](../../../nccgs/routing.generated.md). Use Astra's supplied plan,
5
+ requirements, and exact context references. Never substitute a legacy procedure.
6
+
7
+ Domain objective: Runs end-to-end Unity feature, bug-fix, refactor, tooling, content-integration, or other concrete project work. Routes by domain and risk, composes specialist roles, verifies independently, synchronizes records, and closes configured gates.
8
+
9
+ Work only inside the supplied plan and assigned write set. Activate an optional
10
+ specialist with the agents command only when its domain is required. Keep one writer
11
+ per path and use official Unity Skills for Editor/assets/runtime operations.
12
+
13
+ For code changes: task init with Astra's plan, bind the session, implement and test,
14
+ record implementation evidence, request independent review, fix and re-review as
15
+ needed, then task check --target report. Only after that check passes write and
16
+ record the report for Astra. Stop at AWAITING_ASTRA_CHECK. Astra checking and the
17
+ Product Owner's explicit acceptance happen outside the Claude implementation session.
18
+
19
+ Use [task gate commands](../../../nccgs/protocols/task-gates.md) for evidence and
20
+ state transitions. Report outcome, evidence, pending decisions, and next owner.
@@ -48,3 +48,13 @@ and next candidate. Git and closure records hold history.
48
48
  Technical records may be synchronized autonomously. Canonical player-facing design
49
49
  changes require an accepted PO decision. If code and canon disagree, fix or escalate;
50
50
  never rewrite canon silently.
51
+
52
+ ## Mandatory astra-claude gates
53
+
54
+ For astra-claude, lean mode does not remove Fable review, the reviewed report,
55
+ Astra checking, or explicit Product Owner acceptance. Require Fable PASS on the
56
+ final snapshot, then the report, then Astra PASS, then Product Owner ACCEPTED on
57
+ that same snapshot. Claude records factual progress/evidence and hands off at
58
+ AWAITING_ASTRA_CHECK. Astra owns final documentation and closure. Missing or stale
59
+ sign-offs block DONE; changes require renewed review and downstream acceptance.
60
+ Only an explicit Product Owner policy change can alter this sequence.
@@ -30,3 +30,7 @@ debugging.
30
30
  Requirement IDs belong in `.nccgs/requirements.yaml` only for player-visible
31
31
  contracts, technical invariants, acceptance criteria, and cross-system dependencies.
32
32
  Do not assign IDs to private class structure or every documentation sentence.
33
+
34
+ Under astra-claude, Astra authors and revises these contracts and context packets.
35
+ Claude consumes them, records newly discovered facts in evidence, and requests
36
+ revisions from Astra instead of rewriting planning or canonical documents.
@@ -0,0 +1,29 @@
1
+ # Work
2
+
3
+ Complete the approved outcome rather than stopping at a plan.
4
+
5
+ ## Route
6
+
7
+ Read project policy and state, inspect Git status, and classify FAST, STANDARD, or CONTROLLED using [classification](../references/classification.md). Identify affected domains before selecting roles from `../../nccgs/studio.json`.
8
+
9
+ - FAST normally stays in the main session or uses one specialist.
10
+ - STANDARD uses a context packet, an accountable implementer, and independent verification.
11
+ - CONTROLLED adds the relevant decision owner and adversarial review.
12
+
13
+ Read the [orchestration protocol](../../../nccgs/protocols/orchestration.md) for multi-role work. Do not build a ceremonial management chain.
14
+
15
+ ## Contract
16
+
17
+ Use [feature contracts](../references/feature-contracts.md). Create or refresh a context packet through `/context-pack` for STANDARD or CONTROLLED work. Resolve Product Owner decisions that affect semantics, scope, canon, compatibility, dependencies, or irreversibility; continue safe independent nodes while decisions are pending.
18
+
19
+ ## Execute
20
+
21
+ Build a dependency graph with one writer per path. Route distinct domains to their specialists. Use official Unity Skills for operation mechanics and `unity-cli` for connected Editor, tests, builds, and runtime evidence. Agents receive the context packet path and bounded ownership, not the entire chat or document set.
22
+
23
+ Fix in-scope failures, inspect the final diff, and preserve unrelated work.
24
+
25
+ ## Verify and close
26
+
27
+ Use [verification](../references/verification.md) and the shared [evidence protocol](../../../nccgs/protocols/evidence.md). Map objective evidence to requirements, run proportional regression, and separate PO gates. CONTROLLED work receives `/review` or `/evidence-review` from an independent role.
28
+
29
+ Synchronize state and technical records, then run `/closure`. Report classification, roles/models used, changed files, evidence, blockers, PO gates, residual risk, and final state.
package/README.md CHANGED
@@ -5,27 +5,33 @@ specialization of a full game-development team with project-aware governance,
5
5
  bounded orchestration, configurable model routing, official Unity Skills, objective
6
6
  evidence, and strict closure.
7
7
 
8
- Version 1.1.1 contains:
8
+ Version 1.3.0 contains:
9
9
 
10
- - 45 studio agents across leadership, design, programming, Unity, content, quality,
11
- and release;
10
+ - 10 active core agents and 35 optional specialist roles in a 45-agent library;
12
11
  - 36 composable NCCGS workflows with eight primary entrypoints;
13
12
  - 11 path-scoped project rules;
14
- - 8 cross-platform Node lifecycle/safety hooks;
13
+ - 11 cross-platform Node lifecycle/safety hook commands;
15
14
  - 22 unmodified official Unity Skills with a SHA-256 manifest;
16
15
  - brownfield migration, context packets, evidence records, closure modes, model
17
- profiles, installer backup, and behavioral framework tests.
16
+ profiles, installer backup, and behavioral framework tests;
17
+ - executable task gates, runtime observations, generated routing from one policy,
18
+ and separate Astra/legacy workflow instructions.
19
+
20
+ Read the [NCCGS 1.3 operating guide](docs/NCCGS-1.3.md) for setup and evidence schemas.
21
+ Install the npm release with the commands below, or use this checkout's
22
+ `scripts/cli.mjs` when working from source.
18
23
 
19
24
  ## Operating architecture
20
25
 
21
26
  ```text
22
27
  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
28
+ -> Astra: planning, contracts, and canonical documents
29
+ -> Claude Opus 5.5 / xhigh: implementation and tests
30
+ -> Fable / high: independent review (Opus fixes -> Fable re-review)
31
+ -> reviewed report to Astra
32
+ -> Astra: plan/evidence check and document updates
33
+ -> Product Owner: final acceptance
34
+ -> DONE when all gates pass
29
35
  ```
30
36
 
31
37
  NCCGS does not simulate a hierarchy for ceremony. It selects specialized roles when
@@ -53,6 +59,11 @@ npx nccgs@latest update
53
59
  npx nccgs@latest doctor
54
60
  ```
55
61
 
62
+ To adopt the Astra/Opus/Fable pipeline in an existing project, add
63
+ `--model-profile astra-claude` to both update commands. Without this option, updates
64
+ preserve the project's current profile. Publishing a new release does not modify
65
+ Unity projects automatically; run the update command in each project.
66
+
56
67
  The current directory is the installation target. `--project <directory>` remains
57
68
  available for automation, but is not needed for ordinary use.
58
69
 
@@ -73,28 +84,51 @@ Select a model profile during installation when needed:
73
84
 
74
85
  ```powershell
75
86
  npx nccgs@latest update --model-profile quality
87
+ npx nccgs@latest update --model-profile astra-claude
76
88
  npx nccgs@latest update --model-profile balanced
77
89
  npx nccgs@latest update --model-profile inherit
78
90
  ```
79
91
 
80
- Open a new Claude Code session after first-time adoption of an existing project and
81
- run `/migrate-project` once. It performs review, plan, apply, and verify as one
82
- CONTROLLED operation, pausing only for a real Product Owner decision or unsafe side
83
- effect. Ordinary framework updates report `No project migration required` and need
84
- no Claude migration command.
92
+ For `astra-claude`, Astra first prepares the migration plan and maps existing project
93
+ obligations into `.nccgs/gates.json`. Claude then runs `/migrate-project` against that
94
+ plan. Legacy profiles retain their combined review/plan/apply/verify workflow.
95
+ Ordinary framework updates need no migration when the installer reports none.
85
96
 
86
97
  ## Model routing
87
98
 
88
- | Profile | Lightweight | Standard | Deep | Leadership |
89
- |---|---|---|---|---|
90
- | `quality` (default) | Haiku | Sonnet | Opus | Opus |
91
- | `balanced` | Haiku | Sonnet | Opus | Sonnet |
92
- | `inherit` | Session model | Session model | Session model | Session model |
99
+ | Profile | Claude implementation/support | Independent reviewer | Effort |
100
+ |---|---|---|---|
101
+ | `astra-claude` (default) | Pinned `claude-opus-5-5` | `fable` | Implementation `xhigh`; review `high` |
102
+ | `quality` | Haiku lightweight; Sonnet standard; Opus deep/leadership | Opus | Session |
103
+ | `balanced` | As quality, with Sonnet leadership | Opus | Session |
104
+ | `inherit` | Session model | Session model | Session |
105
+
106
+ In `astra-claude`, Astra owns planning and canonical documents outside Claude Code.
107
+ All Claude coding/support roles use Opus 5.5/xhigh; planning roles are consultants
108
+ only. Every code change, including FAST work, requires independent Fable review
109
+ before Claude produces the final report for Astra. Astra checks it, updates documents,
110
+ and requests explicit Product Owner acceptance. Claude does not declare DONE itself.
111
+ See [the complete handoff protocol](.claude/nccgs/protocols/astra-claude.md).
112
+
113
+ The configurator sets agent model/effort and the project's main session settings.
114
+ The canonical source is `.claude/nccgs/pipeline.json`; `npm run policy:build`
115
+ generates routing outputs and `npm run policy:check` detects drift. Optional roles
116
+ are activated with `nccgs agents --enable <role>` and preserved through updates.
117
+ No silent model/effort fallback is accepted for this profile. Existing projects keep
118
+ their current profile on ordinary updates; select `--model-profile astra-claude`
119
+ explicitly to adopt this chain. Legacy profiles remain available by explicit choice.
120
+ Opus 5.5 requires Claude Code 2.1.280 or later. Fable is an alias: record its actual
121
+ resolved model and effort from runtime evidence, not configuration alone.
122
+
123
+ To use a source checkout directly, run its CLI with the target Unity project,
124
+ first with `--dry-run`:
125
+
126
+ ```powershell
127
+ node "D:\path\to\NCCGS\scripts\cli.mjs" update --project "D:\path\to\UnityProject" --model-profile astra-claude --dry-run
128
+ ```
93
129
 
94
- Role selection happens before model selection. Risk may escalate a task, but a title
95
- alone does not justify Opus. If a pinned model is unavailable or conflicts with the
96
- current context mode, project policy can allow the primary session to continue using
97
- the inherited model and report the fallback.
130
+ Use `install` for first adoption. Remove `--dry-run` to apply. NCCGS prepares a
131
+ file-backed report for Astra; it does not automatically send messages between apps.
98
132
 
99
133
  Reconfigure an installed project:
100
134
 
package/UPGRADING.md CHANGED
@@ -2,6 +2,43 @@
2
2
 
3
3
  Always inspect a dry run and preserve project policy.
4
4
 
5
+ ## 1.3.0: executable gates and focused agent activation
6
+
7
+ Read the [1.3 guide](docs/NCCGS-1.3.md). Routing now comes from
8
+ `.claude/nccgs/pipeline.json`; generated files are checked for drift. Only ten core
9
+ agents are active by default; 35 additional roles are available through `agents
10
+ --enable`. Project customizations are preserved for explicit migration review.
11
+
12
+ Astra must map existing checks, closure artifacts and manual decisions into
13
+ `.nccgs/gates.json`, referencing the current project policy hash. A 1.2 policy with
14
+ embedded `profile_contracts` needs migration to the canonical `pipeline_policy`
15
+ reference. Do not discard project requirements during this migration.
16
+
17
+ Task records now enforce implementation -> independent review -> report -> Astra
18
+ check -> Product Owner acceptance. Missing observed effort blocks the gate; requested
19
+ settings alone do not prove runtime behavior. Each workflow loads only its selected
20
+ Astra or legacy branch. The legacy instructions later in this document apply only
21
+ to explicitly selected legacy profiles.
22
+
23
+ ## Astra / Opus / Fable routing
24
+
25
+ New installations default to `astra-claude`: Astra plans and owns documents;
26
+ Opus 5.5/xhigh implements; Fable/high reviews; Claude hands the reviewed report to
27
+ Astra; Astra checks it; the Product Owner accepts before DONE. See the
28
+ [handoff protocol](.claude/nccgs/protocols/astra-claude.md).
29
+
30
+ Existing projects keep their profile unless explicitly changed. In each Unity
31
+ project, run `npx nccgs@latest update --model-profile astra-claude --dry-run`, inspect
32
+ it, then remove `--dry-run`. Source checkouts can use `node <NCCGS>/scripts/cli.mjs`
33
+ instead of `npx nccgs@latest`. Publishing alone does not update installed projects.
34
+ Use `install` instead of `update` for a new installation. Require Claude Code
35
+ 2.1.280+ and access to Opus 5.5 and Fable. Review any
36
+ preserved agent/settings overrides so the observed model and effort match policy.
37
+ The configurator preserves unrelated shared settings and backs up replacements;
38
+ existing sessions and local/environment overrides still require a runtime check.
39
+
40
+ ## Earlier update behavior
41
+
5
42
  ```powershell
6
43
  cd "D:\path\to\UnityProject"
7
44
  npx nccgs@latest update --dry-run
package/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.3.0
@@ -11,8 +11,8 @@ distinct decision surface, failure mode, artifact, or verification lens.
11
11
  1. **Kernel** — constitution, authority, project policy, ownership, state, closure.
12
12
  2. **Router** — domain/risk classification, model profile, context packet, execution
13
13
  graph and write ownership.
14
- 3. **Studio roles** — 45 leadership, lead, specialist, Unity, quality, and release
15
- agents with shared handoff contracts.
14
+ 3. **Studio roles** — ten active core agents, with 35 optional roles in a 45-agent
15
+ library. Activation choices survive updates; customized files are preserved.
16
16
  4. **Workflow modules** — 36 composable skills with eight user-facing entrypoints.
17
17
  5. **Unity operations** — unmodified official Unity Skills and Unity CLI/Pipeline.
18
18
  6. **Automation** — Node hooks for recovery, audit and safety.
@@ -20,7 +20,9 @@ distinct decision surface, failure mode, artifact, or verification lens.
20
20
 
21
21
  ## Bounded orchestration
22
22
 
23
- The primary Claude Code session is the sole orchestrator. It constructs a DAG,
23
+ The primary Claude Code session is the sole Claude subagent orchestrator. Under the
24
+ default astra-claude profile, Astra owns planning/documents outside that session;
25
+ Claude executes within Astra's plan. It constructs an implementation DAG,
24
26
  selects the smallest complete role set, passes a context packet, assigns one writer
25
27
  per path, and merges handoffs. Studio agents do not recursively delegate.
26
28
 
@@ -40,14 +42,16 @@ require reconstructing truth from chat history.
40
42
 
41
43
  ## Model architecture
42
44
 
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.
45
+ Each catalog role has a capability class: lightweight, standard, deep, leadership,
46
+ or review. `pipeline.json` is the routing source; the compiler generates catalog
47
+ routes and agent frontmatter, and validation rejects drift. The default
48
+ astra-claude profile uses claude-opus-5-5/xhigh for Claude work and fable/high for
49
+ independent review. It also configures the main project session. Legacy quality,
50
+ balanced, and inherit profiles remain available without duplicating agent prompts.
47
51
 
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.
52
+ Legacy profiles support policy-directed fallback. The astra-claude profile instead
53
+ blocks a required stage when its model/effort cannot be confirmed; it never labels
54
+ an inherited model's output as Fable review or Opus 5.5 implementation.
51
55
 
52
56
  ## Unity boundary
53
57
 
@@ -57,9 +61,22 @@ SHA-256 manifest makes upstream modifications visible.
57
61
 
58
62
  ## Evidence and closure
59
63
 
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.
64
+ For astra-claude, every code change follows Opus implementation -> Fable review ->
65
+ report to Astra -> Astra check -> explicit Product Owner acceptance. Opus fixes
66
+ findings and Fable re-reviews each changed snapshot. These gates apply to FAST and
67
+ lean work as well. `task.mjs` enforces this sequence using snapshot hashes, immutable
68
+ artifact references, runtime observations and explicit external decisions. A changed
69
+ snapshot invalidates previous review/acceptance. Re-recording an earlier stage clears
70
+ downstream stages while retaining history. Hooks supplement the task gate; they are
71
+ not a security sandbox. There is no automatic cross-app transport.
72
+
73
+ Requested model settings and observed runtime values are separate fields. Native
74
+ events can report the resolved model and fallback history; absent observed effort
75
+ stays unknown until supporting runtime evidence is imported.
76
+
77
+ Every workflow dispatcher loads exactly one `references/astra.md` or
78
+ `references/legacy.md`. Risk affects the extent of verification, never the mandatory
79
+ Fable gate in the Astra profile. Legacy profiles retain their risk-based review.
63
80
 
64
81
  One canonical closure record links existing project artifacts. `lean`, `linked`, and
65
82
  `strict` policies determine what blocks DONE. Waivers are item-specific and retain