sdtk-code-kit 0.1.1 → 0.1.3

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.
@@ -1,119 +1,156 @@
1
- param(
2
- [Parameter(Mandatory = $true)]
3
- [ValidateSet('codex', 'claude')]
4
- [string]$Runtime,
5
-
6
- [string]$ProjectPath,
7
-
8
- [ValidateSet('project', 'user', '')]
9
- [string]$Scope = '',
10
-
11
- [switch]$Force,
12
- [switch]$SkipRuntimeAssets,
13
- [switch]$SkipSkills,
14
- [switch]$Quiet
15
- )
16
-
17
- $ErrorActionPreference = 'Stop'
18
- Set-StrictMode -Version Latest
19
-
20
- function Copy-File {
21
- param(
22
- [Parameter(Mandatory = $true)][string]$SourcePath,
23
- [Parameter(Mandatory = $true)][string]$DestinationPath,
24
- [Parameter(Mandatory = $true)][bool]$Overwrite
25
- )
26
-
27
- if (-not (Test-Path -LiteralPath $SourcePath)) {
28
- throw "Missing source file: $SourcePath"
29
- }
30
-
31
- if ((Test-Path -LiteralPath $DestinationPath) -and -not $Overwrite) {
32
- if (-not $Quiet) {
33
- Write-Warning "Already exists (skipping). Use -Force to overwrite: $DestinationPath"
34
- }
35
- return
36
- }
37
-
38
- $parent = Split-Path -Parent $DestinationPath
39
- if ($parent -and -not (Test-Path -LiteralPath $parent)) {
40
- New-Item -ItemType Directory -Force -Path $parent | Out-Null
41
- }
42
-
43
- Copy-Item -LiteralPath $SourcePath -Destination $DestinationPath -Force
44
- }
45
-
46
- $toolkitRoot = (Resolve-Path -LiteralPath $PSScriptRoot).Path
47
- if (-not $ProjectPath) {
48
- $ProjectPath = (Get-Location).Path
49
- }
50
- $projectRoot = (Resolve-Path -LiteralPath $ProjectPath).Path
51
-
52
- if (-not $Scope) {
53
- $Scope = if ($Runtime -eq 'claude') { 'project' } else { 'user' }
54
- }
55
-
56
- if ($SkipSkills) {
57
- if (-not $Quiet) {
58
- Write-Warning "-SkipSkills is deprecated. Use -SkipRuntimeAssets instead."
59
- }
60
- $SkipRuntimeAssets = $true
61
- }
62
-
63
- if (-not $Quiet) {
64
- Write-Host "SDTK-CODE installer"
65
- Write-Host " Runtime: $Runtime"
66
- Write-Host " Scope: $Scope"
67
- Write-Host " Project: $projectRoot"
68
- Write-Host ""
69
- }
70
-
71
- $sharedFiles = @(
72
- 'AGENTS.md',
73
- 'sdtk-spec.config.json',
74
- 'sdtk-spec.config.profiles.example.json'
75
- )
76
-
77
- foreach ($fileName in $sharedFiles) {
78
- Copy-File `
79
- -SourcePath (Join-Path $toolkitRoot $fileName) `
80
- -DestinationPath (Join-Path $projectRoot $fileName) `
81
- -Overwrite ([bool]$Force)
82
-
83
- if (-not $Quiet) {
84
- Write-Host " [OK] $fileName"
85
- }
86
- }
87
-
88
- if (-not $SkipRuntimeAssets) {
89
- $scriptPath = if ($Runtime -eq 'claude') {
90
- Join-Path $toolkitRoot 'scripts/install-claude-skills.ps1'
91
- } else {
92
- Join-Path $toolkitRoot 'scripts/install-codex-skills.ps1'
93
- }
94
-
95
- if (-not (Test-Path -LiteralPath $scriptPath)) {
96
- throw "Missing runtime installer: $scriptPath"
97
- }
98
-
99
- if (-not $Quiet) {
100
- Write-Host ""
101
- Write-Host "Installing $Runtime runtime assets..."
102
- }
103
-
104
- $params = @{
105
- Scope = $Scope
106
- ProjectPath = $projectRoot
107
- Quiet = [bool]$Quiet
108
- }
109
- if ($Force) {
110
- $params.Force = $true
111
- }
112
-
113
- & $scriptPath @params
114
- }
115
-
116
- if (-not $Quiet) {
117
- Write-Host ""
118
- Write-Host "SDTK-CODE installation complete."
119
- }
1
+ param(
2
+ [Parameter(Mandatory = $true)]
3
+ [ValidateSet('codex', 'claude')]
4
+ [string]$Runtime,
5
+
6
+ [string]$ProjectPath,
7
+
8
+ [ValidateSet('project', 'user', '')]
9
+ [string]$Scope = '',
10
+
11
+ [switch]$Force,
12
+ [switch]$SkipRuntimeAssets,
13
+ [switch]$SkipSkills,
14
+ [switch]$Quiet
15
+ )
16
+
17
+ $ErrorActionPreference = 'Stop'
18
+ Set-StrictMode -Version Latest
19
+
20
+ function Copy-File {
21
+ param(
22
+ [Parameter(Mandatory = $true)][string]$SourcePath,
23
+ [Parameter(Mandatory = $true)][string]$DestinationPath,
24
+ [Parameter(Mandatory = $true)][bool]$Overwrite
25
+ )
26
+
27
+ if (-not (Test-Path -LiteralPath $SourcePath)) {
28
+ throw "Missing source file: $SourcePath"
29
+ }
30
+
31
+ if ((Test-Path -LiteralPath $DestinationPath) -and -not $Overwrite) {
32
+ if (-not $Quiet) {
33
+ Write-Warning "Already exists (skipping). Use -Force to overwrite: $DestinationPath"
34
+ }
35
+ return
36
+ }
37
+
38
+ $parent = Split-Path -Parent $DestinationPath
39
+ if ($parent -and -not (Test-Path -LiteralPath $parent)) {
40
+ New-Item -ItemType Directory -Force -Path $parent | Out-Null
41
+ }
42
+
43
+ Copy-Item -LiteralPath $SourcePath -Destination $DestinationPath -Force
44
+ }
45
+
46
+ function Test-IsMaintainerRoot {
47
+ param(
48
+ [Parameter(Mandatory = $true)][string]$ProjectRoot,
49
+ [Parameter(Mandatory = $true)][string[]]$Markers
50
+ )
51
+
52
+ foreach ($marker in $Markers) {
53
+ if (-not (Test-Path -LiteralPath (Join-Path $ProjectRoot $marker))) {
54
+ return $false
55
+ }
56
+ }
57
+
58
+ return $true
59
+ }
60
+
61
+ function Get-MaintainerRootInstallMessage {
62
+ param(
63
+ [Parameter(Mandatory = $true)][string]$ProjectRoot
64
+ )
65
+
66
+ return @(
67
+ "Refusing to install managed project files into the SDTK maintainer repo root: $ProjectRoot"
68
+ "This install flow would overwrite repo-owned files such as AGENTS.md, CODEX.md, CLAUDE.md, sdtk-spec.config.json, sdtk-spec.config.profiles.example.json."
69
+ "Target a consumer project path instead of the SDTK maintainer monorepo root."
70
+ "If you only need runtime assets, install them into a separate consumer project path rather than the maintainer repo root."
71
+ ) -join "`n"
72
+ }
73
+
74
+ $toolkitRoot = (Resolve-Path -LiteralPath $PSScriptRoot).Path
75
+ if (-not $ProjectPath) {
76
+ $ProjectPath = (Get-Location).Path
77
+ }
78
+ $projectRoot = (Resolve-Path -LiteralPath $ProjectPath).Path
79
+
80
+ $maintainerRootMarkers = @(
81
+ 'governance/ai/core/IMPROVEMENT_BACKLOG.md',
82
+ 'products/sdtk-code/toolkit/install.ps1'
83
+ )
84
+
85
+ if (Test-IsMaintainerRoot -ProjectRoot $projectRoot -Markers $maintainerRootMarkers) {
86
+ throw (Get-MaintainerRootInstallMessage -ProjectRoot $projectRoot)
87
+ }
88
+
89
+ if (-not $Scope) {
90
+ $Scope = if ($Runtime -eq 'claude') { 'project' } else { 'user' }
91
+ }
92
+
93
+ if ($SkipSkills) {
94
+ if (-not $Quiet) {
95
+ Write-Warning "-SkipSkills is deprecated. Use -SkipRuntimeAssets instead."
96
+ }
97
+ $SkipRuntimeAssets = $true
98
+ }
99
+
100
+ if (-not $Quiet) {
101
+ Write-Host "SDTK-CODE installer"
102
+ Write-Host " Runtime: $Runtime"
103
+ Write-Host " Scope: $Scope"
104
+ Write-Host " Project: $projectRoot"
105
+ Write-Host ""
106
+ }
107
+
108
+ $sharedFiles = @(
109
+ 'AGENTS.md',
110
+ 'sdtk-spec.config.json',
111
+ 'sdtk-spec.config.profiles.example.json'
112
+ )
113
+
114
+ foreach ($fileName in $sharedFiles) {
115
+ Copy-File `
116
+ -SourcePath (Join-Path $toolkitRoot $fileName) `
117
+ -DestinationPath (Join-Path $projectRoot $fileName) `
118
+ -Overwrite ([bool]$Force)
119
+
120
+ if (-not $Quiet) {
121
+ Write-Host " [OK] $fileName"
122
+ }
123
+ }
124
+
125
+ if (-not $SkipRuntimeAssets) {
126
+ $scriptPath = if ($Runtime -eq 'claude') {
127
+ Join-Path $toolkitRoot 'scripts/install-claude-skills.ps1'
128
+ } else {
129
+ Join-Path $toolkitRoot 'scripts/install-codex-skills.ps1'
130
+ }
131
+
132
+ if (-not (Test-Path -LiteralPath $scriptPath)) {
133
+ throw "Missing runtime installer: $scriptPath"
134
+ }
135
+
136
+ if (-not $Quiet) {
137
+ Write-Host ""
138
+ Write-Host "Installing $Runtime runtime assets..."
139
+ }
140
+
141
+ $params = @{
142
+ Scope = $Scope
143
+ ProjectPath = $projectRoot
144
+ Quiet = [bool]$Quiet
145
+ }
146
+ if ($Force) {
147
+ $params.Force = $true
148
+ }
149
+
150
+ & $scriptPath @params
151
+ }
152
+
153
+ if (-not $Quiet) {
154
+ Write-Host ""
155
+ Write-Host "SDTK-CODE installation complete."
156
+ }
@@ -1,6 +1,6 @@
1
- {
2
- "toolkit": "SDTK-CODE",
3
- "version": "0.1.1",
4
- "skills_path": "toolkit/skills",
5
- "skill_prefix": "code-"
6
- }
1
+ {
2
+ "toolkit": "SDTK-CODE",
3
+ "version": "0.1.3",
4
+ "skills_path": "toolkit/skills",
5
+ "skill_prefix": "code-"
6
+ }
package/package.json CHANGED
@@ -1,44 +1,44 @@
1
1
  {
2
2
  "name": "sdtk-code-kit",
3
- "version": "0.1.1",
4
- "description": "Workflow-first coding process toolkit: start, plan, build, verify, ship, and runtime setup.",
3
+ "version": "0.1.3",
4
+ "description": "Workflow-first coding process toolkit: start, plan, build, verify, ship, and runtime setup.",
5
5
  "bin": {
6
6
  "sdtk-code": "./bin/sdtk-code.js"
7
7
  },
8
8
  "main": "src/index.js",
9
9
  "type": "commonjs",
10
- "files": [
11
- "bin/",
12
- "src/",
13
- "assets/"
14
- ],
15
- "scripts": {
16
- "test": "powershell -ExecutionPolicy Bypass -Command \"$ErrorActionPreference = 'Stop'; Set-Location '..\\..\\..\\..'; python -m unittest tests.test_sdtk_code_cli tests.test_sdtk_code_product tests.test_sdtk_code_workflow_regressions\"",
17
- "build:payload": "powershell -ExecutionPolicy Bypass -Command \"$ErrorActionPreference = 'Stop'; & 'scripts/sync-toolkit-assets.ps1'; & 'scripts/build-toolkit-manifest.ps1'\"",
18
- "verify:payload": "node -e \"require('./src/lib/toolkit-payload').verify()\"",
19
- "pack:smoke": "npm pack --dry-run",
20
- "pack:release": "npm pack",
21
- "prepublishOnly": "node -e \"require('./src/lib/toolkit-payload').verify()\""
22
- },
10
+ "files": [
11
+ "bin/",
12
+ "src/",
13
+ "assets/"
14
+ ],
15
+ "scripts": {
16
+ "test": "powershell -ExecutionPolicy Bypass -Command \"$ErrorActionPreference = 'Stop'; Set-Location '..\\..\\..\\..'; python -m unittest tests.test_sdtk_code_cli tests.test_sdtk_code_product tests.test_sdtk_code_workflow_regressions\"",
17
+ "build:payload": "powershell -ExecutionPolicy Bypass -Command \"$ErrorActionPreference = 'Stop'; & 'scripts/sync-toolkit-assets.ps1'; & 'scripts/build-toolkit-manifest.ps1'\"",
18
+ "verify:payload": "node -e \"require('./src/lib/toolkit-payload').verify()\"",
19
+ "pack:smoke": "npm pack --dry-run",
20
+ "pack:release": "npm pack",
21
+ "prepublishOnly": "node -e \"require('./src/lib/toolkit-payload').verify()\""
22
+ },
23
23
  "engines": {
24
24
  "node": ">=18.13.0"
25
25
  },
26
- "keywords": [
27
- "sdtk-code",
28
- "cli",
29
- "toolkit"
30
- ],
31
- "license": "MIT",
32
- "repository": {
33
- "type": "git",
34
- "url": "https://github.com/codexsdtk/sdtk-toolkit.git",
35
- "directory": "products/sdtk-code/distribution/sdtk-code-kit"
36
- },
37
- "homepage": "https://github.com/codexsdtk/sdtk-toolkit/tree/main/products/sdtk-code/distribution/sdtk-code-kit",
38
- "bugs": {
39
- "url": "https://github.com/codexsdtk/sdtk-toolkit/issues"
40
- },
41
- "publishConfig": {
42
- "access": "public"
43
- }
44
- }
26
+ "keywords": [
27
+ "sdtk-code",
28
+ "cli",
29
+ "toolkit"
30
+ ],
31
+ "license": "MIT",
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "https://github.com/codexsdtk/sdtk-toolkit.git",
35
+ "directory": "products/sdtk-code/distribution/sdtk-code-kit"
36
+ },
37
+ "homepage": "https://github.com/codexsdtk/sdtk-toolkit/tree/main/products/sdtk-code/distribution/sdtk-code-kit",
38
+ "bugs": {
39
+ "url": "https://github.com/codexsdtk/sdtk-toolkit/issues"
40
+ },
41
+ "publishConfig": {
42
+ "access": "public"
43
+ }
44
+ }
@@ -7,12 +7,13 @@ function cmdHelp() {
7
7
  "Usage:",
8
8
  " sdtk-code <command> [options]",
9
9
  "",
10
- "Commands:",
11
- " start Create or refresh CODE_WORKFLOW from formal handoff or compatibility inputs",
12
- " plan Refine downstream execution slices inside the approved handoff scope",
13
- " build Record build progress and route the next coding engine step",
14
- " verify Record summarized evidence and ordered review gate status",
15
- " ship Record final ship or finish decision and emit OPS_HANDOFF on formal closeout",
10
+ "Commands:",
11
+ " start Create or refresh CODE_WORKFLOW from formal handoff or compatibility inputs",
12
+ " plan Refine downstream execution slices inside the approved handoff scope",
13
+ " build Record build progress and route the next coding engine step",
14
+ " verify Record summarized evidence, write REVIEW_PACKET, and update ordered review gates",
15
+ " ship Record final ship or finish decision and emit OPS_HANDOFF on formal closeout",
16
+ " update Refresh the npm package and optionally re-apply managed project/runtime assets",
16
17
  " init Initialize SDTK-CODE workspace",
17
18
  " runtime Manage runtime asset installation (install, uninstall, status)",
18
19
  "",
@@ -34,12 +35,12 @@ function cmdHelp() {
34
35
  " --project-path <path> Target project directory (default: cwd)",
35
36
  " --force Reinitialize an existing workflow artifact",
36
37
  "",
37
- "Start intake truth:",
38
- " Prefers docs/dev/CODE_HANDOFF_[FEATURE_KEY].json when present",
39
- " Falls back to FEATURE_IMPL_PLAN + sdtk-spec.config.json only when the formal handoff file is missing",
40
- " Feature lane expects formal handoff by default; bugfix may use compatibility fallback when missing",
41
- " Invalid or blocked formal handoff stops start and writes a blocked workflow artifact",
42
- " FEATURE_IMPL_PLAN remains the upstream /dev implementation-readiness plan; CODE plan only refines execution slices after intake",
38
+ "Start intake truth:",
39
+ " Prefers docs/dev/CODE_HANDOFF_[FEATURE_KEY].json when present",
40
+ " Falls back to FEATURE_IMPL_PLAN + sdtk-spec.config.json only when the formal handoff file is missing",
41
+ " Feature lane expects formal handoff by default; bugfix may use compatibility fallback when missing",
42
+ " Invalid or blocked formal handoff stops start and writes a blocked workflow artifact",
43
+ " FEATURE_IMPL_PLAN remains the upstream /dev implementation-readiness plan; CODE plan only refines execution slices after intake",
43
44
  "",
44
45
  "Plan options:",
45
46
  " --feature-key <KEY> Feature key in UPPER_SNAKE_CASE (required)",
@@ -68,6 +69,22 @@ function cmdHelp() {
68
69
  " --evidence <text> Summarized evidence entry in the form",
69
70
  " \"check|summary|pass|docs/dev/evidence/FEATURE_KEY/file.txt\"",
70
71
  " (repeatable; at least one required)",
72
+ " --batch-summary <text> High-level batch summary for REVIEW_PACKET generation",
73
+ " --changed-file <text> Changed-file entry in the form",
74
+ " \"repo/path|rationale\" (repeatable)",
75
+ " --exclude-file <text> Exclusion entry in the form",
76
+ " \"repo/path|reason\" (repeatable)",
77
+ " --truth-sync-target <text> Truth-sync entry in the form",
78
+ " \"path-or-surface|touched|rationale\"",
79
+ " (status must be touched or untouched; repeatable)",
80
+ " --commit-include <path> Repo-relative file to include in the proposed commit boundary",
81
+ " (repeatable)",
82
+ " --commit-exclude <path> Repo-relative file to exclude from the proposed commit boundary",
83
+ " (repeatable)",
84
+ " --caveat <text> Caveat entry in the form",
85
+ " \"ID|statement|impact|owner\" (repeatable)",
86
+ " --reviewer-guidance <text> Additional reviewer guidance line for REVIEW_PACKET",
87
+ " (repeatable)",
71
88
  " --spec-status <pending|pass|partial|fail>",
72
89
  " Current spec/compliance review gate status",
73
90
  " --spec-note <text> Record a spec/compliance review note (repeatable)",
@@ -87,12 +104,12 @@ function cmdHelp() {
87
104
  " (repeatable; at least one required)",
88
105
  " --follow-up <text> Record a deferred follow-up item (repeatable)",
89
106
  " --note <text> Record a ship/finalization note (repeatable)",
90
- " --debug-note <text> Record reactive debug follow-up from preflight (repeatable)",
91
- " --blocked Keep ship blocked and route back to code-debug/code-ship",
92
- "",
93
- "Ship closeout truth:",
94
- " Completed closeout backed by docs/dev/CODE_HANDOFF_[FEATURE_KEY].json writes docs/dev/OPS_HANDOFF_[FEATURE_KEY].json",
95
- " Compatibility fallback workflows do not emit a fake OPS handoff without the current formal CODE_HANDOFF",
107
+ " --debug-note <text> Record reactive debug follow-up from preflight (repeatable)",
108
+ " --blocked Keep ship blocked and route back to code-debug/code-ship",
109
+ "",
110
+ "Ship closeout truth:",
111
+ " Completed closeout backed by docs/dev/CODE_HANDOFF_[FEATURE_KEY].json writes docs/dev/OPS_HANDOFF_[FEATURE_KEY].json",
112
+ " Compatibility fallback workflows do not emit a fake OPS handoff without the current formal CODE_HANDOFF",
96
113
  "",
97
114
  "Init options:",
98
115
  " --runtime <codex|claude> Runtime adapter (default: codex)",
@@ -108,6 +125,18 @@ function cmdHelp() {
108
125
  " sdtk-code runtime uninstall --runtime <codex|claude> [--scope <project|user>] [--all]",
109
126
  " sdtk-code runtime status --runtime <codex|claude> [--project-path <path>]",
110
127
  "",
128
+ "Update options:",
129
+ " --version <latest|x.y.z> Target published npm package version (default: latest)",
130
+ " --runtime <codex|claude> Optional runtime refresh target after npm update",
131
+ " --scope <project|user> Runtime asset scope when --runtime is provided",
132
+ " --project-path <path> Target project directory for managed file refresh (default: cwd)",
133
+ " --check-only Print the planned npm/init/runtime refresh steps without making changes",
134
+ " --skip-project-files Skip sdtk-code init --force during update",
135
+ " --skip-runtime-assets Skip sdtk-code runtime install --force during update",
136
+ " --verbose Show detailed command output",
137
+ " Maintainer-root guard: init/update refuse the SDTK maintainer monorepo root as a managed project target.",
138
+ " Use a consumer project path, or use --skip-project-files when update should avoid project-file refresh.",
139
+ "",
111
140
  "Runtime options:",
112
141
  " --runtime <codex|claude> Target runtime (required)",
113
142
  " --scope <project|user> Install scope (default: project for claude, user for codex)",
@@ -117,12 +146,12 @@ function cmdHelp() {
117
146
  " --verbose Show detailed script output",
118
147
  "",
119
148
  "Scope behavior:",
120
- " claude/project -> <project>/.claude/skills",
121
- " claude/user -> ~/.claude/skills",
122
- " codex/project -> <project>/.codex/skills",
123
- " codex/user -> $CODEX_HOME/skills or ~/.codex/skills",
124
- " Note: Codex project scope is supported only via the explicit local CODEX_HOME=<project>/.codex contract.",
125
- " Note: This CLI does not claim native .codex/skills auto-discovery.",
149
+ " claude/project -> <project>/.claude/skills",
150
+ " claude/user -> ~/.claude/skills",
151
+ " codex/project -> <project>/.codex/skills",
152
+ " codex/user -> $CODEX_HOME/skills or ~/.codex/skills",
153
+ " Note: Codex project scope is supported only via the explicit local CODEX_HOME=<project>/.codex contract.",
154
+ " Note: This CLI does not claim native .codex/skills auto-discovery.",
126
155
  "",
127
156
  "Uninstall behavior:",
128
157
  " runtime uninstall removes only SDTK-CODE-managed skill folders for the selected runtime/scope.",
@@ -154,15 +183,18 @@ function cmdHelp() {
154
183
  " sdtk-code build --feature-key LOGIN_FIX --debug-note \"Failure reproduced in session timeout flow\" --complete",
155
184
  " sdtk-code verify --feature-key ORDER_MGMT --evidence \"pytest -q|Regression suite passed|pass|docs/dev/evidence/ORDER_MGMT/pytest.txt\" --spec-status pass --quality-status partial",
156
185
  " sdtk-code verify --feature-key LOGIN_FIX --evidence \"npm test|Bugfix regression passes|pass|docs/dev/evidence/LOGIN_FIX/regression.txt\" --spec-status pass --quality-status pass --complete",
157
- " sdtk-code ship --feature-key ORDER_MGMT --decision ship --preflight \"npm pack --dry-run|Package smoke passed|pass|docs/dev/evidence/ORDER_MGMT/pack.txt\" --preflight \"release checklist|Operator handoff reviewed|pass|docs/dev/evidence/ORDER_MGMT/release-checklist.txt\" --follow-up \"Monitor first-release support tickets\"",
158
- " sdtk-code ship --feature-key LOGIN_FIX --decision finish --preflight \"git diff --check|No whitespace issues remain|pass|docs/dev/evidence/LOGIN_FIX/diff-check.txt\"",
159
- " sdtk-code init",
160
- " sdtk-code init --runtime codex --runtime-scope project --project-path ./my-project",
161
- " sdtk-code init --runtime claude --project-path ./my-project",
186
+ " sdtk-code ship --feature-key ORDER_MGMT --decision ship --preflight \"npm pack --dry-run|Package smoke passed|pass|docs/dev/evidence/ORDER_MGMT/pack.txt\" --preflight \"release checklist|Operator handoff reviewed|pass|docs/dev/evidence/ORDER_MGMT/release-checklist.txt\" --follow-up \"Monitor first-release support tickets\"",
187
+ " sdtk-code ship --feature-key LOGIN_FIX --decision finish --preflight \"git diff --check|No whitespace issues remain|pass|docs/dev/evidence/LOGIN_FIX/diff-check.txt\"",
188
+ " sdtk-code init",
189
+ " sdtk-code init --runtime codex --runtime-scope project --project-path ./my-project",
190
+ " sdtk-code init --runtime claude --project-path ./my-project",
191
+ " sdtk-code update --check-only",
192
+ " sdtk-code update --runtime claude --project-path ./my-project",
193
+ " sdtk-code update --version 1.2.3 --runtime codex --scope user --skip-project-files",
162
194
  " sdtk-code init --runtime claude --runtime-scope user",
163
- " sdtk-code runtime install --runtime claude --scope project --project-path ./my-project",
164
- " sdtk-code runtime install --runtime codex --scope user",
165
- " sdtk-code runtime install --runtime codex --scope project --project-path ./my-project",
195
+ " sdtk-code runtime install --runtime claude --scope project --project-path ./my-project",
196
+ " sdtk-code runtime install --runtime codex --scope user",
197
+ " sdtk-code runtime install --runtime codex --scope project --project-path ./my-project",
166
198
  " sdtk-code runtime status --runtime claude --project-path ./my-project",
167
199
  " sdtk-code runtime uninstall --runtime codex --all",
168
200
  " npm uninstall -g sdtk-code-kit",
@@ -172,11 +204,12 @@ function cmdHelp() {
172
204
  " 2. Create or refresh CODE_WORKFLOW with sdtk-code start once the upstream SDTK-SPEC handoff exists.",
173
205
  " Preferred input: CODE_HANDOFF_[FEATURE_KEY].json; compatibility fallback is bounded to missing-handoff cases.",
174
206
  " 3. For feature work, either confirm seeded handoff slices with --use-seeded-candidates or refine them with explicit --slice entries.",
175
- " 4. Record build progress with sdtk-code build while execution is in motion.",
176
- " 5. Capture summarized evidence and review gates with sdtk-code verify before closure.",
177
- " 6. Record final ship or finish decision with sdtk-code ship; completed formal closeout writes OPS_HANDOFF for DEV-Run intake.",
178
- " 7. Use raw code-* skills directly when you intentionally choose expert mode.",
179
- ];
207
+ " 4. Record build progress with sdtk-code build while execution is in motion.",
208
+ " 5. Capture summarized evidence and review gates with sdtk-code verify before closure.",
209
+ " Verify also emits docs/dev/REVIEW_PACKET_[FEATURE_KEY].md for downstream QA/controller review.",
210
+ " 6. Record final ship or finish decision with sdtk-code ship; completed formal closeout writes OPS_HANDOFF for DEV-Run intake.",
211
+ " 7. Use raw code-* skills directly when you intentionally choose expert mode.",
212
+ ];
180
213
 
181
214
  console.log(text.join("\n"));
182
215
  return 0;