Architectural model
The capture endpoint, API integrations, and any future agent all evaluate against the same policy and produce the same receipt format.Key principle: same engine, same receipt
Manual form submissions go through the exact same evaluation path as API calls: A receipt from a manual form is cryptographically identical to one from the API. Same hash, same signature, same verification path.Provisioning a capture endpoint
A capture endpoint is provisioned from an existing policy. Provisioning can be automated via API:form_id. The public capture URL is /forms/{form_id}.
Access control modes
Each endpoint supports explicit access control:
Access control is enforced consistently across schema, submit, and API contract endpoints.
Policy-derived schema surface
MeshQu derives the input schema directly from policy rules:
Retrieve the generated schema:
Evaluation ingress
Submit structured field values for evaluation:Receipts and verification
Every form submission produces a receipt that can be independently verified.Fetch a receipt
Verification chain
Public keys are available atGET /v1/.well-known/signing-keys. Verification requires no API key or backend access.
Frozen policy versions
By default, forms evaluate against the latest active policy version. To lock a form to a specific version:policy_version is set, the form is frozen: it always evaluates against version 3, even if the policy has been updated to version 4+. The form schema, API contract, and evaluation all use the pinned version.
API contract continuity
Each endpoint exposes a developer-ready API contract derived from the same policy. This preserves a clean path from manual capture to system integration without changing governance semantics.
These artifacts allow downstream services to move from human capture to direct API evaluation while retaining the same policy model.
Rate limiting
Form endpoints have per-form rate limits to prevent abuse:
Global IP-based and tenant-based rate limits also apply as defense-in-depth.
Security summary
- Tenant isolation: Forms are tenant-scoped and isolated from other tenants
- Password hashing: SHA-256, validated with constant-time comparison
- Token validation: Constant-time comparison, configurable expiry and max uses
- Console auth: Console-only forms require authenticated console access
- No document storage: Only the document hash is included in the receipt (if provided)
Next: Integration Patterns to see how manual checks fit alongside API and agent-based evaluation.