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
@@ -1,94 +1,94 @@
1
- # Project policy
2
-
3
- `.nccgs/project.yaml` adapts NCCGS to one project. Keep generic framework behavior out
4
- of this file; record only choices that change routing, authority, ownership, context,
5
- verification, closure, or Unity execution for the project.
6
-
7
- ## Required decisions
8
-
9
- - project stage and platforms;
10
- - enabled departments and bounded orchestration;
11
- - execution policy and external/manual acceptance obligations;
12
- - `claude-standalone`, `astra-claude`, `quality`, `balanced`, or `inherit` model profile and fallback policy;
13
- - canonical sources for product, design, architecture, planning, art, narrative,
14
- audio, and release;
15
- - protected/user-owned/generated paths and hand-tuned settings;
16
- - architecture constraints, packages and services;
17
- - Unity version, render/UI/input systems and CLI/Pipeline preference;
18
- - test/build/runtime baselines and recurring Product Owner gates;
19
- - closure mode, linked artifacts, completion rules and waiver policy.
20
-
21
- ## Model policy
22
-
23
- New installations use standalone execution with `claude-standalone`: Sonnet/medium
24
- for FAST, Opus/medium for STANDARD, Opus/high for CONTROLLED and Opus/high for
25
- independent review. These are requested aliases and effort, not runtime observations.
26
- Execution policy lives separately in `.nccgs/execution.json`; changing a model
27
- profile does not remove task gates or migrate compatibility execution.
28
-
29
- Existing compatibility projects selecting `astra-claude` retain Astra planning,
30
- Fable review and their configured approval chain. See the
31
- [compatibility protocol](../.claude/nccgs/protocols/astra-claude.md). Ordinary
32
- updates preserve existing selections and obligations.
33
-
34
- Use `quality` when result quality is primary and all model tiers are available. Use
35
- `balanced` when leadership coordination does not need Opus by default. Use `inherit`
36
- when subscription/context compatibility or explicit user control is more important
37
- than automatic routing.
38
-
39
- The `models.overrides` field is reserved; the configurator does not apply it. Routing
40
- is compiled from `.claude/nccgs/pipeline.json`. The astra-claude profile intentionally
41
- pins task routes through `contract.taskTiers`; changing required stage models or risk policy is a Product Owner decision.
42
-
43
- For the Astra profile, map the checks, artifacts and manual gates below into
44
- `.nccgs/gates.json` and pin its `policySha256` to this project policy. Task-specific
45
- requirements may add obligations. The executable manifest does not automatically
46
- translate YAML conditions: Astra must preserve and map all existing safeguards.
47
- See [task gates](../.claude/nccgs/protocols/task-gates.md) for evidence formats.
48
-
49
- `contract.taskTiers` selects each task's implementation class and review limit.
50
- Compatibility `task init --risk` defaults to STANDARD; standalone intake uses its
51
- classifier and explicit risk evidence. FAST allows two recorded reviews and
52
- STANDARD/CONTROLLED allow three. Re-recording implementation does not reset the
53
- counter. Only an explicit external `task extend-review` decision adds rounds.
54
- An exhausted budget is not acceptance. Planning estimates do not extend configured
55
- dispatch/session/check limits. Read the active execution policy and actual ledger.
56
-
57
- ## Canonical sources and context
58
-
59
- Map existing documents where they live. Workflows address semantic roles, not fixed
60
- folder names. Context packets refer to exact sections and source revisions; they do
61
- not replace canonical documents.
62
-
63
- ## Closure example
64
-
65
- ```yaml
66
- closure:
67
- mode: strict
68
- canonical_record: ".nccgs/closures/{feature_id}.md"
69
- required_artifacts:
70
- - id: implementation-report
71
- type: report
72
- path_pattern: "project-docs/reports/{feature_id}*.md"
73
- required: true
74
- completion_rule: exists
75
- - id: implementation-register
76
- type: register_entry
77
- path_pattern: "project-docs/implementation-register.md"
78
- required: true
79
- completion_rule: entry_present
80
- - id: deletion-gate
81
- type: checklist
82
- path_pattern: "project-docs/gates/{feature_id}*.md"
83
- required: true
84
- completion_rule: all_conditions
85
- expected_conditions: 7
86
- done_requires:
87
- - implementation
88
- - objective_verification
89
- - required_artifacts
90
- - applicable_manual_gates
91
- ```
92
-
93
- Start migration with the strongest live safeguard and weaken it only through an
94
- explicit Product Owner decision after the replacement has proven its purpose.
1
+ # Project policy
2
+
3
+ `.nccgs/project.yaml` adapts NCCGS to one project. Keep generic framework behavior out
4
+ of this file; record only choices that change routing, authority, ownership, context,
5
+ verification, closure, or Unity execution for the project.
6
+
7
+ ## Required decisions
8
+
9
+ - project stage and platforms;
10
+ - enabled departments and bounded orchestration;
11
+ - execution policy and external/manual acceptance obligations;
12
+ - `claude-standalone`, `astra-claude`, `quality`, `balanced`, or `inherit` model profile and fallback policy;
13
+ - canonical sources for product, design, architecture, planning, art, narrative,
14
+ audio, and release;
15
+ - protected/user-owned/generated paths and hand-tuned settings;
16
+ - architecture constraints, packages and services;
17
+ - Unity version, render/UI/input systems and CLI/Pipeline preference;
18
+ - test/build/runtime baselines and recurring Product Owner gates;
19
+ - closure mode, linked artifacts, completion rules and waiver policy.
20
+
21
+ ## Model policy
22
+
23
+ New installations use standalone execution with `claude-standalone`: Sonnet/high
24
+ for FAST, Opus/high for STANDARD, Opus/xhigh for CONTROLLED/leadership and Fable/high for
25
+ independent review. These are requested aliases and effort, not runtime observations.
26
+ Execution policy lives separately in `.nccgs/execution.json`; changing a model
27
+ profile does not remove task gates or migrate compatibility execution.
28
+
29
+ Existing compatibility projects selecting `astra-claude` retain Astra planning,
30
+ Fable review and their configured approval chain. See the
31
+ [compatibility protocol](../.claude/nccgs/protocols/astra-claude.md). Ordinary
32
+ updates preserve existing selections and obligations.
33
+
34
+ Use `quality` when result quality is primary and all model tiers are available. Use
35
+ `balanced` when leadership coordination does not need Opus by default. Use `inherit`
36
+ when subscription/context compatibility or explicit user control is more important
37
+ than automatic routing.
38
+
39
+ The `models.overrides` field is reserved; the configurator does not apply it. Routing
40
+ is compiled from `.claude/nccgs/pipeline.json`. The astra-claude profile intentionally
41
+ pins task routes through `contract.taskTiers`; changing required stage models or risk policy is a Product Owner decision.
42
+
43
+ For the Astra profile, map the checks, artifacts and manual gates below into
44
+ `.nccgs/gates.json` and pin its `policySha256` to this project policy. Task-specific
45
+ requirements may add obligations. The executable manifest does not automatically
46
+ translate YAML conditions: Astra must preserve and map all existing safeguards.
47
+ See [task gates](../.claude/nccgs/protocols/task-gates.md) for evidence formats.
48
+
49
+ `contract.taskTiers` selects each task's implementation class and review limit.
50
+ Compatibility `task init --risk` defaults to STANDARD; standalone intake uses its
51
+ classifier and explicit risk evidence. FAST allows two recorded reviews and
52
+ STANDARD/CONTROLLED allow three. Re-recording implementation does not reset the
53
+ counter. Only an explicit external `task extend-review` decision adds rounds.
54
+ An exhausted budget is not acceptance. Planning estimates do not extend configured
55
+ dispatch/session/check limits. Read the active execution policy and actual ledger.
56
+
57
+ ## Canonical sources and context
58
+
59
+ Map existing documents where they live. Workflows address semantic roles, not fixed
60
+ folder names. Context packets refer to exact sections and source revisions; they do
61
+ not replace canonical documents.
62
+
63
+ ## Closure example
64
+
65
+ ```yaml
66
+ closure:
67
+ mode: strict
68
+ canonical_record: ".nccgs/closures/{feature_id}.md"
69
+ required_artifacts:
70
+ - id: implementation-report
71
+ type: report
72
+ path_pattern: "project-docs/reports/{feature_id}*.md"
73
+ required: true
74
+ completion_rule: exists
75
+ - id: implementation-register
76
+ type: register_entry
77
+ path_pattern: "project-docs/implementation-register.md"
78
+ required: true
79
+ completion_rule: entry_present
80
+ - id: deletion-gate
81
+ type: checklist
82
+ path_pattern: "project-docs/gates/{feature_id}*.md"
83
+ required: true
84
+ completion_rule: all_conditions
85
+ expected_conditions: 7
86
+ done_requires:
87
+ - implementation
88
+ - objective_verification
89
+ - required_artifacts
90
+ - applicable_manual_gates
91
+ ```
92
+
93
+ Start migration with the strongest live safeguard and weaken it only through an
94
+ explicit Product Owner decision after the replacement has proven its purpose.
@@ -1,13 +1,21 @@
1
1
  # NCCGS release status
2
2
 
3
- Current source: **2.1.0**, unpublished. It adds reversible project uninstallation,
4
- safe backup/rollback and launch/update protection during interrupted removal.
5
- See [removal semantics](UNINSTALL.md). Local tests do not claim a new native
6
- Claude Code/Unity run. The first independent maintenance review returned
7
- CHANGES_REQUIRED. This candidate adds logged operator session reconciliation,
8
- shared admission locking for configuration writers, pre-mutation cancellation
9
- and best-effort directory cleanup. Its exact archive requires fresh full
10
- regression and independent review; the earlier negative verdict is retained.
3
+ Current local source: **2.1.1**, prepared and unpublished. The registry already
4
+ contains a different 2.1.0 artifact; the accepted local R11 r05 source is retained
5
+ unchanged as the qualification baseline. This release variant changes package
6
+ identity and current documentation, with no runtime, policy, model-route, role,
7
+ gate, quota or budget changes. Exact artifact checks and the subsequent release
8
+ review are recorded in separate receipts. No registry publication or tag update
9
+ is performed by preparation.
10
+
11
+ The accepted baseline accounts for 353 passing top-level cases; one top-level
12
+ and 12 nested link/junction cases remain host-skipped, not PASS. Its independent
13
+ Fable static review returned PASS with no conditions. New version-sensitive
14
+ framework/policy and packaged-install checks qualify the separate patch artifact;
15
+ the receipts identify fresh executions versus inherited unchanged scopes.
16
+ Effective native effort remains UNKNOWN. The earlier guarded headless managed
17
+ smoke was blocked before dispatch and remains unclosed; no new Unity run is claimed.
18
+ Earlier negative verdicts and consumed allowances are preserved.
11
19
 
12
20
  Version **2.0.0** was published on 2026-10-28 after exact-archive qualification.
13
21
  The frozen publication receipt verified npm metadata and downloaded bytes,
@@ -16,7 +24,7 @@ fresh consumer installation and all 472 packaged files. Its archive SHA-256 is
16
24
  Its maintenance audit and native Unity case completed with independent PASS;
17
25
  the Unity case retained all 28 criteria/385 assertions, handoff, repair and the
18
26
  unsaved-scene guard. Detailed private task/provider/cost receipts stay outside
19
- the public package. That evidence does not transfer to 2.1.0 automatically.
27
+ the public package. That evidence does not transfer to this 2.1.1 artifact automatically.
20
28
 
21
29
  ## Historical 2.0.0 preparation evidence
22
30
 
package/docs/UNINSTALL.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Remove NCCGS from a project
2
2
 
3
- `uninstall` is available in the **unpublished 2.1.0 package**. The published
4
- 2.0.0 CLI does not have this command. Use the local 2.1.0 archive (or its source
3
+ `uninstall` is available in the **unpublished 2.1.1 package**. The published
4
+ 2.0.0 CLI does not have this command. Use the local 2.1.1 archive (or its source
5
5
  CLI) to remove an existing 2.0.0 installation; no preliminary update is needed.
6
6
 
7
7
  Close Claude Code sessions and let managed workers/verification finish first.
@@ -13,7 +13,7 @@ session record, so they must also be closed by the operator.
13
13
  ## Preview and remove
14
14
 
15
15
  ```powershell
16
- $NccgsArchive = "D:\path\to\nccgs-2.1.0.tgz"
16
+ $NccgsArchive = "D:\path\to\nccgs-2.1.1.tgz"
17
17
  npx --yes --package "$NccgsArchive" nccgs uninstall --project "D:\path\to\UnityProject" --dry-run
18
18
  npx --yes --package "$NccgsArchive" nccgs uninstall --project "D:\path\to\UnityProject"
19
19
  ```
@@ -0,0 +1,71 @@
1
+ # WFK17 R04 local hook/context repair
2
+
3
+ This is an unpublished local candidate based on NCCGS 2.1.0. Its archive SHA-256
4
+ and the outer R04 identity distinguish it from the original package. It is not an
5
+ npm release, rollout or acceptance of full NCCGS orchestration. The common
6
+ workflow R03 remains frozen and unchanged.
7
+
8
+ ## Runtime scope
9
+
10
+ The qualification target is Claude Code 2.1.316 on the named Windows host.
11
+ Earlier CLI versions are not qualified for this candidate. Direct executable
12
+ hook arguments and `onFailure: block` must be supported; do not use this fragment
13
+ on an older CLI that silently ignores those settings. The local runner checks
14
+ the tested version before calling the native launcher.
15
+
16
+ All twelve managed command hooks invoke Node directly through `command`/`args`.
17
+ They retain their existing scripts, matchers, arguments and timeouts. PreToolUse
18
+ and subagent integrity hooks block when their transport/runtime fails. No native
19
+ model, design, dispatch, review or closure obligation is removed. Hook identity
20
+ includes its script and phase; unrelated custom Node hooks remain owner-owned.
21
+ The installer migrates exact legacy hooks, doctor checks argv and failure policy,
22
+ and uninstall removes only recognized managed hooks.
23
+
24
+ ## Optional shared context reads
25
+
26
+ The external operator can bind a session to an already accepted common workflow:
27
+
28
+ - `NCCGS_SHARED_WORKFLOW_ROOT`: its absolute tools root;
29
+ - `NCCGS_SHARED_WORKFLOW_MANIFEST_SHA256`: SHA-256 of its exact
30
+ `implementation/ARTIFACT_MANIFEST.json`.
31
+
32
+ These are process-local trust anchors, not a second project configuration or
33
+ graph. The common project configuration remains
34
+ `docs/workflow/workflow.config.json`. Native read admission verifies the installed
35
+ bridge fingerprint and all pinned workflow-manifest files before accepting only:
36
+
37
+ ```text
38
+ node .claude/nccgs/tools/shared-context.mjs --project PROJECT --workflow-root ROOT --action status
39
+ node .claude/nccgs/tools/shared-context.mjs --project PROJECT --workflow-root ROOT --action query --text Restore
40
+ node ROOT/tools/workflow.mjs status --config PROJECT/docs/workflow/workflow.config.json
41
+ ```
42
+
43
+ The exact current project/root are mandatory. Queries allow only bounded plain
44
+ text. This coordinator admission denies setup, refresh, update, hold secrets,
45
+ duplicate/unknown options, foreign roots, modified readers and shell composition.
46
+ An absent binding grants no shell permission. Worker reservations and native task
47
+ obligations are unchanged. Arbitrary audit shell execution remains denied; do not
48
+ change task mode or create a worker just to obtain context-read permission.
49
+
50
+ Use PowerShell natively on this Windows fixture because its Git Bash/MSYS host
51
+ cannot create the required named object. This changes the tool transport and
52
+ keeps the same Bash|PowerShell integrity matcher. It is not a way around a
53
+ native denial. Semantic Graphify coverage remains unavailable without an approved
54
+ backend, and original documents still require direct reads.
55
+
56
+ For the tested foreground Windows session, set the process-local variables
57
+ `CLAUDE_CODE_USE_POWERSHELL_TOOL=1` and
58
+ `CLAUDE_CODE_DISABLE_WINDOWS_SHELL_LAUNCHER=1`. The second uses direct PowerShell
59
+ instead of the cmd.exe lifecycle launcher; background tasks remain disabled by
60
+ NCCGS. The default launcher returned tool error 5 after producing correct JSON
61
+ on this restricted host. A diagnostic suppressing experimental warnings did not
62
+ fix it and is not part of the final profile. Do not translate that error into a
63
+ successful semantic or process exit status.
64
+
65
+ The user's optional mcpmarket-me plugin has its own Bash startup hook. The
66
+ qualification fixture disables only that plugin at local scope, using Claude's
67
+ plugin CLI. Global plugins/settings remain unchanged. The candidate package does
68
+ not automatically disable user plugins in other projects.
69
+
70
+ References: https://code.claude.com/docs/en/hooks#exec-form-and-shell-form and
71
+ https://code.claude.com/docs/en/env-vars .
package/docs/WORKFLOWS.md CHANGED
@@ -1,85 +1,85 @@
1
- # NCCGS workflows — 2.0.0
2
-
3
- New installations use standalone Claude Code execution with the claude-standalone
4
- model profile. The coordinator owns intake, planning, dispatch, verification and
5
- reporting; a separate Claude Code reviewer owns the verdict. External/manual
6
- acceptance is required only by the configured policy and approved contract.
7
- See [standalone execution](../.claude/nccgs/protocols/standalone.md) and
8
- [standalone gates](../.claude/nccgs/protocols/standalone-gates.md).
9
-
10
- Existing compatibility projects retain their Astra/Fable or legacy chain; select
11
- obligations from execution.json before model routing. Updates do not silently
12
- convert those projects. See [upgrading](../UPGRADING.md).
13
-
14
- ## Risk tiers
15
-
16
- | Tier | Typical work | Required structure |
17
- |---|---|---|
18
- | FAST | Local, unambiguous, easy rollback | One lightweight implementer; concise plan/report; targeted evidence; 2 review rounds |
19
- | STANDARD | Ordinary feature or coordinated change | Contract, context packet, one standard implementer, independent verification, closure; 3 review rounds |
20
- | CONTROLLED | Architecture, compatibility, dependency, migration, security, release | One deep implementation lead, impact/decision record, relevant specialists, rollback, full gates; 3 review rounds |
21
-
22
- Standalone intake is classified conservatively; ready local fixes may use FAST,
23
- ordinary features STANDARD, and cross-system/high-risk work CONTROLLED. Compatibility
24
- tasks also support explicit risk. FAST uses nccgs-fast-implementer; CONTROLLED uses
25
- nccgs-unity-implementer as its deep lead. Use the read-only task scout only for a
26
- specific missing fact. All tiers retain independent review and applicable contract
27
- gates; standalone review requests Opus/high.
28
-
29
- Stop when criteria and relevant checks pass without actionable blockers. Avoid
30
- speculative scope expansion, duplicate reviewers, and repeated green checks.
31
- Rerun only for changed inputs, failures, or new evidence. Subjective questions go
32
- to a playable test. Exhausted review rounds require an evidence-backed stop or an
33
- explicit external `task extend-review`; re-recording implementation does not reset
34
- them. Configured dispatch, supervised session and verification limits remain effective;
35
- advisory planning estimates never extend them or waive a gate.
36
-
37
- ## End-to-end work
38
-
39
- ```text
40
- request -> approved contract, mode, risk and design readiness
41
- -> reserved Claude Code worker with bounded ownership
42
- -> verification tied to current source and contract
43
- -> independent reviewer verdict
44
- -> report and configured external/manual acceptance
45
- -> task close after all executable gates pass
46
- ```
47
-
48
- The primary session composes modules automatically. Explicit specialized commands are
49
- available when a user wants a bounded workflow or output.
50
-
51
- ## Workflow families
52
-
53
- - **Planning/context**: `project-stage`, `context-pack`, `story-readiness`,
54
- `plan-feature`, `sprint-plan`, `milestone-review`, `retrospective`.
55
- - **Design**: `design`, `design-review`, `balance-review`, `accessibility-review`,
56
- `ui-review`, `prototype-feature`, `playtest`.
57
- - **Technical**: `architecture-decision`, `dependency-review`,
58
- `compatibility-review`, `nccgs-code-review`, `performance-audit`, `security-audit`.
59
- - **Implementation/quality**: `work`, `qa-plan`, `test`, `bug-triage`,
60
- `evidence-review`, `review`, `asset-audit`, `closure`.
61
- - **Delivery/recovery**: `release-readiness`, `release`, `hotfix`,
62
- `incident-recovery`, `localize-game`, `migrate-project`.
63
- - **Visibility**: `audit`, `status`.
64
-
65
- ## Role composition examples
66
-
67
- The standalone coordinator routes feature design to the game designer and obtains
68
- independent design review before dependent implementation when required.
69
- One gameplay programmer owns implementation; a Unity systems specialist may support
70
- a separate bounded concern where needed, followed by verification. A UI feature
71
- has one UI implementation owner; UX, accessibility, or Unity UI specialists join only
72
- for a concrete question or distinct deliverable, followed by independent verification.
73
-
74
- CONTROLLED network-save work can enable optional technical architect, network
75
- programmer and security engineer roles. The standalone reviewer reviews all three
76
- risk tiers. Optional roles are activated explicitly; the default loads 13 of 47 roles.
77
-
78
- ## Evidence states
79
-
80
- - IMPLEMENTED: change exists.
81
- - VERIFIED: objective evidence proves approved criteria.
82
- - VALIDATED: applicable subjective gate accepted.
83
- - DONE: all configured objective, artifact and subjective gates closed.
84
-
85
- Status labels are evidence claims, not progress decoration.
1
+ # NCCGS workflows — 2.0.0
2
+
3
+ New installations use standalone Claude Code execution with the claude-standalone
4
+ model profile. The coordinator owns intake, planning, dispatch, verification and
5
+ reporting; a separate Claude Code reviewer owns the verdict. External/manual
6
+ acceptance is required only by the configured policy and approved contract.
7
+ See [standalone execution](../.claude/nccgs/protocols/standalone.md) and
8
+ [standalone gates](../.claude/nccgs/protocols/standalone-gates.md).
9
+
10
+ Existing compatibility projects retain their Astra/Fable or legacy chain; select
11
+ obligations from execution.json before model routing. Updates do not silently
12
+ convert those projects. See [upgrading](../UPGRADING.md).
13
+
14
+ ## Risk tiers
15
+
16
+ | Tier | Typical work | Required structure |
17
+ |---|---|---|
18
+ | FAST | Local, unambiguous, easy rollback | One lightweight implementer; concise plan/report; targeted evidence; 2 review rounds |
19
+ | STANDARD | Ordinary feature or coordinated change | Contract, context packet, one standard implementer, independent verification, closure; 3 review rounds |
20
+ | CONTROLLED | Architecture, compatibility, dependency, migration, security, release | One deep implementation lead, impact/decision record, relevant specialists, rollback, full gates; 3 review rounds |
21
+
22
+ Standalone intake is classified conservatively; ready local fixes may use FAST,
23
+ ordinary features STANDARD, and cross-system/high-risk work CONTROLLED. Compatibility
24
+ tasks also support explicit risk. FAST uses nccgs-fast-implementer; CONTROLLED uses
25
+ nccgs-unity-implementer as its deep lead. Use the read-only task scout only for a
26
+ specific missing fact. All tiers retain independent review and applicable contract
27
+ gates; standalone review requests Fable/high.
28
+
29
+ Stop when criteria and relevant checks pass without actionable blockers. Avoid
30
+ speculative scope expansion, duplicate reviewers, and repeated green checks.
31
+ Rerun only for changed inputs, failures, or new evidence. Subjective questions go
32
+ to a playable test. Exhausted review rounds require an evidence-backed stop or an
33
+ explicit external `task extend-review`; re-recording implementation does not reset
34
+ them. Configured dispatch, supervised session and verification limits remain effective;
35
+ advisory planning estimates never extend them or waive a gate.
36
+
37
+ ## End-to-end work
38
+
39
+ ```text
40
+ request -> approved contract, mode, risk and design readiness
41
+ -> reserved Claude Code worker with bounded ownership
42
+ -> verification tied to current source and contract
43
+ -> independent reviewer verdict
44
+ -> report and configured external/manual acceptance
45
+ -> task close after all executable gates pass
46
+ ```
47
+
48
+ The primary session composes modules automatically. Explicit specialized commands are
49
+ available when a user wants a bounded workflow or output.
50
+
51
+ ## Workflow families
52
+
53
+ - **Planning/context**: `project-stage`, `context-pack`, `story-readiness`,
54
+ `plan-feature`, `sprint-plan`, `milestone-review`, `retrospective`.
55
+ - **Design**: `design`, `design-review`, `balance-review`, `accessibility-review`,
56
+ `ui-review`, `prototype-feature`, `playtest`.
57
+ - **Technical**: `architecture-decision`, `dependency-review`,
58
+ `compatibility-review`, `nccgs-code-review`, `performance-audit`, `security-audit`.
59
+ - **Implementation/quality**: `work`, `qa-plan`, `test`, `bug-triage`,
60
+ `evidence-review`, `review`, `asset-audit`, `closure`.
61
+ - **Delivery/recovery**: `release-readiness`, `release`, `hotfix`,
62
+ `incident-recovery`, `localize-game`, `migrate-project`.
63
+ - **Visibility**: `audit`, `status`.
64
+
65
+ ## Role composition examples
66
+
67
+ The standalone coordinator routes feature design to the game designer and obtains
68
+ independent design review before dependent implementation when required.
69
+ One gameplay programmer owns implementation; a Unity systems specialist may support
70
+ a separate bounded concern where needed, followed by verification. A UI feature
71
+ has one UI implementation owner; UX, accessibility, or Unity UI specialists join only
72
+ for a concrete question or distinct deliverable, followed by independent verification.
73
+
74
+ CONTROLLED network-save work can enable optional technical architect, network
75
+ programmer and security engineer roles. The standalone reviewer reviews all three
76
+ risk tiers. Optional roles are activated explicitly; the default loads 13 of 47 roles.
77
+
78
+ ## Evidence states
79
+
80
+ - IMPLEMENTED: change exists.
81
+ - VERIFIED: objective evidence proves approved criteria.
82
+ - VALIDATED: applicable subjective gate accepted.
83
+ - DONE: all configured objective, artifact and subjective gates closed.
84
+
85
+ Status labels are evidence claims, not progress decoration.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nccgs",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Unity-first game-studio operating system for Claude Code",
5
5
  "license": "MIT",
6
6
  "type": "module",