@orkestrel/scaffold 0.0.132 → 0.0.134

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 (86) hide show
  1. package/dist/agents/skills/orkestrel-dispatch/scripts/bench.js +61 -96
  2. package/dist/agents/skills/orkestrel-dispatch/scripts/brief.js +48 -76
  3. package/dist/agents/skills/orkestrel-dispatch/scripts/chain.js +27 -66
  4. package/dist/agents/skills/orkestrel-dispatch/scripts/cite.js +31 -64
  5. package/dist/agents/skills/orkestrel-dispatch/scripts/launch.js +43 -57
  6. package/dist/agents/skills/orkestrel-dispatch/scripts/login.js +43 -86
  7. package/dist/agents/skills/orkestrel-dispatch/scripts/patch.js +68 -104
  8. package/dist/agents/skills/orkestrel-dispatch/scripts/result.js +35 -69
  9. package/dist/agents/skills/orkestrel-dispatch/scripts/sweep.js +47 -84
  10. package/dist/agents/skills/orkestrel-falsify/scripts/mutate.js +134 -116
  11. package/dist/agents/skills/orkestrel-harden/scripts/discovery.js +38 -90
  12. package/dist/agents/skills/orkestrel-harden/scripts/interleave.js +39 -103
  13. package/dist/agents/skills/orkestrel-harden/scripts/measure.js +40 -89
  14. package/dist/agents/skills/orkestrel-harden/scripts/titles.js +41 -87
  15. package/dist/agents/skills/orkestrel-parallel/scripts/cases.js +43 -88
  16. package/dist/agents/skills/orkestrel-parallel/scripts/lane.js +1018 -194
  17. package/dist/agents/skills/orkestrel-publish/scripts/compare.js +40 -60
  18. package/dist/agents/skills/orkestrel-publish/scripts/pins.js +47 -81
  19. package/dist/agents/skills/orkestrel-publish/scripts/steps.js +66 -104
  20. package/dist/agents/skills/orkestrel-publish/scripts/swap.js +74 -88
  21. package/dist/agents/skills/orkestrel-publish/scripts/wave.js +95 -108
  22. package/dist/agents/skills/orkestrel-publish/scripts/window.js +55 -96
  23. package/dist/agents/skills/orkestrel-scout/scripts/map.js +54 -101
  24. package/dist/bin/main.js +30 -6
  25. package/dist/bin/main.js.map +1 -1
  26. package/dist/host/agents/orchestration.md +1 -0
  27. package/dist/host/agents/skills/orkestrel-dispatch/scripts/bench.ts +81 -97
  28. package/dist/host/agents/skills/orkestrel-dispatch/scripts/brief.ts +64 -72
  29. package/dist/host/agents/skills/orkestrel-dispatch/scripts/chain.ts +41 -63
  30. package/dist/host/agents/skills/orkestrel-dispatch/scripts/cite.ts +56 -79
  31. package/dist/host/agents/skills/orkestrel-dispatch/scripts/launch.ts +61 -74
  32. package/dist/host/agents/skills/orkestrel-dispatch/scripts/login.ts +59 -89
  33. package/dist/host/agents/skills/orkestrel-dispatch/scripts/patch.ts +87 -106
  34. package/dist/host/agents/skills/orkestrel-dispatch/scripts/result.ts +57 -76
  35. package/dist/host/agents/skills/orkestrel-dispatch/scripts/sweep.ts +73 -88
  36. package/dist/host/agents/skills/orkestrel-falsify/SKILL.md +2 -2
  37. package/dist/host/agents/skills/orkestrel-falsify/scripts/mutate.ts +167 -119
  38. package/dist/host/agents/skills/orkestrel-harden/references/methods.md +1 -1
  39. package/dist/host/agents/skills/orkestrel-harden/scripts/discovery.ts +58 -75
  40. package/dist/host/agents/skills/orkestrel-harden/scripts/interleave.ts +55 -99
  41. package/dist/host/agents/skills/orkestrel-harden/scripts/measure.ts +59 -90
  42. package/dist/host/agents/skills/orkestrel-harden/scripts/titles.ts +60 -80
  43. package/dist/host/agents/skills/orkestrel-parallel/SKILL.md +4 -4
  44. package/dist/host/agents/skills/orkestrel-parallel/scripts/cases.ts +71 -108
  45. package/dist/host/agents/skills/orkestrel-parallel/scripts/lane.ts +1288 -239
  46. package/dist/host/agents/skills/orkestrel-publish/references/wave.md +10 -6
  47. package/dist/host/agents/skills/orkestrel-publish/scripts/compare.ts +58 -79
  48. package/dist/host/agents/skills/orkestrel-publish/scripts/pins.ts +66 -87
  49. package/dist/host/agents/skills/orkestrel-publish/scripts/steps.ts +84 -102
  50. package/dist/host/agents/skills/orkestrel-publish/scripts/swap.ts +92 -99
  51. package/dist/host/agents/skills/orkestrel-publish/scripts/wave.ts +130 -126
  52. package/dist/host/agents/skills/orkestrel-publish/scripts/window.ts +82 -120
  53. package/dist/host/agents/skills/orkestrel-scout/SKILL.md +3 -3
  54. package/dist/host/agents/skills/orkestrel-scout/scripts/map.ts +85 -112
  55. package/dist/host/claude/agents/orkestrel.md +54 -54
  56. package/dist/host/claude/rules/documentation.md +1 -1
  57. package/dist/host/claude/rules/patterns.md +5 -4
  58. package/dist/host/claude/rules/styles.md +1 -1
  59. package/dist/host/claude/rules/tests.md +8 -3
  60. package/dist/host/claude/rules/workspace.md +47 -35
  61. package/dist/host/configs/helpers.ts +40 -15
  62. package/dist/host/dotfiles/oxlintrc.json +62 -0
  63. package/dist/host/guides/browser.md +1 -1
  64. package/dist/host/guides/form.md +79 -4
  65. package/dist/host/guides/queue.md +3 -1
  66. package/dist/host/guides/scaffold.md +95 -67
  67. package/dist/host/guides/table.md +20 -6
  68. package/dist/host/guides/test.md +342 -202
  69. package/dist/host/guides/workflow.md +4 -2
  70. package/dist/host/manifest.json +48 -48
  71. package/dist/host/tests/config.test.ts +201 -11
  72. package/dist/host/tests/policy.test.ts +15 -22
  73. package/dist/host/tests/setupPolicy.ts +43 -36
  74. package/dist/src/core/index.cjs +194 -97
  75. package/dist/src/core/index.cjs.map +1 -1
  76. package/dist/src/core/index.d.cts +27 -13
  77. package/dist/src/core/index.d.ts +27 -13
  78. package/dist/src/core/index.js +192 -97
  79. package/dist/src/core/index.js.map +1 -1
  80. package/dist/src/server/index.cjs +8 -9
  81. package/dist/src/server/index.cjs.map +1 -1
  82. package/dist/src/server/index.d.cts +1 -1
  83. package/dist/src/server/index.d.ts +1 -1
  84. package/dist/src/server/index.js +8 -9
  85. package/dist/src/server/index.js.map +1 -1
  86. package/package.json +5 -5
@@ -7,9 +7,6 @@ import type { JSONValue } from '@orkestrel/contract';
7
7
  /** Lists the development dependencies a private browser application adds. */
8
8
  export declare const APP_BROWSER_DEV_DEPENDENCIES: Readonly<Record<string, string>>;
9
9
 
10
- /** Names the development dependency every private `app` environment adds. */
11
- export declare const APP_DEV_DEPENDENCIES: Readonly<Record<string, string>>;
12
-
13
10
  /**
14
11
  * Holds the configuration and runtime-entry settings each private `app` environment
15
12
  * contributes, frozen.
@@ -248,9 +245,11 @@ export declare interface ArtifactTemplateSet {
248
245
  };
249
246
  readonly entry: string;
250
247
  readonly bin: string;
248
+ readonly reporter: string;
251
249
  readonly distribution: {
252
250
  readonly module: string;
253
251
  readonly proof: string;
252
+ readonly events: string;
254
253
  readonly transport: string;
255
254
  readonly types: string;
256
255
  readonly launcher: string;
@@ -378,7 +377,7 @@ export declare const BIN_OUTPUT_PATH = "dist/bin/main.js";
378
377
  * are runtime `@orkestrel/*` packages. A peer in the `@orkestrel` scope is a
379
378
  * fleet pin; every other peer is a floor. `extras` are package-specific
380
379
  * development dependencies and may carry any valid npm name.
381
- * `bin`, `setup`, `guides`, `integration`, `conformance`, `tree`, `service`,
380
+ * `bin`, `reporter`, `setup`, `guides`, `integration`, `conformance`, `tree`, `service`,
382
381
  * `vendors`, `studies`, `global`, `showcase`, `journey`, `base`, `styles`, `themes`, and `skills` are structural facts: each is
383
382
  * set only when the workspace physically ships the directory or exact-case file
384
383
  * that defines it, never because of the workspace's name and never because a
@@ -428,6 +427,8 @@ export declare interface Blueprint {
428
427
  readonly engines: string;
429
428
  readonly overrides: readonly Override[];
430
429
  readonly bin: boolean;
430
+ /** Selects the exact-case `src/reporter/main.ts` entry of the published Vitest reporter. */
431
+ readonly reporter: boolean;
431
432
  readonly setup: readonly SetupRuntime[];
432
433
  readonly guides: boolean;
433
434
  readonly integration: boolean;
@@ -548,9 +549,10 @@ export declare function blueprintToDevDependencies(blueprint: Blueprint): Readon
548
549
  export declare function blueprintToDocumentArtifacts(blueprint: Blueprint): readonly ContentArtifact[];
549
550
 
550
551
  /**
551
- * Projects published environments and sheets into the manifest export map.
552
+ * Projects published environments, sheets, and the reporter entry into the manifest export map.
552
553
  * @param blueprint - The workspace specification.
553
- * @returns JavaScript conditions and CSS and SCSS subpaths, without an invented JavaScript root.
554
+ * @returns JavaScript conditions, CSS and SCSS subpaths, and the ES-only `./reporter` subpath,
555
+ * without an invented JavaScript root.
554
556
  * @example
555
557
  * ```ts
556
558
  * import { blueprintToExports, createBlueprint } from '@orkestrel/scaffold'
@@ -1024,9 +1026,9 @@ export declare function blueprintToToolchainHolds(blueprint: Blueprint): Readonl
1024
1026
  * Every direct `test:<project>` script is writable, together with the probe and
1025
1027
  * benchmark workbench scripts. A workspace carrying guides adds `test:guides`,
1026
1028
  * whose package-owned entry runs the guides project and handles explicit parity
1027
- * rewrites, and one carrying skills adds `test:skills`. Publishing adds the pack and publication lifecycle scripts.
1028
- * Sheet and framework faces add their check and build scripts, application frameworks add dev scripts,
1029
- * and selected showcases and journeys add their mode scripts.
1029
+ * rewrites, and one carrying skills adds `test:skills`. Publishing adds the pack and publication
1030
+ * lifecycle scripts. Sheet and framework faces add their check and build scripts, application
1031
+ * frameworks add dev scripts, and selected showcases and journeys add their mode scripts.
1030
1032
  * A base browser application's journey axis also adds `journey` and `capture`, and each
1031
1033
  * app-side browser face adds `journey:<name>` and `capture:<name>`. Their generated
1032
1034
  * commands are writable and have no predecessor forms; customized values remain caller-owned.
@@ -1043,10 +1045,10 @@ export declare function blueprintToToolchainHolds(blueprint: Blueprint): Readonl
1043
1045
  * existed. The pack hook accepts the build chain emitted before it
1044
1046
  * delegated to `build`. The publication hook accepts the same gate chain without
1045
1047
  * {@link RELEASE_PROOF_COMMAND}. No accepted publication chain carries a study
1046
- * step. `serve:build` accepts the server-only chain it ran before it delegated to
1047
- * `build`. The value being written is always writable, so it is not repeated there. Any other value is a script the workspace author
1048
- * customized, and {@link replaceManifestScripts} retains it while writing the
1049
- * other named scripts independently.
1048
+ * step. `serve:build` accepts the server-only chain it ran before it delegated to `build`.
1049
+ * The value being written is always writable, so it is not repeated there. Any other value is a
1050
+ * script the workspace author customized, and {@link replaceManifestScripts} retains it while
1051
+ * writing the other named scripts independently.
1050
1052
  *
1051
1053
  * @example
1052
1054
  * ```ts
@@ -1736,6 +1738,7 @@ export declare class Compiler implements CompilerInterface {
1736
1738
  readonly browser: string;
1737
1739
  readonly server: string;
1738
1740
  readonly bin: string;
1741
+ readonly reporter: string;
1739
1742
  };
1740
1743
  readonly app: {
1741
1744
  readonly core: string;
@@ -1780,6 +1783,7 @@ export declare class Compiler implements CompilerInterface {
1780
1783
  readonly server: string;
1781
1784
  };
1782
1785
  readonly bin: string;
1786
+ readonly reporter: string;
1783
1787
  readonly skills: string;
1784
1788
  };
1785
1789
  readonly vites: {
@@ -1791,6 +1795,7 @@ export declare class Compiler implements CompilerInterface {
1791
1795
  readonly server: string;
1792
1796
  };
1793
1797
  readonly bin: string;
1798
+ readonly reporter: string;
1794
1799
  readonly app: {
1795
1800
  readonly vue: string;
1796
1801
  readonly browser: string;
@@ -3975,6 +3980,15 @@ export declare class Compiler implements CompilerInterface {
3975
3980
  */
3976
3981
  export declare function replacePlanRanges(plan: Plan, pins: DependencyPinSet): Plan | undefined;
3977
3982
 
3983
+ /** Lists the configuration files a workspace that publishes a Vitest reporter adds, frozen. */
3984
+ export declare const REPORTER_CONFIGS: readonly string[];
3985
+
3986
+ /** Names the reporter entry whose presence makes a workspace `reporter`. */
3987
+ export declare const REPORTER_ENTRY_PATH = "src/reporter/main.ts";
3988
+
3989
+ /** Names the built reporter module a reporter workspace's `./reporter` export loads. */
3990
+ export declare const REPORTER_OUTPUT_PATH = "dist/reporter/main.js";
3991
+
3978
3992
  /** Lists the names a styles extension cannot occupy, frozen. */
3979
3993
  export declare const RESERVED_SHEET_NAMES: readonly string[];
3980
3994
 
@@ -7,9 +7,6 @@ import type { JSONValue } from '@orkestrel/contract';
7
7
  /** Lists the development dependencies a private browser application adds. */
8
8
  export declare const APP_BROWSER_DEV_DEPENDENCIES: Readonly<Record<string, string>>;
9
9
 
10
- /** Names the development dependency every private `app` environment adds. */
11
- export declare const APP_DEV_DEPENDENCIES: Readonly<Record<string, string>>;
12
-
13
10
  /**
14
11
  * Holds the configuration and runtime-entry settings each private `app` environment
15
12
  * contributes, frozen.
@@ -248,9 +245,11 @@ export declare interface ArtifactTemplateSet {
248
245
  };
249
246
  readonly entry: string;
250
247
  readonly bin: string;
248
+ readonly reporter: string;
251
249
  readonly distribution: {
252
250
  readonly module: string;
253
251
  readonly proof: string;
252
+ readonly events: string;
254
253
  readonly transport: string;
255
254
  readonly types: string;
256
255
  readonly launcher: string;
@@ -378,7 +377,7 @@ export declare const BIN_OUTPUT_PATH = "dist/bin/main.js";
378
377
  * are runtime `@orkestrel/*` packages. A peer in the `@orkestrel` scope is a
379
378
  * fleet pin; every other peer is a floor. `extras` are package-specific
380
379
  * development dependencies and may carry any valid npm name.
381
- * `bin`, `setup`, `guides`, `integration`, `conformance`, `tree`, `service`,
380
+ * `bin`, `reporter`, `setup`, `guides`, `integration`, `conformance`, `tree`, `service`,
382
381
  * `vendors`, `studies`, `global`, `showcase`, `journey`, `base`, `styles`, `themes`, and `skills` are structural facts: each is
383
382
  * set only when the workspace physically ships the directory or exact-case file
384
383
  * that defines it, never because of the workspace's name and never because a
@@ -428,6 +427,8 @@ export declare interface Blueprint {
428
427
  readonly engines: string;
429
428
  readonly overrides: readonly Override[];
430
429
  readonly bin: boolean;
430
+ /** Selects the exact-case `src/reporter/main.ts` entry of the published Vitest reporter. */
431
+ readonly reporter: boolean;
431
432
  readonly setup: readonly SetupRuntime[];
432
433
  readonly guides: boolean;
433
434
  readonly integration: boolean;
@@ -548,9 +549,10 @@ export declare function blueprintToDevDependencies(blueprint: Blueprint): Readon
548
549
  export declare function blueprintToDocumentArtifacts(blueprint: Blueprint): readonly ContentArtifact[];
549
550
 
550
551
  /**
551
- * Projects published environments and sheets into the manifest export map.
552
+ * Projects published environments, sheets, and the reporter entry into the manifest export map.
552
553
  * @param blueprint - The workspace specification.
553
- * @returns JavaScript conditions and CSS and SCSS subpaths, without an invented JavaScript root.
554
+ * @returns JavaScript conditions, CSS and SCSS subpaths, and the ES-only `./reporter` subpath,
555
+ * without an invented JavaScript root.
554
556
  * @example
555
557
  * ```ts
556
558
  * import { blueprintToExports, createBlueprint } from '@orkestrel/scaffold'
@@ -1024,9 +1026,9 @@ export declare function blueprintToToolchainHolds(blueprint: Blueprint): Readonl
1024
1026
  * Every direct `test:<project>` script is writable, together with the probe and
1025
1027
  * benchmark workbench scripts. A workspace carrying guides adds `test:guides`,
1026
1028
  * whose package-owned entry runs the guides project and handles explicit parity
1027
- * rewrites, and one carrying skills adds `test:skills`. Publishing adds the pack and publication lifecycle scripts.
1028
- * Sheet and framework faces add their check and build scripts, application frameworks add dev scripts,
1029
- * and selected showcases and journeys add their mode scripts.
1029
+ * rewrites, and one carrying skills adds `test:skills`. Publishing adds the pack and publication
1030
+ * lifecycle scripts. Sheet and framework faces add their check and build scripts, application
1031
+ * frameworks add dev scripts, and selected showcases and journeys add their mode scripts.
1030
1032
  * A base browser application's journey axis also adds `journey` and `capture`, and each
1031
1033
  * app-side browser face adds `journey:<name>` and `capture:<name>`. Their generated
1032
1034
  * commands are writable and have no predecessor forms; customized values remain caller-owned.
@@ -1043,10 +1045,10 @@ export declare function blueprintToToolchainHolds(blueprint: Blueprint): Readonl
1043
1045
  * existed. The pack hook accepts the build chain emitted before it
1044
1046
  * delegated to `build`. The publication hook accepts the same gate chain without
1045
1047
  * {@link RELEASE_PROOF_COMMAND}. No accepted publication chain carries a study
1046
- * step. `serve:build` accepts the server-only chain it ran before it delegated to
1047
- * `build`. The value being written is always writable, so it is not repeated there. Any other value is a script the workspace author
1048
- * customized, and {@link replaceManifestScripts} retains it while writing the
1049
- * other named scripts independently.
1048
+ * step. `serve:build` accepts the server-only chain it ran before it delegated to `build`.
1049
+ * The value being written is always writable, so it is not repeated there. Any other value is a
1050
+ * script the workspace author customized, and {@link replaceManifestScripts} retains it while
1051
+ * writing the other named scripts independently.
1050
1052
  *
1051
1053
  * @example
1052
1054
  * ```ts
@@ -1736,6 +1738,7 @@ export declare class Compiler implements CompilerInterface {
1736
1738
  readonly browser: string;
1737
1739
  readonly server: string;
1738
1740
  readonly bin: string;
1741
+ readonly reporter: string;
1739
1742
  };
1740
1743
  readonly app: {
1741
1744
  readonly core: string;
@@ -1780,6 +1783,7 @@ export declare class Compiler implements CompilerInterface {
1780
1783
  readonly server: string;
1781
1784
  };
1782
1785
  readonly bin: string;
1786
+ readonly reporter: string;
1783
1787
  readonly skills: string;
1784
1788
  };
1785
1789
  readonly vites: {
@@ -1791,6 +1795,7 @@ export declare class Compiler implements CompilerInterface {
1791
1795
  readonly server: string;
1792
1796
  };
1793
1797
  readonly bin: string;
1798
+ readonly reporter: string;
1794
1799
  readonly app: {
1795
1800
  readonly vue: string;
1796
1801
  readonly browser: string;
@@ -3975,6 +3980,15 @@ export declare class Compiler implements CompilerInterface {
3975
3980
  */
3976
3981
  export declare function replacePlanRanges(plan: Plan, pins: DependencyPinSet): Plan | undefined;
3977
3982
 
3983
+ /** Lists the configuration files a workspace that publishes a Vitest reporter adds, frozen. */
3984
+ export declare const REPORTER_CONFIGS: readonly string[];
3985
+
3986
+ /** Names the reporter entry whose presence makes a workspace `reporter`. */
3987
+ export declare const REPORTER_ENTRY_PATH = "src/reporter/main.ts";
3988
+
3989
+ /** Names the built reporter module a reporter workspace's `./reporter` export loads. */
3990
+ export declare const REPORTER_OUTPUT_PATH = "dist/reporter/main.js";
3991
+
3978
3992
  /** Lists the names a styles extension cannot occupy, frozen. */
3979
3993
  export declare const RESERVED_SHEET_NAMES: readonly string[];
3980
3994