@orkestrel/scaffold 0.0.17 → 0.0.19
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/dist/host/AGENTS.md +4 -2
- package/dist/host/CLAUDE.md +22 -10
- package/dist/host/agents/skills/enterprise-bootstrap/SKILL.md +267 -0
- package/dist/host/agents/skills/enterprise-bootstrap/agents/openai.yaml +4 -0
- package/dist/host/agents/skills/enterprise-bootstrap/references/bootstrap-reference.md +609 -0
- package/dist/host/agents/skills/enterprise-bootstrap/references/components.md +994 -0
- package/dist/host/agents/skills/enterprise-bootstrap/references/frontend-design.md +59 -0
- package/dist/host/agents/skills/enterprise-bootstrap/references/utilities.md +312 -0
- package/dist/host/agents/skills/orkestrel-align-packages/references/integration.md +4 -13
- package/dist/host/agents/skills/orkestrel-build-application/SKILL.md +78 -50
- package/dist/host/agents/skills/orkestrel-debrief/SKILL.md +81 -0
- package/dist/host/agents/skills/orkestrel-debrief/agents/openai.yaml +4 -0
- package/dist/host/agents/skills/orkestrel-debrief/references/field-testing.md +75 -0
- package/dist/host/agents/skills/orkestrel-harden-package/SKILL.md +11 -9
- package/dist/host/agents/skills/orkestrel-harden-package/references/centralization.md +44 -59
- package/dist/host/agents/skills/orkestrel-harden-package/references/hardening.md +14 -6
- package/dist/host/agents/skills/orkestrel-polish-surface/SKILL.md +113 -0
- package/dist/host/agents/skills/orkestrel-polish-surface/agents/openai.yaml +4 -0
- package/dist/host/agents/skills/orkestrel-polish-surface/references/capture-harness.md +82 -0
- package/dist/host/claude/agents/builder.md +2 -0
- package/dist/host/claude/agents/codex.md +33 -26
- package/dist/host/claude/agents/grok.md +7 -0
- package/dist/host/claude/agents/implementer.md +2 -1
- package/dist/host/claude/agents/orkestrel.md +20 -15
- package/dist/host/claude/agents/planner.md +2 -1
- package/dist/host/claude/agents/reviewer.md +6 -0
- package/dist/host/claude/rules/documentation.md +1 -0
- package/dist/host/claude/rules/names.md +5 -7
- package/dist/host/claude/rules/quality.md +7 -5
- package/dist/host/claude/rules/styles.md +1 -0
- package/dist/host/claude/rules/tests.md +1 -0
- package/dist/host/claude/rules/typescript.md +3 -10
- package/dist/host/claude/rules/workspace.md +2 -5
- package/dist/host/claude/skills/enterprise-bootstrap/SKILL.md +12 -0
- package/dist/host/claude/skills/orkestrel-debrief/SKILL.md +12 -0
- package/dist/host/claude/skills/orkestrel-polish-surface/SKILL.md +12 -0
- package/dist/host/codex/agents/analyst.toml +6 -3
- package/dist/host/codex/agents/builder.toml +3 -2
- package/dist/host/codex/agents/checker.toml +4 -2
- package/dist/host/codex/agents/grok.toml +3 -1
- package/dist/host/codex/agents/implementer.toml +4 -2
- package/dist/host/codex/agents/opus.toml +5 -3
- package/dist/host/codex/agents/orkestrel.toml +6 -5
- package/dist/host/codex/agents/planner.toml +6 -2
- package/dist/host/codex/agents/reviewer.toml +7 -2
- package/dist/host/codex/config.toml +11 -2
- package/dist/host/dotfiles/prettierignore +3 -0
- package/dist/host/guides/src/scaffold.md +42 -12
- package/dist/host/manifest.json +80 -9
- package/dist/host/tests/setupPolicy.ts +4 -3
- package/dist/src/core/index.cjs +188 -44
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +17 -6
- package/dist/src/core/index.d.ts +17 -6
- package/dist/src/core/index.js +188 -45
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +11 -5
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +2 -1
- package/dist/src/server/index.d.ts +2 -1
- package/dist/src/server/index.js +10 -4
- package/dist/src/server/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/host/agents/skills/orkestrel-build-application/references/application.md +0 -129
- package/dist/host/claude/agents/application.md +0 -30
- package/dist/host/codex/agents/application.toml +0 -25
|
@@ -259,6 +259,8 @@ export declare interface Blueprint {
|
|
|
259
259
|
readonly service: boolean;
|
|
260
260
|
/** Structural: `true` only for a repo that carries the physical, exact-case `tests/setupGlobal.ts` module — integration and `srcBrowser` projects consume that shared global setup only under their own additional structural conditions. */
|
|
261
261
|
readonly global: boolean;
|
|
262
|
+
/** Structural: `true` only for a repo that carries the physical, exact-case `configs/app/vite.showcase.config.ts` regular file; valid only with `app/browser`. */
|
|
263
|
+
readonly showcase: boolean;
|
|
262
264
|
}
|
|
263
265
|
|
|
264
266
|
/**
|
|
@@ -270,7 +272,7 @@ export declare interface Blueprint {
|
|
|
270
272
|
* `version` / `engines` default `DEFAULT_VERSION` / `DEFAULT_ENGINES`,
|
|
271
273
|
* `src` defaults `['core']`, and `app` / `keywords` / `dependencies` /
|
|
272
274
|
* `peers` / `extras` / `overrides` default `[]`, and `bin` / `integration` /
|
|
273
|
-
* `service` / `global` default `false`. `description` is OMITTED entirely
|
|
275
|
+
* `service` / `global` / `showcase` default `false`. `description` is OMITTED entirely
|
|
274
276
|
* when absent, so the result round-trips the exact-record `Blueprint` guard.
|
|
275
277
|
* @returns A complete `Blueprint`.
|
|
276
278
|
*
|
|
@@ -329,6 +331,7 @@ export declare function blueprintShape(): ObjectShape<{
|
|
|
329
331
|
integration: BooleanShape;
|
|
330
332
|
service: BooleanShape;
|
|
331
333
|
global: BooleanShape;
|
|
334
|
+
showcase: BooleanShape;
|
|
332
335
|
}, false>;
|
|
333
336
|
|
|
334
337
|
/**
|
|
@@ -2047,6 +2050,7 @@ export declare function coreViteConfig(): string;
|
|
|
2047
2050
|
integration: BooleanShape;
|
|
2048
2051
|
service: BooleanShape;
|
|
2049
2052
|
global: BooleanShape;
|
|
2053
|
+
showcase: BooleanShape;
|
|
2050
2054
|
}, false>;
|
|
2051
2055
|
groups: ArrayShape<LiteralShape<readonly Group[]>>;
|
|
2052
2056
|
artifacts: ArrayShape<UnionShape<readonly [ ObjectShape<{
|
|
@@ -2275,7 +2279,7 @@ export declare function coreViteConfig(): string;
|
|
|
2275
2279
|
export declare function rootViteConfig(src: readonly Environment[], facts?: ViteFacts): string;
|
|
2276
2280
|
|
|
2277
2281
|
/** The devDependency range generated packages pin `@orkestrel/scaffold` at. */
|
|
2278
|
-
export declare const SCAFFOLD_RANGE = "^0.0.
|
|
2282
|
+
export declare const SCAFFOLD_RANGE = "^0.0.19";
|
|
2279
2283
|
|
|
2280
2284
|
/**
|
|
2281
2285
|
* Carries a `ScaffoldErrorCode` + optional `context` (AGENTS §12).
|
|
@@ -2365,6 +2369,9 @@ export declare function coreViteConfig(): string;
|
|
|
2365
2369
|
/** Immutable official actions/setup-node v6.4.0 commit used by generated CI. */
|
|
2366
2370
|
export declare const SETUP_NODE_ACTION_SHA = "48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e";
|
|
2367
2371
|
|
|
2372
|
+
/** The consumer-owned Vite wrapper whose physical presence enables the optional app showcase. */
|
|
2373
|
+
export declare const SHOWCASE_CONFIG_PATH = "configs/app/vite.showcase.config.ts";
|
|
2374
|
+
|
|
2368
2375
|
/**
|
|
2369
2376
|
* The single non-`core` environment's factory IS the base (Shape 3 of
|
|
2370
2377
|
* `rootViteConfig`) — the environment's own `viteHeader` (Playwright only when
|
|
@@ -2750,13 +2757,15 @@ export declare function coreViteConfig(): string;
|
|
|
2750
2757
|
* @remarks
|
|
2751
2758
|
* `bin`, `integration`, and `service` select their matching projects.
|
|
2752
2759
|
* `global` records the physical `tests/setupGlobal.ts` module and wires it
|
|
2753
|
-
* into every selected project that consumes that shared setup.
|
|
2760
|
+
* into every selected project that consumes that shared setup. `showcase`
|
|
2761
|
+
* records the physical app showcase wrapper and selects its browser machinery.
|
|
2754
2762
|
*/
|
|
2755
2763
|
export declare interface ViteFacts {
|
|
2756
2764
|
readonly bin?: boolean;
|
|
2757
2765
|
readonly integration?: boolean;
|
|
2758
2766
|
readonly service?: boolean;
|
|
2759
2767
|
readonly global?: boolean;
|
|
2768
|
+
readonly showcase?: boolean;
|
|
2760
2769
|
}
|
|
2761
2770
|
|
|
2762
2771
|
/**
|
|
@@ -2800,6 +2809,7 @@ export declare function coreViteConfig(): string;
|
|
|
2800
2809
|
readonly browser: boolean;
|
|
2801
2810
|
readonly vue: boolean;
|
|
2802
2811
|
readonly output: boolean;
|
|
2812
|
+
readonly showcase: boolean;
|
|
2803
2813
|
}
|
|
2804
2814
|
|
|
2805
2815
|
/**
|
|
@@ -2816,15 +2826,16 @@ export declare function coreViteConfig(): string;
|
|
|
2816
2826
|
* @param src - The declared published `Environment[]`.
|
|
2817
2827
|
* @param app - The declared application `Environment[]`, defaulting to none.
|
|
2818
2828
|
* @param bin - Whether the workspace also builds its own executable.
|
|
2829
|
+
* @param showcase - Whether the workspace carries its optional app showcase.
|
|
2819
2830
|
* @returns The machinery set the generated header renders.
|
|
2820
2831
|
*
|
|
2821
2832
|
* @example
|
|
2822
2833
|
* ```ts
|
|
2823
|
-
* viteMachinery(['core']) // { browser: false, vue: false, output: true }
|
|
2824
|
-
* viteMachinery([], ['core']) // { browser: false, vue: false, output: false }
|
|
2834
|
+
* viteMachinery(['core']) // { browser: false, vue: false, output: true, showcase: false }
|
|
2835
|
+
* viteMachinery([], ['core']) // { browser: false, vue: false, output: false, showcase: false }
|
|
2825
2836
|
* ```
|
|
2826
2837
|
*/
|
|
2827
|
-
export declare function viteMachinery(src: readonly Environment[], app?: readonly Environment[], bin?: boolean): ViteMachinery;
|
|
2838
|
+
export declare function viteMachinery(src: readonly Environment[], app?: readonly Environment[], bin?: boolean, showcase?: boolean): ViteMachinery;
|
|
2828
2839
|
|
|
2829
2840
|
/**
|
|
2830
2841
|
* Render the one ordered proof and structural-axis project definition block.
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -259,6 +259,8 @@ export declare interface Blueprint {
|
|
|
259
259
|
readonly service: boolean;
|
|
260
260
|
/** Structural: `true` only for a repo that carries the physical, exact-case `tests/setupGlobal.ts` module — integration and `srcBrowser` projects consume that shared global setup only under their own additional structural conditions. */
|
|
261
261
|
readonly global: boolean;
|
|
262
|
+
/** Structural: `true` only for a repo that carries the physical, exact-case `configs/app/vite.showcase.config.ts` regular file; valid only with `app/browser`. */
|
|
263
|
+
readonly showcase: boolean;
|
|
262
264
|
}
|
|
263
265
|
|
|
264
266
|
/**
|
|
@@ -270,7 +272,7 @@ export declare interface Blueprint {
|
|
|
270
272
|
* `version` / `engines` default `DEFAULT_VERSION` / `DEFAULT_ENGINES`,
|
|
271
273
|
* `src` defaults `['core']`, and `app` / `keywords` / `dependencies` /
|
|
272
274
|
* `peers` / `extras` / `overrides` default `[]`, and `bin` / `integration` /
|
|
273
|
-
* `service` / `global` default `false`. `description` is OMITTED entirely
|
|
275
|
+
* `service` / `global` / `showcase` default `false`. `description` is OMITTED entirely
|
|
274
276
|
* when absent, so the result round-trips the exact-record `Blueprint` guard.
|
|
275
277
|
* @returns A complete `Blueprint`.
|
|
276
278
|
*
|
|
@@ -329,6 +331,7 @@ export declare function blueprintShape(): ObjectShape<{
|
|
|
329
331
|
integration: BooleanShape;
|
|
330
332
|
service: BooleanShape;
|
|
331
333
|
global: BooleanShape;
|
|
334
|
+
showcase: BooleanShape;
|
|
332
335
|
}, false>;
|
|
333
336
|
|
|
334
337
|
/**
|
|
@@ -2047,6 +2050,7 @@ export declare function coreViteConfig(): string;
|
|
|
2047
2050
|
integration: BooleanShape;
|
|
2048
2051
|
service: BooleanShape;
|
|
2049
2052
|
global: BooleanShape;
|
|
2053
|
+
showcase: BooleanShape;
|
|
2050
2054
|
}, false>;
|
|
2051
2055
|
groups: ArrayShape<LiteralShape<readonly Group[]>>;
|
|
2052
2056
|
artifacts: ArrayShape<UnionShape<readonly [ ObjectShape<{
|
|
@@ -2275,7 +2279,7 @@ export declare function coreViteConfig(): string;
|
|
|
2275
2279
|
export declare function rootViteConfig(src: readonly Environment[], facts?: ViteFacts): string;
|
|
2276
2280
|
|
|
2277
2281
|
/** The devDependency range generated packages pin `@orkestrel/scaffold` at. */
|
|
2278
|
-
export declare const SCAFFOLD_RANGE = "^0.0.
|
|
2282
|
+
export declare const SCAFFOLD_RANGE = "^0.0.19";
|
|
2279
2283
|
|
|
2280
2284
|
/**
|
|
2281
2285
|
* Carries a `ScaffoldErrorCode` + optional `context` (AGENTS §12).
|
|
@@ -2365,6 +2369,9 @@ export declare function coreViteConfig(): string;
|
|
|
2365
2369
|
/** Immutable official actions/setup-node v6.4.0 commit used by generated CI. */
|
|
2366
2370
|
export declare const SETUP_NODE_ACTION_SHA = "48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e";
|
|
2367
2371
|
|
|
2372
|
+
/** The consumer-owned Vite wrapper whose physical presence enables the optional app showcase. */
|
|
2373
|
+
export declare const SHOWCASE_CONFIG_PATH = "configs/app/vite.showcase.config.ts";
|
|
2374
|
+
|
|
2368
2375
|
/**
|
|
2369
2376
|
* The single non-`core` environment's factory IS the base (Shape 3 of
|
|
2370
2377
|
* `rootViteConfig`) — the environment's own `viteHeader` (Playwright only when
|
|
@@ -2750,13 +2757,15 @@ export declare function coreViteConfig(): string;
|
|
|
2750
2757
|
* @remarks
|
|
2751
2758
|
* `bin`, `integration`, and `service` select their matching projects.
|
|
2752
2759
|
* `global` records the physical `tests/setupGlobal.ts` module and wires it
|
|
2753
|
-
* into every selected project that consumes that shared setup.
|
|
2760
|
+
* into every selected project that consumes that shared setup. `showcase`
|
|
2761
|
+
* records the physical app showcase wrapper and selects its browser machinery.
|
|
2754
2762
|
*/
|
|
2755
2763
|
export declare interface ViteFacts {
|
|
2756
2764
|
readonly bin?: boolean;
|
|
2757
2765
|
readonly integration?: boolean;
|
|
2758
2766
|
readonly service?: boolean;
|
|
2759
2767
|
readonly global?: boolean;
|
|
2768
|
+
readonly showcase?: boolean;
|
|
2760
2769
|
}
|
|
2761
2770
|
|
|
2762
2771
|
/**
|
|
@@ -2800,6 +2809,7 @@ export declare function coreViteConfig(): string;
|
|
|
2800
2809
|
readonly browser: boolean;
|
|
2801
2810
|
readonly vue: boolean;
|
|
2802
2811
|
readonly output: boolean;
|
|
2812
|
+
readonly showcase: boolean;
|
|
2803
2813
|
}
|
|
2804
2814
|
|
|
2805
2815
|
/**
|
|
@@ -2816,15 +2826,16 @@ export declare function coreViteConfig(): string;
|
|
|
2816
2826
|
* @param src - The declared published `Environment[]`.
|
|
2817
2827
|
* @param app - The declared application `Environment[]`, defaulting to none.
|
|
2818
2828
|
* @param bin - Whether the workspace also builds its own executable.
|
|
2829
|
+
* @param showcase - Whether the workspace carries its optional app showcase.
|
|
2819
2830
|
* @returns The machinery set the generated header renders.
|
|
2820
2831
|
*
|
|
2821
2832
|
* @example
|
|
2822
2833
|
* ```ts
|
|
2823
|
-
* viteMachinery(['core']) // { browser: false, vue: false, output: true }
|
|
2824
|
-
* viteMachinery([], ['core']) // { browser: false, vue: false, output: false }
|
|
2834
|
+
* viteMachinery(['core']) // { browser: false, vue: false, output: true, showcase: false }
|
|
2835
|
+
* viteMachinery([], ['core']) // { browser: false, vue: false, output: false, showcase: false }
|
|
2825
2836
|
* ```
|
|
2826
2837
|
*/
|
|
2827
|
-
export declare function viteMachinery(src: readonly Environment[], app?: readonly Environment[], bin?: boolean): ViteMachinery;
|
|
2838
|
+
export declare function viteMachinery(src: readonly Environment[], app?: readonly Environment[], bin?: boolean, showcase?: boolean): ViteMachinery;
|
|
2828
2839
|
|
|
2829
2840
|
/**
|
|
2830
2841
|
* Render the one ordered proof and structural-axis project definition block.
|