@orkestrel/scaffold 0.0.18 → 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/src/core/index.cjs +162 -14
- 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 +162 -15
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +9 -3
- 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 +1 -1
- 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
|
@@ -141,7 +141,8 @@ export declare const DEFAULT_SYNC_TIMEOUT = 10000;
|
|
|
141
141
|
* `app/<environment>/`; a target with no environment on either axis is also a coded
|
|
142
142
|
* `TARGET` failure. The `bin`, `integration`, and `service` facts probe physical
|
|
143
143
|
* directories at `src/bin`, `tests/integration`, and `tests/service`, respectively,
|
|
144
|
-
* while `global` probes the physical exact-case `tests/setupGlobal.ts` file
|
|
144
|
+
* while `global` probes the physical exact-case `tests/setupGlobal.ts` file and `showcase`
|
|
145
|
+
* probes the physical exact-case `configs/app/vite.showcase.config.ts` regular file; none is
|
|
145
146
|
* inferred from the workspace name. `dependencies` /
|
|
146
147
|
* `peers` are the `@orkestrel/`-prefixed entries of `manifest.dependencies` /
|
|
147
148
|
* `manifest.peerDependencies` (a peer flagged `peerDependenciesMeta[name]
|
|
@@ -141,7 +141,8 @@ export declare const DEFAULT_SYNC_TIMEOUT = 10000;
|
|
|
141
141
|
* `app/<environment>/`; a target with no environment on either axis is also a coded
|
|
142
142
|
* `TARGET` failure. The `bin`, `integration`, and `service` facts probe physical
|
|
143
143
|
* directories at `src/bin`, `tests/integration`, and `tests/service`, respectively,
|
|
144
|
-
* while `global` probes the physical exact-case `tests/setupGlobal.ts` file
|
|
144
|
+
* while `global` probes the physical exact-case `tests/setupGlobal.ts` file and `showcase`
|
|
145
|
+
* probes the physical exact-case `configs/app/vite.showcase.config.ts` regular file; none is
|
|
145
146
|
* inferred from the workspace name. `dependencies` /
|
|
146
147
|
* `peers` are the `@orkestrel/`-prefixed entries of `manifest.dependencies` /
|
|
147
148
|
* `manifest.peerDependencies` (a peer flagged `peerDependenciesMeta[name]
|
package/dist/src/server/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CONTROL_CHARACTER_PATTERN, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, ENVIRONMENTS, EXTRA_NAME_PATTERN, GLOBAL_SETUP_PATH, HEX_PATTERN, HOST_PATHS, INVALID_PATH_CHARACTER_PATTERN, MAX_ARTIFACT_BYTES, MAX_ARTIFACT_HEX_LENGTH, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_PATH_LENGTH, MAX_TOTAL_ARTIFACT_BYTES, SERVICE_SCRIPT_PATH, SYNC_BASELINE_PATTERN, ScaffoldError, VERSION_PATTERN, blueprint, bytesToHex, contentByteLength, devDependenciesFor, diffPlan, findFileConflict, findPathConflict, hasOnlyDataProperties, hasValidAuditBytes, hasValidSnapshotBytes, isDenseDataArray, isDependency, isEmitterErrorHandler, isPlan, isSyncReport, isWorkspaceName, manifestToDependencies, manifestToName, ownDataValue, parsePlan, parseSyncReport, rangeToFreshness, snapshotPlan, validateDependencyArray, validatePlan } from "../core/index.js";
|
|
1
|
+
import { CONTROL_CHARACTER_PATTERN, DEFAULT_ENGINES, DEFAULT_VERSION, DEPENDENCY_NAME_PATTERN, ENVIRONMENTS, EXTRA_NAME_PATTERN, GLOBAL_SETUP_PATH, HEX_PATTERN, HOST_PATHS, INVALID_PATH_CHARACTER_PATTERN, MAX_ARTIFACT_BYTES, MAX_ARTIFACT_HEX_LENGTH, MAX_COLLECTION_ITEMS, MAX_DEPENDENCY_NAME_LENGTH, MAX_MANIFEST_BYTES, MAX_PATH_LENGTH, MAX_TOTAL_ARTIFACT_BYTES, SERVICE_SCRIPT_PATH, SHOWCASE_CONFIG_PATH, SYNC_BASELINE_PATTERN, ScaffoldError, VERSION_PATTERN, blueprint, bytesToHex, contentByteLength, devDependenciesFor, diffPlan, findFileConflict, findPathConflict, hasOnlyDataProperties, hasValidAuditBytes, hasValidSnapshotBytes, isDenseDataArray, isDependency, isEmitterErrorHandler, isPlan, isSyncReport, isWorkspaceName, manifestToDependencies, manifestToName, ownDataValue, parsePlan, parseSyncReport, rangeToFreshness, snapshotPlan, validateDependencyArray, validatePlan } from "../core/index.js";
|
|
2
2
|
import { attempt, booleanShape, createContract, integerShape, isError, isFunction, isRecord, isString, objectShape, optionalShape, parseJSON, parseJSONAs, stringShape } from "@orkestrel/contract";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
4
4
|
import { chmodSync, closeSync, constants, copyFileSync, existsSync, fstatSync, linkSync, lstatSync, mkdirSync, openSync, opendirSync, readSync, readdirSync, realpathSync, renameSync, rmSync, rmdirSync, writeFileSync } from "node:fs";
|
|
@@ -1773,7 +1773,8 @@ function selectOrkestrelEntries(value) {
|
|
|
1773
1773
|
* `app/<environment>/`; a target with no environment on either axis is also a coded
|
|
1774
1774
|
* `TARGET` failure. The `bin`, `integration`, and `service` facts probe physical
|
|
1775
1775
|
* directories at `src/bin`, `tests/integration`, and `tests/service`, respectively,
|
|
1776
|
-
* while `global` probes the physical exact-case `tests/setupGlobal.ts` file
|
|
1776
|
+
* while `global` probes the physical exact-case `tests/setupGlobal.ts` file and `showcase`
|
|
1777
|
+
* probes the physical exact-case `configs/app/vite.showcase.config.ts` regular file; none is
|
|
1777
1778
|
* inferred from the workspace name. `dependencies` /
|
|
1778
1779
|
* `peers` are the `@orkestrel/`-prefixed entries of `manifest.dependencies` /
|
|
1779
1780
|
* `manifest.peerDependencies` (a peer flagged `peerDependenciesMeta[name]
|
|
@@ -1834,6 +1835,9 @@ function deriveBlueprint(target) {
|
|
|
1834
1835
|
const bin = isRealDirectory(join(target, "src", "bin"));
|
|
1835
1836
|
const integration = isRealDirectory(join(target, "tests", "integration"));
|
|
1836
1837
|
const service = isRealDirectory(join(target, "tests", "service"));
|
|
1838
|
+
const showcaseRoot = join(target, dirname(SHOWCASE_CONFIG_PATH));
|
|
1839
|
+
const showcaseEntries = attempt(() => readdirSync(showcaseRoot));
|
|
1840
|
+
const showcase = showcaseEntries.success && showcaseEntries.value.includes(basename(SHOWCASE_CONFIG_PATH)) && isRealFile(join(target, SHOWCASE_CONFIG_PATH));
|
|
1837
1841
|
const tests = join(target, dirname(GLOBAL_SETUP_PATH));
|
|
1838
1842
|
const entries = attempt(() => readdirSync(tests));
|
|
1839
1843
|
const global = entries.success && entries.value.includes(basename(GLOBAL_SETUP_PATH)) && isRealFile(join(target, GLOBAL_SETUP_PATH));
|
|
@@ -1875,7 +1879,8 @@ function deriveBlueprint(target) {
|
|
|
1875
1879
|
bin,
|
|
1876
1880
|
integration,
|
|
1877
1881
|
service,
|
|
1878
|
-
global
|
|
1882
|
+
global,
|
|
1883
|
+
showcase
|
|
1879
1884
|
}))));
|
|
1880
1885
|
const rawDevDependencies = ownDataValue(parsed, "devDependencies");
|
|
1881
1886
|
const devDependencies = isRecord(rawDevDependencies) ? rawDevDependencies : {};
|
|
@@ -1897,7 +1902,8 @@ function deriveBlueprint(target) {
|
|
|
1897
1902
|
bin,
|
|
1898
1903
|
integration,
|
|
1899
1904
|
service,
|
|
1900
|
-
global
|
|
1905
|
+
global,
|
|
1906
|
+
showcase
|
|
1901
1907
|
});
|
|
1902
1908
|
}
|
|
1903
1909
|
/**
|