Owner authority, permissions and data trust
Status: normative · Owns: who can do what, when and with which evidence.
The trust invariant
Maistro may ask. Models may propose. Only the trusted policy/effect verifier and authenticated operator may authorize. Prompt content, retrieved files, package metadata, cached output, public website pages, generated PHP drafts and other workers are untrusted inputs for authority purposes. A friendly bot message is not a cryptographic capability.
Approval grant minimum
An approval binds exact owner_id, job_id, plan_digest, effect classes, provider/account, data class, input provenance/region, quote ID and expiration, maximum total cost + currency, resource TTL, allowed model artifacts, nonce and revocation status. Grant validity is checked at execution, not only at plan preview. A changed price, model digest, region or macro graph requires revised authorization. Previewing, building JSON or pressing a UI “try” control confers zero privileged authority.
Secrets
Secrets MUST stay outside prompts, chat history, public HTML, model training traces and build artifacts. Store references encrypted with OS key management or a qualified secret store; access is issued to the smallest worker scope and logged. Rotation and revocation tests are release gates. Never serialize provider tokens into TaskSpec examples. Avoid telemetry of raw sensitive payloads.
Data and tenant isolation
Assign every input, fixture, cache entry and output a tenant/owner, retention TTL, rights class and transfer policy. Child harnesses receive only explicitly permitted projections. Model providers must be approved for the actual data and privacy terms, including any data used for training or log retention. Cached results MUST NOT leak between owners even if hashes match. A “private model” claim requires precise deployment and contract evidence.
Code promotion
No untrusted session output can modify production source in place. Proposed rules go to quarantined build inputs; CI validates tests, security, reproducibility, license, typed behavior and owner authorization. Signed immutable release manifests allow activation and rollback. Static PHP is not exempt from permission gates for any external or destructive effect.
Public/private boundary
Public education pages are served without credentials and contain no actionable provider methods. Private control APIs require TLS, authentication, CSRF protections for cookie-backed mutations, rate limiting, authorization per object and auditable server-side state. Network workers use short-lived mTLS/signed leases and restricted egress. The reference site is intentionally read-only and the bundled PHP demo is offline, with fictional cost units.
If safety evidence is absent
Fail closed on unsigned grant, unverified quote, untrusted model license, stopped guardian, budget uncertainty, unconfirmed provider release, expired quote and missing data-rights evidence. Show a human-readable blocker and permitted alternatives. A documented exception is a reviewed policy change, not an optimistic sentence in the chat.