apps/gateway/README.md
Metadata
- Purpose: Source artifact in the anchor-msp system.
- Domain:
applications - Language:
md - Bytes: 1612
- Lines: 66
- Content hash (short):
77f11c03 - Source (start): apps/gateway/README.md:1
- Source (end): apps/gateway/README.md:66
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_URLAGENTFIELD_URLAUTH_MODE+ JWT settings when auth is enabled (AUTH_JWKS_URLsupported for OIDC/JWKS validation)AUDIT_SIGNING_SECRET