@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
|
@@ -1022,11 +1022,11 @@ function syncReportOf(target, guides, versions) {
|
|
|
1022
1022
|
* ```
|
|
1023
1023
|
*/
|
|
1024
1024
|
function hostRoot() {
|
|
1025
|
-
let dir = (0, node_path.dirname)((0, node_url.fileURLToPath)(
|
|
1025
|
+
let dir = (0, node_path.dirname)((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href));
|
|
1026
1026
|
for (;;) {
|
|
1027
1027
|
if ((0, node_fs.existsSync)((0, node_path.join)(dir, "package.json"))) return (0, node_path.join)(dir, "dist", "host");
|
|
1028
1028
|
const parent = (0, node_path.dirname)(dir);
|
|
1029
|
-
if (parent === dir) throw new _src_core.ScaffoldError("TARGET", "No package root found above the module location", { module:
|
|
1029
|
+
if (parent === dir) throw new _src_core.ScaffoldError("TARGET", "No package root found above the module location", { module: require("url").pathToFileURL(__filename).href });
|
|
1030
1030
|
dir = parent;
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
@@ -1774,7 +1774,8 @@ function selectOrkestrelEntries(value) {
|
|
|
1774
1774
|
* `app/<environment>/`; a target with no environment on either axis is also a coded
|
|
1775
1775
|
* `TARGET` failure. The `bin`, `integration`, and `service` facts probe physical
|
|
1776
1776
|
* directories at `src/bin`, `tests/integration`, and `tests/service`, respectively,
|
|
1777
|
-
* while `global` probes the physical exact-case `tests/setupGlobal.ts` file
|
|
1777
|
+
* while `global` probes the physical exact-case `tests/setupGlobal.ts` file and `showcase`
|
|
1778
|
+
* probes the physical exact-case `configs/app/vite.showcase.config.ts` regular file; none is
|
|
1778
1779
|
* inferred from the workspace name. `dependencies` /
|
|
1779
1780
|
* `peers` are the `@orkestrel/`-prefixed entries of `manifest.dependencies` /
|
|
1780
1781
|
* `manifest.peerDependencies` (a peer flagged `peerDependenciesMeta[name]
|
|
@@ -1835,6 +1836,9 @@ function deriveBlueprint(target) {
|
|
|
1835
1836
|
const bin = isRealDirectory((0, node_path.join)(target, "src", "bin"));
|
|
1836
1837
|
const integration = isRealDirectory((0, node_path.join)(target, "tests", "integration"));
|
|
1837
1838
|
const service = isRealDirectory((0, node_path.join)(target, "tests", "service"));
|
|
1839
|
+
const showcaseRoot = (0, node_path.join)(target, (0, node_path.dirname)(_src_core.SHOWCASE_CONFIG_PATH));
|
|
1840
|
+
const showcaseEntries = (0, _orkestrel_contract.attempt)(() => (0, node_fs.readdirSync)(showcaseRoot));
|
|
1841
|
+
const showcase = showcaseEntries.success && showcaseEntries.value.includes((0, node_path.basename)(_src_core.SHOWCASE_CONFIG_PATH)) && isRealFile((0, node_path.join)(target, _src_core.SHOWCASE_CONFIG_PATH));
|
|
1838
1842
|
const tests = (0, node_path.join)(target, (0, node_path.dirname)(_src_core.GLOBAL_SETUP_PATH));
|
|
1839
1843
|
const entries = (0, _orkestrel_contract.attempt)(() => (0, node_fs.readdirSync)(tests));
|
|
1840
1844
|
const global = entries.success && entries.value.includes((0, node_path.basename)(_src_core.GLOBAL_SETUP_PATH)) && isRealFile((0, node_path.join)(target, _src_core.GLOBAL_SETUP_PATH));
|
|
@@ -1876,7 +1880,8 @@ function deriveBlueprint(target) {
|
|
|
1876
1880
|
bin,
|
|
1877
1881
|
integration,
|
|
1878
1882
|
service,
|
|
1879
|
-
global
|
|
1883
|
+
global,
|
|
1884
|
+
showcase
|
|
1880
1885
|
}))));
|
|
1881
1886
|
const rawDevDependencies = (0, _src_core.ownDataValue)(parsed, "devDependencies");
|
|
1882
1887
|
const devDependencies = (0, _orkestrel_contract.isRecord)(rawDevDependencies) ? rawDevDependencies : {};
|
|
@@ -1898,7 +1903,8 @@ function deriveBlueprint(target) {
|
|
|
1898
1903
|
bin,
|
|
1899
1904
|
integration,
|
|
1900
1905
|
service,
|
|
1901
|
-
global
|
|
1906
|
+
global,
|
|
1907
|
+
showcase
|
|
1902
1908
|
});
|
|
1903
1909
|
}
|
|
1904
1910
|
/**
|