@orkestrel/scaffold 0.0.143 → 0.0.145
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/agents/skills/orkestrel-publish/scripts/swap.js +111 -5
- package/dist/agents/templates/brief.md +1 -0
- package/dist/bin/main.js +87 -30
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/platforms/windows.md +1 -0
- package/dist/host/agents/skills/orkestrel-publish/references/release.md +1 -0
- package/dist/host/agents/skills/orkestrel-publish/scripts/swap.ts +133 -6
- package/dist/host/agents/templates/brief.md +1 -0
- package/dist/host/claude/agents/orkestrel.md +52 -52
- package/dist/host/claude/rules/documentation.md +1 -0
- package/dist/host/claude/rules/quality.md +1 -0
- package/dist/host/claude/rules/tests.md +1 -0
- package/dist/host/claude/rules/workspace.md +14 -13
- package/dist/host/dotfiles/oxlintrc.json +1 -1
- package/dist/host/guides/browser.md +1 -1
- package/dist/host/guides/codec.md +29 -12
- package/dist/host/guides/contract.md +58 -57
- package/dist/host/guides/scaffold.md +63 -43
- package/dist/host/guides/server.md +1 -1
- package/dist/host/manifest.json +18 -18
- package/dist/host/scripts/browsers.sh +0 -0
- package/dist/host/scripts/codex.sh +0 -0
- package/dist/host/scripts/cursor.sh +0 -0
- package/dist/host/scripts/deps.sh +0 -0
- package/dist/host/scripts/npm.sh +0 -0
- package/dist/host/scripts/ollama.sh +0 -0
- package/dist/host/tests/config.test.ts +5 -0
- package/dist/host/tests/setupPolicy.ts +1 -0
- package/dist/src/core/index.cjs +64 -24
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +17 -2
- package/dist/src/core/index.d.ts +17 -2
- package/dist/src/core/index.js +64 -25
- package/dist/src/core/index.js.map +1 -1
- package/package.json +13 -13
|
@@ -82,40 +82,40 @@ Exported from `@orkestrel/scaffold`, and reachable from
|
|
|
82
82
|
|
|
83
83
|
#### Interfaces
|
|
84
84
|
|
|
85
|
-
| Name | Kind | Signature
|
|
86
|
-
| ----------------------- | --------- |
|
|
87
|
-
| `AppDefinition` | interface | `{ configs, project, entry? }`
|
|
88
|
-
| `ArtifactBase` | interface | `{ path, group, ownership, environment? }`
|
|
89
|
-
| `ArtifactTemplateSet` | interface | `{ source, tests, docs, guides, orchestration }`
|
|
90
|
-
| `Audit` | interface | `{ findings, questions }`
|
|
91
|
-
| `Blueprint` | interface | `{ name, description?, keywords, src, app, extensions, styles, themes, dependencies, peers, extras, version, engines, overrides, bin, setup, guides, integration, conformance, tree, service, vendors, studies, global, showcase, journey, base, skills }` | Represents the closed, JSON-serializable workspace specification. |
|
|
92
|
-
| `BrowserExtension` | interface | `{ surface, name, axes }`
|
|
93
|
-
| `CompileFailure` | interface | `{ code, message }`
|
|
94
|
-
| `CompileRecord` | interface | `{ stage, input, output, failure? }`
|
|
95
|
-
| `CompilerInterface` | interface | `{ emitter, compile(), audit(), destroy() }`
|
|
96
|
-
| `CompilerOptions` | interface | `{ on?, error? }`
|
|
97
|
-
| `ConfigTemplateSet` | interface | `{ root, factories, tsconfigs, vites, browsers, commands }`
|
|
98
|
-
| `ContentArtifact` | interface | `{ origin, content, hex?, source? }`
|
|
99
|
-
| `Dependency` | interface | `{ name, range, optional? }`
|
|
100
|
-
| `DependencyPinSet` | interface | `{ runtime, development }`
|
|
101
|
-
| `FrameworkDefinition` | interface | `{ plugin, checker, suffixes, refused, dependencies }`
|
|
102
|
-
| `HostArtifact` | interface | `{ origin, ownership, source?, pointer?, hex?, content? }`
|
|
103
|
-
| `HydratedArtifact` | interface | `{ origin, ownership, source?, hex, content? }`
|
|
104
|
-
| `ManifestDependencySet` | interface | `{ runtime, development, peer }`
|
|
105
|
-
| `ManifestEdit` | interface | `{ start, end, text }`
|
|
106
|
-
| `ManifestEntrySet` | interface | `{ bin, files, exports }`
|
|
107
|
-
| `ManifestRegionSet` | interface | `{ pins, scripts, additions?, overrides?, entries? }`
|
|
108
|
-
| `ManifestScript` | interface | `{ name, command, accepted }`
|
|
109
|
-
| `ManifestToken` | interface | `{ text, index, depth, value }`
|
|
110
|
-
| `Override` | interface | `{ path, content }`
|
|
111
|
-
| `Plan` | interface | `{ blueprint, groups, artifacts, hash? }`
|
|
112
|
-
| `PlanSummary` | interface | `{ name, src, app, groups, host, template, computed }`
|
|
113
|
-
| `Question` | interface | `{ field, message, blocking, candidates? }`
|
|
114
|
-
| `CompileResult` | interface | `{ plan?, questions, stages }`
|
|
115
|
-
| `SrcDefinition` | interface | `{ configs, project, path, formats }`
|
|
116
|
-
| `StylesExtension` | interface | `{ surface, name }`
|
|
117
|
-
| `ToolchainHold` | interface | `{ framework, range, reason }`
|
|
118
|
-
| `ViteMachinery` | interface | `{ browser, frameworks, output, showcase }`
|
|
85
|
+
| Name | Kind | Signature | Summary |
|
|
86
|
+
| ----------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
|
87
|
+
| `AppDefinition` | interface | `{ configs, project, entry? }` | Describes the configuration and runtime-entry settings one private `app` environment contributes. |
|
|
88
|
+
| `ArtifactBase` | interface | `{ path, group, ownership, environment? }` | Describes the fields every planned file carries. |
|
|
89
|
+
| `ArtifactTemplateSet` | interface | `{ source, tests, docs, guides, orchestration }` | Represents the source, test, document, guide, and service template text. |
|
|
90
|
+
| `Audit` | interface | `{ findings, questions }` | Represents the whole comparison of a plan against a target's current content. |
|
|
91
|
+
| `Blueprint` | interface | `{ name, description?, keywords, src, app, extensions, styles, themes, dependencies, peers, extras, version, engines, overrides, bin, setup, guides, integration, conformance, tree, service, vendors, studies, global, isolation, showcase, journey, base, skills }` | Represents the closed, JSON-serializable workspace specification. |
|
|
92
|
+
| `BrowserExtension` | interface | `{ surface, name, axes }` | Represents a browser framework and its physically occupied axes. |
|
|
93
|
+
| `CompileFailure` | interface | `{ code, message }` | Represents the coded reason one compile stage failed. |
|
|
94
|
+
| `CompileRecord` | interface | `{ stage, input, output, failure? }` | Holds the input and output snapshot of one compile stage. |
|
|
95
|
+
| `CompilerInterface` | interface | `{ emitter, compile(), audit(), destroy() }` | Describes the compilation contract: pure, synchronous, and host-independent. |
|
|
96
|
+
| `CompilerOptions` | interface | `{ on?, error? }` | Represents the options for the compiler. |
|
|
97
|
+
| `ConfigTemplateSet` | interface | `{ root, factories, tsconfigs, vites, browsers, commands }` | Represents the configuration template text, grouped by the artifact each template builds. |
|
|
98
|
+
| `ContentArtifact` | interface | `{ origin, content, hex?, source? }` | Represents a text file produced by the template or computed compilation path. |
|
|
99
|
+
| `Dependency` | interface | `{ name, range, optional? }` | Represents one runtime `@orkestrel/*` dependency of a generated workspace. |
|
|
100
|
+
| `DependencyPinSet` | interface | `{ runtime, development }` | Describes the runtime and development sections a range-writing operation may change. |
|
|
101
|
+
| `FrameworkDefinition` | interface | `{ plugin, checker, suffixes, refused, dependencies }` | Describes the tooling and package boundaries a browser framework contributes. |
|
|
102
|
+
| `HostArtifact` | interface | `{ origin, ownership, source?, pointer?, hex?, content? }` | Represents a file byte-copied from the vendored data root, planned before its bytes are read. |
|
|
103
|
+
| `HydratedArtifact` | interface | `{ origin, ownership, source?, hex, content? }` | Represents a vendored file whose exact bytes have been read, so its content can be compared. |
|
|
104
|
+
| `ManifestDependencySet` | interface | `{ runtime, development, peer }` | Describes the runtime, development, and peer sections read from an existing package manifest. |
|
|
105
|
+
| `ManifestEdit` | interface | `{ start, end, text }` | Represents one in-place replacement of manifest text. |
|
|
106
|
+
| `ManifestEntrySet` | interface | `{ bin, files, exports }` | Describes the `bin`, `files`, and `exports` entries a manifest carries. |
|
|
107
|
+
| `ManifestRegionSet` | interface | `{ pins, scripts, additions?, overrides?, entries? }` | Describes the manifest regions a writing operation may change. |
|
|
108
|
+
| `ManifestScript` | interface | `{ name, command, accepted }` | Represents one manifest script a region-writing operation may replace. |
|
|
109
|
+
| `ManifestToken` | interface | `{ text, index, depth, value }` | Represents one string or object brace found in manifest text. |
|
|
110
|
+
| `Override` | interface | `{ path, content }` | Represents one artifact override. |
|
|
111
|
+
| `Plan` | interface | `{ blueprint, groups, artifacts, hash? }` | Holds the compiled, ordered artifact list and the selection it covers. |
|
|
112
|
+
| `PlanSummary` | interface | `{ name, src, app, groups, host, template, computed }` | Represents the tally of one plan by artifact origin. |
|
|
113
|
+
| `Question` | interface | `{ field, message, blocking, candidates? }` | Represents one validation issue raised against a blueprint or a plan. |
|
|
114
|
+
| `CompileResult` | interface | `{ plan?, questions, stages }` | Represents the replayable outcome of one compile. |
|
|
115
|
+
| `SrcDefinition` | interface | `{ configs, project, path, formats }` | Describes the build and export settings one published `src` environment contributes. |
|
|
116
|
+
| `StylesExtension` | interface | `{ surface, name }` | Represents a named sheet face under `src/<name>`. |
|
|
117
|
+
| `ToolchainHold` | interface | `{ framework, range, reason }` | Represents one foreign tool range required by a browser framework. |
|
|
118
|
+
| `ViteMachinery` | interface | `{ browser, frameworks, output, showcase }` | Names which host-specific pipelines a generated root Vite configuration carries. |
|
|
119
119
|
|
|
120
120
|
| Name | Kind | Signature | Summary |
|
|
121
121
|
| ------------------- | --------- | --------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
@@ -179,6 +179,7 @@ Exported from `@orkestrel/scaffold`, and reachable from
|
|
|
179
179
|
| `HOST_PATHS` | const | `readonly string[]` | Lists the paths a target receives from the vendored data root, frozen. |
|
|
180
180
|
| `INTEGRATION_TEST_PATH` | const | `"tests/integration.test.ts"` | Names the cross-environment composition proof whose presence makes a workspace `integration`. |
|
|
181
181
|
| `INVALID_PATH_CHARACTER_PATTERN` | const | `RegExp` | Matches the visible characters a target-relative path and a Markdown path cell both forbid. |
|
|
182
|
+
| `ISOLATION_SETUP_PATH` | const | `"tests/setupIsolation.ts"` | Names the browser-isolation guard module whose presence makes a workspace `isolation`. |
|
|
182
183
|
| `JOURNEY_CONFIG_PATH` | const | `"configs/app/vite.journey.config.ts"` | Names the Vite wrapper whose presence makes a workspace `journey`. |
|
|
183
184
|
| `MANIFEST_KEY_ORDER` | const | `readonly string[]` | Lists the top-level manifest keys in the order a compiled manifest emits them. |
|
|
184
185
|
| `MANIFEST_PATH` | const | `"package.json"` | Names the manifest path every compiler plan emits with birth ownership. |
|
|
@@ -628,10 +629,15 @@ the target's own package. The result carries an explanatory `note` and omits `me
|
|
|
628
629
|
claims no version provenance, and exits `1`.
|
|
629
630
|
|
|
630
631
|
For `new`, `repair`, `catalog`, and `overwrite`, authoritative absence on a version surface never
|
|
631
|
-
selects `floor
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
632
|
+
selects `floor`, and no verb writes a range for a package the registry says is absent, because that
|
|
633
|
+
range produces an uninstallable manifest. `repair`, `overwrite`, and `catalog` keep the declared
|
|
634
|
+
`dependencies` or `devDependencies` range of an `@orkestrel` package that the registry answers
|
|
635
|
+
`404` for or the organization catalog does not list, byte for byte, re-pin every other declaration,
|
|
636
|
+
name the kept package on standard error, carry its release row with `lookup: 'missing'`, and exit
|
|
637
|
+
`1`. Every other absence stays a `FETCH` refusal: a packument with no admitted version, a `404` for
|
|
638
|
+
a package outside the fleet, and a `404` for a package `new` would declare. `audit` turns release
|
|
639
|
+
absence into questions and returns its audit result. Transport faults, timeouts, rate refusals,
|
|
640
|
+
byte-bound refusals, and integrity refusals can select the floor.
|
|
635
641
|
|
|
636
642
|
The guide surface is the per-row exception to whole-surface fallback, for absence as well as for
|
|
637
643
|
faults. A foreign guide the host could not serve — a failed read, or the `404` a published package
|
|
@@ -762,7 +768,8 @@ structural facts take no creation option. Add a root `tests/setup*.test.ts` proo
|
|
|
762
768
|
`tests/conformance.test.ts` for `conformance`, `tests/tree.test.ts` for `tree`,
|
|
763
769
|
`tests/setupService.ts` for `service`, an
|
|
764
770
|
exact-case `*.test.ts` file beneath `tests/studies`, outside any `node_modules` or `.git` directory,
|
|
765
|
-
for `studies`, `tests/setupGlobal.ts` for `global`, `
|
|
771
|
+
for `studies`, `tests/setupGlobal.ts` for `global`, `tests/setupIsolation.ts` for `isolation`,
|
|
772
|
+
`configs/app/vite.journey.config.ts` for `journey`, and
|
|
766
773
|
`configs/agents/tsconfig.skills.json` for `skills`; reading verbs detect each exact-case file and
|
|
767
774
|
register its fixed machinery. An explicitly supplied
|
|
768
775
|
plan with `vendors` owns and protects the birth-owned `scripts/service.sh` inventory skeleton.
|
|
@@ -935,8 +942,8 @@ files: each direct `src/bin` module adds its name to `bin`, each root `tests/set
|
|
|
935
942
|
`tests/setupService.ts` selects `service`,
|
|
936
943
|
any exact-case `*.test.ts` file beneath `tests/studies`, nested or direct, outside any
|
|
937
944
|
`node_modules` or `.git` directory, which Vitest's default exclude never collects, selects
|
|
938
|
-
`studies`, `tests/setupGlobal.ts` selects `global`, `
|
|
939
|
-
and `configs/agents/tsconfig.skills.json` selects `skills`. A containing directory does not select
|
|
945
|
+
`studies`, `tests/setupGlobal.ts` selects `global`, `tests/setupIsolation.ts` selects `isolation`,
|
|
946
|
+
`configs/app/vite.journey.config.ts` selects `journey`, and `configs/agents/tsconfig.skills.json` selects `skills`. A containing directory does not select
|
|
940
947
|
any of those facts by itself: `tests/studies/types.ts`, a case-folded `tests/Studies` directory, and
|
|
941
948
|
the harness module `tests/setupStudy.ts` select no `studies`. `tests/distribution.test.ts` selects nothing: the published `src`
|
|
942
949
|
axis and the sheet faces the target ships already decide the `distribution` project, and the file is
|
|
@@ -1396,6 +1403,18 @@ setup, as it gives `src:browser` and `integration`. A browser proof cannot start
|
|
|
1396
1403
|
inside the browser, so it reads what that module provides through the Vitest `inject` function.
|
|
1397
1404
|
The Node `setup` project takes no global setup.
|
|
1398
1405
|
|
|
1406
|
+
An `isolation` workspace serves its `src:browser` and `app:browser` test pages with the `Cross-Origin-Opener-Policy: same-origin` and `Cross-Origin-Embedder-Policy: require-corp` response headers, and appends the `tests/setupIsolation.ts` guard to their `setupFiles`. A package opts in by adding `tests/setupIsolation.ts` holding the guard that the `ARTIFACT_TEMPLATES.tests.isolation` template carries; no verb writes it, `new` never sets the fact, and `repair` and `overwrite` set it only when the exact-case file exists. Scaffold then keeps the file as birth-owned and plans the headers. The guard reads as follows.
|
|
1407
|
+
|
|
1408
|
+
```ts
|
|
1409
|
+
if (!globalThis.crossOriginIsolated) {
|
|
1410
|
+
throw new Error(
|
|
1411
|
+
'The tester page is not cross-origin isolated: src:browser and app:browser must serve Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp.',
|
|
1412
|
+
)
|
|
1413
|
+
}
|
|
1414
|
+
```
|
|
1415
|
+
|
|
1416
|
+
The fact serves a package whose browser tests need `SharedArrayBuffer` or another cross-origin-isolated capability, because the guard throws in a test page that is not isolated. `app:vue`, each `journey:<variant>` project, and the showcase keep both headers through the spread of `appBrowser`. An application that opts in serves its development and showcase pages isolated as well, because `dev` runs `configs/app/vite.browser.config.ts`, which is `defineConfig(appBrowser())`. Under the fact, a cross-origin load in any of those pages fails without a `Cross-Origin-Resource-Policy` or CORS response header, so select it only where the package's browser pages load no such resource unprepared. The `isolation` fact with neither `src:browser` nor `app:browser` raises a non-blocking question and renders no headers.
|
|
1417
|
+
|
|
1399
1418
|
The browser setup project applies the Vue single-file-component transform only when the workspace
|
|
1400
1419
|
carries the `vue` browser extension on an axis whose selection includes `browser`, and then adds
|
|
1401
1420
|
`vue` to its `optimizeDeps.include`, so your `tests/setupBrowser.ts` module and its paired proof
|
|
@@ -1997,7 +2016,8 @@ aligned whether it is present or absent, so it neither restores missing bytes no
|
|
|
1997
2016
|
bytes.
|
|
1998
2017
|
|
|
1999
2018
|
You own `tests/setup.ts`, the selected `tests/setupBrowser.ts`, `tests/setupServer.ts`,
|
|
2000
|
-
`tests/setupService.ts`, `tests/setupStyles.ts`,
|
|
2019
|
+
`tests/setupService.ts`, `tests/setupStyles.ts`, `tests/setupGlobal.ts`, and
|
|
2020
|
+
`tests/setupIsolation.ts` modules, each root
|
|
2001
2021
|
`tests/setup*.test.ts` proof, the selected environment and sheet-face entry tests under `tests/src`
|
|
2002
2022
|
and `tests/app`, the `tests/src/bin/main.test.ts` file, and the `tests/integration.test.ts` seed.
|
|
2003
2023
|
Every sheet face's seed under `src` is yours on the same terms. Scaffold writes those
|
|
@@ -2403,7 +2423,7 @@ The dependency tables select these floors:
|
|
|
2403
2423
|
| ---------------------------- | ---------- | -------------------------------------------------------------- |
|
|
2404
2424
|
| TypeScript | `^7.0.2` | Baseline without a Vue extension |
|
|
2405
2425
|
| TypeScript | `^6.0.3` | A selected `src/vue` or `app/vue` face |
|
|
2406
|
-
| Vitest | `^5.1.
|
|
2426
|
+
| Vitest | `^5.1.1` | Every workspace |
|
|
2407
2427
|
| `@vitest/browser-playwright` | `^5.1.0` | Browser tooling |
|
|
2408
2428
|
| `oxlint` | `^1.94.0` | Every workspace |
|
|
2409
2429
|
| `oxfmt` | `^0.79.0` | Every workspace |
|
|
@@ -733,7 +733,7 @@ const server = createServer<State>({
|
|
|
733
733
|
})
|
|
734
734
|
```
|
|
735
735
|
|
|
736
|
-
The dispatcher of the `@orkestrel/router` release that 0.0.
|
|
736
|
+
The dispatcher of the `@orkestrel/router` release that 0.0.31 depends on
|
|
737
737
|
answers a path that matches with no route for the method with `405` and an
|
|
738
738
|
`Allow` header that lists `OPTIONS`. It answers a `HEAD` with no `HEAD` route
|
|
739
739
|
by running the `GET` handler, cancelling that response's body, and sending its
|
package/dist/host/manifest.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"storage": "agents/platforms/windows.md",
|
|
29
29
|
"destination": ".agents/platforms/windows.md",
|
|
30
30
|
"executable": false,
|
|
31
|
-
"digest": "
|
|
31
|
+
"digest": "c6693448ec348b9732969418b9cb28516e5fee59be5002a7a8a1e615bab6253b"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"storage": "agents/skills/enterprise-bootstrap/SKILL.md",
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
"storage": "agents/skills/orkestrel-publish/references/release.md",
|
|
485
485
|
"destination": ".agents/skills/orkestrel-publish/references/release.md",
|
|
486
486
|
"executable": false,
|
|
487
|
-
"digest": "
|
|
487
|
+
"digest": "f13cfb4b9a2acd5d07d55aecc00f8ca939e33530667ebafe15f0c544e6b6313d"
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
490
|
"storage": "agents/skills/orkestrel-publish/references/wave.md",
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
"storage": "agents/skills/orkestrel-publish/scripts/swap.ts",
|
|
521
521
|
"destination": ".agents/skills/orkestrel-publish/scripts/swap.ts",
|
|
522
522
|
"executable": false,
|
|
523
|
-
"digest": "
|
|
523
|
+
"digest": "81d2686387d2f6adb31f41bd4ac155f6d3a67def700b0b1e2c185bdc8d3b9b86"
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
526
|
"storage": "agents/skills/orkestrel-publish/scripts/wave.ts",
|
|
@@ -556,7 +556,7 @@
|
|
|
556
556
|
"storage": "agents/templates/brief.md",
|
|
557
557
|
"destination": ".agents/templates/brief.md",
|
|
558
558
|
"executable": false,
|
|
559
|
-
"digest": "
|
|
559
|
+
"digest": "98612cfd700a5d7739ee3e3d410aba7d9e98e0834ff87dbcd1bfe3c3b9c3db2e"
|
|
560
560
|
},
|
|
561
561
|
{
|
|
562
562
|
"storage": "agents/transports/claude-cli.md",
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
"storage": "claude/agents/orkestrel.md",
|
|
629
629
|
"destination": ".claude/agents/orkestrel.md",
|
|
630
630
|
"executable": false,
|
|
631
|
-
"digest": "
|
|
631
|
+
"digest": "d72a915ee5ab736f818529d1e39cb294eb9906bf0fbc73749c765b440e8a73bb"
|
|
632
632
|
},
|
|
633
633
|
{
|
|
634
634
|
"storage": "claude/agents/planner.md",
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
"storage": "claude/rules/documentation.md",
|
|
689
689
|
"destination": ".claude/rules/documentation.md",
|
|
690
690
|
"executable": false,
|
|
691
|
-
"digest": "
|
|
691
|
+
"digest": "b9917176bf2c368f5b25125400ba3090db932dd348826a544f3ae1b7119c56c2"
|
|
692
692
|
},
|
|
693
693
|
{
|
|
694
694
|
"storage": "claude/rules/names.md",
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
"storage": "claude/rules/quality.md",
|
|
713
713
|
"destination": ".claude/rules/quality.md",
|
|
714
714
|
"executable": false,
|
|
715
|
-
"digest": "
|
|
715
|
+
"digest": "ea322356f3caa088c17e67342baa73b40554a9946d6ae7db2e52d4ce66adfeae"
|
|
716
716
|
},
|
|
717
717
|
{
|
|
718
718
|
"storage": "claude/rules/styles.md",
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
"storage": "claude/rules/tests.md",
|
|
725
725
|
"destination": ".claude/rules/tests.md",
|
|
726
726
|
"executable": false,
|
|
727
|
-
"digest": "
|
|
727
|
+
"digest": "2b96bef1b5b81115697f948f4e154d599a0ae6f65fcadc08a75e213e3c224f87"
|
|
728
728
|
},
|
|
729
729
|
{
|
|
730
730
|
"storage": "claude/rules/typescript.md",
|
|
@@ -736,7 +736,7 @@
|
|
|
736
736
|
"storage": "claude/rules/workspace.md",
|
|
737
737
|
"destination": ".claude/rules/workspace.md",
|
|
738
738
|
"executable": false,
|
|
739
|
-
"digest": "
|
|
739
|
+
"digest": "3b43e27f3a2baa84fbf78293cdcb2b99aa48bf1d1edcebd3a9aec8f61bdf8e4e"
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
742
|
"storage": "claude/rules/writing.md",
|
|
@@ -970,7 +970,7 @@
|
|
|
970
970
|
"storage": "dotfiles/oxlintrc.json",
|
|
971
971
|
"destination": ".oxlintrc.json",
|
|
972
972
|
"executable": false,
|
|
973
|
-
"digest": "
|
|
973
|
+
"digest": "531af8440e9026af57b06b7d26492589b75a72e63279c59e415d8b9439af9ec4"
|
|
974
974
|
},
|
|
975
975
|
{
|
|
976
976
|
"storage": "dotfiles/prettierignore",
|
|
@@ -1006,7 +1006,7 @@
|
|
|
1006
1006
|
"storage": "guides/browser.md",
|
|
1007
1007
|
"destination": "guides/browser.md",
|
|
1008
1008
|
"executable": false,
|
|
1009
|
-
"digest": "
|
|
1009
|
+
"digest": "302b994351eb8ee5b9391e966bd4df3ed04af6f1d89af71e36989f07e448c289"
|
|
1010
1010
|
},
|
|
1011
1011
|
{
|
|
1012
1012
|
"storage": "guides/budget.md",
|
|
@@ -1024,7 +1024,7 @@
|
|
|
1024
1024
|
"storage": "guides/codec.md",
|
|
1025
1025
|
"destination": "guides/codec.md",
|
|
1026
1026
|
"executable": false,
|
|
1027
|
-
"digest": "
|
|
1027
|
+
"digest": "3e2af0b4805c9bf286d6a331d78a6952936f545363491f67fe2eba53d2c0a2aa"
|
|
1028
1028
|
},
|
|
1029
1029
|
{
|
|
1030
1030
|
"storage": "guides/console.md",
|
|
@@ -1036,7 +1036,7 @@
|
|
|
1036
1036
|
"storage": "guides/contract.md",
|
|
1037
1037
|
"destination": "guides/contract.md",
|
|
1038
1038
|
"executable": false,
|
|
1039
|
-
"digest": "
|
|
1039
|
+
"digest": "eae995f438cc95380c7370c764285c88be65ee6e064eba2252d0c0536b12cd6d"
|
|
1040
1040
|
},
|
|
1041
1041
|
{
|
|
1042
1042
|
"storage": "guides/csv.md",
|
|
@@ -1198,7 +1198,7 @@
|
|
|
1198
1198
|
"storage": "guides/scaffold.md",
|
|
1199
1199
|
"destination": "guides/scaffold.md",
|
|
1200
1200
|
"executable": false,
|
|
1201
|
-
"digest": "
|
|
1201
|
+
"digest": "576fe5b775e782eaed213c26fece04a2bd9d4b8e6a88a0c6fae32545a66e461a"
|
|
1202
1202
|
},
|
|
1203
1203
|
{
|
|
1204
1204
|
"storage": "guides/sea.md",
|
|
@@ -1210,7 +1210,7 @@
|
|
|
1210
1210
|
"storage": "guides/server.md",
|
|
1211
1211
|
"destination": "guides/server.md",
|
|
1212
1212
|
"executable": false,
|
|
1213
|
-
"digest": "
|
|
1213
|
+
"digest": "9d59a955443a8e2e458353117db3d058024f7f4d794054856acf2afdcbae66ea"
|
|
1214
1214
|
},
|
|
1215
1215
|
{
|
|
1216
1216
|
"storage": "guides/sqlite.md",
|
|
@@ -1336,7 +1336,7 @@
|
|
|
1336
1336
|
"storage": "tests/config.test.ts",
|
|
1337
1337
|
"destination": "tests/config.test.ts",
|
|
1338
1338
|
"executable": false,
|
|
1339
|
-
"digest": "
|
|
1339
|
+
"digest": "07c1bd61e73ef1a684b2b711ea3746d850bc49a85318495c9014ade7716ad1df"
|
|
1340
1340
|
},
|
|
1341
1341
|
{
|
|
1342
1342
|
"storage": "tests/policy.test.ts",
|
|
@@ -1348,7 +1348,7 @@
|
|
|
1348
1348
|
"storage": "tests/setupPolicy.ts",
|
|
1349
1349
|
"destination": "tests/setupPolicy.ts",
|
|
1350
1350
|
"executable": false,
|
|
1351
|
-
"digest": "
|
|
1351
|
+
"digest": "978cdd1a8fc6a99402aced0c63dc96b122ed03bec3cf04c05bfbf387e55b50d0"
|
|
1352
1352
|
}
|
|
1353
1353
|
],
|
|
1354
1354
|
"roots": [
|
|
@@ -1417,5 +1417,5 @@
|
|
|
1417
1417
|
"scripts"
|
|
1418
1418
|
],
|
|
1419
1419
|
"surface": [],
|
|
1420
|
-
"digest": "
|
|
1420
|
+
"digest": "8dfff0546ff4af3b602b82457c5d98478f2a3930050d2954558c0d986c8dddfd"
|
|
1421
1421
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/host/scripts/npm.sh
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -5163,6 +5163,10 @@ createSomething({
|
|
|
5163
5163
|
'tests/setupServer.ts',
|
|
5164
5164
|
["import { expect } from 'vitest'", 'debugger'].join('\n'),
|
|
5165
5165
|
)
|
|
5166
|
+
scratch.write(
|
|
5167
|
+
'tests/setupIsolation.ts',
|
|
5168
|
+
["import { readFileSync } from 'node:fs'", 'debugger'].join('\n'),
|
|
5169
|
+
)
|
|
5166
5170
|
scratch.write(
|
|
5167
5171
|
'tests/setupPolicy.ts',
|
|
5168
5172
|
["import { readFileSync } from 'node:fs'", "import { vi } from 'vitest'", 'debugger'].join(
|
|
@@ -5381,6 +5385,7 @@ createSomething({
|
|
|
5381
5385
|
{ code: 'policy(no-mutable-property)', filename: 'src/violations/types.ts' },
|
|
5382
5386
|
{ code: 'eslint(no-restricted-imports)', filename: 'tests/setup.ts' },
|
|
5383
5387
|
{ code: 'eslint(no-restricted-imports)', filename: 'tests/setupBrowser.ts' },
|
|
5388
|
+
{ code: 'eslint(no-restricted-imports)', filename: 'tests/setupIsolation.ts' },
|
|
5384
5389
|
{ code: 'eslint(no-restricted-imports)', filename: 'tests/setupServer.ts' },
|
|
5385
5390
|
{ code: 'policy(no-misplaced-type)', filename: 'src/violations/fixture.ts' },
|
|
5386
5391
|
{ code: 'policy(no-misplaced-data)', filename: 'src/violations/fixture.ts' },
|
|
@@ -928,6 +928,7 @@ export const POLICY_SETUP_MODULES: readonly string[] = Object.freeze([
|
|
|
928
928
|
'tests/setupStudy.ts',
|
|
929
929
|
'tests/setupService.ts',
|
|
930
930
|
'tests/setupGlobal.ts',
|
|
931
|
+
'tests/setupIsolation.ts',
|
|
931
932
|
])
|
|
932
933
|
|
|
933
934
|
/** Names the correction a tests-tree module outside the root setup modules receives. */
|