@orkestrel/scaffold 0.0.104 → 0.0.106

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 (33) hide show
  1. package/dist/bin/main.js +8 -8
  2. package/dist/bin/main.js.map +1 -1
  3. package/dist/host/agents/orchestration.md +3 -3
  4. package/dist/host/agents/skills/orkestrel-parallel/SKILL.md +72 -0
  5. package/dist/host/agents/skills/orkestrel-parallel/agents/openai.yaml +4 -0
  6. package/dist/host/agents/skills/orkestrel-parallel/references/harnesses.md +12 -0
  7. package/dist/host/claude/agents/orkestrel.md +7 -7
  8. package/dist/host/claude/agents/verifier.md +1 -1
  9. package/dist/host/claude/skills/orkestrel-parallel/SKILL.md +11 -0
  10. package/dist/host/codex/agents/verifier.toml +3 -1
  11. package/dist/host/guides/agent.md +102 -57
  12. package/dist/host/guides/form.md +8 -8
  13. package/dist/host/guides/ollama.md +275 -18
  14. package/dist/host/guides/scaffold.md +38 -38
  15. package/dist/host/guides/study.md +589 -39
  16. package/dist/host/guides/table.md +14 -14
  17. package/dist/host/guides/test.md +94 -67
  18. package/dist/host/manifest.json +42 -14
  19. package/dist/host/tests/policy.test.ts +2 -2
  20. package/dist/host/tests/setupPolicy.ts +1 -1
  21. package/dist/src/core/index.cjs +13 -12
  22. package/dist/src/core/index.cjs.map +1 -1
  23. package/dist/src/core/index.d.cts +6 -6
  24. package/dist/src/core/index.d.ts +6 -6
  25. package/dist/src/core/index.js +13 -12
  26. package/dist/src/core/index.js.map +1 -1
  27. package/dist/src/server/index.cjs +7 -7
  28. package/dist/src/server/index.cjs.map +1 -1
  29. package/dist/src/server/index.d.cts +10 -10
  30. package/dist/src/server/index.d.ts +10 -10
  31. package/dist/src/server/index.js +7 -7
  32. package/dist/src/server/index.js.map +1 -1
  33. package/package.json +8 -8
@@ -762,7 +762,7 @@ export declare const isUpstreamOptions: Guard<UpstreamOptions>;
762
762
  * directory; false otherwise.
763
763
  *
764
764
  * @remarks
765
- * The green-field law. A checkout of an empty repository is where a new
765
+ * The green-field law. A checkout of an empty repository is where a fresh
766
766
  * workspace legitimately starts, so that one directory is admitted and nothing
767
767
  * else is; anything more means the caller is repairing a workspace rather than
768
768
  * creating one. Only the first two entries are read, so the answer costs the
@@ -1729,7 +1729,7 @@ export declare class Materializer implements MaterializerInterface {
1729
1729
  * non-negative safe integer.
1730
1730
  */
1731
1731
  constructor(budget: number);
1732
- /** The bytes the call has left; negative once a read overshoots the budget. */
1732
+ /** The bytes the call has left; negative after a read overshoots the budget. */
1733
1733
  get remaining(): number;
1734
1734
  /**
1735
1735
  * Spends bytes a read consumed from the allowance.
@@ -1755,12 +1755,12 @@ export declare class Materializer implements MaterializerInterface {
1755
1755
  * Describes the byte allowance one upstream call spends across every read it makes.
1756
1756
  *
1757
1757
  * @remarks
1758
- * `remaining` is the budget less every byte spent, and it goes negative once a
1758
+ * `remaining` is the budget less every byte spent, and it goes negative after a
1759
1759
  * read overshoots, so a caller tells a call that has nothing left (`remaining`
1760
1760
  * at or below zero) from one that spent past its budget (`remaining` below zero).
1761
1761
  */
1762
1762
  export declare interface ReadAllowanceInterface {
1763
- /** The bytes the call has left; negative once a read overshoots the budget. */
1763
+ /** The bytes the call has left; negative after a read overshoots the budget. */
1764
1764
  readonly remaining: number;
1765
1765
  /**
1766
1766
  * Spends bytes a read consumed from the allowance.
@@ -2298,7 +2298,7 @@ export declare class Materializer implements MaterializerInterface {
2298
2298
  readonly note: string;
2299
2299
  }
2300
2300
 
2301
- /** Holds the note a release carries when its packument names no readable latest version. */
2301
+ /** Holds the note a release carries when its packument names no readable version under the `latest` tag. */
2302
2302
  export declare const UNREADABLE_VERSION_NOTE = "the answer carries no readable latest version";
2303
2303
 
2304
2304
  /**
@@ -2370,7 +2370,7 @@ export declare class Materializer implements MaterializerInterface {
2370
2370
  /** Exposes the upstream reader's observation channel. */
2371
2371
  get emitter(): EmitterInterface<UpstreamEventMap>;
2372
2372
  /**
2373
- * Looks up the newest release each declared range admits.
2373
+ * Looks up the highest release each declared range admits.
2374
2374
  *
2375
2375
  * @param dependencies - The declared dependencies to look up.
2376
2376
  * @returns One release verdict per dependency, in input order.
@@ -2381,9 +2381,9 @@ export declare class Materializer implements MaterializerInterface {
2381
2381
  * @remarks
2382
2382
  * The reader selects across the packument's stable version map before any
2383
2383
  * collection bound can truncate it. It falls back to `dist-tags.latest` only
2384
- * when that version satisfies the declared range. `*` requests the newest
2384
+ * when that version satisfies the declared range. `*` requests the highest
2385
2385
  * stable version outright. The verdict's `major` field carries the stable
2386
- * major from the latest tag when that tag can be read.
2386
+ * major from the `latest` tag when that tag can be read.
2387
2387
  *
2388
2388
  * @example
2389
2389
  * ```ts
@@ -2547,7 +2547,7 @@ export declare class Materializer implements MaterializerInterface {
2547
2547
  export declare interface UpstreamInterface {
2548
2548
  readonly emitter: EmitterInterface<UpstreamEventMap>;
2549
2549
  /**
2550
- * Looks up the newest release each declared range admits.
2550
+ * Looks up the highest release each declared range admits.
2551
2551
  *
2552
2552
  * @param dependencies - The declared dependencies to look up.
2553
2553
  * @returns One release verdict per dependency, in input order.
@@ -2717,7 +2717,7 @@ export declare class Materializer implements MaterializerInterface {
2717
2717
  * the same name can receive its old inode back and is indistinguishable here
2718
2718
  * from one that never moved.
2719
2719
  * - **No crash atomicity across destinations.** A process killed between
2720
- * promotions leaves the target holding some new files and some old ones, and
2720
+ * promotions leaves the target holding some replacement files and some prior ones, and
2721
2721
  * leaves the private root behind. Nothing here is a journal, and the private
2722
2722
  * root's name is the only record a later run could read.
2723
2723
  *
@@ -762,7 +762,7 @@ export declare const isUpstreamOptions: Guard<UpstreamOptions>;
762
762
  * directory; false otherwise.
763
763
  *
764
764
  * @remarks
765
- * The green-field law. A checkout of an empty repository is where a new
765
+ * The green-field law. A checkout of an empty repository is where a fresh
766
766
  * workspace legitimately starts, so that one directory is admitted and nothing
767
767
  * else is; anything more means the caller is repairing a workspace rather than
768
768
  * creating one. Only the first two entries are read, so the answer costs the
@@ -1729,7 +1729,7 @@ export declare class Materializer implements MaterializerInterface {
1729
1729
  * non-negative safe integer.
1730
1730
  */
1731
1731
  constructor(budget: number);
1732
- /** The bytes the call has left; negative once a read overshoots the budget. */
1732
+ /** The bytes the call has left; negative after a read overshoots the budget. */
1733
1733
  get remaining(): number;
1734
1734
  /**
1735
1735
  * Spends bytes a read consumed from the allowance.
@@ -1755,12 +1755,12 @@ export declare class Materializer implements MaterializerInterface {
1755
1755
  * Describes the byte allowance one upstream call spends across every read it makes.
1756
1756
  *
1757
1757
  * @remarks
1758
- * `remaining` is the budget less every byte spent, and it goes negative once a
1758
+ * `remaining` is the budget less every byte spent, and it goes negative after a
1759
1759
  * read overshoots, so a caller tells a call that has nothing left (`remaining`
1760
1760
  * at or below zero) from one that spent past its budget (`remaining` below zero).
1761
1761
  */
1762
1762
  export declare interface ReadAllowanceInterface {
1763
- /** The bytes the call has left; negative once a read overshoots the budget. */
1763
+ /** The bytes the call has left; negative after a read overshoots the budget. */
1764
1764
  readonly remaining: number;
1765
1765
  /**
1766
1766
  * Spends bytes a read consumed from the allowance.
@@ -2298,7 +2298,7 @@ export declare class Materializer implements MaterializerInterface {
2298
2298
  readonly note: string;
2299
2299
  }
2300
2300
 
2301
- /** Holds the note a release carries when its packument names no readable latest version. */
2301
+ /** Holds the note a release carries when its packument names no readable version under the `latest` tag. */
2302
2302
  export declare const UNREADABLE_VERSION_NOTE = "the answer carries no readable latest version";
2303
2303
 
2304
2304
  /**
@@ -2370,7 +2370,7 @@ export declare class Materializer implements MaterializerInterface {
2370
2370
  /** Exposes the upstream reader's observation channel. */
2371
2371
  get emitter(): EmitterInterface<UpstreamEventMap>;
2372
2372
  /**
2373
- * Looks up the newest release each declared range admits.
2373
+ * Looks up the highest release each declared range admits.
2374
2374
  *
2375
2375
  * @param dependencies - The declared dependencies to look up.
2376
2376
  * @returns One release verdict per dependency, in input order.
@@ -2381,9 +2381,9 @@ export declare class Materializer implements MaterializerInterface {
2381
2381
  * @remarks
2382
2382
  * The reader selects across the packument's stable version map before any
2383
2383
  * collection bound can truncate it. It falls back to `dist-tags.latest` only
2384
- * when that version satisfies the declared range. `*` requests the newest
2384
+ * when that version satisfies the declared range. `*` requests the highest
2385
2385
  * stable version outright. The verdict's `major` field carries the stable
2386
- * major from the latest tag when that tag can be read.
2386
+ * major from the `latest` tag when that tag can be read.
2387
2387
  *
2388
2388
  * @example
2389
2389
  * ```ts
@@ -2547,7 +2547,7 @@ export declare class Materializer implements MaterializerInterface {
2547
2547
  export declare interface UpstreamInterface {
2548
2548
  readonly emitter: EmitterInterface<UpstreamEventMap>;
2549
2549
  /**
2550
- * Looks up the newest release each declared range admits.
2550
+ * Looks up the highest release each declared range admits.
2551
2551
  *
2552
2552
  * @param dependencies - The declared dependencies to look up.
2553
2553
  * @returns One release verdict per dependency, in input order.
@@ -2717,7 +2717,7 @@ export declare class Materializer implements MaterializerInterface {
2717
2717
  * the same name can receive its old inode back and is indistinguishable here
2718
2718
  * from one that never moved.
2719
2719
  * - **No crash atomicity across destinations.** A process killed between
2720
- * promotions leaves the target holding some new files and some old ones, and
2720
+ * promotions leaves the target holding some replacement files and some prior ones, and
2721
2721
  * leaves the private root behind. Nothing here is a journal, and the private
2722
2722
  * root's name is the only record a later run could read.
2723
2723
  *
@@ -151,7 +151,7 @@ var ORKESTREL_SCOPE = "orkestrel";
151
151
  * guides and these files.
152
152
  */
153
153
  var SCAFFOLD_REPOSITORY = "scaffold";
154
- /** Holds the note a release carries when its packument names no readable latest version. */
154
+ /** Holds the note a release carries when its packument names no readable version under the `latest` tag. */
155
155
  var UNREADABLE_VERSION_NOTE = "the answer carries no readable latest version";
156
156
  /**
157
157
  * Names the media type that selects the registry's abbreviated packument.
@@ -757,7 +757,7 @@ function resolveContainedPath(root, path) {
757
757
  * directory; false otherwise.
758
758
  *
759
759
  * @remarks
760
- * The green-field law. A checkout of an empty repository is where a new
760
+ * The green-field law. A checkout of an empty repository is where a fresh
761
761
  * workspace legitimately starts, so that one directory is admitted and nothing
762
762
  * else is; anything more means the caller is repairing a workspace rather than
763
763
  * creating one. Only the first two entries are read, so the answer costs the
@@ -2430,7 +2430,7 @@ var isUpstreamOptions = recordOf({
2430
2430
  * the same name can receive its old inode back and is indistinguishable here
2431
2431
  * from one that never moved.
2432
2432
  * - **No crash atomicity across destinations.** A process killed between
2433
- * promotions leaves the target holding some new files and some old ones, and
2433
+ * promotions leaves the target holding some replacement files and some prior ones, and
2434
2434
  * leaves the private root behind. Nothing here is a journal, and the private
2435
2435
  * root's name is the only record a later run could read.
2436
2436
  *
@@ -3873,7 +3873,7 @@ var ReadAllowance = class {
3873
3873
  if (!isNonNegativeInteger(budget) || !Number.isSafeInteger(budget)) throw new ScaffoldError("INVALID", "The read budget is not a non-negative safe integer.", { field: "budget" });
3874
3874
  this.#remaining = budget;
3875
3875
  }
3876
- /** The bytes the call has left; negative once a read overshoots the budget. */
3876
+ /** The bytes the call has left; negative after a read overshoots the budget. */
3877
3877
  get remaining() {
3878
3878
  return this.#remaining;
3879
3879
  }
@@ -3998,7 +3998,7 @@ var Upstream = class {
3998
3998
  return this.#emitter;
3999
3999
  }
4000
4000
  /**
4001
- * Looks up the newest release each declared range admits.
4001
+ * Looks up the highest release each declared range admits.
4002
4002
  *
4003
4003
  * @param dependencies - The declared dependencies to look up.
4004
4004
  * @returns One release verdict per dependency, in input order.
@@ -4009,9 +4009,9 @@ var Upstream = class {
4009
4009
  * @remarks
4010
4010
  * The reader selects across the packument's stable version map before any
4011
4011
  * collection bound can truncate it. It falls back to `dist-tags.latest` only
4012
- * when that version satisfies the declared range. `*` requests the newest
4012
+ * when that version satisfies the declared range. `*` requests the highest
4013
4013
  * stable version outright. The verdict's `major` field carries the stable
4014
- * major from the latest tag when that tag can be read.
4014
+ * major from the `latest` tag when that tag can be read.
4015
4015
  *
4016
4016
  * @example
4017
4017
  * ```ts