Scoped runtime reads
Agents and clients read only records tied to trusted identity, task token, work order, callback token, or result contract reference.
The policy pack defines how Wever Labs runtime tables separate public discovery from controlled writes. Runtime functions use server-side service-role access. Agent and client reads stay scoped by access policy, task token, credential envelope, and allowed tool route.
The policy pack keeps intake, Work Orders, execution bindings, provider events, credit funding, result contracts, receipts, callbacks, ledgers, and attestations inside controlled OS records.
Agents and clients read only records tied to trusted identity, task token, work order, callback token, or result contract reference.
runtime functions perform table writes with server-side service-role access. Public clients do not write directly into runtime tables.
Provider events land through verified function paths before creating credit funding events, settlement receipts, and run eligibility records.
Access decisions, failed checks, provider events, callback attempts, retries, and operator overrides can be preserved as audit events.
Wever Labs uses public pages and machine-readable schemas for discovery. Runtime records use RLS, table policies, service-role functions, scoped access keys, callback validation, and audit events.
Public discovery files stay readable. Runtime tables stay policy-bound.
Agent, client, credential envelope, task token, and allowed tool route define access.
Server-side functions create runtime records with service-role access and validation.
Results, receipts, callbacks, ledger references, and attestations are exposed through scoped return paths.
Security events preserve the proof trail for sensitive runtime actions.
Apply the policy SQL after the base runtime tables exist. Use the policy manifest to confirm which tables are read-scoped, write-scoped, service-role-only, or public-discovery only.