@anyswarm/core 0.5.1 → 0.5.2

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 (171) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +13 -6
  3. package/dist/examples/README.md +16 -5
  4. package/dist/examples/authoring/README.md +4 -4
  5. package/dist/examples/autoresearch/README.md +15 -8
  6. package/dist/examples/autoresearch/REQUIREMENTS.zh.md +3 -10
  7. package/dist/examples/autoresearch/demo.js +1 -1
  8. package/dist/examples/autoresearch/eject.json +2 -0
  9. package/dist/examples/autoresearch/frontiercs2-config.d.ts +2 -0
  10. package/dist/examples/autoresearch/frontiercs2-config.js +3 -0
  11. package/dist/examples/autoresearch/prepare-demo.d.ts +1 -0
  12. package/dist/examples/autoresearch/prepare-demo.js +15 -0
  13. package/dist/examples/autoresearch/prepare.js +3 -3
  14. package/dist/examples/autoresearch/project.d.ts +0 -94
  15. package/dist/examples/autoresearch/project.js +2 -20
  16. package/dist/examples/code/README.md +25 -17
  17. package/dist/examples/code/REQUIREMENTS.zh.md +3 -3
  18. package/dist/examples/harness-session/README.md +3 -3
  19. package/dist/examples/messages/README.md +1 -1
  20. package/dist/examples/notes/README.md +3 -3
  21. package/dist/examples/services/mathlib-search/README.md +1 -1
  22. package/dist/examples/services/persistent-board/README.md +5 -2
  23. package/dist/examples/subagents/README.md +2 -2
  24. package/dist/examples/subagents/config.js +3 -3
  25. package/dist/examples/substrate/README.md +2 -2
  26. package/dist/examples/super/README.md +34 -22
  27. package/dist/examples/super/actions.d.ts +1 -1
  28. package/dist/examples/super/actions.js +11 -11
  29. package/dist/examples/super/config.js +3 -3
  30. package/dist/examples/super/eject.json +1 -1
  31. package/dist/examples/super/location.js +1 -1
  32. package/dist/examples/super/operator.d.ts +1 -0
  33. package/dist/examples/super/operator.js +31 -0
  34. package/dist/examples/super/project.d.ts +0 -107
  35. package/dist/examples/super/project.js +1 -3
  36. package/dist/scripts/anyswarm-arguments.d.ts +7 -25
  37. package/dist/scripts/anyswarm-arguments.js +69 -97
  38. package/dist/scripts/anyswarm-eject.js +1 -1
  39. package/dist/scripts/anyswarm-harnesses.d.ts +0 -1
  40. package/dist/scripts/anyswarm-harnesses.js +1 -22
  41. package/dist/scripts/anyswarm-installation.d.ts +7 -40
  42. package/dist/scripts/anyswarm-installation.js +17 -291
  43. package/dist/scripts/anyswarm-launch.d.ts +6 -36
  44. package/dist/scripts/anyswarm-launch.js +32 -81
  45. package/dist/scripts/anyswarm-progress.d.ts +6 -0
  46. package/dist/scripts/anyswarm-progress.js +102 -0
  47. package/dist/scripts/anyswarm-project.d.ts +1 -9
  48. package/dist/scripts/anyswarm-project.js +40 -127
  49. package/dist/scripts/anyswarm-source-runner.js +9 -41
  50. package/dist/scripts/anyswarm.js +6 -26
  51. package/dist/scripts/build-provenance.json +1 -1
  52. package/dist/scripts/local-environment.d.ts +10 -4
  53. package/dist/scripts/local-environment.js +67 -20
  54. package/dist/scripts/local-setup.d.ts +3 -0
  55. package/dist/scripts/local-setup.js +135 -107
  56. package/dist/scripts/pack-release.js +4 -1
  57. package/dist/src/core/worker-image.js +1 -1
  58. package/dist/src/harness/project-harness.d.ts +1 -0
  59. package/dist/src/harness/project-harness.js +2 -2
  60. package/dist/src/harness/project-runtime.js +3 -1
  61. package/docs/INDEX.md +2 -1
  62. package/docs/architecture/04-services.md +1 -1
  63. package/docs/architecture/07-run-configuration.md +28 -14
  64. package/docs/architecture/12-code-coverage.md +56 -57
  65. package/docs/architecture/17-harness-reporting.md +1 -1
  66. package/docs/architecture/22-website.md +4 -7
  67. package/docs/architecture/23-project-harness.md +48 -23
  68. package/docs/architecture/26-code.md +20 -5
  69. package/docs/architecture/27-personal.md +23 -8
  70. package/docs/architecture/28-autoresearch.md +18 -6
  71. package/docs/architecture/INDEX.md +1 -2
  72. package/docs/architecture/prompts/source-manifest.json +5 -5
  73. package/docs/architecture/source-map.json +51 -71
  74. package/docs/designs/core-harness/01-core.md +2 -2
  75. package/docs/designs/core-harness/06-project-harness.md +3 -3
  76. package/docs/designs/core-harness/README.md +2 -2
  77. package/docs/en/agents.md +1 -1
  78. package/docs/en/build-your-harness.md +1 -1
  79. package/docs/en/changelog.md +7 -0
  80. package/docs/en/first-harness.md +6 -6
  81. package/docs/en/harnesses/lead-worker.md +1 -1
  82. package/docs/en/harnesses/peermesh.md +2 -2
  83. package/docs/en/harnesses/subagents.md +2 -2
  84. package/docs/en/harnesses/substrate.md +4 -4
  85. package/docs/en/harnesses/taskpool.md +2 -2
  86. package/docs/en/latest.md +9 -5
  87. package/docs/en/quickstart.md +20 -41
  88. package/docs/en/reference/api.md +1 -1
  89. package/docs/en/reference/cli.md +47 -85
  90. package/docs/en/sandbox.md +3 -3
  91. package/docs/operations/trace-viewer.md +1 -1
  92. package/docs/third-party-notices.md +0 -1
  93. package/docs/workflows/development.md +14 -12
  94. package/docs/workflows/release-and-docs-versioning.md +13 -12
  95. package/docs/workflows/release-cli-acceptance.md +85 -0
  96. package/docs/zh/agents.md +1 -1
  97. package/docs/zh/build-your-harness.md +1 -1
  98. package/docs/zh/changelog.md +8 -1
  99. package/docs/zh/first-harness.md +7 -7
  100. package/docs/zh/harnesses/lead-worker.md +1 -1
  101. package/docs/zh/harnesses/peermesh.md +2 -2
  102. package/docs/zh/harnesses/subagents.md +2 -2
  103. package/docs/zh/harnesses/substrate.md +4 -4
  104. package/docs/zh/harnesses/taskpool.md +2 -2
  105. package/docs/zh/latest.md +9 -5
  106. package/docs/zh/quickstart.md +20 -41
  107. package/docs/zh/reference/api.md +1 -1
  108. package/docs/zh/reference/cli.md +19 -79
  109. package/docs/zh/sandbox.md +3 -3
  110. package/examples/README.md +16 -5
  111. package/examples/authoring/README.md +4 -4
  112. package/examples/autoresearch/README.md +15 -8
  113. package/examples/autoresearch/REQUIREMENTS.zh.md +3 -10
  114. package/examples/autoresearch/demo.ts +1 -1
  115. package/examples/autoresearch/eject.json +2 -0
  116. package/examples/autoresearch/frontiercs2-config.ts +4 -0
  117. package/examples/autoresearch/prepare-demo.ts +15 -0
  118. package/examples/autoresearch/prepare.ts +3 -3
  119. package/examples/autoresearch/project.ts +2 -19
  120. package/examples/code/README.md +25 -17
  121. package/examples/code/REQUIREMENTS.zh.md +3 -3
  122. package/examples/harness-session/README.md +3 -3
  123. package/examples/messages/README.md +1 -1
  124. package/examples/notes/README.md +3 -3
  125. package/examples/services/mathlib-search/README.md +1 -1
  126. package/examples/services/persistent-board/README.md +5 -2
  127. package/examples/subagents/README.md +2 -2
  128. package/examples/subagents/config.ts +4 -3
  129. package/examples/substrate/README.md +2 -2
  130. package/examples/super/README.md +34 -22
  131. package/examples/super/actions.ts +11 -11
  132. package/examples/super/config.ts +3 -3
  133. package/examples/super/eject.json +1 -1
  134. package/examples/super/location.ts +1 -1
  135. package/examples/super/operator.ts +28 -0
  136. package/examples/super/project.ts +1 -3
  137. package/npm-shrinkwrap.development.json +42 -1541
  138. package/npm-shrinkwrap.json +3 -43
  139. package/package.development.json +2 -6
  140. package/package.json +2 -5
  141. package/scripts/anyswarm-arguments.ts +67 -96
  142. package/scripts/anyswarm-eject.ts +1 -1
  143. package/scripts/anyswarm-harnesses.ts +1 -18
  144. package/scripts/anyswarm-installation.ts +18 -294
  145. package/scripts/anyswarm-launch.ts +30 -102
  146. package/scripts/anyswarm-progress.ts +95 -0
  147. package/scripts/anyswarm-project.ts +31 -123
  148. package/scripts/anyswarm-source-runner.ts +9 -36
  149. package/scripts/anyswarm.ts +4 -24
  150. package/scripts/local-environment.ts +71 -20
  151. package/scripts/local-setup.ts +134 -94
  152. package/scripts/pack-release.ts +4 -1
  153. package/src/core/worker-image.ts +1 -1
  154. package/src/harness/project-harness.ts +2 -2
  155. package/src/harness/project-runtime.ts +2 -1
  156. package/dist/scripts/anyswarm-applications.d.ts +0 -19
  157. package/dist/scripts/anyswarm-applications.js +0 -19
  158. package/dist/scripts/anyswarm-tui-config.d.ts +0 -36
  159. package/dist/scripts/anyswarm-tui-config.js +0 -189
  160. package/dist/scripts/anyswarm-tui-session.d.ts +0 -66
  161. package/dist/scripts/anyswarm-tui-session.js +0 -304
  162. package/dist/scripts/anyswarm-tui-terminal.d.ts +0 -41
  163. package/dist/scripts/anyswarm-tui-terminal.js +0 -154
  164. package/dist/scripts/anyswarm-tui.d.ts +0 -2
  165. package/dist/scripts/anyswarm-tui.js +0 -1012
  166. package/docs/architecture/25-foreground-tui.md +0 -51
  167. package/scripts/anyswarm-applications.ts +0 -39
  168. package/scripts/anyswarm-tui-config.ts +0 -174
  169. package/scripts/anyswarm-tui-session.ts +0 -295
  170. package/scripts/anyswarm-tui-terminal.ts +0 -147
  171. package/scripts/anyswarm-tui.ts +0 -912
@@ -35,29 +35,37 @@ For the pinned source and retained-format inventory, see
35
35
 
36
36
  ## GitHub Release distribution
37
37
 
38
- The [release workflow](../../.github/workflows/release.yml) runs verification on manual dispatch or a pushed version tag. It requires a stable package version, checks that any selected tag matches it, and requires the public `AnySwarm/anyswarm` repository for a tag publication. Verification packs the compiled `@anyswarm/core` package and renames the tarball to the existing GitHub versioned asset name `luna-shi-anyswarm-<version>.tgz`. It performs an npm publication dry run, installs that same archive in a temporary consumer, runs the Core suite, and uploads the archive plus a byte-identical `luna-shi-anyswarm.tgz` alias and checksums as a workflow artifact. The installed Quickstart uses the default local-setup path. On a fresh runner, it builds the bundled Worker before testing the candidate with controlled local model responses, so verification can run before any registry publication.
38
+ The [release workflow](../../.github/workflows/release.yml) runs verification on a pushed version tag or a manual dispatch with `publish_npm` left off. It requires a stable package version, checks that any selected tag matches it, and requires the public `AnySwarm/anyswarm` repository for a tag publication. Verification packs the compiled `@anyswarm/core` package and renames the tarball to the existing GitHub versioned asset name `luna-shi-anyswarm-<version>.tgz`. It installs that same archive in a temporary consumer, runs the Core suite, and uploads the archive plus a byte-identical `luna-shi-anyswarm.tgz` alias and checksums as a workflow artifact. The installed Quickstart uses the default local-setup path. On a fresh runner, it builds the bundled Worker before testing the candidate with controlled local model responses, so verification can run before any registry publication.
39
39
 
40
- The SDK reads its version from the enclosing `@anyswarm/core` package manifest in both the checkout and the compiled install. If neither manifest path can be read, the build's version constant supplies the fallback. Version 0.5.1 continues to use Worker protocol `anyswarm-core-v2`. Local setup prepares a Worker from the installed package's build inputs.
40
+ The SDK reads its version from the enclosing `@anyswarm/core` package manifest in both the checkout and the compiled install. If neither manifest path can be read, the build's version constant supplies the fallback. Version 0.5.2 continues to use Worker protocol `anyswarm-core-v2`. Local setup prepares a Worker from the installed package's build inputs.
41
41
 
42
- The publication job verifies both archive names and the checksum file. A new tag is staged as a draft and made public after asset verification. Only the highest stable published version becomes GitHub Latest. A retry checks assets for an already published tag. Installed verification prepares the candidate’s Worker from an explicit Pi installation on the runner. A maintainer publishes to npm separately using the same release tarball. [Release procedure](../workflows/development.md#release-verification)
42
+ The publication job verifies both archive names and the checksum file. A new tag is staged as a draft and made public after asset verification. Only the highest stable published version becomes GitHub Latest. A retry checks assets for an already published tag. Installed verification prepares the candidate’s Worker from an explicit Pi installation on the runner. [Release procedure](../workflows/development.md#release-verification)
43
43
 
44
- ### Managed CLI installation and update
44
+ ### npm publication
45
45
 
46
- The official installer selects npm’s global prefix when writable, or the user’s `~/.local`. It uses the GitHub Latest API to resolve a stable tag, downloads the versioned archive and `SHA256SUMS`, then streams the staged file through Node's SHA-256 implementation. A missing or malformed release digest, or a mismatch with the staged bytes, fails before npm runs. An explicit local archive is copied to a private temporary directory and hashed there; the digest records the staged bytes rather than authenticating the local source. Neither path needs a system checksum command. The temporary download is removed when the installer exits. npm installs production dependencies with lifecycle scripts disabled under a unique `<prefix>/lib/anyswarm/versions/release-*` directory. The staged CLI must execute and report the expected package identity and version. A private `install.json` records the package source, digest, prefix and version.
46
+ A successful GitHub Release job enables the npm job for a tagged push. A manual dispatch from `main` with `publish_npm` enabled skips the candidate build and goes directly to the same npm job. It reads GitHub Latest, requires a stable tag, and skips a tagged push for an older Release. It downloads the versioned archive, alias and checksum file from the public Release. Both hashes, byte equality and the archive's package name and version must match before the publish step can start.
47
47
 
48
- The executable symlinks under `<prefix>/bin` resolve through a shared `current` link. The two host aliases both point to `current/node_modules/.bin/anyswarm`. The Worker command `swarm` uses its separate executable. Activation verifies the staged targets and executable permissions before running `anyswarm --version`. A managed archive can omit the npm `anys` entry, as the published v0.5.0 archive did. On Darwin, for that exact verified release archive, the website installer gives its legacy activator a temporary compatibility wrapper that translates its fixed GNU flock call to the equivalent persistent lockf invocation. Activation checks for competing entries and serializes mutations with a Unix file lock: Linux uses `flock`, and macOS uses the system `/usr/bin/lockf -k` so waiters and future activations keep using the same lock file. Both wait up to 15 seconds for the lock before reporting failure. The lock helper signals readiness to the activator and holds the lock until the activator closes the helper's input. It converts the previous managed short link into the common host link when `current` points into the managed versions directory. It can replace existing npm symlinks only when each points to the exact executable under `@anyswarm/core`, the v0.4.1 name `@anyswarm/anyswarm`, or the v0.4.0 name `@luna-shi/anyswarm` in the selected prefix. Activation publishes the fully validated generation with atomic rename of `current`. It restores replaced entries if activation fails and leaves the old package available. The installer reports its actual entry and package root, and prints a PATH command when its bin directory is absent. If GitHub Latest still points to v0.4.0 and no managed generation exists, the installer recognizes that archived scope and uses the original global npm install path.
48
+ The npm job shares the stable release concurrency group and checks the public npm registry before publishing. It refuses to move npm `latest` backward. A version that already has the archive's SHA-512 skips the upload, while a different registered digest fails the job. A new version is published under `latest` using GitHub Actions OIDC. The hosted runner has GitHub contents read access and OIDC token issuance. npm must authorize `AnySwarm/anyswarm` and `release.yml` as a trusted publisher with direct publishing enabled. The job polls for the expected npm `latest` and archive integrity for up to 15 minutes to allow for registry processing. An npm failure leaves the GitHub Release available. The manual dispatch can retry once auth or registry availability is restored.
49
49
 
50
- `anyswarm update` verifies that its own package and invoked executable belong to the active managed generation. It resolves the stable version before downloading, returns immediately if the current version is already at least as new, and otherwise stages the checked archive in the same prefix. The candidate-only override accepts `--archive <file> --sha256 <digest>`, including two different archives using the same version. A staged CLI version mismatch, download or npm failure leaves the active generation available. Concurrent managed updates compare the active generation under a Unix file lock. The operating system releases the lock if activation exits. Previous managed generations are retained for active applications and recovery. For a verified global npm installation, update returns `preserved` with the existing version and an `npm install -g --prefix <prefix> @anyswarm/core@latest` command. It exits before resolving a release, staging a package or writing to that prefix. Running the installer explicitly can switch matching npm entry links to the managed generation while retaining the previous package files. For a project or other installation, update reports the installed path and a command for the user to run in its original scope. Project manifests, SDK locks, model configuration and backend programs are outside this update operation. The published v0.5.0 updater on Linux activates only the long alias when it upgrades to v0.5.1. Rerunning the current website installer in the same prefix activates both aliases. On macOS the same installation path uses the new package's platform-specific lock.
50
+ ### npm CLI installation and update
51
+
52
+ The package declares one npm executable, `anyswarm`, which points to the compiled host entry. A global npm install owns both `<prefix>/lib/node_modules/@anyswarm/core` and `<prefix>/bin/anyswarm` on Linux and macOS. A project install makes the same command available at `node_modules/.bin/anyswarm`. The Worker Dockerfile copies the bundled `dist/scripts/swarm.js` and creates its own `/usr/local/bin/swarm` in the image. Agent Service calls use that image-owned link and the existing Bridge authorization.
53
+
54
+ The homepage and Quickstart use `npm install -g @anyswarm/core` with Node.js 22.19 or later. npm resolves the registry package, checks its engine declaration, selects its global prefix, and owns installation and link failures. The local tarball path uses `npm install -g --prefix <prefix> <archive>`. Release verification does this outside the checkout, with lifecycle scripts disabled, and compares the installed executable's version to the candidate. The worktree, installed package, and user configuration remain independent.
55
+
56
+ Use `npm install -g @anyswarm/core@latest` for updates and `npm uninstall -g @anyswarm/core` for removal. Run `npm prefix -g` to identify the selected prefix and ensure its `bin` is on PATH. Use a writable prefix for permission errors. The old script-managed releases left links into `lib/anyswarm/current`. Clear only confirmed AnySwarm links when switching those installations to npm.
57
+
58
+ `anyswarm update` prints guidance for the active installation. It reads its package version, verifies that the invoked entry resolves to the global npm package and checks the corresponding `npm root -g` with a ten-second deadline. For a verified global install it reports the existing version, executable and an npm command pinned to that prefix, with result `preserved` and exit status 0. A terminal prints the guidance as text. Piped stdout contains the structured report. For a project or other installation it shows the package location and tells the caller how to use its original installation scope and exits 1. The command does not fetch releases, change packages or change local OpenSandbox configuration.
51
59
 
52
60
  ## Distribution file boundary
53
61
 
54
62
  `package.json` admits the compiled runtime, CLI, examples and explicit installed verification fixtures, their required source and assets, `docs`, the compiler configuration and Docker context exclusions, and the tracked root glossary, Agent instructions, dependency shrinkwrap, environment example and submodule declaration. npm also includes its mandatory package metadata and README. Runtime code, Worker/image preparation inputs, model catalog, prompts/skills, foreground/result scripts and editable example resources remain in the tarball. The archive excludes `test/` and `dist/test/`. Installed parity tests stage controlled test backends themselves. FATE, Orders and the historical TaskPool Runtime are built from a source checkout. They are excluded from the SDK archive. The opt-in installed integration tests stage their own benchmark assets when they run. The optional TaskPool and Mathlib Search images compile their standalone host entrypoints and transitive dependencies using dedicated configurations. The Worker build stages compiled Runtime and Worker files from the same installed package. It uses the compiled TaskPool CLI table to preserve its shorthand commands. The selected executor files are supplied by the host after package installation.
55
63
 
56
- `npm ci` in the checkout uses the tracked v3 shrinkwrap, which includes development dependencies. The checkout manifest is private. [Release packaging](../../scripts/pack-release.ts) builds by default and accepts `--skip-build` for checks that already compiled the tree. It uses npm's packlist to stage the distribution in a temporary directory, then writes a public manifest and removes development metadata and dev-only entries from the staged root shrinkwrap. It keeps production resolutions and integrity values from the checkout lock. The MCP client resolves `cross-spawn` 7.1.2 independently of the Pi development tool's 7.0.6 pin. The command writes the final archive to the supplied output directory, prints its absolute path and removes staging on success or failure. The registry and GitHub Release use the same final archive. Release verification serves it through a local registry and installs it by package name into an empty project and a separate global prefix. It checks both CLI aliases, the SDK import and the production audit. Manual verification accepts a candidate that shares a version with the current release. Tag runs additionally ask public npm to validate publication with a dry-run, so version reuse fails before publication.
64
+ `npm ci` in the checkout uses the tracked v3 shrinkwrap, which includes development dependencies. The checkout manifest is private. [Release packaging](../../scripts/pack-release.ts) builds by default and accepts `--skip-build` for checks that already compiled the tree. It uses npm's packlist to stage the distribution in a temporary directory, then writes a public manifest and removes development metadata and dev-only entries from the staged root shrinkwrap. It keeps production resolutions and integrity values from the checkout lock. The MCP client resolves `cross-spawn` 7.1.2 independently of the Pi development tool's 7.0.6 pin. The command writes the final archive to the supplied output directory, prints its absolute path and removes staging on success or failure. The registry and GitHub Release use the same final archive. Release verification serves it through a local registry and installs it by package name into an empty project and a separate global prefix. It checks the single public CLI, the Worker executable separately, the SDK import and the production audit. Manual verification accepts a candidate that shares a version with the current release. Tag runs additionally ask public npm to validate publication with a dry-run, so version reuse fails before publication.
57
65
 
58
66
  The packaging command sets a `022` umask before building, staging and packing. npm records existing member permissions, which can depend on the umask used to create the checkout. Before the final pack, the command sets staged regular files to `0755` if they have an execute bit and `0644` otherwise. Staging uses a private temporary directory and the checkout keeps its original permissions. Record the clean commit, Node and npm versions, and final SHA-256 with installed acceptance evidence.
59
67
 
60
- The Worker, TaskPool service-host and Mathlib Search image runtime stages copy the root manifest and shrinkwrap alongside each other, then use `npm ci --omit=dev --ignore-scripts`. The two Service build stages use the checkout's original pair, included in the archive as `package.development.json` and `npm-shrinkwrap.development.json`. Those names keep npm from reading the development lock during a public CLI or SDK install. Each build stage restores that pair to the standard names before `npm ci --include=dev` and TypeScript compilation. The image-input test verifies the shipped COPY inputs, offline installation from both lock variants and the pinned development Pi version. Physical image build and startup are separate checks.
68
+ The Worker, TaskPool service-host and Mathlib Search image runtime stages copy the root manifest and shrinkwrap alongside each other, then use `npm ci --omit=dev --ignore-scripts`. The two Service build stages restore the archive's `package.development.json` and `npm-shrinkwrap.development.json` to their standard names and run `npm ci --include=dev` before TypeScript compilation. Packaging builds this pair from the checked-in lock offline with the executor-only Pi development dependency removed. The published runtime manifest and lock also omit the compiler and Node types. The image-input test verifies the shipped COPY inputs, offline installation from both lock variants and the pinned compiler. Pi is selected from the separately installed executor. Physical image build and startup are separate checks.
61
69
 
62
70
  The archive license and image-context audits use the same package selection as external installation. When `ANYSWARM_TEST_PACKAGE_ARCHIVE` and `ANYSWARM_TEST_PACKAGE_SHA256` are supplied, the fixture validates the pair, reads and hashes the selected bytes, and writes a private snapshot before any tar or npm consumption. These audits inspect that snapshot and report missing required files from it. Without an explicit selection they pack the current checkout. An incorrect or incomplete frozen selection fails before packing a substitute. Regression checks provide a validly hashed archive missing the required license and Dockerfile and require each corresponding audit to fail on the missing file.
63
71
 
@@ -67,17 +75,23 @@ The archive includes the exact upstream Apache 2.0 license text beside the adapt
67
75
 
68
76
  ## Local setup and doctor
69
77
 
70
- The installed CLI parses flags before importing local setup. From a checkout, `./scripts/setup` builds the project as necessary and calls the same entry point. `--config` imports an explicit trusted ESM module and reads its adjacent `.env` without overriding previously set environment variables. The Runtime configuration preflight validates the resolved Sandbox, Runtime, model routes and file policy before smoke. Missing model configuration is reported separately from infrastructure readiness. Setup’s built-in model probe keeps user credentials on the host and uses a local controlled model.
78
+ The installed CLI parses flags before importing local setup. From a checkout, `./scripts/setup` builds the project as necessary and calls the same entry point. `--config` imports an explicit trusted ESM module and reads its adjacent `.env` without overriding previously set environment variables. The Runtime configuration preflight validates the resolved Sandbox, Runtime, model routes and file policy before smoke. An invalid active route blocks the probe. Missing model settings have their own state and remedy and do not block the controlled infrastructure smoke. Setup never contacts the configured model upstream. The first default Subagents Run reports the exact missing setting when its built-in configuration has no model URL or when Codex needs an explicit model ID. That preflight failure uses the normal configuration failure code and records cleanup complete before allocation.
71
79
 
72
80
  ### Connection resolution and checkout preparation
73
81
 
74
- Explicit configuration and command flags take precedence over supported environment values, the saved connection and the loopback default. Address sources and management are separate: setup with no explicit mode uses saved local ownership for the same endpoint, existing mode for an external address, or local mode for the unconfigured default. Explicit existing mode authenticates against the requested endpoint and saves it without Docker or local fallback. Its smoke check requires an explicit prepared image supplied by the operator. Direct read-only `doctor` does not allocate or start a provider.
82
+ The CLI resolves explicit configuration and flags, supported environment settings, the owner-only saved connection and then the default Lifecycle URL `http://127.0.0.1:8080/v1`. Setup defaults to the managed local profile and reuses credentials and backend/image settings for a matching endpoint. It can reuse a loopback connection saved in existing mode. Plain doctor also recognizes an explicitly configured loopback service even when it has no local ownership record. Managed local setup accepts HTTP Lifecycle on `localhost` or `127.0.0.1` with the standard `/v1` path. A configured nonloopback address in the default path is reported with its configuration source before any Lifecycle request. That check leaves the saved file in place. Use an explicit managed endpoint to replace a conflicting saved configuration after a successful probe.
83
+
84
+ `setup --mode existing` authenticates against the explicitly configured endpoint and saves it. `doctor --mode existing` reads that same connection and verifies it without Docker. Existing-mode smoke requires an explicit prepared Worker image from the operator. Plain doctor makes a bounded read-only Lifecycle and authentication check and allocates no Sandbox. The SDK connection resolver still accepts explicitly configured remote services.
75
85
 
76
86
  Setup writes schema 1 to `opensandbox.json` under `~/.config/anyswarm`, or `ANYSWARM_CONFIG_DIR` when selected. The directory must be owner-controlled. Reads and atomic 0600 writes protect the endpoint credentials, optional explicit Worker override, callback, management mode, managed container ID, backend kind and executable entry, and actual prepared image ID. The prepared ID is diagnostic evidence; the SDK checks current build inputs before choosing an image. Previous schema-less saved connections are ignored. The operator can rerun setup with this release’s desired mode and endpoint.
77
87
 
78
88
  ### Existing or locally managed OpenSandbox
79
89
 
80
- Local setup checks the host platform, Node version and access to a local Unix Docker context. macOS requires a Linux daemon matching the native Mac architecture; it does not fall back to emulation. Setup and local doctor resolve the client Unix socket and read daemon information without changing the context. A failed check points users to install and start Docker Desktop for Mac, or start their existing local Linux engine, then check context and environment overrides. Neither npm nor setup installs or launches an engine. Explicit existing mode does not check Docker. Successful setup uses the existing owner-only connection write, and plain doctor remains read-only. The checkout bootstrap waits up to 180 seconds for its directory lock (`flock` on Linux, `/usr/bin/lockf` on macOS), checks or rebuilds the checkout, and forwards the selected endpoint, backend, configuration and callback options to the same CLI entry. The backend selection uses an explicit `--backend` with optional `--backend-path`, a matching saved selection, or a detected npm executable on PATH. With two detected backends and no selection, terminal setup prompts for one. A noninteractive invocation must choose in that case. An unavailable backend reports the installation path and the failed version or startup check. An explicit `--backend-version` selects a matching saved executable or searches PATH and persists the pin with the path. A caller can combine it with `--backend-path` to verify a particular installation. A project executor pin takes precedence for that project. Both CLI installation flags require a locally built Worker; repeating explicit backend selection without a pin restores automatic version tracking. Plain doctor probes the saved executable without preparing a Worker. Setup uses the same material discovery and Worker preparation as the local SDK path described below.
90
+ Setup and doctor report the OS, architecture, and Node version and path. A separate advisory report records Git and npm versions and paths, or how to resolve a missing command. These advisory checks also work when running directly from a checkout or installed executable without npm on PATH. In managed local mode with no selected image or adapter, they look for a compatible Pi or Codex installation. Setup gives explicit backend flags priority, then uses a matching saved executable or checks PATH. For each backend the PATH search continues past unsupported wrappers and installations until a compatible executable is verified. If only one backend is compatible, setup selects it. An interactive setup can ask which backend to use when both are compatible. Automation selects one with `--backend` when the choice is ambiguous. The preflight reports the selected executable and actual version. An explicit `--backend-version` prefers a matching saved executable and searches PATH for the requested version. Combine it with `--backend-path` to verify a particular installation. Both flags require a locally built Worker. The optional pin is saved with the executable. Repeating explicit backend selection without a pin restores automatic version tracking. A project executor pin takes precedence for that project.
91
+
92
+ The local Docker check runs even when the backend is missing or fails verification so setup and doctor can report both failures before preparing anything. It resolves the current Unix socket and reads daemon information under bounded subprocess waits. The diagnostics distinguish a missing Docker CLI, a nonlocal context, unavailable daemon or socket, denied socket access, and an incompatible daemon. Linux install guidance uses the host's distribution family. A reachable engine reports its version, CLI version and active context when Docker supplies them. On macOS the missing-engine remedy checks standard system and user Applications directories for Docker Desktop and offers launch guidance when present. macOS requires a Linux daemon matching the native architecture and suggests Docker Desktop or the user's existing local engine. Diagnostics do not install dependencies or change contexts. Plain doctor verifies the saved executable and the local engine without building a Worker. Missing local Lifecycle prompts the user to run setup. Phase progress goes to stderr, with elapsed timings and a heartbeat during long operations. The final report goes to stdout as JSON.
93
+
94
+ The checkout bootstrap waits up to 180 seconds for its directory lock (`flock` on Linux or `/usr/bin/lockf` on macOS), builds as needed, and forwards endpoint, backend, configuration and callback options to the same CLI entry. Setup uses the same material discovery and Worker preparation as the local SDK path described below.
81
95
 
82
96
  The deployment uses the pinned OpenSandbox server, Execd and Egress images. On macOS it selects native Linux images and runs the server on a Docker bridge with the Lifecycle port published on Mac loopback only. The server listens on the container interface and uses the daemon VM's `/var/run/docker.sock`, not the Mac client's Unix socket. The Runtime reaches Execd, Worker and egress endpoints through the authenticated server proxy; the Linux host-network path is unchanged. Provider mutations use a per-port local lock (`flock` on Linux or persistent-file `lockf -k` on macOS). A different platform profile is not adopted. The inspected container name selects a candidate; its setup labels, owner token, state paths, Docker mount and network configuration, and recorded container ID establish ownership. The macOS profile requires the exact loopback port publication and VM socket bind. A matching stopped service is started by ID. A different same-name container, a port occupied by another process and failed Lifecycle authentication have distinct diagnoses. Local provider preparation creates a key and state directory only when needed. Failure cleanup only deletes infrastructure attributable to that attempt, and leaves resources in place when deletion cannot be confirmed or a Sandbox still uses them.
83
97
 
@@ -87,7 +101,7 @@ Before the macOS local smoke, a disposable container from the prepared Worker im
87
101
 
88
102
  ### CLI entry and authored projects
89
103
 
90
- The two installed host names `anyswarm` and `anys` share an entry. With no arguments they open the streaming composer on a suitable interactive terminal. Help and version exit without inspecting project files. A noninteractive launch reports supported explicit foreground or RPC options and exits promptly. A project that exports a Harness can use `anys run ./harness.ts --config ./config.ts --cwd ./input --prompt '<task>'`. Previously generated project hosts can still execute their own JavaScript entry explicitly. See the [streaming terminal chapter](25-foreground-tui.md) for configuration repair and terminal restoration.
104
+ The installed host command is `anyswarm`. With no arguments or with `--help`, it prints Quickstart and exits 0 without loading project configuration, creating Run records, or allocating a Sandbox. `--version` reads the installed package manifest. Invalid commands exit 2 with usage. Setup and doctor are explicit commands. See [Harness entry and lifecycle](23-project-harness.md) for source, one-shot and RPC admission, and [release CLI acceptance](../workflows/release-cli-acceptance.md) for installed verification.
91
105
 
92
106
  ## Entry points
93
107
 
@@ -139,7 +153,7 @@ The built-in Trace Viewer (`src/trace-viewer/`) opens an output root containing
139
153
 
140
154
  The [CI workflow](../../.github/workflows/ci.yml) runs on PRs targeting `main` and pushes to `main`. Each PR run checks out GitHub's test merge commit and compares it with its first parent, including a whitespace check. A push compares with the previous tip and fetches that commit if needed. The [change selector](../../.github/ci-scope.sh) reads added and deleted paths separately, including both sides of moves. It selects full Core and website checks if the comparison is unavailable or a changed path is outside the known documentation and website inputs. An update cancels the older run for the same PR. The token has read access to repository contents, and checkout leaves no Git credentials in the working tree.
141
155
 
142
- Documentation, website, README image and architecture inventory edits get the offline generated-reference and repository-link checks. Changes to the installer script, homepage install command or either Quickstart also get the focused installer tests. Website and guide changes build both locales. The website build also runs on full Core changes because the guides link to files in the repository and the site serves SDK examples. [Website CI](22-website.md#build-and-render)
156
+ Documentation, website, README image and architecture inventory edits get the offline generated-reference and repository-link checks. Changes to the homepage npm command or either Quickstart also check that those commands agree. Website and guide changes build both locales. The website build also runs on full Core changes because the guides link to files in the repository and the site serves SDK examples. [Website CI](22-website.md#build-and-render)
143
157
 
144
158
  Full coverage runs the Core test files in three parallel Linux runners. Each runner uses a fresh npm cache, builds and packs Core, and installs the tarball and Harness Session example in temporary directories. Those installs seed registry metadata so the package tests can run offline. The runner removes its temporary files and uses Node's test sharding over a sorted list of compiled test files. Tests run serially within each runner. The shards include the compiled Trace Viewer reader and server tests, including the installed-package check for `anyswarm trace`. Local `npm test` still runs the whole suite. Opt-in native and model tests stay disabled.
145
159
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  Runtime baseline: `45775d7312e62a791ab8a097c5e7715dc3c9d548`; review date: 2026-12-01. Runtime, configuration and documentation-tooling files are fingerprinted from the current tree. The baseline identifies the runtime tree used for this integration review; documentation-tooling fingerprints also include changes in the reviewed documentation branch. This is not a claim that every runtime branch was executed or semantically verified.
6
6
 
7
- The declared inventory contains **511 files**. Every in-scope file must have a role and an existing architecture chapter. New source files are rejected until deliberately mapped; removed files require mapping updates. Generated served assets and controlled fixtures are labeled separately below.
7
+ The declared inventory contains **510 files**. Every in-scope file must have a role and an existing architecture chapter. New source files are rejected until deliberately mapped; removed files require mapping updates. Generated served assets and controlled fixtures are labeled separately below.
8
8
 
9
9
  This is file-level coverage, not a claim of 100% branch verification. A matching hash says the referenced bytes are unchanged. It does not prove that prose is correct, tests passed, a provider launched, or collaboration succeeded. Maintain the narrative and review the whole affected flow before accepting regenerated fingerprints.
10
10
 
11
11
  ## Scope and explicit boundaries
12
12
 
13
- In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `website/`, `examples/services/`, `examples/taskpool/deploy/`, `examples/taskpool/services/judge/`, `test-support/taskpool-legacy/`, `benchmarks/kubernetes/`, `examples/first-harness/`, `examples/parallel-swarm/`, `examples/autoresearch/`, `examples/code/`, `examples/super/`. Root files: `package.json`, `npm-shrinkwrap.json`, `.env.example`, `.gitignore`, `.gitmodules`, `examples/notes/.npmignore`, `examples/subagents/.npmignore`, `examples/lead-worker/.npmignore`, `examples/substrate/.npmignore`, `examples/peermesh/.npmignore`, `tsconfig.json`, `tsconfig.tests.json`, `.dockerignore`, `benchmarks/fate/FateProofGuard.lean`, `benchmarks/fate/VerifyFateProof.lean`, `.github/workflows/ci.yml`, `.github/workflows/deploy-website.yml`, `.github/workflows/release.yml`, `examples/taskpool/.npmignore`, `benchmarks/programbench-pastel/pastel-code.ts`. Additional code/JSON files discovered outside excluded roots also fail the check until mapped.
13
+ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `website/`, `examples/services/`, `examples/taskpool/deploy/`, `examples/taskpool/services/judge/`, `test-support/taskpool-legacy/`, `benchmarks/kubernetes/`, `examples/first-harness/`, `examples/parallel-swarm/`, `examples/autoresearch/`, `examples/code/`, `examples/super/`. Root files: `package.json`, `npm-shrinkwrap.json`, `.env.example`, `.gitignore`, `.gitmodules`, `examples/notes/.npmignore`, `examples/subagents/.npmignore`, `examples/lead-worker/.npmignore`, `examples/substrate/.npmignore`, `examples/peermesh/.npmignore`, `tsconfig.json`, `tsconfig.tests.json`, `.dockerignore`, `benchmarks/fate/FateProofGuard.lean`, `benchmarks/fate/VerifyFateProof.lean`, `.github/workflows/ci.yml`, `.github/workflows/deploy-website.yml`, `.github/workflows/release.yml`, `.github/publish-npm-release.sh`, `examples/taskpool/.npmignore`, `benchmarks/programbench-pastel/pastel-code.ts`. Additional code/JSON files discovered outside excluded roots also fail the check until mapped.
14
14
 
15
15
  | Outside production coverage | Reason |
16
16
  |---|---|
@@ -141,7 +141,7 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
141
141
  | [examples/notes/notes.ts](../../examples/notes/notes.ts) | Notes Service schema and authenticated writer and reader evidence | [04-services](04-services.md), [08-prompts](08-prompts.md), [17-harness-reporting](17-harness-reporting.md) | `c1b15d663daa34bd36c07adcd84d29de26e7f5f8defcdb35c3303046789cb5fe` |
142
142
  | [examples/services/github-issues/index.ts](../../examples/services/github-issues/index.ts) | Read-only GitHub CLI Service backed by an application-owned subprocess and credential | [15-core-runtime](15-core-runtime.md) | `6ce8fa5bd017467aaab42ae5117673fd4f1cb077176841c450183683f15f243e` |
143
143
  | [examples/subagents/business.ts](../../examples/subagents/business.ts) | Shared editable Root and Child collaboration, ownership, work and Runtime reconciliation | [08-prompts](08-prompts.md), [17-harness-reporting](17-harness-reporting.md), [23-project-harness](23-project-harness.md) | `f7a7e3f6ae9d282648b0a425f0d23950f7076ceb4bf535598e221b0e6104053b` |
144
- | [examples/subagents/config.ts](../../examples/subagents/config.ts) | Local subagents host model, resource and deadline configuration | [17-harness-reporting](17-harness-reporting.md) | `f303e4dcc973187d7f0791e32a24aff38b8158607c0fe9c3c39f03550aad6f68` |
144
+ | [examples/subagents/config.ts](../../examples/subagents/config.ts) | Local subagents host model, resource and deadline configuration | [07-run-configuration](07-run-configuration.md), [17-harness-reporting](17-harness-reporting.md) | `828879b4b3a34a537cc6ca6143ca3ac49953fe48e6d070099cac677855cf08e0` |
145
145
  | [examples/subagents/harness/controller.ts](../../examples/subagents/harness/controller.ts) | Tree directory, trusted authorization, message routing, waits, continuation and result snapshots | [17-harness-reporting](17-harness-reporting.md), [08-prompts](08-prompts.md) | `7f9f38f583e8b733e2dfae2f85f3a1e6de907c45898d7d466407285145608d37` |
146
146
  | [examples/subagents/main.ts](../../examples/subagents/main.ts) | Editable Subagents compatibility entry for argv, readline, signals and the standalone report | [17-harness-reporting](17-harness-reporting.md), [08-prompts](08-prompts.md) | `f5114eb740dfa1981e5a520d5b0f0510c94b6aaac612b989eea45851138d8289` |
147
147
  | [examples/subagents/prompts/prompts.ts](../../examples/subagents/prompts/prompts.ts) | Production Root and Child instructions for the discovered collaboration Service | [17-harness-reporting](17-harness-reporting.md), [08-prompts](08-prompts.md) | `8c0169c335273040b8c3cbdfe98a7ad8c51dfa527cd4db3f16b6c0641a4ad53f` |
@@ -162,19 +162,21 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
162
162
  | [test-support/subagents/communication-fixture.ts](../../test-support/subagents/communication-fixture.ts) | Fixed communication fixture with text adoption and whole-tree reporting | [17-harness-reporting](17-harness-reporting.md), [08-prompts](08-prompts.md) | `65b442ee477ad0b32177b41840497bb2c03eaabd4e51fafa50183f932c577650` |
163
163
  | [test-support/subagents/stages.ts](../../test-support/subagents/stages.ts) | Optional four-group original-child identity and cumulative text adoption gate over actual controller admissions | [17-harness-reporting](17-harness-reporting.md) | `56186c410e13fb60f4cd518387fbea12a42d9061336ed0f9e8427d9d7517189b` |
164
164
 
165
- ### Harness (10)
165
+ ### Harness (12)
166
166
 
167
167
  | Source | Responsibility | Architecture chapters | SHA-256 |
168
168
  |---|---|---|---|
169
169
  | [examples/autoresearch/config.ts](../../examples/autoresearch/config.ts) | Typed custom evaluator configuration, Kimi identity and default shared budgets | [28-autoresearch](28-autoresearch.md) | `a4ea74dacbaee15fc369b030abf460b208d934989de94c2adec113ff50f9685f` |
170
- | [examples/autoresearch/demo.ts](../../examples/autoresearch/demo.ts) | Prepared FrontierCS-2 demo and public train / private final adapter | [28-autoresearch](28-autoresearch.md) | `ab03b1049541490f34eac9d9d3125a477cbe41e205e7baff9ca030d798d6aa60` |
171
- | [examples/autoresearch/eject.json](../../examples/autoresearch/eject.json) | AutoResearch source export inventory | [28-autoresearch](28-autoresearch.md) | `cf6bf21846ed53c1d13abce7ef8ae6423f941822f53b9c9cd5402d87efc5f67a` |
170
+ | [examples/autoresearch/demo.ts](../../examples/autoresearch/demo.ts) | Prepared FrontierCS-2 demo and public train / private final adapter | [28-autoresearch](28-autoresearch.md) | `c22d1ae6351eeb082516f3fab766c759ef151fa21eda18dbc0aa817ec3add996` |
171
+ | [examples/autoresearch/eject.json](../../examples/autoresearch/eject.json) | AutoResearch source export inventory | [28-autoresearch](28-autoresearch.md) | `27c5a105342134b6e9ad82e23a601661155610f2d4ceab4759f9d292df858be8` |
172
+ | [examples/autoresearch/frontiercs2-config.ts](../../examples/autoresearch/frontiercs2-config.ts) | Trusted configuration for the prepared FrontierCS-2 Run | [28-autoresearch](28-autoresearch.md) | `1d09562676e37d437998300ec41867eda01e65ecfceceb76849d62d0edc688fd` |
172
173
  | [examples/autoresearch/frontiercs2.ts](../../examples/autoresearch/frontiercs2.ts) | Pinned official workflow overlay, authorization, payload serialization and final verification | [28-autoresearch](28-autoresearch.md) | `96b8eb67c8de6424a61246d3936bc47bf3bf525da0aa026865d811c023bd8f55` |
173
- | [examples/autoresearch/prepare.ts](../../examples/autoresearch/prepare.ts) | FrontierCS-2 environment probes, reference run, image preparation and prepared manifest | [28-autoresearch](28-autoresearch.md) | `c709acbb3be290f1184c99701e98dc56be18f56b108d00e0474ae2142aff3408` |
174
+ | [examples/autoresearch/prepare-demo.ts](../../examples/autoresearch/prepare-demo.ts) | Example source command for trusted FrontierCS-2 preparation | [28-autoresearch](28-autoresearch.md) | `32e1b96a331c46c1d9387c9d0702fca551d88a57c3bfe86c9aada4e2b9c7a63f` |
175
+ | [examples/autoresearch/prepare.ts](../../examples/autoresearch/prepare.ts) | FrontierCS-2 environment probes, reference run, image preparation and prepared manifest | [28-autoresearch](28-autoresearch.md) | `1e205c7f28dbbc7d700caac7f00847272c316ccfbc1c7e3f0226b917283631e8` |
174
176
  | [examples/autoresearch/process.ts](../../examples/autoresearch/process.ts) | Bounded subprocess and CLI output handling for official evaluator operations | [28-autoresearch](28-autoresearch.md) | `3a011427c2a6bab0adde2300ef0b6193dfb4c1a6000df848b2d163d45edb74ce` |
175
- | [examples/autoresearch/project.ts](../../examples/autoresearch/project.ts) | Flat research team lifecycle, Runtime composition, budget and reporting | [28-autoresearch](28-autoresearch.md) | `7d34929d3952a6e7f4df5a29ec6167ddafbd92f812132632ffa8e9fb985fd6f6` |
176
- | [examples/autoresearch/README.md](../../examples/autoresearch/README.md) | AutoResearch quickstart and evaluator contract | [28-autoresearch](28-autoresearch.md) | `f9ed1add24cf9d757c250a4662a00fe95f74c2bc7b2ad8b5b9fa04a7a09869b7` |
177
- | [examples/autoresearch/REQUIREMENTS.zh.md](../../examples/autoresearch/REQUIREMENTS.zh.md) | AutoResearch acceptance requirements | [28-autoresearch](28-autoresearch.md) | `cef94df563f62e7cc7f1116dd1b15c752d8041546c054f628ab3026eefbe40af` |
177
+ | [examples/autoresearch/project.ts](../../examples/autoresearch/project.ts) | Flat research team lifecycle, Runtime composition, budget and reporting | [28-autoresearch](28-autoresearch.md) | `07314016d47bdbb19e12a0492d949152865ab55c718263be605bd0e2345e8aa1` |
178
+ | [examples/autoresearch/README.md](../../examples/autoresearch/README.md) | AutoResearch quickstart and evaluator contract | [28-autoresearch](28-autoresearch.md) | `c7f1e7438377dd34fc8f41c9ecf176dab410796e28f73af17c969e1a6993db47` |
179
+ | [examples/autoresearch/REQUIREMENTS.zh.md](../../examples/autoresearch/REQUIREMENTS.zh.md) | AutoResearch acceptance requirements | [28-autoresearch](28-autoresearch.md) | `f85bd5bb757175066434c93bf53f3274dd8f3d626730d13f8e82ef6337810479` |
178
180
  | [examples/autoresearch/research-service.ts](../../examples/autoresearch/research-service.ts) | Run-scoped research Board, peer messages and immutable candidate evaluation | [28-autoresearch](28-autoresearch.md) | `effb7cdc8db303af40886471a32bbff35ee346edc15821b6cf1df7bcec50f329` |
179
181
 
180
182
  ### Harness composition (3)
@@ -245,25 +247,26 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
245
247
  |---|---|---|---|
246
248
  | [.gitmodules](../../.gitmodules) | Pinned external PeerMesh source location and board schema attribution | [18-peermesh-harness](18-peermesh-harness.md) | `6160616b42057b75949236480e7505e9500561fd4d11194bb07bd5933b4d7a6c` |
247
249
 
248
- ### Personal (15)
250
+ ### Personal (16)
249
251
 
250
252
  | Source | Responsibility | Architecture chapters | SHA-256 |
251
253
  |---|---|---|---|
252
- | [examples/super/actions.ts](../../examples/super/actions.ts) | Standalone Slash Actions and background process admission | [27-personal](27-personal.md) | `22de82664909d9fa23a2f2e7371406e59ad286f1aaea04eff096fe8c7ec13a47` |
254
+ | [examples/super/actions.ts](../../examples/super/actions.ts) | Operator commands and background process admission | [27-personal](27-personal.md) | `17832bd448aecad64b3aaeebb08f1b7162de6f946ccfb2e169ba337453d2d24a` |
253
255
  | [examples/super/artifact.ts](../../examples/super/artifact.ts) | Validates project blobs and writes verified cumulative patches | [27-personal](27-personal.md) | `44dd2e94c6be57e1a75388fbee9476caab10f63893fecffbdb6250f124257652` |
254
- | [examples/super/config.ts](../../examples/super/config.ts) | Personal backend selection and runtime limits | [27-personal](27-personal.md) | `796331b7146ce9c4704dc2c64a70f0b6524dae78650e3dd406c00013e6595432` |
256
+ | [examples/super/config.ts](../../examples/super/config.ts) | Personal backend selection and runtime limits | [27-personal](27-personal.md) | `9cfea59fc9edd1f486e46eaa8195459686b284924b14e543f842328da39dec1a` |
255
257
  | [examples/super/coordinator.ts](../../examples/super/coordinator.ts) | Routes user turns and applies the Router’s scoped member decisions | [27-personal](27-personal.md) | `82912fa5c33ca5531a56869c45c14aeb69cf3084da9f66fcde2225d465e72a62` |
256
258
  | [examples/super/daemon.ts](../../examples/super/daemon.ts) | Private RPC observer transport, daemon lifecycle and disconnect semantics | [27-personal](27-personal.md) | `64c57976ca7acd58fa9be048382847e7c2679ee25788df66d6a61623d2f614c1` |
257
259
  | [examples/super/decisions.ts](../../examples/super/decisions.ts) | Durable owner decisions projected into inline Session cards | [27-personal](27-personal.md) | `c0d911fb051989ae0a5b24d54a838eedcb0e4914138fa659b1b9599e7c013b8f` |
258
- | [examples/super/eject.json](../../examples/super/eject.json) | TypeScript export manifest | [27-personal](27-personal.md) | `01e9bf7ccbb1d98f2133fb0cafbdd11386ceaad90fea4d419219cf1dc3b6a8ab` |
260
+ | [examples/super/eject.json](../../examples/super/eject.json) | TypeScript export manifest | [27-personal](27-personal.md) | `78f33f3172532f860286cd45f455838dd988a6dace3c8b44f5fe8c61bbab3754` |
259
261
  | [examples/super/execution.ts](../../examples/super/execution.ts) | Shared Runtime profiles, member lifecycle and live status | [27-personal](27-personal.md) | `0be4e436e2f53dc943e826ab9ae75832a8bf9c736ffd1e2bcf27a79d0d26a668` |
260
262
  | [examples/super/github.ts](../../examples/super/github.ts) | GitHub polling, repository reads, writes and reconciliation | [27-personal](27-personal.md) | `a48a18fd13da546630c2f641b2ed65dd353ff9a483e344fe28e99f609bbc83e6` |
261
263
  | [examples/super/inbox.ts](../../examples/super/inbox.ts) | SQLite receipt, work, payload and delivery state | [27-personal](27-personal.md) | `501f767c001a5d981aa000c26c2eaf1f9ed30a960ba98114b788ad11f7945f65` |
262
- | [examples/super/location.ts](../../examples/super/location.ts) | Private state paths, settings and SQLite ownership lock | [27-personal](27-personal.md) | `d2ddce184fb73a809e43282b1f198db07e37db0eb1ff33e3ee91f38fac82f293` |
264
+ | [examples/super/location.ts](../../examples/super/location.ts) | Private state paths, settings and SQLite ownership lock | [27-personal](27-personal.md) | `d973a3472c963e5b55dee731e69f76dd7585c191d74ca7d0781981122e47d835` |
265
+ | [examples/super/operator.ts](../../examples/super/operator.ts) | Example source command for daemon operations and signal handling | [27-personal](27-personal.md) | `4ef0dfb7d364db3a3bcef1079fe6b035963698f652c437f692fd966e3e8eed77` |
263
266
  | [examples/super/outbox.ts](../../examples/super/outbox.ts) | Checkpointed publication and conversation delivery | [27-personal](27-personal.md) | `bd1db91206e4179ea86846d3371615dd425f5528ac8d32b715e4fa708bd83dcf` |
264
- | [examples/super/project.ts](../../examples/super/project.ts) | Personal Harness, background observation and owner controls | [27-personal](27-personal.md) | `7699b0271f97a85b1a6bc3e30e607af2a5e0d8d84fda6afb9426c7c216aad2f8` |
267
+ | [examples/super/project.ts](../../examples/super/project.ts) | Personal Harness, background observation and owner controls | [27-personal](27-personal.md) | `f28f10095fc1a916ec6ab46db1a7022d5010180c18e897f0dbe4530ae7f745a6` |
265
268
  | [examples/super/prompts.ts](../../examples/super/prompts.ts) | Router, Worker and Reviewer prompts | [27-personal](27-personal.md), [08-prompts](08-prompts.md) | `94ac770c1123aa86a261e9430d259dedef7eaaeb7ad8e2fa00f55a8bede08598` |
266
- | [examples/super/README.md](../../examples/super/README.md) | Personal setup, Slash Action and TypeScript export guide | [27-personal](27-personal.md) | `97fe1c6e130605a21ddfacd09a2d83c92252d128f7c42fa2cdc3aca062e8ad8c` |
269
+ | [examples/super/README.md](../../examples/super/README.md) | Personal setup, Slash Action and TypeScript export guide | [27-personal](27-personal.md) | `6b67dcff4db6b81f824187001561a50cb28a31ad4eba7f4ad5a7599703b3363b` |
267
270
 
268
271
  ### Pi and sandbox execution (3)
269
272
 
@@ -280,7 +283,7 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
280
283
  | [src/harness/harness-event-stream.ts](../../src/harness/harness-event-stream.ts) | Ordered bounded Session and RPC client subscriptions and invalidation | [23-project-harness](23-project-harness.md) | `4065a25c5fbd96df6dc2a419eaa25ecf2c8decf38e42bae34036493993a8b70b` |
281
284
  | [src/harness/harness-session-types.ts](../../src/harness/harness-session-types.ts) | Public HarnessSession operations, capability descriptors, state, questions and result contracts | [23-project-harness](23-project-harness.md) | `0aa81be0ea75829944a302211d23ca26760c9907c835a9e33c34e7e6d9f6bfa9` |
282
285
  | [src/harness/harness-session-view.ts](../../src/harness/harness-session-view.ts) | UTF-8 budgets for terminal results and recoverable live snapshots | [23-project-harness](23-project-harness.md) | `2b2c801e319bb9fd8ead33b8134fdf10e4ae3a219cb1f9293faa8c4972d9a7ec` |
283
- | [src/harness/harness-session.ts](../../src/harness/harness-session.ts) | Shared project Session admission, request replay, question lifecycle, events and stop barriers | [23-project-harness](23-project-harness.md), [25-foreground-tui](25-foreground-tui.md) | `ae4853bcda1116884a6554e8d1317494738d7f3603d4e84d5f40f040420e93d3` |
286
+ | [src/harness/harness-session.ts](../../src/harness/harness-session.ts) | Shared project Session admission, request replay, question lifecycle, events and stop barriers | [23-project-harness](23-project-harness.md) | `ae4853bcda1116884a6554e8d1317494738d7f3603d4e84d5f40f040420e93d3` |
284
287
  | [src/harness/project-rpc-client.ts](../../src/harness/project-rpc-client.ts) | Typed package-root JSONL RPC client and event subscription | [23-project-harness](23-project-harness.md) | `e31ee87b00e76538e24de25dbfe791ca230697ba56f2528125fedfc78a4e2049` |
285
288
  | [src/harness/project-rpc-lines.ts](../../src/harness/project-rpc-lines.ts) | Strict UTF-8 encoding and bounded byte framing for JSON Lines | [23-project-harness](23-project-harness.md) | `cf48a22ce438da7bf7c51bd68087ec0b5cff9c938956f737b16a0c1c2e5f8b49` |
286
289
 
@@ -299,15 +302,15 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
299
302
  | Source | Responsibility | Architecture chapters | SHA-256 |
300
303
  |---|---|---|---|
301
304
  | [examples/services/persistent-board/business.ts](../../examples/services/persistent-board/business.ts) | Independent SQLite Board with committed durable publish and ordered read | [06-observability-experiments](06-observability-experiments.md) | `b8f19f196a4663d433306edb50839526195bd5e759d4616d611be8284b618925` |
302
- | [examples/services/persistent-board/index.ts](../../examples/services/persistent-board/index.ts) | Per-Run Board lifecycle, authenticated caller mapping and state presentation | [06-observability-experiments](06-observability-experiments.md), [25-foreground-tui](25-foreground-tui.md) | `d23ec57e28c6881891644c25ae50a0caa527824423cee3217d145b068ca274d4` |
305
+ | [examples/services/persistent-board/index.ts](../../examples/services/persistent-board/index.ts) | Per-Run Board lifecycle, authenticated caller mapping and state presentation | [06-observability-experiments](06-observability-experiments.md) | `d23ec57e28c6881891644c25ae50a0caa527824423cee3217d145b068ca274d4` |
303
306
  | [examples/services/persistent-board/interface.ts](../../examples/services/persistent-board/interface.ts) | Shared Board operations used by local and ordinary HTTP adapters | [06-observability-experiments](06-observability-experiments.md) | `77bf7fa6f212f0fec2108afab494b019e9d0c58d8633de9159b7978db8a19b69` |
304
307
  | [examples/services/persistent-board/package.json](../../examples/services/persistent-board/package.json) | Standalone installed-candidate Board build and launch commands | [06-observability-experiments](06-observability-experiments.md) | `e041a71a2ff00566d684eb9afa08149317b13333eb23925126cf97dffd58f5df` |
305
308
  | [examples/services/persistent-board/python/board.py](../../examples/services/persistent-board/python/board.py) | Independent Python SQLite Board business implementation | [06-observability-experiments](06-observability-experiments.md) | `e3c8e909e311cb487e5c3022f33f81d19714da5ca4b67411b297a572ca164a4a` |
306
309
  | [examples/services/persistent-board/python/server.py](../../examples/services/persistent-board/python/server.py) | Authenticated loopback REST mapping for the Python Board | [06-observability-experiments](06-observability-experiments.md) | `30bc014840ddbc4df43d87f6c3fd242e2cd84559771dfffbb59c245a28de424f` |
307
- | [examples/services/persistent-board/README.md](../../examples/services/persistent-board/README.md) | Public SDK installation and local or Python Board execution guide | [06-observability-experiments](06-observability-experiments.md) | `4c16b4828af4857586f7792eccf409aa50698ea835242b2ef89a64bdeba40d9a` |
310
+ | [examples/services/persistent-board/README.md](../../examples/services/persistent-board/README.md) | Public SDK installation and local or Python Board execution guide | [06-observability-experiments](06-observability-experiments.md) | `80a2ad9975e30b31ba24217d52fea096cb8b75dbd76bb0b741a54482854c6bae` |
308
311
  | [examples/services/persistent-board/run.ts](../../examples/services/persistent-board/run.ts) | Host grants, replacement reader and settled Service evidence verification for the installed Board | [06-observability-experiments](06-observability-experiments.md) | `027f4aa60d44dd01e6839414fbeb9730beb325416f9a7d213a5fd602dec035d6` |
309
312
  | [examples/services/persistent-board/tsconfig.json](../../examples/services/persistent-board/tsconfig.json) | Installed package compilation of the public Board example | [06-observability-experiments](06-observability-experiments.md) | `1823f757cf0aa244d50d9e15676daa1c51a98b4fab7c3544bc4873b563eb5a9b` |
310
- | [src/core/service-observation-types.ts](../../src/core/service-observation-types.ts) | Service public capture facts and declarative JSON Pointer summary and table contract | [06-observability-experiments](06-observability-experiments.md), [25-foreground-tui](25-foreground-tui.md) | `150ea4a963166f7de86d0158f19e032f9518109fc2ad97cdfd6131ad1c429dc5` |
313
+ | [src/core/service-observation-types.ts](../../src/core/service-observation-types.ts) | Service public capture facts and declarative JSON Pointer summary and table contract | [06-observability-experiments](06-observability-experiments.md) | `150ea4a963166f7de86d0158f19e032f9518109fc2ad97cdfd6131ad1c429dc5` |
311
314
 
312
315
  ### Trace Viewer (12)
313
316
 
@@ -355,8 +358,8 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
355
358
 
356
359
  | Source | Responsibility | Architecture chapters | SHA-256 |
357
360
  |---|---|---|---|
358
- | [.github/ci-scope.sh](../../.github/ci-scope.sh) | Change classification for Core, website, and public installer verification | [07-run-configuration](07-run-configuration.md) | `10c937869e183c92052aa13e21bcfe6195b700b8e90dff0b42b92782404b8851` |
359
- | [.github/workflows/ci.yml](../../.github/workflows/ci.yml) | Run scoped Core and website checks on pull requests and main | [07-run-configuration](07-run-configuration.md), [22-website](22-website.md) | `dc859c6dbb99e8128ec001babf538f36219e8e42f47d75c709043eabe4cb0ae9` |
361
+ | [.github/ci-scope.sh](../../.github/ci-scope.sh) | Change classification for Core, website, and public npm command verification | [07-run-configuration](07-run-configuration.md) | `f1b653ebc3be92a73e3d32e47bce443056a451d933540e59af4136c0c1423cb1` |
362
+ | [.github/workflows/ci.yml](../../.github/workflows/ci.yml) | Run scoped Core and website checks on pull requests and main | [07-run-configuration](07-run-configuration.md), [22-website](22-website.md) | `3e9982a5cfc788f0efae890e96278ecad727fde8d8c1994527024e55f92fa29a` |
360
363
 
361
364
  ### cli (1)
362
365
 
@@ -482,22 +485,23 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
482
485
  | [src/harness/input-admission.ts](../../src/harness/input-admission.ts) | Optional bounded FIFO actual-input admission shared across peer routers; cancellation and unknown-outcome queue fence | [18-peermesh-harness](18-peermesh-harness.md), [19-substrate-harness](19-substrate-harness.md) | `ac0f437672f4d5e3c9f7a4bd77286cac6727956bf24006a32203fbf42c04f8d4` |
483
486
  | [src/harness/owned-resources.ts](../../src/harness/owned-resources.ts) | Shared application resource ownership and bounded cleanup with retained/pending receipts | [18-peermesh-harness](18-peermesh-harness.md) | `e020f63e3fbd5874edde04ad0453911c5bc24214ccd39cd23a7c1c051279728b` |
484
487
  | [src/harness/project-git.ts](../../src/harness/project-git.ts) | Exact Git seed, authenticated push and populated checkout instructions | [23-project-harness](23-project-harness.md) | `44f9d29495d6a536b65d15f774edaea1addf29b1d608d1bb9d48778e6b97ac05` |
485
- | [src/harness/project-harness.ts](../../src/harness/project-harness.ts) | ESM Harness module loading, application Run admission, lifecycle and result persistence | [17-harness-reporting](17-harness-reporting.md), [23-project-harness](23-project-harness.md) | `881cc3fd0f3d12e92206bd235001d874c589793a2456ce5990839102e7960896` |
488
+ | [src/harness/project-harness.ts](../../src/harness/project-harness.ts) | ESM Harness module loading, application Run admission, lifecycle and result persistence | [17-harness-reporting](17-harness-reporting.md), [23-project-harness](23-project-harness.md) | `f356abf24f4588f5d4140c2cb556cb9f4aa644125beff67cfc378adee67ce417` |
486
489
  | [src/harness/project-input.ts](../../src/harness/project-input.ts) | Bounded capture of the selected host project and canonical initial file digest | [17-harness-reporting](17-harness-reporting.md), [23-project-harness](23-project-harness.md) | `4985c58c250ab37a29b6d31feb55a9fc689a563523c42cb93a66187589150d8b` |
487
490
  | [src/harness/project-rpc.ts](../../src/harness/project-rpc.ts) | Project Run JSONL protocol, request replay, bounded input queue and priority stop | [17-harness-reporting](17-harness-reporting.md), [23-project-harness](23-project-harness.md), [27-personal](27-personal.md) | `8dea4a887d23d2866fc8ba7a435838a487aaa8dc7be5697c31d09725163a34c0` |
488
- | [src/harness/project-runtime.ts](../../src/harness/project-runtime.ts) | Ordered Runtime event observation, configuration loading and result projection | [23-project-harness](23-project-harness.md), [28-autoresearch](28-autoresearch.md) | `87453c53fc8be613f7e5d5fb0bd1eb678b9910d5c3dd14592c9d99337575c46f` |
491
+ | [src/harness/project-runtime.ts](../../src/harness/project-runtime.ts) | Ordered Runtime event observation, configuration loading and result projection | [23-project-harness](23-project-harness.md), [28-autoresearch](28-autoresearch.md) | `a9d530fa1f44438a8042b453e198ef7a0dbad876417fb4a346bcc590ff401664` |
489
492
  | [src/harness/read-result.ts](../../src/harness/read-result.ts) | Read saved Harness and Core receipts with expected identity and bounded normal-output projection | [17-harness-reporting](17-harness-reporting.md) | `ea2f38e3aa129a96ff5165c384e4247d66b8c8c367c46e7261b8cc9af37b8ffe` |
490
493
  | [src/harness/run-input.ts](../../src/harness/run-input.ts) | Harness-owned exclusive idle Agent input wait and uncertain submission guard | [15-core-runtime](15-core-runtime.md) | `b7c96401d2b1f596cd48e04b2d9a6b9dc30541f1e0b1da85d4a2f57f4ad5555f` |
491
494
  | [src/harness/run-report.ts](../../src/harness/run-report.ts) | Compatibility Harness reporting and shared atomic persistence for application outcome reports | [17-harness-reporting](17-harness-reporting.md) | `b25a34a12530c8ebd5d0d0b18132badd36ce0fd7e0a64e08a7a8d9352604bb42` |
492
495
 
493
- ### launch and composition (61)
496
+ ### launch and composition (58)
494
497
 
495
498
  | Source | Responsibility | Architecture chapters | SHA-256 |
496
499
  |---|---|---|---|
497
500
  | [.env.example](../../.env.example) | Nonsecret example environment-variable names | [00-overview](00-overview.md), [07-run-configuration](07-run-configuration.md) | `635bc3737358ba0fa8fcd6791372089079c623a12a19dee02e9f56f6e433f3db` |
498
- | [.github/workflows/release.yml](../../.github/workflows/release.yml) | Candidate verification, tag-driven GitHub Release tarball publishing, and GHCR multi-arch Worker distribution | [07-run-configuration](07-run-configuration.md) | `a225c6f99f9795b7b4ee2942344e2c14873ff33b181f518e3d59ba5d2ca6e9e9` |
501
+ | [.github/publish-npm-release.sh](../../.github/publish-npm-release.sh) | Verified npm publication, retry integrity and stable distribution tag checks | [07-run-configuration](07-run-configuration.md) | `daf2ac322e56e729e5dc8d6271e997bbaa87040b1612187b020ba98ded5af85c` |
502
+ | [.github/workflows/release.yml](../../.github/workflows/release.yml) | Release archive verification, stable GitHub publication and npm Trusted Publishing | [07-run-configuration](07-run-configuration.md) | `ff1f3e7c8704a4e0f2bb1705f4f69f73f4e4f8b28a7f41dbb052a3be9b82f882` |
499
503
  | [.gitignore](../../.gitignore) | Raw evidence and credential retention boundary in the working tree and npm packlist | [00-overview](00-overview.md), [07-run-configuration](07-run-configuration.md) | `d9e08b8ad90fd74d8a69ba08c4f45777b0f2426a3df43c237d0a1be62c9d8cc9` |
500
- | [benchmarks/programbench-pastel/pastel-code.ts](../../benchmarks/programbench-pastel/pastel-code.ts) | One-shot ProgramBench adapter through the Code application | [26-code](26-code.md) | `a3e9ae4d38017cd434144d719bce5f660935bd9217a43f2d05b994183eabad54` |
504
+ | [benchmarks/programbench-pastel/pastel-code.ts](../../benchmarks/programbench-pastel/pastel-code.ts) | One-shot ProgramBench adapter through the Code application | [26-code](26-code.md) | `906a8876a95a9843f447522e36d0cc5dd1dc4f8e6632c497d59f0397592307b2` |
501
505
  | [deploy/worker/Dockerfile](../../deploy/worker/Dockerfile) | OpenSandbox agent image recipe containing the worker, Pi package and native shell tools | [01-agent-core](01-agent-core.md), [07-run-configuration](07-run-configuration.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md), [18-peermesh-harness](18-peermesh-harness.md) | `cd5dedb3d0740c2d6dddbbf2c0ede35524cd7c948ad50cddd378bfe4059e26a4` |
502
506
  | [deploy/worker/pi-models.json](../../deploy/worker/pi-models.json) | Native Pi compatible-provider catalog with runtime environment interpolation | [01-agent-core](01-agent-core.md), [07-run-configuration](07-run-configuration.md) | `5793995e07dbd632f4e1507fb2d76f3452ca2de9921d693bc8c9e4513598fd85` |
503
507
  | [examples/authoring/business.ts](../../examples/authoring/business.ts) | Editable business result for the TypeScript source export example | [23-project-harness](23-project-harness.md), [07-run-configuration](07-run-configuration.md) | `63148e28ffbea14a661eb38b7efeebf1c6261a26bc9235d4f0fdb72741fd6789` |
@@ -509,8 +513,8 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
509
513
  | [examples/code/eject.json](../../examples/code/eject.json) | Editable Code TypeScript source inventory | [26-code](26-code.md) | `3bea5786af3fab4b001317851163e347ad7bbe4dfa37af5c9aced3c3e1159a2f` |
510
514
  | [examples/code/project.ts](../../examples/code/project.ts) | Continuous Code turns, Root and editor ownership, Service control and writeback order | [26-code](26-code.md) | `da9b20347de63e6de069c3dcba1a84b305ddd68811654523c719a70a8f00d5d3` |
511
515
  | [examples/code/prompts.ts](../../examples/code/prompts.ts) | Code Root, editor, CLI and check confirmation prompts | [26-code](26-code.md) | `bb135b03a72fdd730f3f2f95fc2441a7e7b901b5a2ee2921c98943a6a85caaa3` |
512
- | [examples/code/README.md](../../examples/code/README.md) | Installed and exported Code quickstart | [26-code](26-code.md) | `ed4c5a04150e9d72aaca524a8c4dfe7d0a378dea0d0a8424a87e5b2208649b80` |
513
- | [examples/code/REQUIREMENTS.zh.md](../../examples/code/REQUIREMENTS.zh.md) | User-facing requirements exported with the Code application | [26-code](26-code.md) | `6c07ceea4a7eb1188230f70eb15862419cafc3beb0767c047556a7eab45cde8d` |
516
+ | [examples/code/README.md](../../examples/code/README.md) | Installed and exported Code quickstart | [26-code](26-code.md) | `a66559ca137eec0f830401d890e0b59cf46f4fe316f5712299c4e623e731a264` |
517
+ | [examples/code/REQUIREMENTS.zh.md](../../examples/code/REQUIREMENTS.zh.md) | User-facing requirements exported with the Code application | [26-code](26-code.md) | `2485761049fce7f8cec2ff15efad43f0117dd581937771783fb198900903dffd` |
514
518
  | [examples/code/verification.ts](../../examples/code/verification.ts) | Candidate diff, command selection and bounded host checks | [26-code](26-code.md) | `7c197f5fb66b62b7d872a19d02ebc02d74920fa4b886302e2220a6981472a948` |
515
519
  | [examples/code/worktree.ts](../../examples/code/worktree.ts) | Conflict-aware host writeback, rollback and recovery artifacts | [26-code](26-code.md) | `48b226810354cb53bcae2e5930c662de96b76327440790e3b10f27251934f293` |
516
520
  | [examples/lead-worker/project.ts](../../examples/lead-worker/project.ts) | Static and dynamic Lead–Worker project dispatch and final delivery receipt | [23-project-harness](23-project-harness.md) | `0d4ab3ad33a02d701d2718ae8d9443e66cd9e953d9ca198d8d1d713a47615ce8` |
@@ -523,7 +527,7 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
523
527
  | [examples/peermesh/config.ts](../../examples/peermesh/config.ts) | Installed foreground PeerMesh configuration with host-owned prerequisites and finite defaults | [17-harness-reporting](17-harness-reporting.md), [18-peermesh-harness](18-peermesh-harness.md) | `cbd46e47b16586ca7e696707698cca13a7cf749ce6cc7a25bbc3e7eb54a8214c` |
524
528
  | [examples/peermesh/project.ts](../../examples/peermesh/project.ts) | PeerMesh project issue, installed files, work limit and main export | [23-project-harness](23-project-harness.md) | `26137c9bd6f47b339d7400e5012e6d638e079f4b0a0fc14b22c83c6c41b7b695` |
525
529
  | [examples/services/mathlib-search/main.ts](../../examples/services/mathlib-search/main.ts) | Mathlib HTTP provider process and environment settings | [00-overview](00-overview.md), [07-run-configuration](07-run-configuration.md) | `4a55dab05ac78c57f6f91a04b588c263d5d65ccb2801b79d1d27722873b39841` |
526
- | [examples/services/persistent-board/live.ts](../../examples/services/persistent-board/live.ts) | Package-root live Board Harness with committed SQLite inputs and bounded observation | [15-core-runtime](15-core-runtime.md), [23-project-harness](23-project-harness.md), [25-foreground-tui](25-foreground-tui.md) | `1c7dc21892d3f6362b651c7f6d2804ab81c99e219e0233e70ed6d277490c121f` |
530
+ | [examples/services/persistent-board/live.ts](../../examples/services/persistent-board/live.ts) | Package-root live Board Harness with committed SQLite inputs and bounded observation | [15-core-runtime](15-core-runtime.md), [23-project-harness](23-project-harness.md) | `1c7dc21892d3f6362b651c7f6d2804ab81c99e219e0233e70ed6d277490c121f` |
527
531
  | [examples/subagents/project.ts](../../examples/subagents/project.ts) | Subagents project dispatch, frozen child input and Root RPC input | [23-project-harness](23-project-harness.md) | `872351f90b46d394b73f4586bdabb1a87154b47da7db3ce076a03f0b40b8d0e6` |
528
532
  | [examples/substrate/.npmignore](../../examples/substrate/.npmignore) | Exclude default Substrate run evidence from packaged examples | [19-substrate-harness](19-substrate-harness.md) | `4f347b7f780abf93930c372030ab51e2a9f1e593acfbb6f582ebeccc661bbecc` |
529
533
  | [examples/substrate/config.ts](../../examples/substrate/config.ts) | Host-only Kimi K3 Substrate configuration and finite resource defaults | [19-substrate-harness](19-substrate-harness.md) | `47cadf45903856b10e7295bce0369bbeb0d05b37eab5a47dd38096f2f91c35f1` |
@@ -532,24 +536,20 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
532
536
  | [examples/taskpool/deploy/service-hosts/service-host-entrypoint.sh](../../examples/taskpool/deploy/service-hosts/service-host-entrypoint.sh) | Explicit Judge checker prebuild gate and persistent volume marker | [04-services](04-services.md), [07-run-configuration](07-run-configuration.md) | `eca94a28cbf6090e370b347bbace2e6215f68bef5ab90dad137506fcba0523ae` |
533
537
  | [examples/taskpool/deploy/service-hosts/start-service-host.ts](../../examples/taskpool/deploy/service-hosts/start-service-host.ts) | Built-in HTTP service process composition and environment settings | [00-overview](00-overview.md), [07-run-configuration](07-run-configuration.md) | `b2c7a7bd1033957c365b35a3ff0382cbe8b56422eff331dd79e35a3a028e3c82` |
534
538
  | [examples/taskpool/project.ts](../../examples/taskpool/project.ts) | TaskPool Mission and Workspace instantiation, fixed discovery files and reports | [23-project-harness](23-project-harness.md) | `d68377303c02955305fee12e3edf863f3791dd493ea1e3d5f690ffeef43b9abf` |
535
- | [npm-shrinkwrap.json](../../npm-shrinkwrap.json) | Checkout dependency resolution and input to the production and service-build release locks | [00-overview](00-overview.md), [07-run-configuration](07-run-configuration.md), [15-core-runtime](15-core-runtime.md) | `eac1d75c7073f19db37891934c4800a5394ca8b782daebf22c9b6e45a67ca3ab` |
536
- | [package.json](../../package.json) | Node support, dependency requirements and executable package scripts | [00-overview](00-overview.md), [07-run-configuration](07-run-configuration.md), [15-core-runtime](15-core-runtime.md), [25-foreground-tui](25-foreground-tui.md) | `85a30723d5dd867c5fb3fa6ff5acc65580311466a0aff0b49780bdb52628c159` |
537
- | [scripts/anyswarm-applications.ts](../../scripts/anyswarm-applications.ts) | Bundled aliases, application module locations and terminal lifetime defaults | [25-foreground-tui](25-foreground-tui.md), [23-project-harness](23-project-harness.md), [27-personal](27-personal.md) | `ae2a2cb99a4a1462ea5275add6cf04352c3f5ffc2566e1571b52e67427c4a017` |
538
- | [scripts/anyswarm-arguments.ts](../../scripts/anyswarm-arguments.ts) | Shared host command syntax and setup wrapper arguments | [07-run-configuration](07-run-configuration.md), [25-foreground-tui](25-foreground-tui.md) | `6609da313cf2a050a5901ba26eba7eff7ed91b88d0c70c8e4eec1a13198a8bfe` |
539
+ | [npm-shrinkwrap.json](../../npm-shrinkwrap.json) | Checkout dependency resolution and input to the production and service-build release locks | [00-overview](00-overview.md), [07-run-configuration](07-run-configuration.md), [15-core-runtime](15-core-runtime.md) | `3dee7ab06ab691d472512c84b210cbe6b86245f0314b1ac4da322c9b8609e514` |
540
+ | [package.json](../../package.json) | Node support, dependency requirements and executable package scripts | [00-overview](00-overview.md), [07-run-configuration](07-run-configuration.md), [15-core-runtime](15-core-runtime.md) | `7e807d35a9e4d1b838cec63a2804be2904b1c20f0d8ccb537d96088ba8b8cc25` |
541
+ | [scripts/anyswarm-arguments.ts](../../scripts/anyswarm-arguments.ts) | Shared host command syntax and setup wrapper arguments | [07-run-configuration](07-run-configuration.md) | `5c43571b52783092c453601bc677b6567fa24d7d36978d725db026050949b420` |
539
542
  | [scripts/anyswarm-author.ts](../../scripts/anyswarm-author.ts) | Source CLI child launch, signal forwarding and eject dispatch | [23-project-harness](23-project-harness.md), [07-run-configuration](07-run-configuration.md) | `6d77310ee4d7f4c220aff6d9058f7f3a4268e356fb0b2a502f556f7e114fcb0e` |
540
- | [scripts/anyswarm-eject.ts](../../scripts/anyswarm-eject.ts) | Source allowlist, exact SDK dependency and atomic export activation | [23-project-harness](23-project-harness.md), [07-run-configuration](07-run-configuration.md) | `fff2fffdf9fa94caf23aa0e8732edc7545937ccfd34e5f44b461933ccf72a709` |
541
- | [scripts/anyswarm-harnesses.ts](../../scripts/anyswarm-harnesses.ts) | Installed Harness and application module resolution | [23-project-harness](23-project-harness.md), [25-foreground-tui](25-foreground-tui.md) | `b71ad61caa80eff1e9edc496e5ef3276142a00b84743aea44805fabb2bfaa068` |
542
- | [scripts/anyswarm-installation.ts](../../scripts/anyswarm-installation.ts) | Managed CLI verification, update and atomic activation | [07-run-configuration](07-run-configuration.md), [22-website](22-website.md), [25-foreground-tui](25-foreground-tui.md) | `bf0ff2868e7fcbbe62a4858ab996454bafccb40190bed0dc41b51533dbeaf574` |
543
- | [scripts/anyswarm-launch.ts](../../scripts/anyswarm-launch.ts) | Shared Harness module loading, Slash Actions and transport selection | [23-project-harness](23-project-harness.md), [25-foreground-tui](25-foreground-tui.md), [28-autoresearch](28-autoresearch.md) | `3682ebfbe48bc3cb09efa94e83e8d33ad02f287049f1f2e4a948d008c46dc0cd` |
544
- | [scripts/anyswarm-project.ts](../../scripts/anyswarm-project.ts) | Installed project command, stream ownership, signal handling and protocol flush | [17-harness-reporting](17-harness-reporting.md), [23-project-harness](23-project-harness.md), [25-foreground-tui](25-foreground-tui.md), [28-autoresearch](28-autoresearch.md) | `8bb6162232bde2d0dd0250e44eb620fa958c9530879752f69f6428b91d4c67d8` |
545
- | [scripts/anyswarm-source-runner.ts](../../scripts/anyswarm-source-runner.ts) | TypeScript source execution, project Harness detection and source diagnostics | [23-project-harness](23-project-harness.md), [07-run-configuration](07-run-configuration.md) | `d9020a21c021d205c3b218c6659b9c0dd1c3de4908aa3fbc611f04d274aa1e0d` |
546
- | [scripts/anyswarm-tui-config.ts](../../scripts/anyswarm-tui-config.ts) | Trusted launcher configuration selection, diagnostics and owner-only preferences | [25-foreground-tui](25-foreground-tui.md) | `9601bf7dfba5961860383fc796fcbc2d0a94075d8c0d5fc542533d6b3f09f1d5` |
547
- | [scripts/anyswarm-tui-session.ts](../../scripts/anyswarm-tui-session.ts) | Bounded Session stream observation, stable control identities and receipt reconciliation | [25-foreground-tui](25-foreground-tui.md) | `9fe1190d0226625ac0f7c23dc84d907db4d5f8f56e4e8687114fec5a50fe1a3c` |
548
- | [scripts/anyswarm-tui-terminal.ts](../../scripts/anyswarm-tui-terminal.ts) | Raw terminal mode, Unicode input, bracketed paste and restoration | [25-foreground-tui](25-foreground-tui.md) | `77739509b55db6652ea6550d37da1dc45656f62ad3158efbfae584f0db1e07ed` |
549
- | [scripts/anyswarm-tui.ts](../../scripts/anyswarm-tui.ts) | Streaming terminal, inline questions, Agent controls and foreground or observer lifecycle | [25-foreground-tui](25-foreground-tui.md), [23-project-harness](23-project-harness.md), [28-autoresearch](28-autoresearch.md) | `ecf0ea10f5bf70c4f3b7567a90d15fcdbc09f4a9f190ca6cf89907da76b8fc55` |
550
- | [scripts/anyswarm.ts](../../scripts/anyswarm.ts) | Host CLI dispatch, current-project interactive entry, signal handling and exit status | [07-run-configuration](07-run-configuration.md), [24-runtime-recovery](24-runtime-recovery.md), [25-foreground-tui](25-foreground-tui.md) | `55ed4da16b306b04f9593499552e2960acc696db5b0071b62fd659644d06694a` |
551
- | [scripts/local-setup.ts](../../scripts/local-setup.ts) | Shared setup and doctor orchestration, staged timing and cleanup receipts | [07-run-configuration](07-run-configuration.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `e909766a48619208995bd252c21ebfe83f81916c38dd41c8093a88ec57a97d94` |
552
- | [scripts/pack-release.ts](../../scripts/pack-release.ts) | Stage the npm allowlist and publish a production-only shrinkwrap while preserving service build inputs | [07-run-configuration](07-run-configuration.md) | `11b5a010f41efa22896267cfcd6f3bb9bb03b770884555c2da7855a825db3aa8` |
543
+ | [scripts/anyswarm-eject.ts](../../scripts/anyswarm-eject.ts) | Source allowlist, exact SDK dependency and atomic export activation | [23-project-harness](23-project-harness.md), [07-run-configuration](07-run-configuration.md) | `9a30118bbdb318e7c2ba584ca8c80d3a90a4d9d30b529b08bdca3c3b33947b8c` |
544
+ | [scripts/anyswarm-harnesses.ts](../../scripts/anyswarm-harnesses.ts) | Installed built-in Harness aliases | [23-project-harness](23-project-harness.md) | `1b140b95a500afd832883a46676d7cb389dccd986b94a5942174220bb2240d00` |
545
+ | [scripts/anyswarm-installation.ts](../../scripts/anyswarm-installation.ts) | Installed CLI ownership checks and package-manager update guidance | [07-run-configuration](07-run-configuration.md), [22-website](22-website.md) | `384e8dfe1381d6f0002ed3b7299950b51b22c3392f1f75a5bd2fa31b0cc184ce` |
546
+ | [scripts/anyswarm-launch.ts](../../scripts/anyswarm-launch.ts) | Trusted Harness module loading, workspace selection and Session creation | [23-project-harness](23-project-harness.md), [28-autoresearch](28-autoresearch.md) | `59ed59db6d1bd75b1d08243cf6edfedff90f6656c4ca677b6a452fd3338fc537` |
547
+ | [scripts/anyswarm-progress.ts](../../scripts/anyswarm-progress.ts) | Human-readable foreground lifecycle, artifact and Trace output | [23-project-harness](23-project-harness.md), [28-autoresearch](28-autoresearch.md) | `a74652b06a0b9810898e19ee8f223c22dd74c347e1316beee58c62f58904673b` |
548
+ | [scripts/anyswarm-project.ts](../../scripts/anyswarm-project.ts) | Installed project command, stream ownership, signal handling and protocol flush | [17-harness-reporting](17-harness-reporting.md), [23-project-harness](23-project-harness.md), [28-autoresearch](28-autoresearch.md) | `a22b413e2ca884710232f247695b0889f571692d6697503eee3bd3586036aa63` |
549
+ | [scripts/anyswarm-source-runner.ts](../../scripts/anyswarm-source-runner.ts) | TypeScript source execution, project Harness detection and source diagnostics | [23-project-harness](23-project-harness.md), [07-run-configuration](07-run-configuration.md) | `b7358e5aeee5d3641f233bbc9495800d228d22bf5996ea55a2c1a71d29bf0f92` |
550
+ | [scripts/anyswarm.ts](../../scripts/anyswarm.ts) | Host CLI dispatch, current-project interactive entry, signal handling and exit status | [07-run-configuration](07-run-configuration.md), [24-runtime-recovery](24-runtime-recovery.md) | `23e9f785f0e3d3b822f426d04f0323674f9abf7235c2e6b690c19e6bc8ee3cdc` |
551
+ | [scripts/local-setup.ts](../../scripts/local-setup.ts) | Shared setup and doctor orchestration, staged timing and cleanup receipts | [07-run-configuration](07-run-configuration.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `e9f00f9c5db7d29759e0cd749de6c13402bc615bb7bef464900de3fbd9f0dafe` |
552
+ | [scripts/pack-release.ts](../../scripts/pack-release.ts) | Stage the npm allowlist and publish a production-only shrinkwrap while preserving service build inputs | [07-run-configuration](07-run-configuration.md) | `259ca9d5ef014a6bc50e1f84be3252cb8ba818b44947cda1fef6dd02a5831cb1` |
553
553
  | [scripts/read-harness-result.ts](../../scripts/read-harness-result.ts) | Host CLI for saved result inspection using the shared reader | [17-harness-reporting](17-harness-reporting.md) | `ed6a59e4710cf077b52fc128c491c86641d402fb5b6dbfa3c979510e12c26ad8` |
554
554
  | [scripts/run-harness.ts](../../scripts/run-harness.ts) | Foreground host CLI for explicit local Harness configuration and bounded control | [17-harness-reporting](17-harness-reporting.md) | `415a154e08f472c6f2442c67a74000456a53b3add4c5e979126ef074f25a3464` |
555
555
  | [scripts/setup](../../scripts/setup) | Clean-checkout local setup launcher and Node.js version gate | [07-run-configuration](07-run-configuration.md) | `1d1c4f1e716ea8ca6028cb8b4053a69a2d9c9458c5511cab4915af50ec3eea9f` |
@@ -616,32 +616,31 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
616
616
  | [deploy/opensandbox-kubernetes/README.md](../../deploy/opensandbox-kubernetes/README.md) | Operator procedure, acceptance boundaries and approval gates for Kubernetes deployment and workload verification. | [24-runtime-recovery](24-runtime-recovery.md) | `5e24e98ab00e956a00f15a795820e71e6453f94fdf4acdb0c9c27c506c19d402` |
617
617
  | [deploy/opensandbox/config.toml](../../deploy/opensandbox/config.toml) | Pinned local OpenSandbox Docker deployment recipe | [07-run-configuration](07-run-configuration.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `b8d9a2102f7854b945dfc962864a92cd8ef492ff4f16a05c609579ac24fef334` |
618
618
  | [examples/services/mathlib-search/Dockerfile](../../examples/services/mathlib-search/Dockerfile) | Mathlib provider image recipe | [04-services](04-services.md), [07-run-configuration](07-run-configuration.md), [08-prompts](08-prompts.md), [10-service-api-reference](10-service-api-reference.md) | `364426adf705d148007bf7f64eb6509e73bd37961e9edbb4dc2af9cebf0f637e` |
619
- | [examples/services/mathlib-search/README.md](../../examples/services/mathlib-search/README.md) | Mathlib provider configuration and operation notes | [04-services](04-services.md), [07-run-configuration](07-run-configuration.md), [08-prompts](08-prompts.md), [10-service-api-reference](10-service-api-reference.md) | `b6960c022b735ad785c4fb9e4f5dd6f9e836409bb71fcb3cc14ce530afb9469a` |
619
+ | [examples/services/mathlib-search/README.md](../../examples/services/mathlib-search/README.md) | Mathlib provider configuration and operation notes | [04-services](04-services.md), [07-run-configuration](07-run-configuration.md), [08-prompts](08-prompts.md), [10-service-api-reference](10-service-api-reference.md) | `35e35120b8dfb744a50dd4b03c36e0a53c70eff4d3d3e234939f9fe5be7223c3` |
620
620
  | [examples/services/mathlib-search/references/loogle.md](../../examples/services/mathlib-search/references/loogle.md) | Repository-owned query guidance loaded by bundle | [04-services](04-services.md), [07-run-configuration](07-run-configuration.md), [08-prompts](08-prompts.md), [10-service-api-reference](10-service-api-reference.md) | `3aff1ebba86327de5465c0b44b37cb5ec57f5bac6b07c90ed211a0b2f02376bd` |
621
621
  | [examples/services/mathlib-search/service.json](../../examples/services/mathlib-search/service.json) | Optional provider manifest, schemas, help and documentation declarations | [04-services](04-services.md), [07-run-configuration](07-run-configuration.md), [08-prompts](08-prompts.md), [10-service-api-reference](10-service-api-reference.md) | `caecf2c6344e0f2777b7135a3c6a7fccb3f93d618d11430480b800551038bfae` |
622
622
  | [examples/services/mathlib-search/SKILL.md](../../examples/services/mathlib-search/SKILL.md) | Repository-owned full Mathlib tool usage instructions loaded by bundle | [04-services](04-services.md), [07-run-configuration](07-run-configuration.md), [08-prompts](08-prompts.md), [10-service-api-reference](10-service-api-reference.md) | `e7f79c40eed183b5a5bb0568923ec5575d450016dba41ff5a7cef94414e6f27c` |
623
623
  | [examples/taskpool/deploy/service-hosts/compose.yaml](../../examples/taskpool/deploy/service-hosts/compose.yaml) | Four-process isolated service deployment with independent persistent volumes | [04-services](04-services.md), [07-run-configuration](07-run-configuration.md) | `056fe0285146226c9f4e20ccdc2c8249b68f30bab3994a619f2c9a4bcb3e95dd` |
624
624
  | [examples/taskpool/deploy/service-hosts/Dockerfile](../../examples/taskpool/deploy/service-hosts/Dockerfile) | Built-in service image recipe and persisted database mount | [04-services](04-services.md), [07-run-configuration](07-run-configuration.md), [08-prompts](08-prompts.md), [10-service-api-reference](10-service-api-reference.md) | `48230908ac6525a76c5e2a97ff631b1cb21aa5b0854f265c5e8e486a99ecb190` |
625
625
  | [examples/taskpool/deploy/service-hosts/README.md](../../examples/taskpool/deploy/service-hosts/README.md) | Built-in provider deployment configuration | [04-services](04-services.md), [07-run-configuration](07-run-configuration.md), [08-prompts](08-prompts.md), [10-service-api-reference](10-service-api-reference.md) | `900942d9c67666630490b8f7c4b46c2ec08c51c68b2872ea0aab905e300391e2` |
626
- | [scripts/local-environment.ts](../../scripts/local-environment.ts) | Shared host configuration, same-host diagnostic checks and ownership of the pinned OpenSandbox deployment | [07-run-configuration](07-run-configuration.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `1b47c7d6dd1be9b917e85fda08ec6d1d612bf0916577625f251023025fb1c080` |
626
+ | [scripts/local-environment.ts](../../scripts/local-environment.ts) | Shared host configuration, same-host diagnostic checks and ownership of the pinned OpenSandbox deployment | [07-run-configuration](07-run-configuration.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `2f366544830d181a42f283a526743dae5779e520fcf2357b3df0cb2bfac7fdcb` |
627
627
  | [scripts/local-setup-smoke.ts](../../scripts/local-setup-smoke.ts) | Real temporary Runtime probe, artifact verification and cleanup | [07-run-configuration](07-run-configuration.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md), [08-prompts](08-prompts.md) | `f528f4810e6ac881eca2c6bda2ecf5a7f7b95a4fe8620bf58ee39e1580a669fd` |
628
628
  | [scripts/local-setup-upstream.ts](../../scripts/local-setup-upstream.ts) | Loopback controlled Responses server and fixed probe tool sequence | [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md), [08-prompts](08-prompts.md) | `633f6474a54160d965672fe93af213bd976b6fefcddca2b713e6ec8e8ebeb497` |
629
629
  | [scripts/local-setup-worker.ts](../../scripts/local-setup-worker.ts) | Worker image selection, identity and compatibility checks, local build and pull | [07-run-configuration](07-run-configuration.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `cd309b07807d9a54d951b29a5272867710c503fc9cea757582d5031c97a2af73` |
630
630
  | [src/core/sandbox/local-executor.ts](../../src/core/sandbox/local-executor.ts) | Host executable discovery and immutable npm program snapshot | [07-run-configuration](07-run-configuration.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `53f8889a2190ef519eacc2d5fc1c6ef30d4ec2c36834a44909e86466c5098900` |
631
631
  | [src/core/sandbox/local-worker.ts](../../src/core/sandbox/local-worker.ts) | Installed SDK Worker context, content identity, local build and cache verification | [07-run-configuration](07-run-configuration.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `d786bad4a94c22199c2c7e91396b8e7ff508de3eeb6885f4919cd7f877124d5c` |
632
632
 
633
- ### public documentation website (55)
633
+ ### public documentation website (54)
634
634
 
635
635
  | Source | Responsibility | Architecture chapters | SHA-256 |
636
636
  |---|---|---|---|
637
- | [.github/workflows/deploy-website.yml](../../.github/workflows/deploy-website.yml) | Build, upload and deploy the static website to GitHub Pages from main | [22-website](22-website.md) | `70bae100dbdf859dbf3e7f1d61ed7e96ab3d7e25f6c054a685fcb1720b67d146` |
637
+ | [.github/workflows/deploy-website.yml](../../.github/workflows/deploy-website.yml) | Build, upload and deploy the static website to GitHub Pages from main | [22-website](22-website.md) | `1cae91aa981987903ebda7067d847dbd3adde2c7fab64c1e0214c071a12eb0ac` |
638
638
  | [website/.gitignore](../../website/.gitignore) | Exclude local dependency, cache and compiled site directories | [22-website](22-website.md) | `0db8bd6c594178190fc23344aa1c5ff73241ebf21d78dfc8a2d206c1dbaea598` |
639
639
  | [website/astro.config.mjs](../../website/astro.config.mjs) | Static build and Markdown rendering configuration, deployment origin and base | [22-website](22-website.md) | `bcbe6b513cb8a39fcb6eb76baafc6487489492d923cb7b5bb1ecf0d9f4188265` |
640
640
  | [website/package-lock.json](../../website/package-lock.json) | Locked site build dependencies and package integrity | [22-website](22-website.md) | `5989c5d31c92dd5c43dc6b294971b7d69d9f44f51c49be3432d64c0a3d96ec19` |
641
641
  | [website/package.json](../../website/package.json) | Site dependencies and local development, build and preview entry points | [22-website](22-website.md) | `7b9c54a7b5b786fb8f2863d00998022451b5428b15b46d40a8776aafb79b25ac` |
642
642
  | [website/public/anyswarm-logo.png](../../website/public/anyswarm-logo.png) | Downloadable transparent raster export of the six-bird logo | [22-website](22-website.md) | `fbc8cd18a8c88bb36a29611e84006f5c28ee145548a7edfcf0b036cd361d47f9` |
643
643
  | [website/public/favicon.svg](../../website/public/favicon.svg) | Public site icon | [22-website](22-website.md) | `05ef578d57306b493db211db734b7ea13d0fcee0bb080fb9eaf8256ab08cc8d6` |
644
- | [website/public/install.sh](../../website/public/install.sh) | Public CLI installer for the latest GitHub Release or a staged candidate tarball | [22-website](22-website.md) | `2eac7230fab8aa4a449dfd8c0239d0f72b75a8f431397ace592a1e278949d41d` |
645
644
  | [website/public/licenses/caveat.txt](../../website/public/licenses/caveat.txt) | Distributed font copyright and license notice | [22-website](22-website.md) | `163a2b400e16916ad3196296c946c526d0efce6baf22a2164269ffc62fb9f671` |
646
645
  | [website/public/licenses/departure-mono.txt](../../website/public/licenses/departure-mono.txt) | Distributed font copyright and license notice | [22-website](22-website.md) | `b65e42750f3cb65437a97f4dfd781c58f199259949db2341012be60e32500e83` |
647
646
  | [website/public/licenses/inter.txt](../../website/public/licenses/inter.txt) | Distributed font copyright and license notice | [22-website](22-website.md) | `3b0a5fca3d17942cde889069889dedbbbd075e9b599968c82a95f4d944e9b345` |
@@ -665,13 +664,13 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
665
664
  | [website/src/components/FlockCanvas.astro](../../website/src/components/FlockCanvas.astro) | Animated landing page canvas | [22-website](22-website.md) | `cadb1488ec028e7c9e5b59cc5be2988b1090733806978a180811b4bf9b2ebe45` |
666
665
  | [website/src/components/GatewayDiagram.astro](../../website/src/components/GatewayDiagram.astro) | Responsive inline SVG trust-boundary diagram for the Host Gateway page showing Service Bridge, Model Gateway, and Sandbox firewall boundaries | [22-website](22-website.md) | `b1530a33808036f73e30cd6fc7d2273b710f6c972735240ecd4eb6c98708d450` |
667
666
  | [website/src/components/HarnessShowcase.astro](../../website/src/components/HarnessShowcase.astro) | Interactive selection and diagrams for the five Harnesses | [22-website](22-website.md) | `a47b024899257901b742b3020b73fdf1aee070050627d487a72135913d7eb217` |
668
- | [website/src/components/InstallBar.astro](../../website/src/components/InstallBar.astro) | Bilingual global npm and shell CLI install commands with a separate SDK guide and copy feedback | [22-website](22-website.md) | `993d1d72f899d2f915e34b8fd7074a466aff739d806aae2d0f888ab2d63ac3a1` |
667
+ | [website/src/components/InstallBar.astro](../../website/src/components/InstallBar.astro) | Bilingual global npm and shell CLI install commands with a separate SDK guide and copy feedback | [22-website](22-website.md) | `d6c54a6c0a3a711d57197fd1240065777c16722876f4721d3909f8a763f5b984` |
669
668
  | [website/src/components/LandingPage.astro](../../website/src/components/LandingPage.astro) | Shared bilingual landing page component | [22-website](22-website.md) | `4b198a5702418fbbab01df5abf741469a9c5f17b21cdb31f9c697b9fd0d50494` |
670
669
  | [website/src/components/NoRebuildGrid.astro](../../website/src/components/NoRebuildGrid.astro) | Landing page examples of reusable Runtime capabilities | [22-website](22-website.md) | `7762410eedf1ee8553826924bf793c8fc24fd4540e89d8df25df89b0dd570dec` |
671
670
  | [website/src/components/PillarSchematics.astro](../../website/src/components/PillarSchematics.astro) | Landing page architecture diagrams | [22-website](22-website.md) | `ab6d795b29b7a583c54233469e68560348026696b345f027245cb2297cb4bb88` |
672
671
  | [website/src/components/SearchModal.astro](../../website/src/components/SearchModal.astro) | Client-side documentation search, keyboard shortcuts and result navigation | [22-website](22-website.md) | `e9c8d5da20ee2dcf969c8125e2154f42d0badacf5821e7f69b86bd10d7edc42e` |
673
672
  | [website/src/components/Sidebar.astro](../../website/src/components/Sidebar.astro) | Documentation section navigation | [22-website](22-website.md) | `9c771bb389221552797d8284215224c7d3f57efe757dfab6d15de08746b79468` |
674
- | [website/src/components/TopNav.astro](../../website/src/components/TopNav.astro) | Site navigation, mobile menu, theme and search controls | [22-website](22-website.md) | `368f084495c61c11b8d8848d46dee6c1d3197fcaa3eff9513eab18910b176f5a` |
673
+ | [website/src/components/TopNav.astro](../../website/src/components/TopNav.astro) | Site navigation, mobile menu, theme and search controls | [22-website](22-website.md) | `511b5b788800b42a041b4cbfed61551cb3e906d5d7a7ed6358d50d1d1ffb32a7` |
675
674
  | [website/src/components/TraceDemoEmbed.astro](../../website/src/components/TraceDemoEmbed.astro) | Embeds the real interactive Trace Viewer swimlane with outer panel tabs and auto-fit height on the Trace Viewer documentation page | [22-website](22-website.md) | `b6e45085e5e25e9519c3bbbb869385f2d94e29da3d3b2e90ee60deed1d2b63f9` |
676
675
  | [website/src/components/TracePreviewStrip.astro](../../website/src/components/TracePreviewStrip.astro) | Lightweight animated Trace Viewer swimlane preview card on the landing page linking to the live interactive demo | [22-website](22-website.md) | `198216a4523c48b29b7cdaaef4439f654d34e711fb49b7d9e065b3129d7b4379` |
677
676
  | [website/src/content.config.ts](../../website/src/content.config.ts) | Documentation loader and frontmatter schema | [22-website](22-website.md) | `6b7566a2df96f730504cc0a190936b93dbff7d85cf141eb052a79d2ac234343a` |
@@ -687,7 +686,7 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
687
686
  | [website/src/pages/zh/docs/[...slug].astro](../../website/src/pages/zh/docs/[...slug].astro) | Chinese documentation dynamic route (/zh/docs/*) | [22-website](22-website.md) | `266a6aefb999cd0d9f7ee74a459b82e08d8f5818a59a5219699c49f91b7460b9` |
688
687
  | [website/src/pages/zh/index.astro](../../website/src/pages/zh/index.astro) | Chinese landing page route (/zh/) | [22-website](22-website.md) | `1a6fc0977115bd88fc5c82286a30949d2dc1dad6e87fd41e9c395dfe07dcea1a` |
689
688
  | [website/src/pages/zh/latest.astro](../../website/src/pages/zh/latest.astro) | Top-level /zh/latest/ shortcut redirecting to the Chinese Latest release feature guide | [22-website](22-website.md) | `c843cee2848bed766d317ead8244a4eb6ef1624ea30d25eba966284c4f73c38e` |
690
- | [website/src/styles/global.css](../../website/src/styles/global.css) | Responsive styles, font declarations and browser theme colors | [22-website](22-website.md) | `9faa45d54db45e68f60ee13d311e21a9a0257be444d3a353676c75030fd2c1c4` |
689
+ | [website/src/styles/global.css](../../website/src/styles/global.css) | Responsive styles, font declarations and browser theme colors | [22-website](22-website.md) | `9654239c737d2cc452a86d05ca64c118ae29fefad5739186531b990d5c6c83c4` |
691
690
  | [website/tsconfig.json](../../website/tsconfig.json) | Astro TypeScript source configuration | [22-website](22-website.md) | `8ac0c34ca488883dfa22bccd923af5072ef84b18dbd73fcd23e797c29398d387` |
692
691
 
693
692
  ### public examples (9)
@@ -730,7 +729,7 @@ In-scope roots: `src/`, `scripts/`, `deploy/`, `test-support/subagents/`, `websi
730
729
  | [src/core/sandbox/opensandbox-sdk.ts](../../src/core/sandbox/opensandbox-sdk.ts) | Pinned official SDK lifecycle and Execd adapters, owned transport and sanitized errors | [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `cad57d11ec5a627e58f71d14ba392ca844c2de2b523aa4f1b3bb827fbfb69fb0` |
731
730
  | [src/core/sandbox/sandbox-validation.ts](../../src/core/sandbox/sandbox-validation.ts) | Bounded Sandbox identifiers, environment, endpoint and command validation | [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `e48ea5d61b4177a688323431ec00bf8969174bfce5081408fdabb72f2dcd3251` |
732
731
  | [src/core/sandbox/worker-client.ts](../../src/core/sandbox/worker-client.ts) | Authenticated anyswarm Worker startup, input, file and Session protocol | [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md), [08-prompts](08-prompts.md), [24-runtime-recovery](24-runtime-recovery.md) | `02e23ad1208cea6e83183052fcce89b39348e0c9155a62a7fdaa18ce82ca8ad7` |
733
- | [src/core/worker-image.ts](../../src/core/worker-image.ts) | Local Worker image selectors, legacy GHCR identity matching and package and protocol version constants | [07-run-configuration](07-run-configuration.md), [15-core-runtime](15-core-runtime.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `a2fb6c44822acce4da387a92da9338938f5f241265c426e110dc0eca57f81887` |
732
+ | [src/core/worker-image.ts](../../src/core/worker-image.ts) | Local Worker image selectors, legacy GHCR identity matching and package and protocol version constants | [07-run-configuration](07-run-configuration.md), [15-core-runtime](15-core-runtime.md), [16-pi-opensandbox-backend](16-pi-opensandbox-backend.md) | `2b8c56bb1553999443e1a724e416465802acd68b9289bf79fb2fcd5ad891e70d` |
734
733
 
735
734
  ### runtime implementation (1)
736
735
 
@@ -302,7 +302,7 @@ The installed-package case uses the same archive installation helper and SHA-256
302
302
 
303
303
  ### Installed native PeerMesh foreground acceptance
304
304
 
305
- The package currently declares the `swarm` tool binary. The installed foreground host is invoked explicitly as `node node_modules/@anyswarm/core/dist/scripts/run-harness.js --config ./host-config.mjs`; there is no `swarm-environment` binary alias. `test/peermesh-installed-native.test.ts` adds an opt-in archive-backed acceptance at that entry. Enable only after independent source/archive/image/fixture reviews with `ANYSWARM_PEERMESH_INSTALLED_REAL_TEST=1 ANYSWARM_CORE_TEST_IMAGE=sha256:<reviewed-image> node --test dist/test/peermesh-installed-native.test.js`. The shared installer accepts `ANYSWARM_TEST_PACKAGE_ARCHIVE` and `ANYSWARM_TEST_PACKAGE_SHA256` together, snapshots and verifies those bytes before offline npm installation, and otherwise builds the clean source checkout with the release packer before native acceptance. Ordinary package regressions call the same packer with `--skip-build` and reuse the build created by npm test. The installer removes inherited Node loader overrides. Deterministic package checks normally install in OS temporary storage and remove their installations. Native gates prefer `/var/tmp`, falling back to the configured temporary root and `/tmp` only when those roots have no real checkout ancestry. The installer resolves symlinks and rejects roots beneath either a `.git` directory or linked-worktree `.git` file; a caller-provided private parent inside a checkout fails with `INSTALL_PARENT_IN_CHECKOUT`. A checkout-owned HOME is rejected with `INSTALL_HOME_IN_CHECKOUT`, rather than enabling Node's home-based module fallback. Explicit parents must be existing non-symlink host-owned directories with mode 0700; consumer directories are also mode 0700. Offline npm uses the existing host cache, while npm and runtime subprocesses execute from the external consumer; no source checkout supplies module resolution.
305
+ The package declares `anyswarm` as its host command. The Worker image provides its internal `swarm` command. The installed native PeerMesh acceptance invokes the foreground host explicitly as `node node_modules/@anyswarm/core/dist/scripts/run-harness.js --config ./host-config.mjs`. `test/peermesh-installed-native.test.ts` adds an opt-in archive-backed acceptance at that entry. Enable only after independent source/archive/image/fixture reviews with `ANYSWARM_PEERMESH_INSTALLED_REAL_TEST=1 ANYSWARM_CORE_TEST_IMAGE=sha256:<reviewed-image> node --test dist/test/peermesh-installed-native.test.js`. The shared installer accepts `ANYSWARM_TEST_PACKAGE_ARCHIVE` and `ANYSWARM_TEST_PACKAGE_SHA256` together, snapshots and verifies those bytes before offline npm installation, and otherwise builds the clean source checkout with the release packer before native acceptance. Ordinary package regressions call the same packer with `--skip-build` and reuse the build created by npm test. The installer removes inherited Node loader overrides. Deterministic package checks normally install in OS temporary storage and remove their installations. Native gates prefer `/var/tmp`, falling back to the configured temporary root and `/tmp` only when those roots have no real checkout ancestry. The installer resolves symlinks and rejects roots beneath either a `.git` directory or linked-worktree `.git` file; a caller-provided private parent inside a checkout fails with `INSTALL_PARENT_IN_CHECKOUT`. A checkout-owned HOME is rejected with `INSTALL_HOME_IN_CHECKOUT`, rather than enabling Node's home-based module fallback. Explicit parents must be existing non-symlink host-owned directories with mode 0700; consumer directories are also mode 0700. Offline npm uses the existing host cache, while npm and runtime subprocesses execute from the external consumer; no source checkout supplies module resolution.
306
306
 
307
307
  The installed Notes and Subagents examples select the Runtime's executor from their trusted `backend.executor` configuration, which defaults to Pi. On Codex, the Notes writer and reader each continue on their own App Server thread. The Subagents assembly disables Context Fork for Codex and the registered collaboration manifest requires `fork_turns: "none"` when spawning a child. Both examples use the same Service manifests, input admission, workDir collection and report reader for either driver. The spawn-ready record identifies each Codex thread and the guest executor version. The [OpenSandbox backend](16-pi-opensandbox-backend.md#codex-app-server) explains startup and evidence scope.
308
308