See PlantUML diagrams in ./diagrams:
architecture.puml— high-level componentssequence_run.puml— inbound webhook to durable rundata_model.puml— core tables and relations
- SvelteKit (SSR/API): webhook intake, workflow CRUD, publish versions, run console.
- Supabase: Postgres (data + queues), Realtime (log streaming), Storage (artifacts), Edge (cron/timers).
- Workers: Orchestrator (state machine + scheduling) and HTTP Executor (robust HTTP with retries/backoff).
- Transforms are pure (JMESPath).
- All time/uuid and HTTP responses recorded as events for replay safety.
- Use pg-boss or pgmq for Postgres-based durable queues with scheduled jobs.