Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript
910 B
Raw Blame
# GBrain E2E Test Configuration
# Copy to .env.testing and fill in real values
#
# Tier 1 (required for E2E tests)
# Option A: Local Docker Postgres (default)
DATABASE_URL=postgresql://postgres:postgres@localhost:5433/gbrain_test
# Option B: Real Supabase instance (tests the actual production path)
# DATABASE_URL=postgresql://postgres.[project-ref]:[password]@aws-0-us-east-1.pooler.supabase.com:6543/postgres
# NOTE (#3485): destructive tests enforce a database-name floor — the name must
# carry "test" as a word segment (gbrain_test passes; Supabase's default
# "postgres" does not). Use a dedicated test project/database, or opt the exact
# name in one-shot: GBRAIN_E2E_ALLOW_DB=postgres bun run test:e2e
# (never a shell-profile export — that would permanently disarm the floor).

# Tier 2 (required for skill tests, optional for mechanical tests)
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...