Anchorage API reference
    Preparing search index...

    Org-level policy bindings enforced by the connector's execute wrapper.

    interface ConnectorPolicies {
        audit?: AuditLogger;
        evaluators?: readonly ToolPolicyEvaluator[];
        fetch?: EgressFetchBase;
        idempotencyKeyMigration?: "legacy-writers-drained";
        idempotencyStore?: IdempotencyStore;
        networkEgress?: NetworkEgressOptions;
        rateLimitStore?: RateLimitStore;
        writePermissions?: WritePermissionsPolicy;
    }
    Index

    Properties

    audit?: AuditLogger

    Optional audit logger for connector decisions and failures.

    evaluators?: readonly ToolPolicyEvaluator[]

    Custom tool-boundary evaluators, run pre-execute after the built-in network-egress gate, in registration order.

    Base fetch the per-call egress guard wraps before handing it to execute as ConnectorRuntime.fetch (tests inject the vendor mock here). Defaults to the runtime's global fetch.

    idempotencyKeyMigration?: "legacy-writers-drained"

    Explicit v2 composite-key rollout acknowledgement. Set only after every legacy writer sharing the store has been stopped and drained and legacy rows have been inventoried. Without it, an absent legacy key fails closed instead of racing an old writer that could still create a v1 record.

    idempotencyStore?: IdempotencyStore

    Store used when the manifest requires an idempotency key.

    networkEgress?: NetworkEgressOptions

    Organization allowlist applied to the manifest's declared hosts.

    rateLimitStore?: RateLimitStore

    Required when the manifest declares rateLimit.

    writePermissions?: WritePermissionsPolicy

    Organization approval rules for write-class connector IDs.