Document workload-declared UI and the upload contract

This commit is contained in:
Emil
2026-08-02 17:47:52 +03:00
parent 361eb2e344
commit 5665e7df98
4 changed files with 50 additions and 8 deletions
+7 -3
View File
@@ -62,9 +62,13 @@ register -> claim (one task) -> download input + verify sha256
The task subprocess loads workloads from `SCIMESH_WORKLOAD_ALLOWLIST` (a
JSON array of `{distribution, name, version, digest}` entries matched
against installed `scimesh.workloads` entry points) or falls back to the
built-in `similarity-search`. Discovery measures the installed package
before and after importing and fails transactionally on any mismatch.
against installed `scimesh.workloads` entry points) or falls back to every
enabled built-in SDK workload of the installed package — the same library
the coordinator embeds as its catalog. Discovery measures the installed
package before and after importing and fails transactionally on any
mismatch. The agent advertises the enabled catalog workloads as its
capabilities unless `CAPABILITIES` is set explicitly. Generate an allowlist
for a non-editable install with `scimesh workload allowlist`.
```bash
make agent