@orkestrel/scaffold 0.0.2 → 0.0.4

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 (82) hide show
  1. package/README.md +29 -15
  2. package/dist/bin/scaffold.js +1162 -1200
  3. package/dist/bin/scaffold.js.map +1 -1
  4. package/dist/host/AGENTS.md +124 -925
  5. package/dist/host/CLAUDE.md +335 -495
  6. package/dist/host/agents/skills/orkestrel-align-packages/SKILL.md +53 -0
  7. package/dist/host/agents/skills/orkestrel-align-packages/agents/openai.yaml +4 -0
  8. package/dist/host/agents/skills/orkestrel-align-packages/references/fleet.md +50 -0
  9. package/dist/host/agents/skills/orkestrel-align-packages/references/integration.md +56 -0
  10. package/dist/host/agents/skills/orkestrel-build-application/SKILL.md +64 -0
  11. package/dist/host/agents/skills/orkestrel-build-application/agents/openai.yaml +4 -0
  12. package/dist/host/agents/skills/orkestrel-build-application/references/application.md +129 -0
  13. package/dist/host/agents/skills/orkestrel-harden-package/SKILL.md +64 -0
  14. package/dist/host/agents/skills/orkestrel-harden-package/agents/openai.yaml +4 -0
  15. package/dist/host/agents/skills/orkestrel-harden-package/references/centralization.md +85 -0
  16. package/dist/host/agents/skills/orkestrel-harden-package/references/contract.md +57 -0
  17. package/dist/host/agents/skills/orkestrel-harden-package/references/hardening.md +93 -0
  18. package/dist/host/agents/skills/orkestrel-harden-package/references/research.md +61 -0
  19. package/dist/host/claude/agents/application.md +30 -0
  20. package/dist/host/claude/agents/builder.md +10 -7
  21. package/dist/host/claude/agents/checker.md +14 -8
  22. package/dist/host/claude/agents/codex.md +94 -0
  23. package/dist/host/claude/agents/grok.md +37 -34
  24. package/dist/host/claude/agents/implementer.md +40 -0
  25. package/dist/host/claude/agents/orkestrel.md +88 -223
  26. package/dist/host/claude/agents/planner.md +13 -34
  27. package/dist/host/claude/agents/reviewer.md +38 -24
  28. package/dist/host/claude/agents/verifier.md +14 -10
  29. package/dist/host/claude/rules/application.md +57 -0
  30. package/dist/host/claude/rules/architecture.md +180 -0
  31. package/dist/host/claude/rules/browser.md +28 -0
  32. package/dist/host/claude/rules/documentation.md +64 -0
  33. package/dist/host/claude/rules/names.md +209 -0
  34. package/dist/host/claude/rules/patterns.md +130 -0
  35. package/dist/host/claude/rules/quality.md +45 -0
  36. package/dist/host/claude/rules/styles.md +64 -0
  37. package/dist/host/claude/rules/tests.md +123 -0
  38. package/dist/host/claude/rules/typescript.md +78 -0
  39. package/dist/host/claude/rules/workspace.md +180 -0
  40. package/dist/host/claude/settings.json +112 -0
  41. package/dist/host/claude/skills/orkestrel-align-packages/SKILL.md +10 -0
  42. package/dist/host/claude/skills/orkestrel-build-application/SKILL.md +12 -0
  43. package/dist/host/claude/skills/orkestrel-harden-package/SKILL.md +10 -0
  44. package/dist/host/codex/agents/analyst.toml +15 -0
  45. package/dist/host/codex/agents/application.toml +25 -0
  46. package/dist/host/codex/agents/builder.toml +24 -0
  47. package/dist/host/codex/agents/checker.toml +15 -0
  48. package/dist/host/codex/agents/grok.toml +17 -0
  49. package/dist/host/codex/agents/implementer.toml +17 -0
  50. package/dist/host/codex/agents/opus.toml +25 -0
  51. package/dist/host/codex/agents/orkestrel.toml +16 -0
  52. package/dist/host/codex/agents/planner.toml +20 -0
  53. package/dist/host/codex/agents/reviewer.toml +18 -0
  54. package/dist/host/codex/agents/verifier.toml +14 -0
  55. package/dist/host/codex/config.toml +66 -0
  56. package/dist/host/cursor/mcp.json +12 -0
  57. package/dist/host/dotfiles/mcp.json +8 -0
  58. package/dist/host/dotfiles/oxlintrc.json +307 -1
  59. package/dist/host/guides/src/scaffold.md +2059 -2007
  60. package/dist/host/manifest.json +376 -137
  61. package/dist/host/scripts/codex.sh +49 -0
  62. package/dist/host/scripts/cursor.sh +33 -47
  63. package/dist/host/scripts/deps.sh +34 -16
  64. package/dist/host/scripts/ollama.sh +6 -149
  65. package/dist/host/tests/setupPolicy.ts +390 -0
  66. package/dist/src/core/index.cjs +6603 -1200
  67. package/dist/src/core/index.cjs.map +1 -1
  68. package/dist/src/core/index.d.cts +802 -267
  69. package/dist/src/core/index.d.ts +802 -267
  70. package/dist/src/core/index.js +6521 -1192
  71. package/dist/src/core/index.js.map +1 -1
  72. package/dist/src/server/index.cjs +3132 -593
  73. package/dist/src/server/index.cjs.map +1 -1
  74. package/dist/src/server/index.d.cts +643 -95
  75. package/dist/src/server/index.d.ts +643 -95
  76. package/dist/src/server/index.js +3054 -594
  77. package/dist/src/server/index.js.map +1 -1
  78. package/package.json +16 -12
  79. package/dist/host/claude/agents/composer.md +0 -64
  80. package/dist/host/claude/agents/researcher.md +0 -38
  81. package/dist/host/claude/agents/scout.md +0 -35
  82. package/dist/host/github/workflows/ci.yml +0 -64
@@ -1,137 +1,376 @@
1
- [
2
- {
3
- "storage": "claude/agents/builder.md",
4
- "destination": ".claude/agents/builder.md",
5
- "executable": false
6
- },
7
- {
8
- "storage": "claude/agents/checker.md",
9
- "destination": ".claude/agents/checker.md",
10
- "executable": false
11
- },
12
- {
13
- "storage": "claude/agents/composer.md",
14
- "destination": ".claude/agents/composer.md",
15
- "executable": false
16
- },
17
- {
18
- "storage": "claude/agents/grok.md",
19
- "destination": ".claude/agents/grok.md",
20
- "executable": false
21
- },
22
- {
23
- "storage": "claude/agents/orkestrel.md",
24
- "destination": ".claude/agents/orkestrel.md",
25
- "executable": false
26
- },
27
- {
28
- "storage": "claude/agents/planner.md",
29
- "destination": ".claude/agents/planner.md",
30
- "executable": false
31
- },
32
- {
33
- "storage": "claude/agents/researcher.md",
34
- "destination": ".claude/agents/researcher.md",
35
- "executable": false
36
- },
37
- {
38
- "storage": "claude/agents/reviewer.md",
39
- "destination": ".claude/agents/reviewer.md",
40
- "executable": false
41
- },
42
- {
43
- "storage": "claude/agents/scout.md",
44
- "destination": ".claude/agents/scout.md",
45
- "executable": false
46
- },
47
- {
48
- "storage": "claude/agents/verifier.md",
49
- "destination": ".claude/agents/verifier.md",
50
- "executable": false
51
- },
52
- {
53
- "storage": "claude/settings.json",
54
- "destination": ".claude/settings.json",
55
- "executable": false
56
- },
57
- {
58
- "storage": "dotfiles/editorconfig",
59
- "destination": ".editorconfig",
60
- "executable": false
61
- },
62
- {
63
- "storage": "dotfiles/gitattributes",
64
- "destination": ".gitattributes",
65
- "executable": false
66
- },
67
- {
68
- "storage": "github/workflows/ci.yml",
69
- "destination": ".github/workflows/ci.yml",
70
- "executable": false
71
- },
72
- {
73
- "storage": "dotfiles/gitignore",
74
- "destination": ".gitignore",
75
- "executable": false
76
- },
77
- {
78
- "storage": "dotfiles/oxfmtrc.json",
79
- "destination": ".oxfmtrc.json",
80
- "executable": false
81
- },
82
- {
83
- "storage": "dotfiles/oxlintignore",
84
- "destination": ".oxlintignore",
85
- "executable": false
86
- },
87
- {
88
- "storage": "dotfiles/oxlintrc.json",
89
- "destination": ".oxlintrc.json",
90
- "executable": false
91
- },
92
- {
93
- "storage": "dotfiles/prettierignore",
94
- "destination": ".prettierignore",
95
- "executable": false
96
- },
97
- {
98
- "storage": "AGENTS.md",
99
- "destination": "AGENTS.md",
100
- "executable": false
101
- },
102
- {
103
- "storage": "CLAUDE.md",
104
- "destination": "CLAUDE.md",
105
- "executable": false
106
- },
107
- {
108
- "storage": "LICENSE",
109
- "destination": "LICENSE",
110
- "executable": false
111
- },
112
- {
113
- "storage": "guides/src/guide.md",
114
- "destination": "guides/src/guide.md",
115
- "executable": false
116
- },
117
- {
118
- "storage": "guides/src/scaffold.md",
119
- "destination": "guides/src/scaffold.md",
120
- "executable": false
121
- },
122
- {
123
- "storage": "scripts/cursor.sh",
124
- "destination": "scripts/cursor.sh",
125
- "executable": true
126
- },
127
- {
128
- "storage": "scripts/deps.sh",
129
- "destination": "scripts/deps.sh",
130
- "executable": true
131
- },
132
- {
133
- "storage": "scripts/ollama.sh",
134
- "destination": "scripts/ollama.sh",
135
- "executable": true
136
- }
137
- ]
1
+ {
2
+ "entries": [
3
+ {
4
+ "storage": "agents/skills/orkestrel-align-packages/SKILL.md",
5
+ "destination": ".agents/skills/orkestrel-align-packages/SKILL.md",
6
+ "executable": false
7
+ },
8
+ {
9
+ "storage": "agents/skills/orkestrel-align-packages/agents/openai.yaml",
10
+ "destination": ".agents/skills/orkestrel-align-packages/agents/openai.yaml",
11
+ "executable": false
12
+ },
13
+ {
14
+ "storage": "agents/skills/orkestrel-align-packages/references/fleet.md",
15
+ "destination": ".agents/skills/orkestrel-align-packages/references/fleet.md",
16
+ "executable": false
17
+ },
18
+ {
19
+ "storage": "agents/skills/orkestrel-align-packages/references/integration.md",
20
+ "destination": ".agents/skills/orkestrel-align-packages/references/integration.md",
21
+ "executable": false
22
+ },
23
+ {
24
+ "storage": "agents/skills/orkestrel-build-application/SKILL.md",
25
+ "destination": ".agents/skills/orkestrel-build-application/SKILL.md",
26
+ "executable": false
27
+ },
28
+ {
29
+ "storage": "agents/skills/orkestrel-build-application/agents/openai.yaml",
30
+ "destination": ".agents/skills/orkestrel-build-application/agents/openai.yaml",
31
+ "executable": false
32
+ },
33
+ {
34
+ "storage": "agents/skills/orkestrel-build-application/references/application.md",
35
+ "destination": ".agents/skills/orkestrel-build-application/references/application.md",
36
+ "executable": false
37
+ },
38
+ {
39
+ "storage": "agents/skills/orkestrel-harden-package/SKILL.md",
40
+ "destination": ".agents/skills/orkestrel-harden-package/SKILL.md",
41
+ "executable": false
42
+ },
43
+ {
44
+ "storage": "agents/skills/orkestrel-harden-package/agents/openai.yaml",
45
+ "destination": ".agents/skills/orkestrel-harden-package/agents/openai.yaml",
46
+ "executable": false
47
+ },
48
+ {
49
+ "storage": "agents/skills/orkestrel-harden-package/references/centralization.md",
50
+ "destination": ".agents/skills/orkestrel-harden-package/references/centralization.md",
51
+ "executable": false
52
+ },
53
+ {
54
+ "storage": "agents/skills/orkestrel-harden-package/references/contract.md",
55
+ "destination": ".agents/skills/orkestrel-harden-package/references/contract.md",
56
+ "executable": false
57
+ },
58
+ {
59
+ "storage": "agents/skills/orkestrel-harden-package/references/hardening.md",
60
+ "destination": ".agents/skills/orkestrel-harden-package/references/hardening.md",
61
+ "executable": false
62
+ },
63
+ {
64
+ "storage": "agents/skills/orkestrel-harden-package/references/research.md",
65
+ "destination": ".agents/skills/orkestrel-harden-package/references/research.md",
66
+ "executable": false
67
+ },
68
+ {
69
+ "storage": "claude/agents/application.md",
70
+ "destination": ".claude/agents/application.md",
71
+ "executable": false
72
+ },
73
+ {
74
+ "storage": "claude/agents/builder.md",
75
+ "destination": ".claude/agents/builder.md",
76
+ "executable": false
77
+ },
78
+ {
79
+ "storage": "claude/agents/checker.md",
80
+ "destination": ".claude/agents/checker.md",
81
+ "executable": false
82
+ },
83
+ {
84
+ "storage": "claude/agents/codex.md",
85
+ "destination": ".claude/agents/codex.md",
86
+ "executable": false
87
+ },
88
+ {
89
+ "storage": "claude/agents/grok.md",
90
+ "destination": ".claude/agents/grok.md",
91
+ "executable": false
92
+ },
93
+ {
94
+ "storage": "claude/agents/implementer.md",
95
+ "destination": ".claude/agents/implementer.md",
96
+ "executable": false
97
+ },
98
+ {
99
+ "storage": "claude/agents/orkestrel.md",
100
+ "destination": ".claude/agents/orkestrel.md",
101
+ "executable": false
102
+ },
103
+ {
104
+ "storage": "claude/agents/planner.md",
105
+ "destination": ".claude/agents/planner.md",
106
+ "executable": false
107
+ },
108
+ {
109
+ "storage": "claude/agents/reviewer.md",
110
+ "destination": ".claude/agents/reviewer.md",
111
+ "executable": false
112
+ },
113
+ {
114
+ "storage": "claude/agents/verifier.md",
115
+ "destination": ".claude/agents/verifier.md",
116
+ "executable": false
117
+ },
118
+ {
119
+ "storage": "claude/rules/application.md",
120
+ "destination": ".claude/rules/application.md",
121
+ "executable": false
122
+ },
123
+ {
124
+ "storage": "claude/rules/architecture.md",
125
+ "destination": ".claude/rules/architecture.md",
126
+ "executable": false
127
+ },
128
+ {
129
+ "storage": "claude/rules/browser.md",
130
+ "destination": ".claude/rules/browser.md",
131
+ "executable": false
132
+ },
133
+ {
134
+ "storage": "claude/rules/documentation.md",
135
+ "destination": ".claude/rules/documentation.md",
136
+ "executable": false
137
+ },
138
+ {
139
+ "storage": "claude/rules/names.md",
140
+ "destination": ".claude/rules/names.md",
141
+ "executable": false
142
+ },
143
+ {
144
+ "storage": "claude/rules/patterns.md",
145
+ "destination": ".claude/rules/patterns.md",
146
+ "executable": false
147
+ },
148
+ {
149
+ "storage": "claude/rules/quality.md",
150
+ "destination": ".claude/rules/quality.md",
151
+ "executable": false
152
+ },
153
+ {
154
+ "storage": "claude/rules/styles.md",
155
+ "destination": ".claude/rules/styles.md",
156
+ "executable": false
157
+ },
158
+ {
159
+ "storage": "claude/rules/tests.md",
160
+ "destination": ".claude/rules/tests.md",
161
+ "executable": false
162
+ },
163
+ {
164
+ "storage": "claude/rules/typescript.md",
165
+ "destination": ".claude/rules/typescript.md",
166
+ "executable": false
167
+ },
168
+ {
169
+ "storage": "claude/rules/workspace.md",
170
+ "destination": ".claude/rules/workspace.md",
171
+ "executable": false
172
+ },
173
+ {
174
+ "storage": "claude/settings.json",
175
+ "destination": ".claude/settings.json",
176
+ "executable": false
177
+ },
178
+ {
179
+ "storage": "claude/skills/orkestrel-align-packages/SKILL.md",
180
+ "destination": ".claude/skills/orkestrel-align-packages/SKILL.md",
181
+ "executable": false
182
+ },
183
+ {
184
+ "storage": "claude/skills/orkestrel-build-application/SKILL.md",
185
+ "destination": ".claude/skills/orkestrel-build-application/SKILL.md",
186
+ "executable": false
187
+ },
188
+ {
189
+ "storage": "claude/skills/orkestrel-harden-package/SKILL.md",
190
+ "destination": ".claude/skills/orkestrel-harden-package/SKILL.md",
191
+ "executable": false
192
+ },
193
+ {
194
+ "storage": "codex/agents/analyst.toml",
195
+ "destination": ".codex/agents/analyst.toml",
196
+ "executable": false
197
+ },
198
+ {
199
+ "storage": "codex/agents/application.toml",
200
+ "destination": ".codex/agents/application.toml",
201
+ "executable": false
202
+ },
203
+ {
204
+ "storage": "codex/agents/builder.toml",
205
+ "destination": ".codex/agents/builder.toml",
206
+ "executable": false
207
+ },
208
+ {
209
+ "storage": "codex/agents/checker.toml",
210
+ "destination": ".codex/agents/checker.toml",
211
+ "executable": false
212
+ },
213
+ {
214
+ "storage": "codex/agents/grok.toml",
215
+ "destination": ".codex/agents/grok.toml",
216
+ "executable": false
217
+ },
218
+ {
219
+ "storage": "codex/agents/implementer.toml",
220
+ "destination": ".codex/agents/implementer.toml",
221
+ "executable": false
222
+ },
223
+ {
224
+ "storage": "codex/agents/opus.toml",
225
+ "destination": ".codex/agents/opus.toml",
226
+ "executable": false
227
+ },
228
+ {
229
+ "storage": "codex/agents/orkestrel.toml",
230
+ "destination": ".codex/agents/orkestrel.toml",
231
+ "executable": false
232
+ },
233
+ {
234
+ "storage": "codex/agents/planner.toml",
235
+ "destination": ".codex/agents/planner.toml",
236
+ "executable": false
237
+ },
238
+ {
239
+ "storage": "codex/agents/reviewer.toml",
240
+ "destination": ".codex/agents/reviewer.toml",
241
+ "executable": false
242
+ },
243
+ {
244
+ "storage": "codex/agents/verifier.toml",
245
+ "destination": ".codex/agents/verifier.toml",
246
+ "executable": false
247
+ },
248
+ {
249
+ "storage": "codex/config.toml",
250
+ "destination": ".codex/config.toml",
251
+ "executable": false
252
+ },
253
+ {
254
+ "storage": "cursor/mcp.json",
255
+ "destination": ".cursor/mcp.json",
256
+ "executable": false
257
+ },
258
+ {
259
+ "storage": "dotfiles/editorconfig",
260
+ "destination": ".editorconfig",
261
+ "executable": false
262
+ },
263
+ {
264
+ "storage": "dotfiles/gitattributes",
265
+ "destination": ".gitattributes",
266
+ "executable": false
267
+ },
268
+ {
269
+ "storage": "dotfiles/gitignore",
270
+ "destination": ".gitignore",
271
+ "executable": false
272
+ },
273
+ {
274
+ "storage": "dotfiles/mcp.json",
275
+ "destination": ".mcp.json",
276
+ "executable": false
277
+ },
278
+ {
279
+ "storage": "dotfiles/oxfmtrc.json",
280
+ "destination": ".oxfmtrc.json",
281
+ "executable": false
282
+ },
283
+ {
284
+ "storage": "dotfiles/oxlintignore",
285
+ "destination": ".oxlintignore",
286
+ "executable": false
287
+ },
288
+ {
289
+ "storage": "dotfiles/oxlintrc.json",
290
+ "destination": ".oxlintrc.json",
291
+ "executable": false
292
+ },
293
+ {
294
+ "storage": "dotfiles/prettierignore",
295
+ "destination": ".prettierignore",
296
+ "executable": false
297
+ },
298
+ {
299
+ "storage": "AGENTS.md",
300
+ "destination": "AGENTS.md",
301
+ "executable": false
302
+ },
303
+ {
304
+ "storage": "CLAUDE.md",
305
+ "destination": "CLAUDE.md",
306
+ "executable": false
307
+ },
308
+ {
309
+ "storage": "LICENSE",
310
+ "destination": "LICENSE",
311
+ "executable": false
312
+ },
313
+ {
314
+ "storage": "guides/src/guide.md",
315
+ "destination": "guides/src/guide.md",
316
+ "executable": false
317
+ },
318
+ {
319
+ "storage": "guides/src/scaffold.md",
320
+ "destination": "guides/src/scaffold.md",
321
+ "executable": false
322
+ },
323
+ {
324
+ "storage": "scripts/codex.sh",
325
+ "destination": "scripts/codex.sh",
326
+ "executable": true
327
+ },
328
+ {
329
+ "storage": "scripts/cursor.sh",
330
+ "destination": "scripts/cursor.sh",
331
+ "executable": true
332
+ },
333
+ {
334
+ "storage": "scripts/deps.sh",
335
+ "destination": "scripts/deps.sh",
336
+ "executable": true
337
+ },
338
+ {
339
+ "storage": "scripts/ollama.sh",
340
+ "destination": "scripts/ollama.sh",
341
+ "executable": true
342
+ },
343
+ {
344
+ "storage": "tests/setupPolicy.ts",
345
+ "destination": "tests/setupPolicy.ts",
346
+ "executable": false
347
+ }
348
+ ],
349
+ "roots": [
350
+ ".agents",
351
+ ".agents/skills",
352
+ ".agents/skills/orkestrel-align-packages",
353
+ ".agents/skills/orkestrel-align-packages/agents",
354
+ ".agents/skills/orkestrel-align-packages/references",
355
+ ".agents/skills/orkestrel-build-application",
356
+ ".agents/skills/orkestrel-build-application/agents",
357
+ ".agents/skills/orkestrel-build-application/references",
358
+ ".agents/skills/orkestrel-harden-package",
359
+ ".agents/skills/orkestrel-harden-package/agents",
360
+ ".agents/skills/orkestrel-harden-package/references",
361
+ ".claude",
362
+ ".claude/agents",
363
+ ".claude/rules",
364
+ ".claude/skills",
365
+ ".claude/skills/orkestrel-align-packages",
366
+ ".claude/skills/orkestrel-build-application",
367
+ ".claude/skills/orkestrel-harden-package",
368
+ ".codex",
369
+ ".codex/agents",
370
+ ".cursor",
371
+ "guides",
372
+ "guides/src",
373
+ "scripts",
374
+ "tests"
375
+ ]
376
+ }
@@ -0,0 +1,49 @@
1
+ #!/bin/bash
2
+ # SessionStart capability probe for the Codex bench. External command output
3
+ # and route identifiers never cross the hook-to-context boundary.
4
+
5
+ if [ "${CLAUDE_CODE_REMOTE:-}" != "true" ]; then
6
+ exit 0
7
+ fi
8
+
9
+ if ! command -v codex >/dev/null 2>&1; then
10
+ echo "codex.sh: bench unavailable."
11
+ exit 0
12
+ fi
13
+
14
+ analyst_model="${CODEX_ANALYST_MODEL:-gpt-5.6-sol}"
15
+ analyst_effort="${CODEX_ANALYST_EFFORT:-high}"
16
+ implementer_model="${CODEX_IMPLEMENTER_MODEL:-gpt-5.6-sol}"
17
+ implementer_effort="${CODEX_IMPLEMENTER_EFFORT:-high}"
18
+
19
+ valid_model() {
20
+ case "$1" in
21
+ ''|*[!A-Za-z0-9._-]*) return 1 ;;
22
+ esac
23
+ [ "${#1}" -le 128 ]
24
+ }
25
+
26
+ valid_effort() {
27
+ case "$1" in
28
+ low|medium|high|xhigh|max|ultra) return 0 ;;
29
+ *) return 1 ;;
30
+ esac
31
+ }
32
+
33
+ if codex login status >/dev/null 2>&1; then
34
+ auth="authentication ready"
35
+ else
36
+ auth="authentication unavailable"
37
+ fi
38
+
39
+ if valid_model "$analyst_model" &&
40
+ valid_model "$implementer_model" &&
41
+ valid_effort "$analyst_effort" &&
42
+ valid_effort "$implementer_effort"; then
43
+ routes="routes configured"
44
+ else
45
+ routes="routes invalid"
46
+ fi
47
+
48
+ echo "codex.sh: bench detected; ${auth}; ${routes}."
49
+ exit 0