Mandate

Let Claude or ChatGPT propose changes to your online shop, issue tracker, or internal APIs, and Mandate makes sure a person approves the exact before-and-after list before a single record is written. Requesters can exclude records or export the list as CSV or XLSX, while the approver's page is rendered by the server from stored data, never from text the model wrote. Approval rules depend on record count and role, chains can have several steps, and nobody approves their own request. Roles default to deny: an operation no role grants is never listed to the client, grants can pin an argument such as one brand, and fields like cost stay hidden. Approved changes are applied in batches by a durable workflow that survives restarts, and rollback restores the values recorded before the write. Any REST API with an OpenAPI document or any MCP server attaches without code, and presets for Magento 2 catalogs and Gitea issues ship ready to use. Typical uses include bulk shop edits, issue triage, read-only lookups for support staff with sensitive fields removed, and nightly automation that proposes while a person approves. One endpoint, one login, and one audit log with JSON Lines export serve every connected client, and credentials stay in an encrypted vault the model never sees. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.

Mandate
Mandate
Mandate
Mandate
Mandate
Mandate
Mandate

Benefits

  • People approve the exact change
  • Approval is bound to a content hash and item count, so excluding even one record creates a new change-set needing its own sign-off, and nobody approves their own request.
  • The model never holds credentials
  • Business-system tokens live in an encrypted vault, entered on a trusted page after a fresh login, so the model never has a secret to leak.
  • Mistakes roll back to recorded values
  • Operations with a write manifest capture current values first, so a finished change-set rolls back within a window (168 hours by default), skipping records changed upstream since.
  • Attach any API or MCP server
  • Add a REST API from its OpenAPI document or an upstream MCP server without code; pinned tools stop working until a person reviews any upstream change.

Features

  • OAuth 2.1 Login via Keycloak
  • Keycloak is bundled for OAuth 2.1 and OIDC sign-in, with groups mapped to roles; any OIDC provider issuing the same claims can replace it.
  • Temporal Durable Workflows
  • One Temporal workflow per change-set survives restarts of api, worker, and Temporal itself, retries with fencing, and writes records in batches; opaque calls are sent at most once.
  • Hash-Chained Audit Log
  • Every login, policy decision, tool call, approval, batch, and configuration change is recorded in rows chained by hash, filterable at /app/audit and checked with mandate audit verify.
  • Configuration as Code
  • Roles, connections, operations, and limits are YAML files applied as audited revisions, with config diff and config explain showing what a group may do before anything runs.
  • Ordered Multi-Step Plans
  • A plan chains two to twenty prepared change-sets so each starts only after the previous one completes; every step keeps its own hash, approval, and result.
  • OpenTelemetry and Prometheus
  • Health endpoints, OpenTelemetry traces, Prometheus metrics, and structured logs come built in, alongside backup and restore scripts and forward-only database migrations.

Apps Similar to Mandate