sdtk-code-kit 0.3.2 → 0.3.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,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.3.
|
|
3
|
-
"sourceCommit": "
|
|
4
|
-
"fileCount":
|
|
2
|
+
"version": "0.3.3",
|
|
3
|
+
"sourceCommit": "66d5d13e85d4577f07ff33455330b17ea982b112",
|
|
4
|
+
"fileCount": 29,
|
|
5
5
|
"files": [
|
|
6
6
|
{
|
|
7
7
|
"path": "toolkit/AGENTS.md",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "0387e747b9eb4500f810b338b28d795841e796fdaa40c4002e07b0d88b724167",
|
|
9
|
+
"size": 11053
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"path": "toolkit/install.ps1",
|
|
@@ -43,21 +43,26 @@
|
|
|
43
43
|
"sha256": "e690255217a8b276c1d9bd3714e2cda9d92c0fac703bc955b9280e1b698e2d04",
|
|
44
44
|
"size": 288
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"path": "toolkit/SDTKCODE_TOOLKIT.md",
|
|
48
|
+
"sha256": "9269a5afe88ce97885d054f5a78d496c1aafa50097f581d070e34dceb597c8fe",
|
|
49
|
+
"size": 6945
|
|
50
|
+
},
|
|
46
51
|
{
|
|
47
52
|
"path": "toolkit/skills/code-brainstorm/SKILL.md",
|
|
48
53
|
"sha256": "d797d707dc34d299dbac13f09f3bc8cc42759cb69a9fa5b2cb2269e4c246061e",
|
|
49
54
|
"size": 2215
|
|
50
55
|
},
|
|
51
|
-
{
|
|
52
|
-
"path": "toolkit/skills/code-debug/SKILL.md",
|
|
53
|
-
"sha256": "7e18869c8cd9ad1637bede13bc6449beec545eee115517a19d691817e5cda9cb",
|
|
54
|
-
"size": 9988
|
|
55
|
-
},
|
|
56
56
|
{
|
|
57
57
|
"path": "toolkit/skills/code-debug/references/root-cause-tracing.md",
|
|
58
58
|
"sha256": "698c89de9a0586e83ee52147adf345fa2ab813a06b454ca50e9c69e423f0a910",
|
|
59
59
|
"size": 2206
|
|
60
60
|
},
|
|
61
|
+
{
|
|
62
|
+
"path": "toolkit/skills/code-debug/SKILL.md",
|
|
63
|
+
"sha256": "7e18869c8cd9ad1637bede13bc6449beec545eee115517a19d691817e5cda9cb",
|
|
64
|
+
"size": 9988
|
|
65
|
+
},
|
|
61
66
|
{
|
|
62
67
|
"path": "toolkit/skills/code-discover/SKILL.md",
|
|
63
68
|
"sha256": "d871b5147e894b47fb5aeae43f5b677a3e61ecda94c74ff40a5a4c46092c3e6e",
|
|
@@ -73,11 +78,6 @@
|
|
|
73
78
|
"sha256": "5e352fb1739cf0b9297f34e49ae01d8b0c0ed57448c3c8f3b286d12e1177a130",
|
|
74
79
|
"size": 4260
|
|
75
80
|
},
|
|
76
|
-
{
|
|
77
|
-
"path": "toolkit/skills/code-parallel/SKILL.md",
|
|
78
|
-
"sha256": "393edd1c3ef6ff936c5ec6e2e739d3c02f1e6370e5a72872f186b5d2971d37b7",
|
|
79
|
-
"size": 2691
|
|
80
|
-
},
|
|
81
81
|
{
|
|
82
82
|
"path": "toolkit/skills/code-parallel/references/code-quality-reviewer-prompt.md",
|
|
83
83
|
"sha256": "5fec663aa52b7fd2b942f71a0755f0cd109d2273a5cd21c7c24eeed7684a4cc9",
|
|
@@ -93,16 +93,16 @@
|
|
|
93
93
|
"sha256": "b22d3262f252f7cc994d13bfe16c7103f3afe1e66c255090d88e53fbd68a0f82",
|
|
94
94
|
"size": 1993
|
|
95
95
|
},
|
|
96
|
+
{
|
|
97
|
+
"path": "toolkit/skills/code-parallel/SKILL.md",
|
|
98
|
+
"sha256": "393edd1c3ef6ff936c5ec6e2e739d3c02f1e6370e5a72872f186b5d2971d37b7",
|
|
99
|
+
"size": 2691
|
|
100
|
+
},
|
|
96
101
|
{
|
|
97
102
|
"path": "toolkit/skills/code-plan/SKILL.md",
|
|
98
103
|
"sha256": "7fe115e27a83d04243401bb628ae4246a323246c972fd54890fe4a7e97926bbf",
|
|
99
104
|
"size": 3391
|
|
100
105
|
},
|
|
101
|
-
{
|
|
102
|
-
"path": "toolkit/skills/code-review/SKILL.md",
|
|
103
|
-
"sha256": "4d10ec40ae8ca87de03b2724b90c91053bf756c880a67d8f9a79aabd948f49b5",
|
|
104
|
-
"size": 2723
|
|
105
|
-
},
|
|
106
106
|
{
|
|
107
107
|
"path": "toolkit/skills/code-review/references/checklist.md",
|
|
108
108
|
"sha256": "4612b4e40992f594b577146ac14f1ff13c1812e8e9da64b07eb1e2de5363af5d",
|
|
@@ -113,21 +113,26 @@
|
|
|
113
113
|
"sha256": "7f5328dca12cb200005ae9d4386f63a9b0acb735ece57f82db206b4a3189ccae",
|
|
114
114
|
"size": 3385
|
|
115
115
|
},
|
|
116
|
+
{
|
|
117
|
+
"path": "toolkit/skills/code-review/SKILL.md",
|
|
118
|
+
"sha256": "4d10ec40ae8ca87de03b2724b90c91053bf756c880a67d8f9a79aabd948f49b5",
|
|
119
|
+
"size": 2723
|
|
120
|
+
},
|
|
116
121
|
{
|
|
117
122
|
"path": "toolkit/skills/code-ship/SKILL.md",
|
|
118
123
|
"sha256": "c8dbbae4f8ed65b00e38a386cb9adba340c90dc7fd0dd8257f3c1fea37322558",
|
|
119
124
|
"size": 2123
|
|
120
125
|
},
|
|
121
|
-
{
|
|
122
|
-
"path": "toolkit/skills/code-tdd/SKILL.md",
|
|
123
|
-
"sha256": "967ec7e8a0a7951e3423c4e0f92c7471912e3a03ea23dc572c392e5a37edc266",
|
|
124
|
-
"size": 10326
|
|
125
|
-
},
|
|
126
126
|
{
|
|
127
127
|
"path": "toolkit/skills/code-tdd/references/testing-anti-patterns.md",
|
|
128
128
|
"sha256": "a85c93883197eef41f5392875b41a19b8cdeb3b14b3c6fb5a6dbfb6f21a1b825",
|
|
129
129
|
"size": 8194
|
|
130
130
|
},
|
|
131
|
+
{
|
|
132
|
+
"path": "toolkit/skills/code-tdd/SKILL.md",
|
|
133
|
+
"sha256": "967ec7e8a0a7951e3423c4e0f92c7471912e3a03ea23dc572c392e5a37edc266",
|
|
134
|
+
"size": 10326
|
|
135
|
+
},
|
|
131
136
|
{
|
|
132
137
|
"path": "toolkit/skills/code-verify/SKILL.md",
|
|
133
138
|
"sha256": "6df69cf2db69d13672b3e73a2c25aca48791e9ea912c1e1fbc3ce7734399c346",
|
|
@@ -144,4 +149,4 @@
|
|
|
144
149
|
"size": 3668
|
|
145
150
|
}
|
|
146
151
|
]
|
|
147
|
-
}
|
|
152
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
0387e747b9eb4500f810b338b28d795841e796fdaa40c4002e07b0d88b724167 toolkit/AGENTS.md
|
|
2
2
|
dd7ffbd69c29f76d67f65c3e857ba241e92908931b2e93a9b9c503542e43f35c toolkit/install.ps1
|
|
3
3
|
720990cc979cdbca776bbe21eaeee0a73c5dd698ac6c8df430c7f22826ec9219 toolkit/scripts/install-claude-skills.ps1
|
|
4
4
|
7d61249db7eee6185e5454f7427b808c79d5e564e0d2214ee5f92fa105effb04 toolkit/scripts/install-codex-skills.ps1
|
|
@@ -6,23 +6,24 @@ dd7ffbd69c29f76d67f65c3e857ba241e92908931b2e93a9b9c503542e43f35c toolkit/instal
|
|
|
6
6
|
0fd11650bd445fad37c728471872b99bfb8bd17dfb95e62431ceccfad7f0852f toolkit/scripts/uninstall-codex-skills.ps1
|
|
7
7
|
978896892f25c961c48e100e428434d217da64ae971e69b80531d80c695a2467 toolkit/sdtk-spec.config.json
|
|
8
8
|
e690255217a8b276c1d9bd3714e2cda9d92c0fac703bc955b9280e1b698e2d04 toolkit/sdtk-spec.config.profiles.example.json
|
|
9
|
+
9269a5afe88ce97885d054f5a78d496c1aafa50097f581d070e34dceb597c8fe toolkit/SDTKCODE_TOOLKIT.md
|
|
9
10
|
d797d707dc34d299dbac13f09f3bc8cc42759cb69a9fa5b2cb2269e4c246061e toolkit/skills/code-brainstorm/SKILL.md
|
|
10
|
-
7e18869c8cd9ad1637bede13bc6449beec545eee115517a19d691817e5cda9cb toolkit/skills/code-debug/SKILL.md
|
|
11
11
|
698c89de9a0586e83ee52147adf345fa2ab813a06b454ca50e9c69e423f0a910 toolkit/skills/code-debug/references/root-cause-tracing.md
|
|
12
|
+
7e18869c8cd9ad1637bede13bc6449beec545eee115517a19d691817e5cda9cb toolkit/skills/code-debug/SKILL.md
|
|
12
13
|
d871b5147e894b47fb5aeae43f5b677a3e61ecda94c74ff40a5a4c46092c3e6e toolkit/skills/code-discover/SKILL.md
|
|
13
14
|
8627a8c33cd170cc8009feb2b6ab7bf2bc4be91daa3609dc331a554ba41b1b3d toolkit/skills/code-execute/SKILL.md
|
|
14
15
|
5e352fb1739cf0b9297f34e49ae01d8b0c0ed57448c3c8f3b286d12e1177a130 toolkit/skills/code-finish/SKILL.md
|
|
15
|
-
393edd1c3ef6ff936c5ec6e2e739d3c02f1e6370e5a72872f186b5d2971d37b7 toolkit/skills/code-parallel/SKILL.md
|
|
16
16
|
5fec663aa52b7fd2b942f71a0755f0cd109d2273a5cd21c7c24eeed7684a4cc9 toolkit/skills/code-parallel/references/code-quality-reviewer-prompt.md
|
|
17
17
|
10bc07e6498e6a1e54805cce4d964545f2c1614e6679b0c1c4eb7d17b894e3a6 toolkit/skills/code-parallel/references/implementer-prompt.md
|
|
18
18
|
b22d3262f252f7cc994d13bfe16c7103f3afe1e66c255090d88e53fbd68a0f82 toolkit/skills/code-parallel/references/spec-reviewer-prompt.md
|
|
19
|
+
393edd1c3ef6ff936c5ec6e2e739d3c02f1e6370e5a72872f186b5d2971d37b7 toolkit/skills/code-parallel/SKILL.md
|
|
19
20
|
7fe115e27a83d04243401bb628ae4246a323246c972fd54890fe4a7e97926bbf toolkit/skills/code-plan/SKILL.md
|
|
20
|
-
4d10ec40ae8ca87de03b2724b90c91053bf756c880a67d8f9a79aabd948f49b5 toolkit/skills/code-review/SKILL.md
|
|
21
21
|
4612b4e40992f594b577146ac14f1ff13c1812e8e9da64b07eb1e2de5363af5d toolkit/skills/code-review/references/checklist.md
|
|
22
22
|
7f5328dca12cb200005ae9d4386f63a9b0acb735ece57f82db206b4a3189ccae toolkit/skills/code-review/references/code-reviewer.md
|
|
23
|
+
4d10ec40ae8ca87de03b2724b90c91053bf756c880a67d8f9a79aabd948f49b5 toolkit/skills/code-review/SKILL.md
|
|
23
24
|
c8dbbae4f8ed65b00e38a386cb9adba340c90dc7fd0dd8257f3c1fea37322558 toolkit/skills/code-ship/SKILL.md
|
|
24
|
-
967ec7e8a0a7951e3423c4e0f92c7471912e3a03ea23dc572c392e5a37edc266 toolkit/skills/code-tdd/SKILL.md
|
|
25
25
|
a85c93883197eef41f5392875b41a19b8cdeb3b14b3c6fb5a6dbfb6f21a1b825 toolkit/skills/code-tdd/references/testing-anti-patterns.md
|
|
26
|
+
967ec7e8a0a7951e3423c4e0f92c7471912e3a03ea23dc572c392e5a37edc266 toolkit/skills/code-tdd/SKILL.md
|
|
26
27
|
6df69cf2db69d13672b3e73a2c25aca48791e9ea912c1e1fbc3ce7734399c346 toolkit/skills/code-verify/SKILL.md
|
|
27
28
|
194cf6ec70eae013c03d06f397d4bbaca73256ad69be681ad14812493a3d1962 toolkit/skills/code-worktree/SKILL.md
|
|
28
|
-
7b3e27b56153160b44b5813e63ee8f762ee6f4338157480934ec4860f4914884 toolkit/templates/CODE_WORKFLOW_TEMPLATE.md
|
|
29
|
+
7b3e27b56153160b44b5813e63ee8f762ee6f4338157480934ec4860f4914884 toolkit/templates/CODE_WORKFLOW_TEMPLATE.md
|
|
@@ -1,219 +1,163 @@
|
|
|
1
|
-
# SDTK
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
`SDTK-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
`SDTK-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Normal mode is not "pick one of 12 skills and self-orchestrate from scratch."
|
|
56
|
-
Normal mode is:
|
|
57
|
-
- start from the workflow layer
|
|
58
|
-
- follow lane-aware routing
|
|
59
|
-
- keep execution traceable through `docs/dev/CODE_WORKFLOW_[FEATURE_KEY].md`
|
|
60
|
-
|
|
61
|
-
Important current truth:
|
|
62
|
-
- the workflow-first direction is locked
|
|
63
|
-
- the workflow routing contract now exists
|
|
64
|
-
- `start`, `plan`, `build`, `verify`, and `ship` now exist in the current package as control-plane workflow commands
|
|
65
|
-
|
|
66
|
-
That means this file is the routing contract for the workflow-first model. It describes the full intended workflow surface, which now exists in the CLI as control-plane workflow commands.
|
|
67
|
-
|
|
68
|
-
## 4. Two-Layer Model
|
|
69
|
-
### Workflow layer
|
|
70
|
-
This is the planned normal-mode surface.
|
|
71
|
-
|
|
72
|
-
Workflow phases:
|
|
73
|
-
- `start`
|
|
74
|
-
- `plan`
|
|
75
|
-
- `build`
|
|
76
|
-
- `verify`
|
|
77
|
-
- `ship`
|
|
78
|
-
|
|
79
|
-
The workflow layer is control-plane and routing-oriented.
|
|
80
|
-
It is intended to:
|
|
81
|
-
- validate state and inputs
|
|
82
|
-
- decide legal next steps
|
|
83
|
-
- update the workflow artifact
|
|
84
|
-
- route to the existing specialist engine
|
|
85
|
-
|
|
86
|
-
### Specialist skill engine
|
|
87
|
-
The existing 12 `code-*` skills remain intact.
|
|
88
|
-
|
|
89
|
-
They are:
|
|
90
|
-
- the internal execution engine behind the workflow layer
|
|
91
|
-
- the expert-mode direct entrypoints
|
|
92
|
-
- not the default onboarding surface
|
|
93
|
-
|
|
94
|
-
## 5. V1 Lane Model
|
|
95
|
-
V1 supports only two explicit lanes:
|
|
96
|
-
- `feature`
|
|
97
|
-
- `bugfix`
|
|
98
|
-
|
|
99
|
-
Deferred lanes remain out of scope for v1:
|
|
100
|
-
- `hardening`
|
|
101
|
-
- `review-only`
|
|
102
|
-
- `ship-only`
|
|
103
|
-
|
|
104
|
-
Lane intent:
|
|
105
|
-
- `feature` = full workflow: `start -> plan -> build -> verify -> ship`
|
|
106
|
-
- `bugfix` = lighter path: `start -> build -> verify -> ship`
|
|
107
|
-
|
|
108
|
-
Lane intake note:
|
|
109
|
-
- `feature` expects formal handoff by default and uses compatibility fallback only when the handoff file is missing
|
|
110
|
-
- `bugfix` also prefers formal handoff, but bounded compatibility fallback remains acceptable when the handoff file is missing
|
|
111
|
-
|
|
112
|
-
## 6. Workflow Artifact
|
|
113
|
-
Canonical workflow artifact:
|
|
114
|
-
- `docs/dev/CODE_WORKFLOW_[FEATURE_KEY].md`
|
|
115
|
-
|
|
116
|
-
Canonical template path:
|
|
117
|
-
- `products/sdtk-code/toolkit/templates/CODE_WORKFLOW_TEMPLATE.md`
|
|
118
|
-
|
|
119
|
-
The workflow artifact is not a replacement for `FEATURE_IMPL_PLAN_[FEATURE_KEY].md`.
|
|
120
|
-
It is the coding execution memory that sits beside the upstream handoff artifact.
|
|
121
|
-
|
|
122
|
-
Evidence rule:
|
|
123
|
-
- summarized evidence belongs in `CODE_WORKFLOW_[FEATURE_KEY].md`
|
|
124
|
-
- raw command output should be stored separately and referenced from the workflow artifact
|
|
125
|
-
- `verify` also emits `docs/dev/REVIEW_PACKET_[FEATURE_KEY].md` as an evidence package for QA/controller review, not as final approval
|
|
126
|
-
|
|
127
|
-
## 7. Phase-To-Engine Mapping
|
|
128
|
-
| Workflow phase | Primary engine skills | Conditional engine skills | Notes |
|
|
129
|
-
|---|---|---|---|
|
|
130
|
-
| `start` | `code-discover` | `code-brainstorm` | Use `code-brainstorm` only when the slice is still ambiguous after intake grounding. |
|
|
131
|
-
| `plan` | `code-plan` | `code-brainstorm` | `code-brainstorm` remains optional when the implementation path is unclear. |
|
|
132
|
-
| `build` | `code-worktree`, `code-tdd`, `code-execute` | `code-parallel` | `code-parallel` should be used only for clearly independent tasks. |
|
|
133
|
-
| `verify` | `code-verify`, `code-review` | none | Review order stays evidence first, then spec/compliance, then quality. |
|
|
134
|
-
| `ship` | `code-ship`, `code-finish` | none | Ship stays coding-scope only and does not expand into full release governance. |
|
|
135
|
-
|
|
136
|
-
### Cross-cutting reactive skill
|
|
137
|
-
`code-debug` is cross-cutting and reactive.
|
|
138
|
-
|
|
139
|
-
It is not a fixed top-level workflow phase.
|
|
140
|
-
Trigger it when failures occur during:
|
|
141
|
-
- `build`
|
|
142
|
-
- `verify`
|
|
143
|
-
- `ship` pre-flight or integration checks
|
|
144
|
-
|
|
145
|
-
## 8. Normal Mode vs Expert Mode
|
|
146
|
-
### Normal mode
|
|
147
|
-
Normal mode is workflow-first.
|
|
148
|
-
|
|
149
|
-
It should:
|
|
150
|
-
- begin from the workflow layer
|
|
151
|
-
- follow the lane model
|
|
152
|
-
- use the workflow artifact as the execution memory
|
|
153
|
-
- route to the engine skills intentionally rather than making the user choose blindly
|
|
154
|
-
|
|
155
|
-
### Expert mode
|
|
156
|
-
Expert mode is direct raw `code-*` usage inside the runtime.
|
|
157
|
-
|
|
158
|
-
Examples:
|
|
159
|
-
- `/code-plan`
|
|
160
|
-
- `/code-tdd`
|
|
161
|
-
- `/code-debug`
|
|
162
|
-
|
|
163
|
-
Expert mode rules:
|
|
164
|
-
- raw skill usage remains available
|
|
165
|
-
- it is an advanced path, not the default onboarding path
|
|
166
|
-
- if a workflow artifact already exists, expert-mode deviations should be recorded against it
|
|
167
|
-
- v1 does not require a dedicated CLI expert-mode flag
|
|
168
|
-
|
|
169
|
-
### Expert-mode deviation recording convention
|
|
170
|
-
Batch 7 keeps expert mode lightweight.
|
|
171
|
-
|
|
172
|
-
If a workflow artifact already exists and you bypass the normal workflow command path with raw `code-*` usage, record the deviation under `## 6. Evidence And Review Notes` using a lightweight note that captures:
|
|
173
|
-
- date/time
|
|
174
|
-
- current phase
|
|
175
|
-
- raw skill used
|
|
176
|
-
- reason for bypass
|
|
177
|
-
- evidence refs
|
|
178
|
-
- outcome or next action
|
|
179
|
-
|
|
180
|
-
This batch does not add runtime interception or a new artifact section for expert mode.
|
|
181
|
-
The rule is documentation plus lightweight recording inside the existing workflow artifact.
|
|
182
|
-
|
|
183
|
-
## 9. Runtime Truth
|
|
184
|
-
| Runtime | Current truth | Workflow note |
|
|
1
|
+
# SDTK Orchestrator Routing Contract
|
|
2
|
+
|
|
3
|
+
Goal: use the SDTK Suite as a coordinated operating model:
|
|
4
|
+
- `SDTK-SPEC` governs upstream discovery, planning, design, traceability, and release gates.
|
|
5
|
+
- `SDTK-CODE` is the default downstream system for implementation, bug fixing, refactoring, verification, and ship-ready code changes.
|
|
6
|
+
- `SDTK-OPS` is the downstream system for deployment, infrastructure, CI/CD, monitoring, incident handling, and operational verification.
|
|
7
|
+
|
|
8
|
+
Orchestrator Intake is the always-winning front door for every unprefixed request.
|
|
9
|
+
|
|
10
|
+
## 1) Default Rules
|
|
11
|
+
- If role is not specified, default to Orchestrator Intake, not PM.
|
|
12
|
+
- Orchestrator first classifies the user request intent, then routes to the smallest sufficient SDTK product, role, and skill.
|
|
13
|
+
- PM starts only when the request is ready for formal SDTK-SPEC product initiation after discovery readiness is confirmed.
|
|
14
|
+
- Do not skip phases. If inputs are missing, ask focused questions before moving on.
|
|
15
|
+
- At the end of every SDTK-SPEC phase, update:
|
|
16
|
+
- `SHARED_PLANNING.md`
|
|
17
|
+
- `QUALITY_CHECKLIST.md`
|
|
18
|
+
- Artifact language under `docs/**` should default to English.
|
|
19
|
+
- Read stack and command configuration from `sdtk-spec.config.json` in the project root.
|
|
20
|
+
- For VI/JP source requirements, keep original text in an appendix and add literal English translation for traceability.
|
|
21
|
+
- `/dev` stops at `FEATURE_IMPL_PLAN + CODE_HANDOFF`; SDTK-CODE is the default downstream coding system.
|
|
22
|
+
- Verification-before-completion: no phase may declare done, pass, or handoff-ready without fresh command evidence per `governance/ai/core/SDTK_VERIFICATION_BEFORE_COMPLETION_POLICY.md`.
|
|
23
|
+
- `toolkit/skills/skills.catalog.yaml` is the inventory source of truth for the 14 core SDTK-SPEC skills, including the bounded `mailbox-dispatch` controller skill.
|
|
24
|
+
|
|
25
|
+
## 2) Session Bootstrap Protocol
|
|
26
|
+
When starting a new session, read context in this order when the files exist:
|
|
27
|
+
1. `AGENTS.md`
|
|
28
|
+
2. `governance/ai/session/SDTK_ACTIVE_BOOTSTRAP.md`
|
|
29
|
+
3. `governance/ai/session/SDTK_AGENT_WORKING_RULES.md`
|
|
30
|
+
4. `governance/ai/core/IMPROVEMENT_BACKLOG.md`
|
|
31
|
+
5. issue-specific controller spec and implementation plan
|
|
32
|
+
|
|
33
|
+
Do not read the entire historical session archive by default. Use `SDTK_SESSION_MEMORY_*.md` only when chronology or past acceptance details are required.
|
|
34
|
+
|
|
35
|
+
## 3) Orchestrator-First Intake Protocol
|
|
36
|
+
For every unprefixed user request:
|
|
37
|
+
1. Classify the request intent before selecting PM/BA/ARCH/DEV/QA or a downstream product lane.
|
|
38
|
+
2. Route to the smallest sufficient workflow:
|
|
39
|
+
- unclear idea or early concept -> brainstorm / requirement clarification, then create or update `docs/discovery/REQUIREMENT_[FEATURE_KEY].md`
|
|
40
|
+
- formal feature discovery or planning -> SDTK-SPEC pipeline
|
|
41
|
+
- implementation, bug fix, refactor, verification, or ship-ready code -> SDTK-CODE
|
|
42
|
+
- deploy, release, infrastructure, CI/CD, monitoring, incident, backup, security-infra, or ops verification -> SDTK-OPS
|
|
43
|
+
- documentation graph or Atlas viewer -> `sdtk-spec atlas` compatibility workflow, or `sdtk-wiki` for canonical SDTK-WIKI work
|
|
44
|
+
- SDTK-WIKI Ask -> native `sdtk-wiki ask` when `.sdtk/wiki/graph` and `wiki.ask` entitlement/runtime preconditions are present
|
|
45
|
+
- project ingest, project refresh, or project audit -> the matching project command or workflow
|
|
46
|
+
- review or release decision -> review/QA workflow
|
|
47
|
+
3. Ask focused questions only when missing information blocks safe routing.
|
|
48
|
+
4. Do not force raw ideas directly into PM Phase 1. Clarify the requirement first in `docs/discovery/REQUIREMENT_[FEATURE_KEY].md`, then start PM initiation only after the artifact is marked `READY_FOR_PM_INITIATION`.
|
|
49
|
+
5. When routing creates artifacts, record decisions and open questions in the correct SDTK artifact.
|
|
50
|
+
|
|
51
|
+
## 4) Intent-To-Skill Routing Matrix
|
|
52
|
+
Use this compact matrix during intake so the agent picks the smallest sufficient workflow instead of defaulting everything to PM:
|
|
53
|
+
|
|
54
|
+
| User intent | Primary route | Output expectation |
|
|
185
55
|
|---|---|---|
|
|
186
|
-
|
|
|
187
|
-
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
-
|
|
201
|
-
-
|
|
202
|
-
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
56
|
+
| Raw idea | Brainstorm / requirement clarification | `docs/discovery/REQUIREMENT_[FEATURE_KEY].md` with clarified problem, scope, assumptions, open questions, and readiness |
|
|
57
|
+
| Approved idea ready for product planning | `SDTK-SPEC` PM initiation | `REQUIREMENT_[FEATURE_KEY]` marked `READY_FOR_PM_INITIATION`, then `PROJECT_INITIATION` kickoff |
|
|
58
|
+
| Formal feature delivery | `SDTK-SPEC` pipeline | PM -> BA -> ARCH -> DEV planning -> CODE handoff -> QA |
|
|
59
|
+
| Build, fix, or refactor implementation | `SDTK-CODE` | code-brainstorm (when slice is ambiguous) -> start -> plan -> build -> verify -> ship |
|
|
60
|
+
| Debug failure or unexpected behavior | `SDTK-CODE` debug | Root cause, bounded fix, regression verification |
|
|
61
|
+
| Deployment, release, infra, or CI/CD work | `SDTK-OPS` | ops-plan -> ops-deploy/ops-incident/ops-monitor -> ops-verify |
|
|
62
|
+
| Code review or spec review | Review / QA workflow | Findings, risks, blockers, acceptance signal |
|
|
63
|
+
| Atlas graph build or viewer work | `sdtk-spec atlas` compatibility workflow or `sdtk-wiki atlas` for canonical SDTK-WIKI work | Local `.sdtk/atlas` compatibility graph or `.sdtk/wiki` SDTK-WIKI result |
|
|
64
|
+
| SDTK-WIKI Ask | `sdtk-wiki ask` | Grounded answer when `.sdtk/wiki/graph` plus `wiki.ask` entitlement/runtime preconditions are present, otherwise explicit blocker |
|
|
65
|
+
| Existing project scan: project ingest, project refresh, or project audit | Matching premium project workflow | Project-local foundation, refresh, or audit result without overclaiming entitlement |
|
|
66
|
+
| "what should we do next" | Orchestrator state review | Recommended next action with rationale and lane choice |
|
|
67
|
+
|
|
68
|
+
Guardrails:
|
|
69
|
+
- Explicit user role prefix wins unless safety or missing critical inputs block execution.
|
|
70
|
+
- Raw idea clarification should use `docs/discovery/REQUIREMENT_[FEATURE_KEY].md`; do not widen the discovery-clarification scope into generator automation, package sync, or downstream validation work.
|
|
71
|
+
- Do not claim SDTK-WIKI Ask, project ingest, project refresh, project audit, web discover, compile, or query-history availability unless the runtime and entitlement preconditions are actually present.
|
|
72
|
+
- Ambiguous intent: ask, do not guess. Cap re-routes at 2 to avoid bouncing between products. Escalate to the user when intent cannot be classified or when the re-route limit is hit.
|
|
73
|
+
|
|
74
|
+
## 5) Proceed-Vs-Ask Decision Rules
|
|
75
|
+
Ask clarification when:
|
|
76
|
+
1. the requested outcome is ambiguous
|
|
77
|
+
2. safety, security, or release impact is unclear
|
|
78
|
+
3. the target repo, project, or path is missing
|
|
79
|
+
4. implementation is requested without an acceptance boundary
|
|
80
|
+
5. the next command could mutate external state
|
|
81
|
+
|
|
82
|
+
Proceed when:
|
|
83
|
+
1. the intent and target are clear
|
|
84
|
+
2. the task is read-only analysis
|
|
85
|
+
3. the user already approved the relevant plan or spec
|
|
86
|
+
4. the requested change is bounded and verifiable
|
|
87
|
+
|
|
88
|
+
## 6) Clarification Protocol
|
|
89
|
+
Apply for all roles (`/pm`, `/ba`, `/arch`, `/dev`, `/qa`):
|
|
90
|
+
1. If there is ambiguity or missing data, log `Open Questions` as `OQ-xx` in the current phase artifact.
|
|
91
|
+
2. Do not guess for behavior, API contracts, UI/UX, data model, security, or release criteria.
|
|
92
|
+
3. Escalate unresolved items to PM with question ID and file reference.
|
|
93
|
+
4. PM resolves by:
|
|
94
|
+
- using available docs and making a clear decision, or
|
|
95
|
+
- asking the user if source information is still missing.
|
|
96
|
+
5. Record decisions in PRD (`Decision Log`) and update the originating `OQ-xx` with resolution.
|
|
97
|
+
|
|
98
|
+
For raw ideas before PM initiation:
|
|
99
|
+
1. Use `docs/discovery/REQUIREMENT_[FEATURE_KEY].md` as the canonical clarification artifact.
|
|
100
|
+
2. Record scope, non-goals, assumptions, constraints, open questions, and readiness there before opening `PROJECT_INITIATION`.
|
|
101
|
+
3. Treat the discovery artifact as a bridge into PM initiation, not as a PRD replacement.
|
|
102
|
+
|
|
103
|
+
## 7) Role Selection In One Message
|
|
104
|
+
When the user prefixes a message, execute that role:
|
|
105
|
+
- `/orchestrator` (default intake + routing)
|
|
106
|
+
- `/pm` (formal product initiation + planning)
|
|
107
|
+
- `/ba`
|
|
108
|
+
- `/arch`
|
|
109
|
+
- `/dev`
|
|
110
|
+
- `/qa`
|
|
111
|
+
- `/engineer` (escalation for technical blockers)
|
|
112
|
+
|
|
113
|
+
Notes:
|
|
114
|
+
- Supported delivery roles are PM/BA/ARCH/DEV/QA.
|
|
115
|
+
- There is no separate `/tester` role. Test-case design belongs to QA with `sdtk-test-case-spec`.
|
|
116
|
+
|
|
117
|
+
## 8) Suite Product Routing
|
|
118
|
+
Use the suite products according to task intent:
|
|
119
|
+
|
|
120
|
+
- `SDTK-SPEC`
|
|
121
|
+
- feature discovery
|
|
122
|
+
- requirements, BA, PRD, backlog, architecture, QA artifacts
|
|
123
|
+
- handoff generation and release-gate traceability
|
|
124
|
+
- entry: `/orchestrator` (recommended), `/pm`, `/ba`, `/arch`, `/dev`, `/qa`
|
|
125
|
+
- `SDTK-CODE`
|
|
126
|
+
- build a feature
|
|
127
|
+
- fix a bug
|
|
128
|
+
- refactor implementation
|
|
129
|
+
- run implementation verification
|
|
130
|
+
- ship code changes
|
|
131
|
+
- workflow: `start -> plan -> build -> verify -> ship`
|
|
132
|
+
- entry point for ambiguous slices: `code-brainstorm`
|
|
133
|
+
- specialist engine: `code-plan`, `code-execute`, `code-tdd`, `code-debug`, `code-verify`, `code-review`, `code-ship`, `code-finish`, `code-worktree`, `code-discover`, `code-parallel` (sequential fallback when parallel dispatch is unavailable)
|
|
134
|
+
- `SDTK-OPS`
|
|
135
|
+
- deploy or release
|
|
136
|
+
- infrastructure and environment setup
|
|
137
|
+
- CI/CD changes
|
|
138
|
+
- monitoring, incident response, security-infra, backup, compliance
|
|
139
|
+
- entry: `ops-discover` (when boundary is unclear), `ops-plan`, `ops-deploy`, `ops-incident`, `ops-monitor`, `ops-backup`, `ops-verify`, `ops-debug`
|
|
140
|
+
|
|
141
|
+
If the current project only has `SDTK-SPEC` runtime assets installed:
|
|
142
|
+
- keep `/dev` bounded to planning and `CODE_HANDOFF`
|
|
143
|
+
- do not overclaim that SDTK-CODE or SDTK-OPS runtime assets are already installed
|
|
144
|
+
- still describe the correct downstream suite path in guidance and handoffs
|
|
145
|
+
|
|
146
|
+
## 9) Shared State And Quality Gates
|
|
147
|
+
- `SHARED_PLANNING.md`: phase status, owners, artifacts, blockers, handoff notes.
|
|
148
|
+
- `QUALITY_CHECKLIST.md`: gate checklist by phase.
|
|
149
|
+
- No handoff to next phase while current gate is not PASS.
|
|
150
|
+
- QA cannot start until downstream implementation evidence exists, normally from SDTK-CODE.
|
|
151
|
+
- QA cannot approve until `OPS_HANDOFF` and downstream OPS evidence are present and aligned.
|
|
152
|
+
- QA accepts downstream implementation evidence from SDTK-CODE as the default handoff bridge, plus `OPS_HANDOFF + OPS evidence` in the current formal suite flow.
|
|
153
|
+
|
|
154
|
+
## 10) Runtime Availability Rules
|
|
155
|
+
- Route only to products whose runtime assets are installed; do not overclaim.
|
|
156
|
+
- For SDTK-SPEC-only installs: keep `/dev` bounded to planning and `CODE_HANDOFF`; do not claim SDTK-CODE or SDTK-OPS are installed.
|
|
157
|
+
- For Codex runtimes: project-local skills require the explicit local `CODEX_HOME=<project>/.codex` contract; native `.codex/skills` auto-discovery is not claimed.
|
|
158
|
+
- Use `ops-parallel` or `code-parallel` only for truly independent slices. If parallel dispatch is unavailable in the active runtime, execute them sequentially in one controller session.
|
|
159
|
+
|
|
160
|
+
## 11) Discovery And PM Readiness
|
|
161
|
+
- PM initiation starts only after `docs/discovery/REQUIREMENT_[FEATURE_KEY].md` is marked `READY_FOR_PM_INITIATION`.
|
|
162
|
+
- Use `NEEDS_MORE_DISCOVERY` or `NOT_ACTIONABLE_YET` when the request is not ready.
|
|
163
|
+
- The discovery artifact is a pre-PM clarification bridge, not a PRD or BA replacement.
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# Software Development Toolkit - Code (SDTK-CODE)
|
|
2
|
+
|
|
3
|
+
## Document Role
|
|
4
|
+
This file is the architecture and product-boundary document for `SDTK-CODE`.
|
|
5
|
+
|
|
6
|
+
Use this file to understand:
|
|
7
|
+
- how `SDTK-CODE` fits inside the `SDTK-SPEC -> SDTK-CODE -> SDTK-OPS` family
|
|
8
|
+
- what the workflow-first layer owns
|
|
9
|
+
- how the workflow layer maps to the existing `code-*` specialist engine
|
|
10
|
+
- what stays outside `SDTK-CODE` scope
|
|
11
|
+
|
|
12
|
+
Do not use this file as the primary install or onboarding guide.
|
|
13
|
+
|
|
14
|
+
Canonical end-user guide:
|
|
15
|
+
- `products/sdtk-code/governance/SDTKCODE_TOOLKIT_USAGE_GUIDE.md`
|
|
16
|
+
|
|
17
|
+
## 1. Overview
|
|
18
|
+
|
|
19
|
+
`SDTK-CODE` is the coding-process product in the `SDTK-SPEC -> SDTK-CODE -> SDTK-OPS` family.
|
|
20
|
+
|
|
21
|
+
It is workflow-first:
|
|
22
|
+
- `start`
|
|
23
|
+
- `plan`
|
|
24
|
+
- `build`
|
|
25
|
+
- `verify`
|
|
26
|
+
- `ship`
|
|
27
|
+
|
|
28
|
+
It still keeps the existing specialist engine:
|
|
29
|
+
- the 12 `code-*` skills remain intact
|
|
30
|
+
- expert mode remains direct raw `code-*` usage inside Claude or Codex
|
|
31
|
+
|
|
32
|
+
`SDTK-OPS` now exists as a public downstream operations product via the `sdtk-ops-kit` package. Its install and usage truth is documented in the `products/sdtk-ops/` docs rather than in this file.
|
|
33
|
+
|
|
34
|
+
## 2. Boundary With SDTK-SPEC
|
|
35
|
+
|
|
36
|
+
`SDTK-SPEC` is upstream and remains the docs-first system.
|
|
37
|
+
|
|
38
|
+
`SDTK-SPEC` owns:
|
|
39
|
+
- PM, BA, and ARCH artifact generation
|
|
40
|
+
- docs-first SDLC orchestration
|
|
41
|
+
- upstream handoff generation
|
|
42
|
+
- QA artifact and release-governance flow
|
|
43
|
+
|
|
44
|
+
`SDTK-CODE` owns:
|
|
45
|
+
- implementation workflow after handoff
|
|
46
|
+
- execution-slice refinement and coding-plan discipline after valid intake
|
|
47
|
+
- TDD, debugging, verification, review, and ship discipline
|
|
48
|
+
- canonical `CODE -> OPS` bridge production from completed formal closeout
|
|
49
|
+
|
|
50
|
+
`SDTK-CODE` begins only after upstream handoff inputs already exist.
|
|
51
|
+
|
|
52
|
+
Task-breakdown truth:
|
|
53
|
+
- upstream `SDTK-SPEC` `/dev` still owns implementation-readiness planning and formal handoff scope
|
|
54
|
+
- `FEATURE_IMPL_PLAN_[FEATURE_KEY].md` remains the upstream readiness plan
|
|
55
|
+
- `sdtk-code plan` refines downstream execution slices only after intake succeeds
|
|
56
|
+
|
|
57
|
+
Preferred intake artifact:
|
|
58
|
+
- `docs/dev/CODE_HANDOFF_[FEATURE_KEY].json`
|
|
59
|
+
|
|
60
|
+
Bounded compatibility fallback when the formal handoff file is missing:
|
|
61
|
+
- `docs/dev/FEATURE_IMPL_PLAN_[FEATURE_KEY].md`
|
|
62
|
+
- `sdtk-spec.config.json`
|
|
63
|
+
- relevant architecture, API, database, and flow/screen specs for the current slice when applicable
|
|
64
|
+
|
|
65
|
+
Completed formal closeout also produces:
|
|
66
|
+
- `docs/dev/OPS_HANDOFF_[FEATURE_KEY].json`
|
|
67
|
+
|
|
68
|
+
Compatibility fallback does not replace the formal `CODE_HANDOFF -> OPS_HANDOFF` bridge chain.
|
|
69
|
+
|
|
70
|
+
## 3. Two-Layer Product Model
|
|
71
|
+
|
|
72
|
+
### 3.1 Workflow layer
|
|
73
|
+
The workflow layer is the default documented surface.
|
|
74
|
+
|
|
75
|
+
Its job is to:
|
|
76
|
+
- validate required inputs
|
|
77
|
+
- validate lane and phase state
|
|
78
|
+
- create or update the workflow artifact
|
|
79
|
+
- route users to the next legal step
|
|
80
|
+
- keep execution traceable
|
|
81
|
+
|
|
82
|
+
### 3.2 Specialist engine
|
|
83
|
+
The 12 existing `code-*` skills remain the internal execution engine.
|
|
84
|
+
|
|
85
|
+
They remain:
|
|
86
|
+
- the specialist building blocks behind the workflow layer
|
|
87
|
+
- the direct expert-mode entrypoints
|
|
88
|
+
- unchanged in identity for this implementation wave
|
|
89
|
+
|
|
90
|
+
## 4. Lane Model
|
|
91
|
+
|
|
92
|
+
V1 supports exactly two lanes:
|
|
93
|
+
- `feature`
|
|
94
|
+
- `bugfix`
|
|
95
|
+
|
|
96
|
+
Expected lane progression:
|
|
97
|
+
- feature: `start -> plan -> build -> verify -> ship`
|
|
98
|
+
- bugfix: `start -> build -> verify -> ship`
|
|
99
|
+
|
|
100
|
+
`code-debug` remains cross-cutting and reactive, not a top-level linear phase.
|
|
101
|
+
|
|
102
|
+
## 5. Workflow Artifact
|
|
103
|
+
|
|
104
|
+
Canonical workflow artifact:
|
|
105
|
+
- `docs/dev/CODE_WORKFLOW_[FEATURE_KEY].md`
|
|
106
|
+
|
|
107
|
+
Canonical template path:
|
|
108
|
+
- `products/sdtk-code/toolkit/templates/CODE_WORKFLOW_TEMPLATE.md`
|
|
109
|
+
|
|
110
|
+
The workflow artifact stores:
|
|
111
|
+
- metadata
|
|
112
|
+
- lane and phase state
|
|
113
|
+
- intake outcome
|
|
114
|
+
- slice summary
|
|
115
|
+
- summarized evidence and review notes
|
|
116
|
+
- final ship or finish decision
|
|
117
|
+
|
|
118
|
+
The workflow artifact does not inline full raw command output.
|
|
119
|
+
|
|
120
|
+
## 6. Runtime Truth
|
|
121
|
+
|
|
122
|
+
### Claude
|
|
123
|
+
- supports project and user scope
|
|
124
|
+
- installs `code-*` skills
|
|
125
|
+
|
|
126
|
+
### Codex
|
|
127
|
+
- defaults to user scope
|
|
128
|
+
- installs `sdtk-code-*` skills
|
|
129
|
+
- supports project-local installs only through the explicit local `CODEX_HOME=<project>/.codex` contract
|
|
130
|
+
- native `.codex/skills` auto-discovery is not claimed
|
|
131
|
+
- routing assumptions must not depend on unavailable multi-agent behavior
|
|
132
|
+
|
|
133
|
+
## 7. Documentation Map
|
|
134
|
+
|
|
135
|
+
Use these documents by role:
|
|
136
|
+
|
|
137
|
+
- Canonical end-user install and usage guide:
|
|
138
|
+
- `products/sdtk-code/governance/SDTKCODE_TOOLKIT_USAGE_GUIDE.md`
|
|
139
|
+
- Install-truth and smoke appendix:
|
|
140
|
+
- `products/sdtk-code/governance/installation-runbook.md`
|
|
141
|
+
- Workflow/boundary companion:
|
|
142
|
+
- `products/sdtk-code/governance/usage-guide.md`
|
|
143
|
+
- npm package landing page:
|
|
144
|
+
- `products/sdtk-code/distribution/sdtk-code-kit/README.md`
|
|
145
|
+
- Contract details:
|
|
146
|
+
- `products/sdtk-code/governance/workflow-contract.md`
|
|
147
|
+
- `products/sdtk-code/governance/workflow-routing-matrix.md`
|
|
148
|
+
- `products/sdtk-code/governance/workflow-state-model.md`
|
|
149
|
+
|
|
150
|
+
## 8. Upstream Boundary With SDTK-SPEC
|
|
151
|
+
|
|
152
|
+
`SDTK-SPEC` is the upstream docs-first system. `SDTK-CODE` begins only after valid upstream handoff inputs already exist.
|
|
153
|
+
|
|
154
|
+
Preferred upstream intake artifact:
|
|
155
|
+
- `docs/dev/CODE_HANDOFF_[FEATURE_KEY].json`
|
|
156
|
+
|
|
157
|
+
Compatibility fallback when the formal handoff file is missing:
|
|
158
|
+
- fall back to `FEATURE_IMPL_PLAN + sdtk-spec.config.json` only when the formal handoff file is missing
|
|
159
|
+
|
|
160
|
+
Task-breakdown truth:
|
|
161
|
+
- upstream `SDTK-SPEC` `/dev` owns implementation-readiness planning and formal handoff scope
|
|
162
|
+
- `FEATURE_IMPL_PLAN_[FEATURE_KEY].md` remains the upstream readiness plan
|
|
163
|
+
- `sdtk-code plan` refines downstream execution slices only after intake succeeds
|
|
164
|
+
|
|
165
|
+
`SDTK-CODE` expected outputs include:
|
|
166
|
+
- code changes
|
|
167
|
+
- test changes
|
|
168
|
+
- summarized verification evidence
|
|
169
|
+
- `docs/dev/REVIEW_PACKET_[FEATURE_KEY].md` from `verify` as downstream QA/controller input — not as final approval
|
|
170
|
+
- `docs/dev/OPS_HANDOFF_[FEATURE_KEY].json` on completed formal-handoff-backed closeout
|
|
171
|
+
|
|
172
|
+
## 9. Expert Mode And Deviation Recording
|
|
173
|
+
|
|
174
|
+
Expert mode is direct raw `code-*` usage inside the runtime.
|
|
175
|
+
|
|
176
|
+
Normal mode is workflow-first (`start -> plan -> build -> verify -> ship`). Expert mode is the direct raw entrypoint for advanced use.
|
|
177
|
+
|
|
178
|
+
Expert mode rules:
|
|
179
|
+
- v1 does not require a dedicated CLI expert-mode flag
|
|
180
|
+
- if a workflow artifact already exists and you bypass the normal workflow command path, record the deviation under `## 6. Evidence And Review Notes` in the workflow artifact using a lightweight note that captures:
|
|
181
|
+
- date/time
|
|
182
|
+
- current phase
|
|
183
|
+
- raw skill used
|
|
184
|
+
- reason for bypass
|
|
185
|
+
- evidence refs
|
|
186
|
+
- outcome or next action
|
|
187
|
+
|
|
188
|
+
## 10. Runtime And Codex Fallback Truth
|
|
189
|
+
|
|
190
|
+
| Runtime | Current truth |
|
|
191
|
+
|---|---|
|
|
192
|
+
| Claude | strongest intended runtime for v1; full workflow direction is designed with Claude in mind |
|
|
193
|
+
| Codex | defaults to user scope; project-local installs require the explicit `CODEX_HOME=<project>/.codex` contract |
|
|
194
|
+
|
|
195
|
+
Codex notes:
|
|
196
|
+
- workflow routing must not assume runtime capabilities that Codex cannot reliably support
|
|
197
|
+
- sequential fallback applies when parallel dispatch is unavailable: keep the same slice boundaries but execute sequentially
|