MAP Docs
MOAT

Operations

Every operation on MOAT.

The full operation table for MOAT. Each entry is dispatched through MapEngine::handle_request and matched on operation inside the protocols/moat-lib crate.

Index

OperationSummary
policy_evaluationEvaluate a request against the active treaty envelope between two orgs.
violation_detectionDetect a treaty violation in the audit chain; surfaces to MOOT for arbitration.
policy_updateUpdate treaty policy under MACE ratification on both sides.
compliance_queryQuery current compliance posture for a treaty.
compliance_assertionSubmit a compliance assertion with supporting attestations.

Reference

policy_evaluation

Evaluate a request against the active treaty envelope between two orgs.

FieldValue
Capabilitymap.moat.policy_evaluation
IdempotentNo — supply Idempotency-Key for safe retries
{
  "example": true
}

Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.

violation_detection

Detect a treaty violation in the audit chain; surfaces to MOOT for arbitration.

FieldValue
Capabilitymap.moat.violation_detection
IdempotentNo — supply Idempotency-Key for safe retries
{
  "example": true
}

Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.

policy_update

Update treaty policy under MACE ratification on both sides.

FieldValue
Capabilitymap.moat.policy_update
IdempotentNo — supply Idempotency-Key for safe retries
{
  "example": true
}

Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.

compliance_query

Query current compliance posture for a treaty.

FieldValue
Capabilitymap.moat.compliance_query
IdempotentYes
{
  "example": true
}

Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.

compliance_assertion

Submit a compliance assertion with supporting attestations.

FieldValue
Capabilitymap.moat.compliance_assertion
IdempotentNo — supply Idempotency-Key for safe retries
{
  "example": true
}

Dispatched through the standard pipeline; see Engine pipeline for the 8 stages.

On this page