Skip to main content
Human Decision Capture extends MeshQu’s decision boundary to human-operated workflows. Instead of integrating an upstream system first, teams can expose a policy-derived capture endpoint, submit structured context manually, and receive the same cryptographically signed receipt produced by API-driven evaluation.

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:
The response includes 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:
The response is a signed receipt:

Receipts and verification

Every form submission produces a receipt that can be independently verified.

Fetch a receipt

Returns the evaluation context and signed result. The receipt is self-verifying: recompute the integrity hash and verify the Ed25519 signature against MeshQu’s public key.

Verification chain

Public keys are available at GET /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:
When 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.
Returns: 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.