@orkestrel/scaffold 0.0.31 → 0.0.32
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/bin/main.js +144 -23
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/orchestration.md +20 -1
- package/dist/host/claude/agents/grok.md +17 -6
- package/dist/host/claude/rules/architecture.md +12 -0
- package/dist/host/claude/rules/documentation.md +2 -1
- package/dist/host/claude/rules/tests.md +57 -21
- package/dist/host/claude/rules/workspace.md +25 -20
- package/dist/host/dotfiles/oxlintrc.json +1 -0
- package/dist/host/guides/scaffold.md +142 -67
- package/dist/host/tests/config.test.ts +45 -17
- package/dist/host/tests/policy.test.ts +254 -2
- package/dist/host/tests/setupPolicy.ts +297 -34
- package/dist/src/core/index.cjs +176 -179
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +90 -33
- package/dist/src/core/index.d.ts +90 -33
- package/dist/src/core/index.js +171 -180
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +13 -1
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.js +14 -2
- package/dist/src/server/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -2603,6 +2603,10 @@ var Materializer = class Materializer {
|
|
|
2603
2603
|
let budget = remaining;
|
|
2604
2604
|
for (const entry of matched) {
|
|
2605
2605
|
const path = this.#remap(artifact, entry.destination);
|
|
2606
|
+
if (_src_core.WORKSPACE_OWNED_PATHS.includes(path)) {
|
|
2607
|
+
expanded.push(this.#presence(artifact, path, entry.destination));
|
|
2608
|
+
continue;
|
|
2609
|
+
}
|
|
2606
2610
|
if (this.#deferred(path)) {
|
|
2607
2611
|
expanded.push(this.#presence(artifact, path, entry.destination));
|
|
2608
2612
|
continue;
|
|
@@ -2619,7 +2623,11 @@ var Materializer = class Materializer {
|
|
|
2619
2623
|
host: this.#host,
|
|
2620
2624
|
source
|
|
2621
2625
|
});
|
|
2622
|
-
if (isPhysicalFile(full))
|
|
2626
|
+
if (isPhysicalFile(full)) {
|
|
2627
|
+
if (_src_core.WORKSPACE_OWNED_PATHS.includes(artifact.path)) return [this.#presence(artifact, artifact.path, source)];
|
|
2628
|
+
if (this.#deferred(artifact.path)) return [this.#presence(artifact, artifact.path, source)];
|
|
2629
|
+
return [this.#hydrated(artifact, artifact.path, source, this.#read(source, remaining))];
|
|
2630
|
+
}
|
|
2623
2631
|
if (!isPhysicalDirectory(full)) throw this.#error("TARGET", `The host source at ${source} is not a readable file.`, {
|
|
2624
2632
|
host: this.#host,
|
|
2625
2633
|
source
|
|
@@ -2629,6 +2637,10 @@ var Materializer = class Materializer {
|
|
|
2629
2637
|
for (const name of listFiles(full)) {
|
|
2630
2638
|
const path = `${artifact.path}/${name}`;
|
|
2631
2639
|
const destination = `${source}/${name}`;
|
|
2640
|
+
if (_src_core.WORKSPACE_OWNED_PATHS.includes(path)) {
|
|
2641
|
+
expanded.push(this.#presence(artifact, path, destination));
|
|
2642
|
+
continue;
|
|
2643
|
+
}
|
|
2632
2644
|
if (this.#deferred(path)) {
|
|
2633
2645
|
expanded.push(this.#presence(artifact, path, destination));
|
|
2634
2646
|
continue;
|