MAP Docs
MERIT

Operations

Every operation on MERIT.

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

Index

OperationSummary
evaluate_ethicsEvaluate an action against the active ethics policy and recorded history.
get_policyFetch the active ethics policy for an org / domain / capability.
update_policyUpdate an ethics policy under MACE ratification.

Reference

evaluate_ethics

Evaluate an action against the active ethics policy and recorded history.

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

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

get_policy

Fetch the active ethics policy for an org / domain / capability.

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

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

update_policy

Update an ethics policy under MACE ratification.

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

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

On this page