Expand description
Job templates’ RPCs and the operator’s host route (docs/specs/SPEC_JOBS_AND_TEMPLATES_2026_10_24.md §5.4, §5.5, §7).
Anyone may list the templates and preview a brief. Installing one,
approving one and browsing a catalog are the operator’s own client’s
(operator_only). Approving a template, forgetting a publisher’s key and
pinning a catalog’s key can also be carried by the host, as a widget’s
approval is: the instance auth key, which every agent has, isn’t enough.
Pinning or forgetting a cloud reporter is open to agents too, recorded as the caller; the host route carries the
operator’s own decisions on them as well.
Structs§
- JobReporter
AddReq - JobReporter
Forget Req - JobReporter
Info - A cloud reporter the operator pinned, and the approved cloud templates that report as it.
- JobReporters
Result - JobTemplate
Approve Req - The operator’s approval of exactly what their prompt showed.
- JobTemplate
Catalog Info - A catalog the operator added, as Settings shows it.
- JobTemplate
Catalog Install Req - JobTemplate
Catalog Req - JobTemplate
Catalog Result - JobTemplate
Detail - JobTemplate
GetReq - JobTemplate
IdReq - JobTemplate
Install Req - JobTemplate
Install Result - JobTemplates
Result
Functions§
- add_
reporter 🔒 - Pinning a reporter is open to agents, like any write (recorded as the caller): a pin alone lets no event in, since an event also has to match the key of an approved template, which is the operator’s decision.
- add_
reporter_ 🔒now - approve 🔒
- blocking 🔒
fon a blocking thread: every call reads and hashes template files.- detail 🔒
- forget_
reporter 🔒 - forget_
reporter_ 🔒now - handle_
host_ 🔒job_ templates POST /api/v1/host/job_templates: the operator’s decisions, relayed by the host with its own token.actionisapprove(id,hash, and thesignerfingerprint their prompt showed),forget_key(publisher),add_catalog(url,public_key),remove_catalog(url),add_reporter(name,public_key) orforget_reporter(name).- install 🔒
- pinned_
catalog 🔒 - register
- reporters_
result 🔒 - result 🔒
- svc 🔒