Anchorage API reference
    Preparing search index...
    PolicyDecision: { allowed: true } | { allowed: false; reason: string }

    Decision shape shared by both policy seams (agent-boundary evaluators in index.ts and the tool-boundary evaluators below). Defined here — the leaf module — so neither seam imports the other for it.

    Type Declaration

    • { allowed: true }
      • allowed: true

        Allow the operation.

    • { allowed: false; reason: string }
      • allowed: false

        Deny the operation.

      • reason: string

        Human-readable denial reason suitable for audit records.