Skip to main content

apps/gateway/README.md

Metadata

Indexed Symbols

No indexed functions/methods detected in this file.

Markdown Headings (if applicable)

  • H1: Anchor Gateway (line 1)
  • H2: Responsibilities (line 5)
  • H2: Run locally (line 14)

Source Preview

# Anchor Gateway

Gateway service for Anchor MSP PSA.

## Responsibilities

- Authentication and workspace tenancy guard rails
- Correlation ID and idempotency enforcement
- REST API surface for core PSA entities
- Telemetry ingest to workflow routing
- Strict AgentField execution dispatch (no local fallback)
- PostgreSQL-backed resource and workflow persistence

## Run locally

```bash
pnpm --filter @anchor/gateway dev

Required env vars:

  • DATABASE_URL
  • AGENTFIELD_URL
  • AUTH_MODE + JWT settings when auth is enabled (AUTH_JWKS_URL supported for OIDC/JWKS validation)
  • AUDIT_SIGNING_SECRET