nccgs 2.1.0 → 2.1.1

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 (76) hide show
  1. package/.claude/agents/nccgs-adversarial-reviewer.md +1 -1
  2. package/.claude/agents/nccgs-engine-programmer.md +1 -1
  3. package/.claude/agents/nccgs-fast-implementer.md +1 -1
  4. package/.claude/agents/nccgs-game-designer.md +1 -1
  5. package/.claude/agents/nccgs-gameplay-programmer.md +1 -1
  6. package/.claude/agents/nccgs-qa-engineer.md +1 -1
  7. package/.claude/agents/nccgs-task-scout.md +1 -1
  8. package/.claude/agents/nccgs-ui-programmer.md +1 -1
  9. package/.claude/agents/nccgs-unity-build-specialist.md +1 -1
  10. package/.claude/agents/nccgs-unity-implementer.md +1 -1
  11. package/.claude/agents/nccgs-unity-systems-specialist.md +1 -1
  12. package/.claude/agents/nccgs-unity-ui-specialist.md +1 -1
  13. package/.claude/agents/nccgs-verification-engineer.md +1 -1
  14. package/.claude/nccgs/MEMORY.md +3 -1
  15. package/.claude/nccgs/VERSION +1 -1
  16. package/.claude/nccgs/constitution.md +187 -176
  17. package/.claude/nccgs/hooks/closure-guard.mjs +2 -0
  18. package/.claude/nccgs/hooks/unity-transport-guard.mjs +11 -0
  19. package/.claude/nccgs/pipeline.json +260 -260
  20. package/.claude/nccgs/protocols/context-packets.md +5 -0
  21. package/.claude/nccgs/protocols/model-routing.md +46 -46
  22. package/.claude/nccgs/protocols/review-handoff.md +21 -1
  23. package/.claude/nccgs/protocols/shared-workflow-context.md +33 -0
  24. package/.claude/nccgs/protocols/unity-boundary.md +20 -0
  25. package/.claude/nccgs/routing.generated.md +4 -4
  26. package/.claude/nccgs/settings.fragment.json +84 -24
  27. package/.claude/nccgs/studio.json +53 -53
  28. package/.claude/nccgs/tools/autonomy.mjs +13 -0
  29. package/.claude/nccgs/tools/command-tokens.mjs +22 -0
  30. package/.claude/nccgs/tools/hook-transport.mjs +34 -0
  31. package/.claude/nccgs/tools/native-completion.mjs +10 -1
  32. package/.claude/nccgs/tools/returned-handoff.mjs +11 -2
  33. package/.claude/nccgs/tools/shared-context-guard.mjs +60 -0
  34. package/.claude/nccgs/tools/shared-context.mjs +25 -0
  35. package/.claude/nccgs/tools/tool-guard.mjs +120 -131
  36. package/.claude/nccgs/tools/unity-transport.mjs +170 -0
  37. package/.claude/nccgs/workflow-catalog.json +4 -4
  38. package/CHANGELOG.md +235 -200
  39. package/CLAUDE.md +10 -8
  40. package/MEMORY.md +109 -60
  41. package/README.md +206 -191
  42. package/UPGRADING.md +130 -118
  43. package/VERSION +1 -1
  44. package/docs/ARCHITECTURE.md +131 -131
  45. package/docs/ASSET-PRODUCTION-GRAPHIFY-PLAN.md +230 -0
  46. package/docs/HUONG-DAN-MIGRATE-VA-SU-DUNG.md +117 -116
  47. package/docs/NCCGS-1.5.md +237 -237
  48. package/docs/PROJECT-POLICY.md +94 -94
  49. package/docs/RELEASE-STATUS.md +17 -9
  50. package/docs/UNINSTALL.md +3 -3
  51. package/docs/WFK17-HOOK-REPAIR.md +71 -0
  52. package/docs/WORKFLOWS.md +85 -85
  53. package/package.json +1 -1
  54. package/scaffold/.nccgs/project.yaml +109 -108
  55. package/scripts/benchmark-v15.mjs +173 -173
  56. package/scripts/doctor.mjs +261 -261
  57. package/scripts/install.mjs +530 -529
  58. package/scripts/run.mjs +5 -4
  59. package/scripts/supervise.mjs +4 -0
  60. package/scripts/uninstall.mjs +292 -292
  61. package/scripts/validate.mjs +285 -280
  62. package/tests/autonomy.test.mjs +126 -113
  63. package/tests/design-readiness.test.mjs +199 -199
  64. package/tests/fixtures/compiler-shutdown.cs +67 -64
  65. package/tests/fixtures/native-provider.mjs +61 -0
  66. package/tests/framework.test.mjs +740 -740
  67. package/tests/hook-repair.test.mjs +106 -0
  68. package/tests/lifecycle-v15.test.mjs +346 -300
  69. package/tests/native-completion-notices.test.mjs +181 -0
  70. package/tests/phase1.test.mjs +427 -416
  71. package/tests/phase2.test.mjs +250 -250
  72. package/tests/policy-v15.test.mjs +234 -234
  73. package/tests/returned-handoff-notices.test.mjs +170 -0
  74. package/tests/runtime-v15.test.mjs +1197 -1191
  75. package/tests/task-slices.test.mjs +285 -285
  76. package/tests/unity-transport.test.mjs +348 -0
package/MEMORY.md CHANGED
@@ -1,60 +1,109 @@
1
- # NCCGS — portable framework decisions
2
-
3
- NCCGS means **New Claude Code Game Studio** and targets **Claude Code**.
4
- This is the unpublished 2.1.0 source, adding reversible project uninstallation.
5
- The earlier 2.0.0 release was published on 2026-10-28; its archive is unchanged.
6
- Local preparation does not change npm tags. Native qualification remains scoped
7
- to its frozen archives; see README.md and CHANGELOG.md for evidence boundaries.
8
- Project-specific authorizations, provider sessions, budgets and internal development
9
- history are retained separately, outside the public package. Nothing in this file
10
- authorizes spending, provider access or changes to a user's project by itself.
11
-
12
- ## Execution and authority
13
-
14
- - Follow the user's explicit instructions and the project's approved contract.
15
- - New installations use standalone Claude Code execution; external review is optional
16
- and separately configured. Preserve existing execution/profile obligations on update.
17
- - Codex may maintain and test framework source. It must not replace Claude Code agents
18
- to claim actual NCCGS game orchestration. Installed files, configured models and
19
- synthetic tests are not provider execution evidence.
20
- - Use actual correlated native worker observations. Unknown model, effort or usage
21
- remains unknown. Never infer execution from a requested alias or a handoff marker.
22
- - Preserve failed attempts, negative reviews, task history, evidence and consumed
23
- allowances. An update, migration, retry or new report must not reset spent budgets.
24
- - Uninstall only from an external terminal after sessions and owned work stop.
25
- Preserve game source, custom files and .nccgs history/budgets. Uninstall never
26
- closes tasks, waives review/acceptance or authorizes deleting retained records.
27
- - Known-solution or contaminated benchmark baselines remain reference-only; do not
28
- score them as independent NCCGS runs.
29
-
30
- ## Delivery and evidence
31
-
32
- - Evaluate brief fidelity, implementation, tests, integration, review/repair and
33
- evidence-backed handoff. Product balance and feel are separate unless the contract
34
- explicitly includes them. Do not expand a delivery task into an unrequested study.
35
- - Keep approved gameplay rules, formulas and UI/accessibility requirements. A correct
36
- loss can pass a behavior test. Disclosed fixtures may arrange preconditions but must
37
- exercise real logic rather than inject the asserted outcome.
38
- - Automatic acceptance requires current measured assertions; helper exit zero and a
39
- reviewer boolean alone do not prove success. Reject missing, stale or malformed data.
40
- - A completed independent reviewer owns its exact verdict/findings/conditions. PASS
41
- requires no unresolved mandatory conditions; do not translate or edit its verdict.
42
- - Technical acceptance, human/Product Owner acceptance and benchmark claims are distinct.
43
- Never claim broad performance, quality or productivity from one supported case.
44
- - Keep frozen evaluations unchanged when maintaining the framework or preparing a release.
45
-
46
- ## Operational boundaries
47
-
48
- - Launch/resume through nccgs run. Honor native, OS, managed, destructive-action and
49
- project permission constraints; do not repeatedly request already-authorized routine work.
50
- - Use foreground Agent calls and managed verification jobs for long engine checks.
51
- Keep process ownership, finite time/cost/dispatch limits and interruption evidence.
52
- Never escape ownership through a detached or WMI-launched process.
53
- - Task lifecycle commands are one plain invocation per shell call, without pipes,
54
- redirection or chained commands. Read task state with inspect.
55
- - Check effective native role limits; prompt text does not change maxTurns. The
56
- reviewer ceiling is 200 turns, not a target or a budget extension.
57
- - Use reviewed design readiness for features and exact bounded repair packets when
58
- required. Read the relevant protocols rather than guessing governance syntax.
59
- - Preserve bundled third-party licenses and attribution, including Ponytail guidance
60
- and the official Unity Skills. Additional guidance does not waive acceptance gates.
1
+ # NCCGS — portable framework decisions
2
+
3
+ NCCGS means **New Claude Code Game Studio** and targets **Claude Code**.
4
+ This is the unpublished 2.1.1 release source, adding reversible project uninstallation.
5
+ The earlier 2.0.0 release was published on 2026-10-28; its archive is unchanged.
6
+ The registry's existing 2.1.0 artifact is distinct from the accepted local R11 r05
7
+ baseline; 2.1.1 is its separately prepared release identity.
8
+ Local preparation does not change npm tags. Native qualification remains scoped
9
+ to its frozen archives; see README.md and CHANGELOG.md for evidence boundaries.
10
+ Project-specific authorizations, provider sessions, budgets and internal development
11
+ history are retained separately, outside the public package. Nothing in this file
12
+ authorizes spending, provider access or changes to a user's project by itself.
13
+
14
+ ## Execution and authority
15
+
16
+ - Follow the user's explicit instructions and the project's approved contract.
17
+ - In the user's shared workflow, the sequence is PO + ChatGPT/Codex brainstorm,
18
+ confirm the approach, ChatGPT/Codex issue the English prompt, Claude Code executes
19
+ through NCCGS, then PO + ChatGPT/Codex review. NCCGS's entire internal workflow
20
+ belongs to the Claude execution step. The external role is ChatGPT/Codex; no
21
+ additional named planner or compatibility-role mapping is part of this contract.
22
+ Internal planning, workers, reviews and task states remain NCCGS responsibilities
23
+ within the approved assignment. Standalone execution is not itself a conflict;
24
+ do not require compatibility migration or native external gates just to represent
25
+ the outer workflow. Internal completion returns a candidate for external review.
26
+ Preserve actual existing gates/history until a separately authorized change.
27
+ - New installations use standalone Claude Code execution; external review is optional
28
+ and separately configured. Preserve existing execution/profile obligations on update.
29
+ - Codex may maintain and test framework source. It must not replace Claude Code agents
30
+ to claim actual NCCGS game orchestration. Installed files, configured models and
31
+ synthetic tests are not provider execution evidence.
32
+ - Use actual correlated native worker observations. Unknown model, effort or usage
33
+ remains unknown. Never infer execution from a requested alias or a handoff marker.
34
+ - Preserve failed attempts, negative reviews, task history, evidence and consumed
35
+ allowances. An update, migration, retry or new report must not reset spent budgets.
36
+ - Uninstall only from an external terminal after sessions and owned work stop.
37
+ Preserve game source, custom files and .nccgs history/budgets. Uninstall never
38
+ closes tasks, waives review/acceptance or authorizes deleting retained records.
39
+ - Known-solution or contaminated benchmark baselines remain reference-only; do not
40
+ score them as independent NCCGS runs.
41
+
42
+ ## Delivery and evidence
43
+
44
+ - Evaluate brief fidelity, implementation, tests, integration, review/repair and
45
+ evidence-backed handoff. Product balance and feel are separate unless the contract
46
+ explicitly includes them. Do not expand a delivery task into an unrequested study.
47
+ - Keep approved gameplay rules, formulas and UI/accessibility requirements. A correct
48
+ loss can pass a behavior test. Disclosed fixtures may arrange preconditions but must
49
+ exercise real logic rather than inject the asserted outcome.
50
+ - Automatic acceptance requires current measured assertions; helper exit zero and a
51
+ reviewer boolean alone do not prove success. Reject missing, stale or malformed data.
52
+ - A completed independent reviewer owns its exact verdict/findings/conditions. PASS
53
+ requires no unresolved mandatory conditions; do not translate or edit its verdict.
54
+ - Technical acceptance, human/Product Owner acceptance and benchmark claims are distinct.
55
+ Never claim broad performance, quality or productivity from one supported case.
56
+ - Keep frozen evaluations unchanged when maintaining the framework or preparing a release.
57
+
58
+ ## Operational boundaries
59
+
60
+ - Launch/resume through nccgs run. Honor native, OS, managed, destructive-action and
61
+ project permission constraints; do not repeatedly request already-authorized routine work.
62
+ - Use foreground Agent calls and managed verification jobs for long engine checks.
63
+ Keep process ownership, finite time/cost/dispatch limits and interruption evidence.
64
+ Never escape ownership through a detached or WMI-launched process.
65
+ - Task lifecycle commands are one plain invocation per shell call, without pipes,
66
+ redirection or chained commands. Read task state with inspect.
67
+ - Check effective native role limits; prompt text does not change maxTurns. The
68
+ reviewer ceiling is 200 turns, not a target or a budget extension.
69
+ - Use reviewed design readiness for features and exact bounded repair packets when
70
+ required. Read the relevant protocols rather than guessing governance syntax.
71
+ - Preserve bundled third-party licenses and attribution, including Ponytail guidance
72
+ and the official Unity Skills. Additional guidance does not waive acceptance gates.
73
+
74
+ ## Planned framework additions
75
+
76
+ - Add focused asset-production support, drawing on `create-game-assets` from
77
+ https://github.com/gamedev-skills/awesome-gamedev-agent-skills.
78
+ Prioritize the art-direction brief, asset manifest, and production/import/visual-QA
79
+ checklists through the existing Art Direction, Technical Artist and Asset Audit
80
+ responsibilities. Preserve project art direction, approval authority and provenance;
81
+ review and retain applicable upstream licensing when adapting content.
82
+ This is a recorded future addition, not an implemented integration. Do not import
83
+ the full skills catalog, add a second router, or make image generation mandatory.
84
+ - Add optional Graphify integration only for projects that already use it. A global
85
+ `graphifyy` installation alone does not activate it. Skip projects without a setup;
86
+ NCCGS does not install or upgrade Graphify. For usable existing setups, synchronize
87
+ changed indexed inputs in settled batches, including semantic document processing,
88
+ and preserve explicit pending/stale status on failure. Shared workflow/project
89
+ configuration owns the tool and corpus; NCCGS owns its change handoff and truthful
90
+ freshness reporting. Shared-workflow authors and NCCGS must use the same effective
91
+ project configuration, corpus, graph location and freshness contract. No separate
92
+ NCCGS graph or independently editable integration policy. Both sides account for
93
+ their selected file changes; one updater at a time refreshes the shared graph after
94
+ writers settle, before graph-dependent handoff/review snapshot capture. This
95
+ integration is planned, not implemented.
96
+ - The two-feature implementation plan is
97
+ [Asset Production and Graphify Update Plan](docs/ASSET-PRODUCTION-GRAPHIFY-PLAN.md).
98
+ Archify remains outside NCCGS as an optional shared-workflow visualization tool.
99
+
100
+ ## Unity CLI-only transport
101
+
102
+ Unity operations use direct Unity CLI and the approved com.unity.pipeline package.
103
+ Do not install, configure, discover or call Unity MCP, including Coplay,
104
+ AnkleBreaker or the official CLI's optional unity mcp mode. No MCP fallback is
105
+ authorized by a licensing/connection failure. Follow the NCCGS unity-boundary
106
+ protocol before applying generic Unity Skills; upstream MCP examples remain
107
+ reference only. Non-Unity integrations need an explicit external configuration
108
+ and are not removed or enabled globally by this package. Existing gates, models,
109
+ history and consumed budgets remain authoritative.
package/README.md CHANGED
@@ -1,191 +1,206 @@
1
- # NCCGS — New Claude Code Game Studio
2
-
3
- **2.1.0** is the unpublished next package for standalone game-development
4
- orchestration in **Claude Code**. It adds reversible project uninstallation;
5
- the published **2.0.0** archive remains unchanged. Local preparation moves no npm tags.
6
- It retains handoff automation, bounded task slicing and Unity repair, protected
7
- final-review allocation, managed Unity settlement and exact first-import output
8
- declarations. New repair steps block unsaved loaded scenes before execution.
9
- See [handoff operations](docs/HANDOFF-AUTOMATION.md), [bounded repair](docs/BOUNDED-REPAIR.md),
10
- [task slicing](docs/TASK-SLICING.md), [uninstallation](docs/UNINSTALL.md) and [release notes](CHANGELOG.md).
11
-
12
- Claude Code handles intake, planning, specialist dispatch, testing, independent
13
- review and reporting. External review can be configured separately. This major
14
- version introduces standalone defaults and explicit execution-policy migration
15
- from the older compatibility workflow; existing task obligations remain preserved.
16
-
17
- ## Validation and limits
18
-
19
- The frozen exact RC4 archive was exercised through actual Claude Code on a
20
- controlled Unity scene repair: dirty-scene refusal preserved unsaved content,
21
- a fresh worker repaired the target, deterministic PARTIAL handoff required no
22
- continuation, all five checks and 28 criteria/385 assertions passed, and a fresh
23
- independent reviewer returned unconditional PASS before normal task closure.
24
- This is scoped workflow evidence, not broad game-quality or productivity proof.
25
-
26
- Version 2.0.0 keeps those runtime guards and adds a receipt publisher so external
27
- Editor stop evidence is available inside the reviewer's project. It does not
28
- operate processes or alter acceptance. See [Editor evidence](docs/EDITOR-SESSION-EVIDENCE.md).
29
- The exact 2.0.0 archive subsequently passed its scoped native Unity qualification
30
- and was published on 2026-10-28. Frozen release receipts retain its tests and
31
- independent reviews. The new 2.1.0 uninstaller receives local filesystem/CLI tests;
32
- that does not claim another Claude Code/Unity run. The first independent maintenance
33
- review required four fixes; this candidate adds those fixes and awaits qualification
34
- of its exact archive, including a fresh independent review. Earlier verdicts remain
35
- unchanged in their separate receipts.
36
- Frozen history remains intact.
37
- See [release status](docs/RELEASE-STATUS.md), [upgrading](UPGRADING.md),
38
- [Vietnamese quick start](docs/HUONG-DAN-MIGRATE-VA-SU-DUNG.md) and [decisions](MEMORY.md).
39
-
40
- ## What changed
41
-
42
- Standalone `/design`, `/design-review` and `/story-readiness` now load the
43
- [design lifecycle](.claude/nccgs/protocols/design-lifecycle.md). New installs require
44
- a reviewed design handoff before dependent feature implementation; criteria and
45
- their source/threshold authority are pinned across that handoff. The fixed
46
- `task design-validate` command supports plan tasks without granting arbitrary
47
- shell execution. Existing policies and frozen evaluations retain their obligations;
48
- see [upgrading](UPGRADING.md). Schema validation is not semantic or gameplay acceptance.
49
-
50
-
51
-
52
- NCCGS includes a [shared Ponytail package](.claude/nccgs/packages/ponytail/README.md)
53
- for technical planning, implementation, supplementary complexity review and known
54
- code limits. The coordinator and agents load it by assignment through their common
55
- contracts. It borrows selected guidance from DietrichGebert/Ponytail under MIT;
56
- the [original license](.claude/nccgs/packages/ponytail/LICENSE) and
57
- [attribution/change notice](.claude/nccgs/packages/ponytail/NOTICE.md) ship with every
58
- installation. It preserves full design and QA obligations; no separate Ponytail
59
- plugin or global hooks are installed. Broad comparative effectiveness remains unmeasured.
60
-
61
- - Separate execution policy, model profile and external review (`off`, `advisory`,
62
- `required`); project updates preserve existing obligations.
63
- - Task contracts for `implement`, `audit` and `plan`, with conservative
64
- FAST/STANDARD/CONTROLLED classification, reasons, inputs and acceptance gates.
65
- - Durable dispatch reservations, path ownership checks, two-worker ceiling,
66
- independent reviewer slot, ancestor quotas and recovery without budget refunds.
67
- - Final evidence tied to task, source, contract, runtime invocation and raw source.
68
- Missing model/effort/usage is explicit; requested settings do not prove execution.
69
- - Reports for success, partial, blocked and failed outcomes; strict successful
70
- closure, optional external receipts and explicit acceptance when configured.
71
- - Execution migration with dry-run, archived configuration and guarded rollback.
72
-
73
- The studio retains 47 roles (13 active by default, including Game Designer), 36 NCCGS workflows, scoped
74
- rules, lifecycle hooks and unmodified official Unity Skills. Enable specialists
75
- when their expertise resolves a concrete problem; do not dispatch the whole studio.
76
-
77
- ## Try the local 2.1.0 package
78
-
79
- Requirements: Claude Code and Node.js 18+. Unity CLI/Pipeline is needed for live
80
- Unity operations. Run against a disposable Unity project first:
81
-
82
- Use the locally prepared archive and its accompanying SHA-256 manifest:
83
-
84
- ```powershell
85
- $NccgsArchive = "D:\path\to\nccgs-2.1.0.tgz"
86
- npx --yes --package "$NccgsArchive" nccgs install --project "D:\path\to\UnityProject" --dry-run
87
- npx --yes --package "$NccgsArchive" nccgs install --project "D:\path\to\UnityProject"
88
- npx --yes --package "$NccgsArchive" nccgs doctor --project "D:\path\to\UnityProject"
89
- ```
90
-
91
- Before 2.1.0 publication, use this local archive. Published nccgs@2.0.0 does not
92
- include the uninstall command. Use update for an existing installation only after reviewing its
93
- dry run and backup. See [the tested upgrade matrix](docs/UPGRADE-QUALIFICATION.md) and its limits.
94
- The installer preserves customized files and unrelated Claude settings, records
95
- overrides and backs up replacements. Do not use --force as an ordinary update path.
96
-
97
- New installs default to standalone with `claude-standalone`. Existing installations
98
- without execution.json remain compatibility. To migrate explicitly:
99
-
100
- ```powershell
101
- npx --yes --package "$NccgsArchive" nccgs migrate-execution --project "D:\path\to\UnityProject" --to standalone --model-profile claude-standalone --dry-run
102
- ```
103
-
104
- Inspect the dry run, then remove `--dry-run`. Omitting `--model-profile` preserves
105
- existing model routes. See [upgrading](UPGRADING.md) for rollback and historical
106
- task handling. Updating files never converts an old approval into a new one.
107
-
108
- ## Operating flow
109
-
110
- Start a task session with native permissions already selected:
111
-
112
- ```powershell
113
- npx --yes --package "$NccgsArchive" nccgs run --project "D:\path\to\UnityProject"
114
- ```
115
-
116
- New installations default to task autonomy `full`. Existing installations keep
117
- their setting; use `update --autonomy full` to select it explicitly. For a resumed
118
- session, append `-- --resume SESSION_ID`. If Claude is not on PATH, pass
119
- `--claude "C:\path\to\claude.exe"` before the separator. Model and tool settings
120
- are inherited. Ordinary Bash, report writing and task work outside the project
121
- need no repeated permission; explicit deny rules and integrity/destructive-action
122
- guards remain effective. See [task autonomy](.claude/nccgs/protocols/task-autonomy.md).
123
-
124
- ```text
125
- User request -> bounded contract + mode + risk
126
- -> reserved Claude Code worker(s)
127
- -> targeted evidence + independent internal review
128
- -> honest report of outcome and unresolved findings
129
- -> configured external/manual/acceptance gates -> DONE
130
- ```
131
-
132
- | Workflow | Outcome |
133
- |---|---|
134
- | `/work` | Implement a feature, fix, refactor, tool or content change |
135
- | `/design` | Plan design and requirements |
136
- | `/audit` | Examine the project without source edits |
137
- | `/migrate-project` | Review and apply authorized project adoption changes |
138
- | `/test` | Verify declared requirements |
139
- | `/review` | Independent review |
140
- | `/release` | Prepare a verified release candidate |
141
- | `/status` | Read state, evidence, blockers and next action |
142
-
143
- FAST uses Sonnet/medium; STANDARD uses Opus/medium; CONTROLLED uses Opus/high.
144
- Independent review uses Opus/high. These aliases are requested routes. Real Claude
145
- model resolution and provider access must be verified in the target session.
146
- Historical `astra-claude` routes remain available under compatibility execution.
147
-
148
- ## Remove NCCGS when it is no longer needed
149
-
150
- Close Claude Code sessions, then preview and apply from an external terminal:
151
-
152
- ```powershell
153
- npx --yes --package "$NccgsArchive" nccgs uninstall --project "D:\path\to\UnityProject" --dry-run
154
- npx --yes --package "$NccgsArchive" nccgs uninstall --project "D:\path\to\UnityProject"
155
- ```
156
-
157
- This also supports an existing 2.0.0 installation without updating it first.
158
- Game source, customized files and `.nccgs` history/budgets remain. The command
159
- removes unchanged managed files and exact framework hooks/imports, saves a backup
160
- and refuses active or uncertain work. Use `uninstall --rollback ID` to restore
161
- that backup when no later edits conflict. Shared permission/model settings stay
162
- because their ownership was not recorded by earlier installers.
163
- See [details and recovery](docs/UNINSTALL.md).
164
-
165
- ## Maintainer verification and limits
166
-
167
- These commands run from a source/package checkout. They are not extra steps for
168
- users installing with npx, and do not initiate a Claude Code game run.
169
-
170
- ```text
171
- npm run policy:build
172
- npm run policy:check
173
- npm run validate
174
- npm test
175
- node scripts/benchmark-v15.mjs --out PATH_TO_JSON
176
- npm pack --dry-run
177
- ```
178
-
179
- Generated catalogs, workflow wrappers and agents come from pipeline.json and the
180
- agent library. Do not patch generated model pins directly. Official Unity Skills
181
- remain the source for generic Editor/asset mechanics.
182
-
183
- Reservations and direct edit hooks enforce declared path ownership. Arbitrary
184
- implementation shell/MCP tools are not filesystem-sandboxed; review actual changes.
185
- Background or uncertain workers retain slots until final correlated evidence or
186
- external reconciliation. Worker telemetry has explicit coverage and excludes
187
- unobserved coordinator/human/provider activity. It is not account-wide billing.
188
-
189
- See [the Claude Code pilot and benchmark protocol](docs/NCCGS-1.5-PILOT.md),
190
- [the standalone workflow](.claude/nccgs/protocols/standalone.md), and
191
- [the 1.4.1 integrity guide](docs/NCCGS-1.4.1.md).
1
+ # NCCGS — New Claude Code Game Studio
2
+
3
+ **2.1.1** is the prepared local release for standalone game-development
4
+ orchestration in **Claude Code**, derived from the accepted local R11 r05
5
+ baseline. The registry already contains a different `nccgs@2.1.0` tarball. This prepared
6
+ 2.1.1 package derives from the accepted local R11 r05 qualification; it does not
7
+ replace or retroactively qualify the registry artifact. No npm tags are changed.
8
+
9
+ It retains handoff automation, bounded task slicing and Unity repair, protected
10
+ final-review allocation, managed Unity settlement and exact first-import output
11
+ declarations. New repair steps block unsaved loaded scenes before execution.
12
+ See [handoff operations](docs/HANDOFF-AUTOMATION.md), [bounded repair](docs/BOUNDED-REPAIR.md),
13
+ [task slicing](docs/TASK-SLICING.md), [uninstallation](docs/UNINSTALL.md) and [release notes](CHANGELOG.md).
14
+
15
+ Claude Code handles intake, planning, specialist dispatch, testing, independent
16
+ review and reporting. External review can be configured separately. This major
17
+ version introduces standalone defaults and explicit execution-policy migration
18
+ from the older compatibility workflow; existing task obligations remain preserved.
19
+
20
+ ## Validation and limits
21
+
22
+ The frozen exact RC4 archive was exercised through actual Claude Code on a
23
+ controlled Unity scene repair: dirty-scene refusal preserved unsaved content,
24
+ a fresh worker repaired the target, deterministic PARTIAL handoff required no
25
+ continuation, all five checks and 28 criteria/385 assertions passed, and a fresh
26
+ independent reviewer returned unconditional PASS before normal task closure.
27
+ This is scoped workflow evidence, not broad game-quality or productivity proof.
28
+
29
+ Version 2.0.0 keeps those runtime guards and adds a receipt publisher so external
30
+ Editor stop evidence is available inside the reviewer's project. It does not
31
+ operate processes or alter acceptance. See [Editor evidence](docs/EDITOR-SESSION-EVIDENCE.md).
32
+ The exact 2.0.0 archive subsequently passed its scoped native Unity qualification
33
+ and was published on 2026-10-28. Frozen release receipts retain its tests and
34
+ independent reviews. The accepted local R11 r05 baseline accounts for 353 passing
35
+ top-level cases and 13 explicitly host-skipped link cases, with independent Fable
36
+ static review PASS and no mandatory conditions. The 2.1.1 preparation changes
37
+ package identity and current guidance only; runtime code, profiles, role ceilings,
38
+ guards and budgets remain unchanged. Its exact package/release checks are recorded
39
+ in the accompanying qualification receipts. Effective native effort stays UNKNOWN;
40
+ this does not claim managed-worker completion or a new Claude Code/Unity run.
41
+ Earlier negative verdicts remain unchanged in their separate receipts.
42
+ Frozen history remains intact.
43
+ See [release status](docs/RELEASE-STATUS.md), [upgrading](UPGRADING.md),
44
+ [Vietnamese quick start](docs/HUONG-DAN-MIGRATE-VA-SU-DUNG.md) and [decisions](MEMORY.md).
45
+
46
+ ## What changed
47
+
48
+ Standalone `/design`, `/design-review` and `/story-readiness` now load the
49
+ [design lifecycle](.claude/nccgs/protocols/design-lifecycle.md). New installs require
50
+ a reviewed design handoff before dependent feature implementation; criteria and
51
+ their source/threshold authority are pinned across that handoff. The fixed
52
+ `task design-validate` command supports plan tasks without granting arbitrary
53
+ shell execution. Existing policies and frozen evaluations retain their obligations;
54
+ see [upgrading](UPGRADING.md). Schema validation is not semantic or gameplay acceptance.
55
+
56
+
57
+
58
+ NCCGS includes a [shared Ponytail package](.claude/nccgs/packages/ponytail/README.md)
59
+ for technical planning, implementation, supplementary complexity review and known
60
+ code limits. The coordinator and agents load it by assignment through their common
61
+ contracts. It borrows selected guidance from DietrichGebert/Ponytail under MIT;
62
+ the [original license](.claude/nccgs/packages/ponytail/LICENSE) and
63
+ [attribution/change notice](.claude/nccgs/packages/ponytail/NOTICE.md) ship with every
64
+ installation. It preserves full design and QA obligations; no separate Ponytail
65
+ plugin or global hooks are installed. Broad comparative effectiveness remains unmeasured.
66
+
67
+ - Separate execution policy, model profile and external review (`off`, `advisory`,
68
+ `required`); project updates preserve existing obligations.
69
+ - Task contracts for `implement`, `audit` and `plan`, with conservative
70
+ FAST/STANDARD/CONTROLLED classification, reasons, inputs and acceptance gates.
71
+ - Durable dispatch reservations, path ownership checks, two-worker ceiling,
72
+ independent reviewer slot, ancestor quotas and recovery without budget refunds.
73
+ - Final evidence tied to task, source, contract, runtime invocation and raw source.
74
+ Missing model/effort/usage is explicit; requested settings do not prove execution.
75
+ - Reports for success, partial, blocked and failed outcomes; strict successful
76
+ closure, optional external receipts and explicit acceptance when configured.
77
+ - Execution migration with dry-run, archived configuration and guarded rollback.
78
+
79
+ The studio retains 47 roles (13 active by default, including Game Designer), 36 NCCGS workflows, scoped
80
+ rules, lifecycle hooks and unmodified official Unity Skills. Enable specialists
81
+ when their expertise resolves a concrete problem; do not dispatch the whole studio.
82
+
83
+ ## Try the local 2.1.1 package
84
+
85
+ Requirements: Claude Code and Node.js 18+. Unity CLI/Pipeline is needed for live
86
+ Unity operations. Run against a disposable Unity project first:
87
+
88
+ Use the locally prepared archive and its accompanying SHA-256 manifest:
89
+
90
+ ```powershell
91
+ $NccgsArchive = "D:\path\to\nccgs-2.1.1.tgz"
92
+ npx --yes --package "$NccgsArchive" nccgs install --project "D:\path\to\UnityProject" --dry-run
93
+ npx --yes --package "$NccgsArchive" nccgs install --project "D:\path\to\UnityProject"
94
+ npx --yes --package "$NccgsArchive" nccgs doctor --project "D:\path\to\UnityProject"
95
+ ```
96
+
97
+ Before 2.1.1 publication, use this exact local archive. The registry's existing
98
+ 2.1.0 has different bytes and is not the accepted local R11 r05 archive. Published
99
+ nccgs@2.0.0 does not include the uninstall command. Use update for an existing installation only after reviewing its
100
+ dry run and backup. See [the tested upgrade matrix](docs/UPGRADE-QUALIFICATION.md) and its limits.
101
+ The installer preserves customized files and unrelated Claude settings, records
102
+ overrides and backs up replacements. Do not use --force as an ordinary update path.
103
+
104
+ New installs default to standalone with `claude-standalone`. Existing installations
105
+ without execution.json remain compatibility. To migrate explicitly:
106
+
107
+ ```powershell
108
+ npx --yes --package "$NccgsArchive" nccgs migrate-execution --project "D:\path\to\UnityProject" --to standalone --model-profile claude-standalone --dry-run
109
+ ```
110
+
111
+ Inspect the dry run, then remove `--dry-run`. Omitting `--model-profile` preserves
112
+ existing model routes. See [upgrading](UPGRADING.md) for rollback and historical
113
+ task handling. Updating files never converts an old approval into a new one.
114
+
115
+ ## Operating flow
116
+
117
+ Start a task session with native permissions already selected:
118
+
119
+ ```powershell
120
+ npx --yes --package "$NccgsArchive" nccgs run --project "D:\path\to\UnityProject"
121
+ ```
122
+
123
+ New installations default to task autonomy `full`. Existing installations keep
124
+ their setting; use `update --autonomy full` to select it explicitly. For a resumed
125
+ session, append `-- --resume SESSION_ID`. If Claude is not on PATH, pass
126
+ `--claude "C:\path\to\claude.exe"` before the separator. Model and tool settings
127
+ are inherited. Ordinary Bash, report writing and task work outside the project
128
+ need no repeated permission; explicit deny rules and integrity/destructive-action
129
+ guards remain effective. See [task autonomy](.claude/nccgs/protocols/task-autonomy.md).
130
+
131
+ ```text
132
+ User request -> bounded contract + mode + risk
133
+ -> reserved Claude Code worker(s)
134
+ -> targeted evidence + independent internal review
135
+ -> honest report of outcome and unresolved findings
136
+ -> configured external/manual/acceptance gates -> DONE
137
+ ```
138
+
139
+ | Workflow | Outcome |
140
+ |---|---|
141
+ | `/work` | Implement a feature, fix, refactor, tool or content change |
142
+ | `/design` | Plan design and requirements |
143
+ | `/audit` | Examine the project without source edits |
144
+ | `/migrate-project` | Review and apply authorized project adoption changes |
145
+ | `/test` | Verify declared requirements |
146
+ | `/review` | Independent review |
147
+ | `/release` | Prepare a verified release candidate |
148
+ | `/status` | Read state, evidence, blockers and next action |
149
+
150
+ FAST uses Sonnet/high; STANDARD uses Opus/high; CONTROLLED uses Opus/xhigh.
151
+ Leadership requests Opus/xhigh. Independent review uses Fable/high. These aliases are requested routes. Real Claude
152
+ model resolution and provider access must be verified in the target session.
153
+ Historical `astra-claude` routes remain available under compatibility execution.
154
+
155
+ ## Remove NCCGS when it is no longer needed
156
+
157
+ Close Claude Code sessions, then preview and apply from an external terminal:
158
+
159
+ ```powershell
160
+ npx --yes --package "$NccgsArchive" nccgs uninstall --project "D:\path\to\UnityProject" --dry-run
161
+ npx --yes --package "$NccgsArchive" nccgs uninstall --project "D:\path\to\UnityProject"
162
+ ```
163
+
164
+ This also supports an existing 2.0.0 installation without updating it first.
165
+ Game source, customized files and `.nccgs` history/budgets remain. The command
166
+ removes unchanged managed files and exact framework hooks/imports, saves a backup
167
+ and refuses active or uncertain work. Use `uninstall --rollback ID` to restore
168
+ that backup when no later edits conflict. Shared permission/model settings stay
169
+ because their ownership was not recorded by earlier installers.
170
+ See [details and recovery](docs/UNINSTALL.md).
171
+
172
+ ## Maintainer verification and limits
173
+
174
+ These commands run from a source/package checkout. They are not extra steps for
175
+ users installing with npx, and do not initiate a Claude Code game run.
176
+
177
+ ```text
178
+ npm run policy:build
179
+ npm run policy:check
180
+ npm run validate
181
+ npm test
182
+ node scripts/benchmark-v15.mjs --out PATH_TO_JSON
183
+ npm pack --dry-run
184
+ ```
185
+
186
+ Generated catalogs, workflow wrappers and agents come from pipeline.json and the
187
+ agent library. Do not patch generated model pins directly. Official Unity Skills
188
+ remain the source for generic Editor/asset mechanics.
189
+
190
+ Reservations and direct edit hooks enforce declared path ownership. Arbitrary
191
+ implementation shell/MCP tools are not filesystem-sandboxed; review actual changes.
192
+ Background or uncertain workers retain slots until final correlated evidence or
193
+ external reconciliation. Worker telemetry has explicit coverage and excludes
194
+ unobserved coordinator/human/provider activity. It is not account-wide billing.
195
+
196
+ See [the Claude Code pilot and benchmark protocol](docs/NCCGS-1.5-PILOT.md),
197
+ [the standalone workflow](.claude/nccgs/protocols/standalone.md), and
198
+ [the 1.4.1 integrity guide](docs/NCCGS-1.4.1.md).
199
+
200
+ ## Direct Unity transport
201
+
202
+ Unity uses CLI/Pipeline only. `nccgs run` supplies `--strict-mcp-config --mcp-config '{"mcpServers":{}}'` by default, preserving prompt/model/permission policy. An external operator may explicitly supply a JSON non-Unity MCP configuration or JSON-file path; Unity/Coplay/AnkleBreaker server identities and routes are rejected. Global MCP settings and plugins are never edited. The universal transport hook also refuses Unity MCP tools and ordinary registration/launch shell commands before task/profile routing.
203
+
204
+ Generic Unity Skills retain their upstream hashes and licenses. Their optional MCP examples do not override this package's [Unity boundary](.claude/nccgs/protocols/unity-boundary.md). These checks do not sandbox arbitrary/encoded programs or a hostile client. Actual source review, native permissions and measured runtime evidence remain necessary.
205
+
206
+ R07 review repair: Claude Code declares its MCP-config option variadic. The one validated config is therefore placed at argv end or immediately before the explicit option terminator, preserving positional prompts and preventing an unchecked second config. Recovery requires that canonical boundary without rewriting retained state. Ordinary Claude/Codex Unity MCP registration is denied; non-Unity community server/method names remain available. Provider instruction-pattern warnings remain fail-closed; qualification handoffs describe settings in prose instead of reproducing configuration JSON.