@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
@@ -392,32 +392,32 @@ The inventory contracts carry these data members.
392
392
 
393
393
  #### Constants
394
394
 
395
- | Name | Kind | Summary |
396
- | ----------------------------------- | ----- | ------------------------------------------------------------------------------------------------ |
397
- | `BRANCH_PATTERN` | const | Matches the Git branch syntax the repository endpoint accepts. |
398
- | `DEFAULT_BRANCH` | const | Holds the repository branch a raw content read addresses when a caller names none. |
399
- | `DEFAULT_REGISTRY_BASE` | const | Holds the registry a version read addresses when a caller names none. |
400
- | `DEFAULT_REPOSITORY_BASE` | const | Holds the raw content host a repository read addresses when a caller names none. |
401
- | `DEFAULT_UPSTREAM_CONCURRENCY` | const | Sets the simultaneous upstream requests a reader opens with, under `MAX_UPSTREAM_CONCURRENCY`. |
402
- | `DEFAULT_UPSTREAM_RETRIES` | const | Sets the retries one upstream request is given when a caller names none. |
403
- | `DEFAULT_UPSTREAM_TIMEOUT` | const | Sets the timeout one upstream request is given when a caller names none, in milliseconds. |
404
- | `DIGEST_PATTERN` | const | Matches the exact SHA-256 syntax a digest is stated in: sixty-four lowercase hexadecimal digits. |
405
- | `DRIVE_PATTERN` | const | Matches the drive prefix a Windows host path may open with. |
406
- | `INVALID_SEGMENT_CHARACTER_PATTERN` | const | Matches the visible characters no host path segment may carry. |
407
- | `MANIFEST_NAME` | const | Reserves the metadata name a staged vendored host writes at its own root. |
408
- | `MAX_BRANCH_LENGTH` | const | Caps the characters one repository branch may carry. |
409
- | `MAX_ENDPOINT_LENGTH` | const | Caps the characters one caller-supplied upstream endpoint may carry. |
410
- | `MAX_INVENTORY_PATHS` | const | Caps the paths one target's working-tree inventory may report. |
411
- | `MAX_PATH_DEPTH` | const | Caps the segments one host path may carry. |
412
- | `MAX_PATH_SEGMENT_BYTES` | const | Caps the UTF-8 bytes one host path segment may encode to. |
413
- | `MAX_UPSTREAM_CONCURRENCY` | const | Caps the simultaneous upstream requests. |
414
- | `MAX_UPSTREAM_RETRIES` | const | Caps the retries one upstream request may be given after a transport fault. |
415
- | `MAX_UPSTREAM_TIMEOUT` | const | Caps the timeout one upstream request may be given, in milliseconds. |
416
- | `ORKESTREL_SCOPE` | const | Names the npm scope and repository owner the fleet's packages and sources are published under. |
417
- | `PACKUMENT_MEDIA_TYPE` | const | Names the media type that selects the registry's abbreviated packument. |
418
- | `RESERVED_SEGMENT_PATTERN` | const | Matches the Windows device names that stay reserved even when an extension follows. |
419
- | `SCAFFOLD_REPOSITORY` | const | Names the repository this package's own vendored files are served from. |
420
- | `UNREADABLE_VERSION_NOTE` | const | Holds the note a release carries when its packument names no readable latest version. |
395
+ | Name | Kind | Summary |
396
+ | ----------------------------------- | ----- | ----------------------------------------------------------------------------------------------------- |
397
+ | `BRANCH_PATTERN` | const | Matches the Git branch syntax the repository endpoint accepts. |
398
+ | `DEFAULT_BRANCH` | const | Holds the repository branch a raw content read addresses when a caller names none. |
399
+ | `DEFAULT_REGISTRY_BASE` | const | Holds the registry a version read addresses when a caller names none. |
400
+ | `DEFAULT_REPOSITORY_BASE` | const | Holds the raw content host a repository read addresses when a caller names none. |
401
+ | `DEFAULT_UPSTREAM_CONCURRENCY` | const | Sets the simultaneous upstream requests a reader opens with, under `MAX_UPSTREAM_CONCURRENCY`. |
402
+ | `DEFAULT_UPSTREAM_RETRIES` | const | Sets the retries one upstream request is given when a caller names none. |
403
+ | `DEFAULT_UPSTREAM_TIMEOUT` | const | Sets the timeout one upstream request is given when a caller names none, in milliseconds. |
404
+ | `DIGEST_PATTERN` | const | Matches the exact SHA-256 syntax a digest is stated in: sixty-four lowercase hexadecimal digits. |
405
+ | `DRIVE_PATTERN` | const | Matches the drive prefix a Windows host path may open with. |
406
+ | `INVALID_SEGMENT_CHARACTER_PATTERN` | const | Matches the visible characters no host path segment may carry. |
407
+ | `MANIFEST_NAME` | const | Reserves the metadata name a staged vendored host writes at its own root. |
408
+ | `MAX_BRANCH_LENGTH` | const | Caps the characters one repository branch may carry. |
409
+ | `MAX_ENDPOINT_LENGTH` | const | Caps the characters one caller-supplied upstream endpoint may carry. |
410
+ | `MAX_INVENTORY_PATHS` | const | Caps the paths one target's working-tree inventory may report. |
411
+ | `MAX_PATH_DEPTH` | const | Caps the segments one host path may carry. |
412
+ | `MAX_PATH_SEGMENT_BYTES` | const | Caps the UTF-8 bytes one host path segment may encode to. |
413
+ | `MAX_UPSTREAM_CONCURRENCY` | const | Caps the simultaneous upstream requests. |
414
+ | `MAX_UPSTREAM_RETRIES` | const | Caps the retries one upstream request may be given after a transport fault. |
415
+ | `MAX_UPSTREAM_TIMEOUT` | const | Caps the timeout one upstream request may be given, in milliseconds. |
416
+ | `ORKESTREL_SCOPE` | const | Names the npm scope and repository owner the fleet's packages and sources are published under. |
417
+ | `PACKUMENT_MEDIA_TYPE` | const | Names the media type that selects the registry's abbreviated packument. |
418
+ | `RESERVED_SEGMENT_PATTERN` | const | Matches the Windows device names that stay reserved even when an extension follows. |
419
+ | `SCAFFOLD_REPOSITORY` | const | Names the repository this package's own vendored files are served from. |
420
+ | `UNREADABLE_VERSION_NOTE` | const | Holds the note a release carries when its packument names no readable version under the `latest` tag. |
421
421
 
422
422
  #### Guards
423
423
 
@@ -538,7 +538,7 @@ publishes no interface and is documented directly.
538
538
 
539
539
  | Method | Summary |
540
540
  | --------- | ------------------------------------------------------------------------------------------- |
541
- | `lookup` | Looks up the newest release each declared range admits. |
541
+ | `lookup` | Looks up the highest release each declared range admits. |
542
542
  | `fetch` | Fetches each named package's guide, beside the local mirror it answers for. |
543
543
  | `read` | Reads each named vendored file from the repository, beside the target bytes it answers for. |
544
544
  | `catalog` | Catalogs the published fleet from the registry's organization package list. |
@@ -1846,7 +1846,7 @@ An edge counts only when it names a package this catalog publishes. An edge leav
1846
1846
  edge to a row that found no version each constrain nothing, so neither holds its dependent back.
1847
1847
 
1848
1848
  The order is load-bearing because these packages are `0.0.x`, where a caret pins one exact release.
1849
- A dependent sees a new dependency version only after the dependent re-pins and republishes, so
1849
+ A dependent sees an updated dependency version only after the dependent re-pins and republishes, so
1850
1850
  publishing a dependent before its dependency leaves the dependent pinned to the older release.
1851
1851
  Ranges that disagree install duplicate copies of one package, and the compiler reads those copies as
1852
1852
  distinct types.
@@ -1860,8 +1860,8 @@ lookup verdict records why the registry row could not enter a layer.
1860
1860
  ## Dependency floors
1861
1861
 
1862
1862
  Except for the selected showcase policy, every scaffold-owned runtime or development range is a floor: a caret over a whole
1863
- `major.minor.patch` version. The triple is the newest release the registry served when that floor
1864
- was last raised, so a workspace generated with no network still receives the latest floor scaffold
1863
+ `major.minor.patch` version. The triple is the highest release the registry served when that floor
1864
+ was last raised, so a workspace generated with no network still receives the declared floor scaffold
1865
1865
  knew rather than a bare `major.0.0`. A `Blueprint.peers` row is written during creation into a
1866
1866
  vacant target. After creation, peer declarations and `peerDependenciesMeta` are caller-owned:
1867
1867
  `audit`, `repair`, `catalog`, and `overwrite` do not invent, rewrite, insert, or remove them. Caller
@@ -1869,7 +1869,7 @@ extras pass through unchanged except for the selected showcase pair. Extras foll
1869
1869
  `ORKESTREL_RANGE_PATTERN`; foreign peers follow `FLOOR_RANGE_PATTERN`.
1870
1870
 
1871
1871
  A browser application with `showcase: true`, including its Vue face, selects exact
1872
- `vite-plugin-singlefile: 2.3.3`, Vite `^8.3.4` from scaffold's manifest, and the npm override
1872
+ `vite-plugin-singlefile: 2.3.3`, Vite `^8.3.5` from scaffold's manifest, and the npm override
1873
1873
  `"vite-plugin-singlefile@2.3.3": { "micromatch": "npm:picomatch@2.3.2" }`. This policy applies
1874
1874
  after extras. Online resolution excludes this pair from ordinary foreign-major updates; other
1875
1875
  dependencies retain their usual resolution. Repair preserves each package's runtime or development
@@ -1895,7 +1895,7 @@ The floors live in scaffold's own `package.json`. `BASE_DEV_DEPENDENCIES` and th
1895
1895
  derive each row scaffold installs from that manifest, and the self-pin from its `version` field, so
1896
1896
  the toolchain a generated workspace receives is the toolchain scaffold runs. The rows scaffold does
1897
1897
  not install are seeds — `@vitejs/plugin-vue`, `vue`, `vue-tsc`, `vite-plugin-singlefile`, and the
1898
- application-server fleet packages — and each carries the newest triple its supported major served
1898
+ application-server fleet packages — and each carries the highest triple its supported major served
1899
1899
  when it was written.
1900
1900
  [`tests/src/core/constants.test.ts`](../tests/src/core/constants.test.ts) names that seeded set, so a
1901
1901
  row entering or leaving the manifest moves a test rather than passing unnoticed. `sass`, the one row
@@ -1936,7 +1936,7 @@ committed before a later catalog refusal and records that refusal in `note`.
1936
1936
 
1937
1937
  A fleet row is compared exactly — `^0.1.0` is stale the moment the registry serves `0.1.2` — and
1938
1938
  that inequality alone raises `audit` to exit `1`. A foreign row is compared inside its declared
1939
- major, and each verdict is a non-blocking question: one for a floor below the newest release that
1939
+ major, and each verdict is a non-blocking question: one for a floor below the highest release that
1940
1940
  major serves, and one for a newer major the registry publishes.
1941
1941
 
1942
1942
  ### Raising the floor before a release
@@ -1949,7 +1949,7 @@ while the registry is reachable:
1949
1949
  2. Run `scaffold repair`, or `npm update` followed by the same audit, until no question remains.
1950
1950
  3. Run the gate chain, then bump the version and publish.
1951
1951
 
1952
- That cycle is what keeps every release shipping the then-latest floor, and it is what a consumer
1952
+ That cycle is what keeps every release shipping the registry floor read for that release, and it is what a consumer
1953
1953
  generating a workspace with no network receives.
1954
1954
 
1955
1955
  ## Vendored data root
@@ -1963,7 +1963,7 @@ licence, the harness permission file, the scaffold-owned `scripts` directory, th
1963
1963
  shared policy register, the shared policy proof, the shared policy plugin, the shared configuration
1964
1964
  leaf and its proof, and the byte-identical root dotfiles. The session-start hooks inside `scripts`
1965
1965
  split by job. The bench probe reports whether a bench CLI resolves. In a remote session one command
1966
- runs three hooks in order: the npm hook installs the newest npm in the major of the floor the
1966
+ runs three hooks in order: the npm hook installs the highest npm in the major of the floor the
1967
1967
  workspace's `devEngines` record declares when the container's npm is older, the dependency hook
1968
1968
  installs the lockfile's closure, and the browser hook installs the Chromium builds the
1969
1969
  `playwright-core` package pins when the container's browser store lacks them.
@@ -2418,10 +2418,10 @@ verdict carrying its cause rather than thrown, so one unreachable package never
2418
2418
  rest of the answer. The organization package list is the exception, because without it there is no
2419
2419
  fleet to report.
2420
2420
 
2421
- A found verdict carries the newest version the declared range admits, not whatever `dist-tags.latest`
2421
+ A found verdict carries the highest version the declared range admits, not whatever `dist-tags.latest`
2422
2422
  names. `lookup` reads the packument's version map, selects across it before any collection bound can
2423
- truncate the map, and falls back to the latest tag only when that tag is itself admitted. A range of
2424
- `*` admits every version, which is how a caller asks for the newest release outright.
2423
+ truncate the map, and falls back to the `latest` tag only when that tag is itself admitted. A range of
2424
+ `*` admits every version, which is how a caller asks for the highest release outright.
2425
2425
 
2426
2426
  Each bound counts decoded bytes, and a version lookup asks the registry for the abbreviated
2427
2427
  packument — `dist-tags` and a trimmed version map, rather than the full per-version metadata no