@orkestrel/scaffold 0.0.63 → 0.0.65
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.
- package/README.md +29 -104
- package/dist/bin/main.js +95 -27
- package/dist/bin/main.js.map +1 -1
- package/dist/host/AGENTS.md +2 -2
- package/dist/host/CLAUDE.md +6 -0
- package/dist/host/agents/orchestration.md +23 -15
- package/dist/host/agents/skills/enterprise-bootstrap/SKILL.md +184 -177
- package/dist/host/agents/skills/enterprise-bootstrap/references/bootstrap-reference.md +314 -91
- package/dist/host/agents/skills/enterprise-bootstrap/references/color-modes.md +241 -0
- package/dist/host/agents/skills/enterprise-bootstrap/references/components.md +83 -36
- package/dist/host/agents/skills/enterprise-bootstrap/references/frontend-design.md +297 -98
- package/dist/host/agents/skills/enterprise-bootstrap/references/inputs.md +25 -14
- package/dist/host/agents/skills/enterprise-bootstrap/references/inspection.md +216 -128
- package/dist/host/agents/skills/enterprise-bootstrap/references/responsive-layout.md +187 -0
- package/dist/host/agents/skills/enterprise-bootstrap/references/utilities.md +109 -20
- package/dist/host/agents/skills/orkestrel-debrief/references/field-testing.md +5 -5
- package/dist/host/agents/skills/orkestrel-falsify/references/reconcile.md +1 -1
- package/dist/host/agents/skills/orkestrel-publish/SKILL.md +15 -15
- package/dist/host/agents/skills/orkestrel-publish/references/wave.md +43 -17
- package/dist/host/agents/skills/orkestrel-publish/references/window.md +41 -16
- package/dist/host/claude/agents/orkestrel.md +56 -56
- package/dist/host/claude/agents/reviewer.md +13 -0
- package/dist/host/claude/rules/architecture.md +51 -45
- package/dist/host/claude/rules/documentation.md +18 -1
- package/dist/host/claude/rules/portability.md +2 -0
- package/dist/host/claude/rules/quality.md +1 -1
- package/dist/host/claude/rules/tests.md +12 -11
- package/dist/host/claude/rules/typescript.md +5 -0
- package/dist/host/claude/rules/workspace.md +25 -20
- package/dist/host/claude/rules/writing.md +4 -0
- package/dist/host/claude/settings.json +1 -1
- package/dist/host/claude/skills/enterprise-bootstrap/SKILL.md +10 -9
- package/dist/host/codex/agents/orkestrel.toml +3 -3
- package/dist/host/codex/agents/reviewer.toml +4 -2
- package/dist/host/configs/helpers.ts +311 -2
- package/dist/host/configs/policy.ts +1100 -51
- package/dist/host/dotfiles/oxlintrc.json +72 -1
- package/dist/host/guides/guide.md +749 -222
- package/dist/host/guides/scaffold.md +529 -394
- package/dist/host/manifest.json +53 -40
- package/dist/host/scripts/ollama.sh +322 -13
- package/dist/host/tests/config.test.ts +1200 -16
- package/dist/host/tests/policy.test.ts +157 -173
- package/dist/host/tests/setupPolicy.ts +522 -1007
- package/dist/src/core/index.cjs +402 -287
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +160 -128
- package/dist/src/core/index.d.ts +160 -128
- package/dist/src/core/index.js +400 -286
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +28 -21
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +38 -33
- package/dist/src/server/index.d.ts +38 -33
- package/dist/src/server/index.js +28 -21
- package/dist/src/server/index.js.map +1 -1
- package/package.json +18 -19
|
@@ -57,7 +57,9 @@
|
|
|
57
57
|
"vitest/warn-todo": "off",
|
|
58
58
|
|
|
59
59
|
"policy/no-mocking": "error",
|
|
60
|
-
"policy/no-keyword-privacy": "error"
|
|
60
|
+
"policy/no-keyword-privacy": "error",
|
|
61
|
+
"policy/no-malformed-summary": "error",
|
|
62
|
+
"policy/no-banned-term": "error"
|
|
61
63
|
},
|
|
62
64
|
"categories": {
|
|
63
65
|
"correctness": "error",
|
|
@@ -89,6 +91,26 @@
|
|
|
89
91
|
"policy/no-nested-functions": "error"
|
|
90
92
|
}
|
|
91
93
|
},
|
|
94
|
+
{
|
|
95
|
+
"files": ["app/**/*.{cts,mts,ts,tsx}", "src/**/*.{cts,mts,ts,tsx}"],
|
|
96
|
+
"rules": {
|
|
97
|
+
"policy/no-hidden-declaration": "error",
|
|
98
|
+
"policy/no-misplaced-type": "error",
|
|
99
|
+
"policy/no-misplaced-class": "error",
|
|
100
|
+
"policy/no-misplaced-data": "error",
|
|
101
|
+
"policy/no-misplaced-function": "error",
|
|
102
|
+
"policy/no-malformed-constant": "error",
|
|
103
|
+
"policy/no-misnamed-parser": "error",
|
|
104
|
+
"policy/no-misnamed-factory": "error",
|
|
105
|
+
"policy/no-malformed-domain": "error"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"files": ["app/**/*.ts", "configs/**/*.ts", "src/**/*.ts"],
|
|
110
|
+
"rules": {
|
|
111
|
+
"policy/no-host-line-endings": "error"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
92
114
|
{
|
|
93
115
|
"files": ["*.vue"],
|
|
94
116
|
"rules": {
|
|
@@ -123,6 +145,10 @@
|
|
|
123
145
|
"regex": "\\\\",
|
|
124
146
|
"message": "import paths must use portable forward slashes"
|
|
125
147
|
},
|
|
148
|
+
{
|
|
149
|
+
"regex": "^typescript(?:[/?#]|$)",
|
|
150
|
+
"message": "the in-process compiler API is not a surface the fleet uses"
|
|
151
|
+
},
|
|
126
152
|
{
|
|
127
153
|
"regex": "^(?:@app(?:[/?#]|$)|(?:\\.\\./)+app(?:[/?#]|$))",
|
|
128
154
|
"message": "src environments must not depend on private app modules"
|
|
@@ -167,6 +193,10 @@
|
|
|
167
193
|
"regex": "\\\\",
|
|
168
194
|
"message": "import paths must use portable forward slashes"
|
|
169
195
|
},
|
|
196
|
+
{
|
|
197
|
+
"regex": "^typescript(?:[/?#]|$)",
|
|
198
|
+
"message": "the in-process compiler API is not a surface the fleet uses"
|
|
199
|
+
},
|
|
170
200
|
{
|
|
171
201
|
"regex": "^(?:@app(?:[/?#]|$)|(?:\\.\\./)+app(?:[/?#]|$))",
|
|
172
202
|
"message": "src environments must not depend on private app modules"
|
|
@@ -207,6 +237,10 @@
|
|
|
207
237
|
"regex": "\\\\",
|
|
208
238
|
"message": "import paths must use portable forward slashes"
|
|
209
239
|
},
|
|
240
|
+
{
|
|
241
|
+
"regex": "^typescript(?:[/?#]|$)",
|
|
242
|
+
"message": "the in-process compiler API is not a surface the fleet uses"
|
|
243
|
+
},
|
|
210
244
|
{
|
|
211
245
|
"regex": "^(?:@app(?:[/?#]|$)|(?:\\.\\./)+app(?:[/?#]|$))",
|
|
212
246
|
"message": "src environments must not depend on private app modules"
|
|
@@ -251,6 +285,10 @@
|
|
|
251
285
|
"regex": "\\\\",
|
|
252
286
|
"message": "import paths must use portable forward slashes"
|
|
253
287
|
},
|
|
288
|
+
{
|
|
289
|
+
"regex": "^typescript(?:[/?#]|$)",
|
|
290
|
+
"message": "the in-process compiler API is not a surface the fleet uses"
|
|
291
|
+
},
|
|
254
292
|
{
|
|
255
293
|
"regex": "\\.(?:css|less|sass|scss|styl|stylus|pcss|postcss|sss)(?:[?#]|$)",
|
|
256
294
|
"message": "app/core must not import browser stylesheets"
|
|
@@ -291,6 +329,10 @@
|
|
|
291
329
|
"regex": "\\\\",
|
|
292
330
|
"message": "import paths must use portable forward slashes"
|
|
293
331
|
},
|
|
332
|
+
{
|
|
333
|
+
"regex": "^typescript(?:[/?#]|$)",
|
|
334
|
+
"message": "the in-process compiler API is not a surface the fleet uses"
|
|
335
|
+
},
|
|
294
336
|
{
|
|
295
337
|
"regex": "^(?:node:|(?:_(?:http_(?:agent|client|common|incoming|outgoing|server)|stream_(?:duplex|passthrough|readable|transform|wrap|writable)|tls_(?:common|wrap))|assert(?:/strict)?|async_hooks|buffer|child_process|cluster|console|constants|crypto|dgram|diagnostics_channel|dns(?:/promises)?|domain|events|fs(?:/promises)?|http|http2|https|inspector(?:/promises)?|module|net|os|path(?:/(?:posix|win32))?|perf_hooks|process|punycode|querystring|readline(?:/promises)?|repl|sqlite|stream(?:/(?:consumers|promises|web))?|string_decoder|sys|timers(?:/promises)?|tls|trace_events|tty|url|util(?:/types)?|v8|vm|wasi|worker_threads|zlib)(?:[/?#]|$)|@app/server(?:[/?#]|$)|@src/server(?:[/?#]|$)|@orkestrel/[^/]+/server(?:[/?#]|$)|(?:\\.\\./)+(?:server|src/server|app/server)(?:[/?#]|$))",
|
|
296
338
|
"message": "app/browser must not depend on Node or server-only modules"
|
|
@@ -327,6 +369,10 @@
|
|
|
327
369
|
"regex": "\\\\",
|
|
328
370
|
"message": "import paths must use portable forward slashes"
|
|
329
371
|
},
|
|
372
|
+
{
|
|
373
|
+
"regex": "^typescript(?:[/?#]|$)",
|
|
374
|
+
"message": "the in-process compiler API is not a surface the fleet uses"
|
|
375
|
+
},
|
|
330
376
|
{
|
|
331
377
|
"regex": "\\.(?:css|less|sass|scss|styl|stylus|pcss|postcss|sss)(?:[?#]|$)",
|
|
332
378
|
"message": "app/server must not import browser stylesheets"
|
|
@@ -367,6 +413,10 @@
|
|
|
367
413
|
"regex": "\\\\",
|
|
368
414
|
"message": "import paths must use portable forward slashes"
|
|
369
415
|
},
|
|
416
|
+
{
|
|
417
|
+
"regex": "^typescript(?:[/?#]|$)",
|
|
418
|
+
"message": "the in-process compiler API is not a surface the fleet uses"
|
|
419
|
+
},
|
|
370
420
|
{
|
|
371
421
|
"regex": "\\.(?:css|less|sass|scss|styl|stylus|pcss|postcss|sss)(?:[?#]|$)",
|
|
372
422
|
"message": "src/bin must not import browser stylesheets"
|
|
@@ -383,6 +433,27 @@
|
|
|
383
433
|
}
|
|
384
434
|
]
|
|
385
435
|
}
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"files": [
|
|
439
|
+
"tests/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx,vue}",
|
|
440
|
+
"configs/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx,vue}",
|
|
441
|
+
"scripts/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx,vue}",
|
|
442
|
+
"*.{cjs,cts,js,mjs,mts,ts}"
|
|
443
|
+
],
|
|
444
|
+
"rules": {
|
|
445
|
+
"no-restricted-imports": [
|
|
446
|
+
"error",
|
|
447
|
+
{
|
|
448
|
+
"patterns": [
|
|
449
|
+
{
|
|
450
|
+
"regex": "^typescript(?:[/?#]|$)",
|
|
451
|
+
"message": "the in-process compiler API is not a surface the fleet uses"
|
|
452
|
+
}
|
|
453
|
+
]
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
}
|
|
386
457
|
}
|
|
387
458
|
]
|
|
388
459
|
}
|