Detecte/docs

Changelog

What's shipped, in reverse-chronological order.

2026-06-20 — Phase 2 Stage 1 + 2

Added

  • Self-serve onboarding (/welcome/onboarding/quickstart/onboarding/success). New Clerk users get a workspace and a starter sk_test_ key in <60s.
  • @detecte/cli v0.1.0. login, init, keys, agents, policies test, logs, scan, status, open.
  • Real-time SSE streams (/v1/stream/decisions, /v1/stream/incidents). The dashboard now updates live.
  • Anomaly detection v1: frequency, amount-distribution, and time-of-day signals. Auto-escalation at score ≥ 75. Auto-tier-downgrade after three consecutive ≥ 90.
  • PII redaction. Pass sensitive: ["recipient", "ssn"] to verify() and the values are HMAC-hashed before storage.
  • /v1/policies/dry-run — test a policy against your last N actions.
  • Webhook delivery retry worker (Vercel cron). Exponential backoff over 24h, then dead-letter.
  • Docs site at docs.detecte.xyz.

Changed

  • API key management is now exposed at /v1/keys for SDK / CLI use, in addition to the Clerk-authed /v1/internal/keys for the dashboard.

Security

  • Cron endpoints are protected with Authorization: Bearer $CRON_SECRET.

2026-06-15 — Phase 1 GA

Added

  • @detecte/sdk v0.1.1.
  • Marketing site at detecte.xyz with the Crypto & Web3 use case.
  • Dashboard at app.detecte.xyz with agents, policies, incidents, audit log, settings.
  • API at api.detecte.xyz — 9 resources, 25 endpoints.
  • 13-table Postgres schema on Neon. Stripe-style HMAC webhook signing. Server-side and SDK-side policy evaluators with parity.