@orkestrel/scaffold 0.0.103 → 0.0.105

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 (94) hide show
  1. package/dist/agents/skills/orkestrel-dispatch/scripts/helpers.js +84 -1
  2. package/dist/agents/skills/orkestrel-dispatch/scripts/launch.js +21 -6
  3. package/dist/agents/skills/orkestrel-harden/scripts/titles.js +338 -0
  4. package/dist/agents/skills/orkestrel-publish/scripts/swap.js +3 -39
  5. package/dist/agents/skills/orkestrel-publish/scripts/wave.js +433 -47
  6. package/dist/agents/skills/orkestrel-publish/scripts/window.js +2 -1
  7. package/dist/bin/main.js +17 -10
  8. package/dist/bin/main.js.map +1 -1
  9. package/dist/host/agents/orchestration.md +6 -6
  10. package/dist/host/agents/skills/enterprise-bootstrap/references/components.md +2 -2
  11. package/dist/host/agents/skills/enterprise-bootstrap/references/inspection.md +1 -1
  12. package/dist/host/agents/skills/orkestrel-build/SKILL.md +2 -2
  13. package/dist/host/agents/skills/orkestrel-debrief/SKILL.md +2 -2
  14. package/dist/host/agents/skills/orkestrel-debrief/references/field-testing.md +1 -1
  15. package/dist/host/agents/skills/orkestrel-debrief/references/instruction-audit.md +3 -3
  16. package/dist/host/agents/skills/orkestrel-dispatch/SKILL.md +10 -10
  17. package/dist/host/agents/skills/orkestrel-dispatch/references/launch.md +1 -0
  18. package/dist/host/agents/skills/orkestrel-dispatch/scripts/helpers.ts +100 -1
  19. package/dist/host/agents/skills/orkestrel-dispatch/scripts/launch.ts +27 -6
  20. package/dist/host/agents/skills/orkestrel-falsify/SKILL.md +4 -4
  21. package/dist/host/agents/skills/orkestrel-falsify/agents/openai.yaml +1 -1
  22. package/dist/host/agents/skills/orkestrel-falsify/references/brief.md +8 -7
  23. package/dist/host/agents/skills/orkestrel-falsify/references/reconcile.md +6 -6
  24. package/dist/host/agents/skills/orkestrel-harden/SKILL.md +6 -1
  25. package/dist/host/agents/skills/orkestrel-harden/references/bindings.md +1700 -0
  26. package/dist/host/agents/skills/orkestrel-harden/references/contract.md +2 -2
  27. package/dist/host/agents/skills/orkestrel-harden/references/equivalence.md +48 -0
  28. package/dist/host/agents/skills/orkestrel-harden/references/hardening.md +4 -2
  29. package/dist/host/agents/skills/orkestrel-harden/scripts/titles.ts +425 -0
  30. package/dist/host/agents/skills/orkestrel-journey/SKILL.md +2 -2
  31. package/dist/host/agents/skills/orkestrel-journey/references/captures.md +9 -8
  32. package/dist/host/agents/skills/orkestrel-parallel/SKILL.md +72 -0
  33. package/dist/host/agents/skills/orkestrel-parallel/agents/openai.yaml +4 -0
  34. package/dist/host/agents/skills/orkestrel-parallel/references/harnesses.md +12 -0
  35. package/dist/host/agents/skills/orkestrel-polish/SKILL.md +3 -3
  36. package/dist/host/agents/skills/orkestrel-publish/SKILL.md +2 -2
  37. package/dist/host/agents/skills/orkestrel-publish/references/release.md +1 -0
  38. package/dist/host/agents/skills/orkestrel-publish/references/wave.md +56 -13
  39. package/dist/host/agents/skills/orkestrel-publish/references/window.md +6 -6
  40. package/dist/host/agents/skills/orkestrel-publish/scripts/swap.ts +5 -49
  41. package/dist/host/agents/skills/orkestrel-publish/scripts/wave.ts +646 -49
  42. package/dist/host/agents/skills/orkestrel-publish/scripts/window.ts +2 -1
  43. package/dist/host/agents/transports/codex.md +1 -1
  44. package/dist/host/claude/agents/orkestrel.md +54 -53
  45. package/dist/host/claude/agents/reviewer.md +4 -4
  46. package/dist/host/claude/agents/verifier.md +1 -1
  47. package/dist/host/claude/rules/documentation.md +2 -1
  48. package/dist/host/claude/rules/patterns.md +1 -1
  49. package/dist/host/claude/rules/quality.md +2 -2
  50. package/dist/host/claude/rules/styles.md +1 -1
  51. package/dist/host/claude/rules/tests.md +34 -8
  52. package/dist/host/claude/rules/typescript.md +29 -0
  53. package/dist/host/claude/rules/workspace.md +32 -22
  54. package/dist/host/claude/rules/writing.md +34 -26
  55. package/dist/host/claude/settings.json +2 -0
  56. package/dist/host/claude/skills/orkestrel-debrief/SKILL.md +1 -1
  57. package/dist/host/claude/skills/orkestrel-falsify/SKILL.md +1 -1
  58. package/dist/host/claude/skills/orkestrel-parallel/SKILL.md +11 -0
  59. package/dist/host/codex/agents/analyst.toml +3 -3
  60. package/dist/host/codex/agents/reviewer.toml +4 -4
  61. package/dist/host/codex/agents/verifier.toml +3 -1
  62. package/dist/host/configs/policy.ts +13 -2
  63. package/dist/host/dotfiles/editorconfig +0 -1
  64. package/dist/host/dotfiles/gitattributes +0 -1
  65. package/dist/host/dotfiles/gitignore +0 -1
  66. package/dist/host/dotfiles/oxlintrc.json +24 -0
  67. package/dist/host/guides/agent.md +1674 -598
  68. package/dist/host/guides/budget.md +89 -29
  69. package/dist/host/guides/form.md +485 -99
  70. package/dist/host/guides/mcp.md +14 -2
  71. package/dist/host/guides/ollama.md +367 -86
  72. package/dist/host/guides/probe.md +1 -1
  73. package/dist/host/guides/scaffold.md +158 -101
  74. package/dist/host/guides/study.md +3185 -0
  75. package/dist/host/guides/table.md +239 -29
  76. package/dist/host/guides/terminal.md +22 -20
  77. package/dist/host/guides/test.md +776 -315
  78. package/dist/host/manifest.json +117 -65
  79. package/dist/host/tests/config.test.ts +136 -82
  80. package/dist/host/tests/policy.test.ts +41 -3
  81. package/dist/host/tests/setupPolicy.ts +87 -29
  82. package/dist/src/core/index.cjs +1389 -612
  83. package/dist/src/core/index.cjs.map +1 -1
  84. package/dist/src/core/index.d.cts +35 -20
  85. package/dist/src/core/index.d.ts +35 -20
  86. package/dist/src/core/index.js +1387 -613
  87. package/dist/src/core/index.js.map +1 -1
  88. package/dist/src/server/index.cjs +12 -12
  89. package/dist/src/server/index.cjs.map +1 -1
  90. package/dist/src/server/index.d.cts +12 -12
  91. package/dist/src/server/index.d.ts +12 -12
  92. package/dist/src/server/index.js +12 -12
  93. package/dist/src/server/index.js.map +1 -1
  94. package/package.json +5 -5
@@ -15,8 +15,8 @@ let _orkestrel_emitter = require("@orkestrel/emitter");
15
15
  *
16
16
  * @remarks
17
17
  * The one segment allowed to carry a colon. Every other segment is measured by
18
- * {@link INVALID_SEGMENT_CHARACTER_PATTERN}, which refuses one, so a stream name
19
- * such as `file.txt:stream` cannot be smuggled through a later segment.
18
+ * {@link INVALID_SEGMENT_CHARACTER_PATTERN}, which refuses one, so a later
19
+ * segment cannot carry a stream name such as `file.txt:stream`.
20
20
  */
21
21
  var DRIVE_PATTERN = /^[A-Za-z]:$/;
22
22
  /**
@@ -81,7 +81,7 @@ var MAX_PATH_DEPTH = 64;
81
81
  * Far above the core collection ceiling, and deliberately so. A tracked or dirty
82
82
  * path list is the target repository's own fact rather than an argument a caller
83
83
  * authored, so measuring it against the ceiling that bounds a public collection
84
- * would read a legitimately large checkout as hostile and refuse the deletion
84
+ * would read a legitimately large checkout as off contract and refuse the deletion
85
85
  * verb on it.
86
86
  */
87
87
  var MAX_INVENTORY_PATHS = 1e5;
@@ -174,7 +174,7 @@ var PACKUMENT_MEDIA_TYPE = "application/vnd.npm.install-v1+json";
174
174
  * The one place absence is told apart from failure. Every read here answers
175
175
  * `undefined` or an empty result for a path that is not there and reports a path
176
176
  * that is there but unreadable, so they must never be read from the same
177
- * caught value by eye. Total for any caught value, including a hostile one.
177
+ * caught value by eye. Total for any caught value, including one whose reads throw.
178
178
  *
179
179
  * @example
180
180
  * ```ts
@@ -623,7 +623,7 @@ function computeFileDigest(path) {
623
623
  * prefix moves the destination somewhere the text never named. So the deepest
624
624
  * existing ancestor is resolved and the remaining segments are re-joined onto
625
625
  * it. {@link climbRealPath} performs the climb and bounds it by the path-depth
626
- * ceiling, so an adversarial path cannot make it walk indefinitely.
626
+ * ceiling, so no path can make it walk indefinitely.
627
627
  *
628
628
  * The caller's own text is collapsed first, which is what `resolve` does with a
629
629
  * `..` the caller wrote: it cancels the segment before it as text, before any
@@ -674,9 +674,9 @@ function resolveRealPath(path) {
674
674
  * Each step reads one path and moves the climb to one other: a dangling link redirects it to the
675
675
  * link's target with the same suffix, and an absent name moves it to the parent with that name added
676
676
  * to the suffix. One successor per step makes the climb a bounded recursion rather than a worklist,
677
- * and the depth argument is its bound, so an adversarial path or a link cycle answers `undefined`
678
- * after `MAX_PATH_DEPTH` steps instead of walking indefinitely. {@link resolveRealPath} starts the
679
- * climb at depth 0 with nothing pending.
677
+ * and the depth argument is its bound, so a path or a link cycle whose climb runs past that bound
678
+ * answers `undefined` after `MAX_PATH_DEPTH` steps instead of walking indefinitely.
679
+ * {@link resolveRealPath} starts the climb at depth 0 with nothing pending.
680
680
  *
681
681
  * @example
682
682
  * ```ts
@@ -729,7 +729,7 @@ function climbRealPath(current, pending, depth) {
729
729
  * concurrent rename or link swap during the call or before the caller finishes
730
730
  * using the returned path. This helper returns a string, not a filesystem
731
731
  * handle, so it cannot bind its containment check to a later operation. A caller
732
- * that admits hostile concurrent namespace mutation needs a handle-bound
732
+ * that admits untrusted concurrent namespace mutation needs a handle-bound
733
733
  * operation instead.
734
734
  *
735
735
  * @example
@@ -1031,7 +1031,7 @@ function listCanonPaths(target, groups) {
1031
1031
  * Candidates are taken deepest first, which is what lets a whole chain go: the
1032
1032
  * directory holding nothing but the emptied directory is empty in turn by the
1033
1033
  * time it is read. Each one is resolved through the containment law and left
1034
- * standing when it escapes the target, is not a physical directory, still holds
1034
+ * standing when it resolves outside the target, is not a physical directory, still holds
1035
1035
  * an entry, or refuses removal, and a directory left standing is absent from the
1036
1036
  * answer.
1037
1037
  *
@@ -2081,7 +2081,7 @@ var isDigest = (0, _orkestrel_contract.stringOf)({ pattern: DIGEST_PATTERN });
2081
2081
  * @remarks
2082
2082
  * Compose this ahead of an element guard exactly as the core collection guard is
2083
2083
  * composed, and for the same reason: the item count is settled before anything
2084
- * walks the items, and a hostile `length` accessor answers `false` rather than
2084
+ * walks the items, and a throwing `length` accessor answers `false` rather than
2085
2085
  * escaping as a throw. It exists beside that guard rather than reusing it
2086
2086
  * because they bound different things — one bounds what a caller may hand a
2087
2087
  * public method, this one bounds what a checkout may contain.
@@ -3926,7 +3926,7 @@ var ReadAllowance = class {
3926
3926
  * baseline instead of a mixture it would have to reconcile.
3927
3927
  *
3928
3928
  * Requests are unauthenticated because every fleet repository is public, and
3929
- * they follow no redirect, so a misconfigured or hostile endpoint cannot move a
3929
+ * they follow no redirect, so a misconfigured or untrusted endpoint cannot move a
3930
3930
  * read to another host. Each one is bounded by its endpoint's timeout and by the
3931
3931
  * reader's own abort signal, so {@link Upstream.destroy} cancels what is in
3932
3932
  * flight instead of waiting for it.