@orkestrel/scaffold 0.0.51 → 0.0.53

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.
Files changed (61) hide show
  1. package/dist/bin/main.js +7 -2
  2. package/dist/bin/main.js.map +1 -1
  3. package/dist/host/AGENTS.md +10 -0
  4. package/dist/host/CLAUDE.md +3 -1
  5. package/dist/host/agents/orchestration.md +99 -266
  6. package/dist/host/agents/skills/enterprise-bootstrap/SKILL.md +12 -8
  7. package/dist/host/agents/skills/orkestrel-align-packages/SKILL.md +2 -2
  8. package/dist/host/agents/skills/orkestrel-debrief/SKILL.md +15 -11
  9. package/dist/host/agents/skills/orkestrel-debrief/references/instruction-audit.md +38 -12
  10. package/dist/host/agents/skills/orkestrel-debrief/references/retention.md +107 -0
  11. package/dist/host/agents/skills/{orkestrel-human-journey → orkestrel-prove-journey}/SKILL.md +1 -1
  12. package/dist/host/agents/skills/{orkestrel-human-journey → orkestrel-prove-journey}/agents/openai.yaml +1 -1
  13. package/dist/host/agents/skills/orkestrel-publish/SKILL.md +77 -0
  14. package/dist/host/agents/skills/orkestrel-publish/agents/openai.yaml +4 -0
  15. package/dist/host/agents/skills/orkestrel-publish/references/wave.md +97 -0
  16. package/dist/host/agents/skills/orkestrel-publish/references/window.md +95 -0
  17. package/dist/host/agents/templates/brief.md +157 -0
  18. package/dist/host/{codex/agents/claude.toml → agents/transports/claude.md} +16 -10
  19. package/dist/host/{claude/agents → agents/transports}/codex.md +13 -12
  20. package/dist/host/claude/agents/analyst.md +11 -10
  21. package/dist/host/claude/agents/application.md +6 -3
  22. package/dist/host/claude/agents/builder.md +11 -10
  23. package/dist/host/claude/agents/checker.md +20 -10
  24. package/dist/host/claude/agents/grok.md +8 -7
  25. package/dist/host/claude/agents/implementer.md +7 -4
  26. package/dist/host/claude/agents/orkestrel.md +31 -25
  27. package/dist/host/claude/agents/planner.md +13 -5
  28. package/dist/host/claude/agents/researcher.md +8 -7
  29. package/dist/host/claude/agents/reviewer.md +6 -4
  30. package/dist/host/claude/agents/scout.md +6 -7
  31. package/dist/host/claude/agents/sol.md +9 -8
  32. package/dist/host/claude/agents/verifier.md +6 -3
  33. package/dist/host/claude/rules/documentation.md +2 -0
  34. package/dist/host/claude/skills/enterprise-bootstrap/SKILL.md +12 -8
  35. package/dist/host/claude/skills/orkestrel-debrief/SKILL.md +1 -1
  36. package/dist/host/claude/skills/{orkestrel-human-journey → orkestrel-prove-journey}/SKILL.md +2 -2
  37. package/dist/host/claude/skills/orkestrel-publish/SKILL.md +12 -0
  38. package/dist/host/codex/agents/analyst.toml +3 -0
  39. package/dist/host/codex/agents/application.toml +3 -0
  40. package/dist/host/codex/agents/builder.toml +10 -7
  41. package/dist/host/codex/agents/checker.toml +14 -3
  42. package/dist/host/codex/agents/grok.toml +5 -2
  43. package/dist/host/codex/agents/implementer.toml +3 -2
  44. package/dist/host/codex/agents/opus.toml +4 -3
  45. package/dist/host/codex/agents/orkestrel.toml +14 -9
  46. package/dist/host/codex/agents/planner.toml +7 -5
  47. package/dist/host/codex/agents/researcher.toml +6 -4
  48. package/dist/host/codex/agents/reviewer.toml +4 -3
  49. package/dist/host/codex/agents/scout.toml +4 -1
  50. package/dist/host/codex/agents/verifier.toml +3 -2
  51. package/dist/host/guides/scaffold.md +18 -5
  52. package/dist/host/manifest.json +127 -79
  53. package/dist/src/core/index.cjs +31 -11
  54. package/dist/src/core/index.cjs.map +1 -1
  55. package/dist/src/core/index.d.cts +6 -3
  56. package/dist/src/core/index.d.ts +6 -3
  57. package/dist/src/core/index.js +31 -11
  58. package/dist/src/core/index.js.map +1 -1
  59. package/package.json +4 -4
  60. /package/dist/host/agents/skills/{orkestrel-human-journey → orkestrel-prove-journey}/references/captures.md +0 -0
  61. /package/dist/host/agents/skills/{orkestrel-human-journey → orkestrel-prove-journey}/references/layer.md +0 -0
package/dist/bin/main.js CHANGED
@@ -1469,10 +1469,15 @@ var CLI = class CLI {
1469
1469
  const ungated = [...expectedLines].filter(([project]) => !reachable.has(project)).sort(([left], [right]) => left.localeCompare(right)).filter(([project]) => isString(scripts[`test:${project}`]));
1470
1470
  if (ungated.length === 0) return void 0;
1471
1471
  const names = ungated.map(([project]) => project);
1472
- const declared = ungated.map(([project]) => `test:${project}`);
1472
+ const disk = parseJSON(text);
1473
+ const written = isRecord(disk) && isRecord(disk.scripts) ? disk.scripts : {};
1474
+ const direct = names.map((project) => `test:${project}`);
1475
+ const declared = direct.filter((script) => isString(written[script]));
1476
+ const undeclared = direct.filter((script) => !isString(written[script]));
1477
+ const remedies = [declared.length === 0 ? "" : `${declared.join(", ")} ${declared.length === 1 ? "is" : "are"} already declared, so the gate is missing rather than the script: invoke ${declared.length === 1 ? "it" : "each of them"} by name from the ${gateNames} chain.`, undeclared.length === 0 ? "" : `${undeclared.join(", ")} ${undeclared.length === 1 ? "is" : "are"} not declared, so the script is missing as well as the gate: declare ${undeclared.length === 1 ? "it" : "each of them"} and invoke ${undeclared.length === 1 ? "it" : "each of them"} by name from the ${gateNames} chain.`];
1473
1478
  return {
1474
1479
  field: "projects",
1475
- message: `${writing ? "The configs group is blocked because " : ""}the manifest at ${target} does not reach ${names.length === 1 ? "a Vitest project" : "Vitest projects"} the planned configuration registers: ${names.join(", ")}. No chain from ${gateNames} invokes ${names.length === 1 ? "it" : "them"}. ${declared.join(", ")} ${declared.length === 1 ? "is" : "are"} already declared, so the gate is missing rather than the script: invoke ${declared.length === 1 ? "it" : "each of them"} by name from the ${gateNames} chain.${writing ? " Exclude configs from --groups to write another group." : ""}`,
1480
+ message: `${writing ? "The configs group is blocked because " : ""}the manifest at ${target} does not reach ${names.length === 1 ? "a Vitest project" : "Vitest projects"} the planned configuration registers: ${names.join(", ")}. No chain from ${gateNames} invokes ${names.length === 1 ? "it" : "them"}. ${remedies.filter((remedy) => remedy !== "").join(" ")}${writing ? " Exclude configs from --groups to write another group." : ""}`,
1476
1481
  blocking: false,
1477
1482
  groups: ["configs"]
1478
1483
  };