@orkestrel/scaffold 0.0.19 → 0.0.21
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/scaffold.js +15 -9
- package/dist/bin/scaffold.js.map +1 -1
- package/dist/host/CLAUDE.md +51 -24
- package/dist/host/agents/skills/orkestrel-debrief/SKILL.md +69 -59
- package/dist/host/agents/skills/orkestrel-debrief/references/field-testing.md +2 -2
- package/dist/host/agents/skills/orkestrel-debrief/references/instruction-audit.md +82 -0
- package/dist/host/claude/agents/application.md +34 -0
- package/dist/host/claude/agents/codex.md +7 -0
- package/dist/host/claude/agents/orkestrel.md +3 -3
- package/dist/host/claude/agents/researcher.md +31 -0
- package/dist/host/claude/agents/reviewer.md +5 -0
- package/dist/host/claude/agents/scout.md +25 -0
- package/dist/host/claude/rules/quality.md +10 -0
- package/dist/host/claude/rules/tests.md +10 -0
- package/dist/host/claude/skills/orkestrel-debrief/SKILL.md +1 -1
- package/dist/host/codex/agents/analyst.toml +5 -1
- package/dist/host/codex/agents/application.toml +23 -0
- package/dist/host/codex/agents/researcher.toml +22 -0
- package/dist/host/codex/agents/reviewer.toml +3 -1
- package/dist/host/codex/agents/scout.toml +18 -0
- package/dist/host/codex/config.toml +15 -6
- package/dist/host/guides/src/scaffold.md +120 -29
- package/dist/host/manifest.json +35 -0
- package/dist/host/tests/setupPolicy.ts +49 -11
- package/dist/src/core/index.cjs +1661 -856
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +84 -7
- package/dist/src/core/index.d.ts +84 -7
- package/dist/src/core/index.js +1656 -857
- package/dist/src/core/index.js.map +1 -1
- package/package.json +4 -2
package/dist/bin/scaffold.js
CHANGED
|
@@ -226,11 +226,13 @@ function partitionFindings(findings, plan) {
|
|
|
226
226
|
const origin = origins.get(finding.path);
|
|
227
227
|
const owned = origin === "host" || origin === "template";
|
|
228
228
|
if (finding.drift === "aligned") continue;
|
|
229
|
-
if (finding.drift === "stale")
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
else
|
|
233
|
-
|
|
229
|
+
if (finding.drift === "stale") {
|
|
230
|
+
if (owned) ownedDrifted += 1;
|
|
231
|
+
else generatedDrifted += 1;
|
|
232
|
+
} else if (finding.drift === "missing") {
|
|
233
|
+
if (owned) ownedMissing += 1;
|
|
234
|
+
else generatedMissing += 1;
|
|
235
|
+
} else if (owned) ownedForeign += 1;
|
|
234
236
|
else generatedForeign += 1;
|
|
235
237
|
}
|
|
236
238
|
return {
|
|
@@ -1316,8 +1318,10 @@ var CLI = class {
|
|
|
1316
1318
|
process.exitCode = 1;
|
|
1317
1319
|
return;
|
|
1318
1320
|
}
|
|
1319
|
-
if (values.prune && !json)
|
|
1320
|
-
|
|
1321
|
+
if (values.prune && !json) {
|
|
1322
|
+
if (prunePaths.length === 0) this.#reporter.line(PRUNE_EMPTY);
|
|
1323
|
+
else for (const line of prunePreview(prunePaths)) this.#reporter.line(line);
|
|
1324
|
+
}
|
|
1321
1325
|
const doPrune = prunePaths.length > 0 && await this.#prune(terminal, pruneConfirmMessage(prunePaths.length), values, json);
|
|
1322
1326
|
let currentGlobal;
|
|
1323
1327
|
try {
|
|
@@ -1436,8 +1440,10 @@ var CLI = class {
|
|
|
1436
1440
|
return [repo.name, readTarget(repo.directory, paths)];
|
|
1437
1441
|
})) : /* @__PURE__ */ new Map();
|
|
1438
1442
|
const prunePaths = dirty.flatMap((repo) => Object.keys(pruneSets.get(repo.name) ?? {}).map((path) => `${repo.name}/${path}`));
|
|
1439
|
-
if (proceed && values.prune && !json)
|
|
1440
|
-
|
|
1443
|
+
if (proceed && values.prune && !json) {
|
|
1444
|
+
if (prunePaths.length === 0) this.#reporter.line(PRUNE_EMPTY);
|
|
1445
|
+
else for (const line of prunePreview(prunePaths)) this.#reporter.line(line);
|
|
1446
|
+
}
|
|
1441
1447
|
const doPrune = proceed && prunePaths.length > 0 && await this.#prune(terminal, pruneConfirmMessage(prunePaths.length), values, json);
|
|
1442
1448
|
if (!proceed) {
|
|
1443
1449
|
if (json) this.#write([...repos.map((repo) => fleetEntryOf(repo.name, repo.audit, false)), ...failures.map((failure) => fleetEntryOf(failure.name, void 0, true))]);
|