tree_solver
Register, list, or remove solver artifacts that propose tree changes—Wasm compute, web bundles, or prose guidance—stored by content hash and scoped to declared branch prefixes.
Instructions
The tree's artifacts, as data — capabilities you submit, stored by
content hash and served from artifact://{sha}. No arguments: list them.
With name + wasm_b64 (base64 of the content, whatever the medium): register
one. medium says what the content is — 'wasm' (default): sandboxed
compute; ABI: export 'memory', 'alloc(len)->ptr',
'run(ptr,len)->(ptr<<32|len)'; input JSON {path, slice, params}; output
{diagnostics:[str], proposals:[{path, param, value, note?}]}; run it with
tree_solve (fuel + memory only: no filesystem, network or imports), and it
never writes the tree — it proposes, you apply with tree_set. 'web': a
self-contained HTML/JS bundle a host renders against a node slice, for the
user. 'prose': instructions an agent follows with the generic verbs. Only
wasm output may enter the tree as derived — the other media serve
experience and guidance, never values. reads declares the only branch
prefixes wasm may see.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| reads | No | ||
| medium | No | wasm | |
| remove | No | ||
| wasm_b64 | No | ||
| params_doc | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |