VICE//DEV
BACK TO ALL MISSIONSSTACK: FastAPI · React Flow · Redis · PostgreSQL · Fernet Vault
OpenBizFlow visual React Flow workflow editor displaying connected trigger, condition branch, and approval nodes
CASE STUDY BRIEF // MISSION 05⚡ FUNCTIONAL · 9/9 PASS

OPENBIZFLOW — ARCHITECTURE & EVIDENCE BRIEF

DAG WORKFLOW & HUMAN APPROVAL PIPELINE

  1. 1. CANVASLive DAG Validation
  2. 2. TRIGGERHMAC + Idempotency
  3. 3. KAHN ENGINEBranching + Context
  4. 4. APPROVALPause / Resume State
  5. 5. VAULT + LOGSSRF Guarded HTTP

01 // PROBLEM

Teams building internal approvals and webhook automations often outgrow brittle scripts before needing self-hosted SaaS orchestrators with secret masking and cycle protection.

02 // SOLUTION

Built a multi-tenant FastAPI + React Flow platform with visual DAG construction, 10 enterprise workflow templates, conditional branching, durable human approval pauses, and millisecond execution traces.

03 // TECHNICAL ARCHITECTURE

FastAPI + SQLAlchemy 2.0 + Alembic backend with Redis/PostgreSQL (SQLite local test mode), executing acyclic graphs via Kahn's topological traversal while React 19 + `@xyflow/react` renders the node inspector and live approval center.

04 // INDIVIDUAL CONTRIBUTIONS

Independently built with AI coding-agent assistance; Daniel authored DAG traversal state handling, approval pause/resume semantics, and credential masking boundaries.

05 // DESIGN DECISIONS

Encrypted integration secrets at rest using symmetric Fernet encryption and enforced organization-level RBAC roles (`Owner`, `Admin`, `Editor`, `Operator`, `Viewer`).

06 // SECURITY CONSIDERATIONS & CAVEATS

Includes HMAC-SHA256 webhook verification, `X-Idempotency-Key` deduplication, masked vault responses, and outgoing SSRF IP blocklists (`10/8`, `172.16/12`, `192.168/16`, `127/8`, cloud metadata).

07 // TEST EVIDENCE

Executed 9 backend pytest tests and `apps/web` Vite production build (`npm run build`). Multi-container production throughput has not been load-tested.

08 // CHALLENGES & TRADE-OFFS

Synchronous topological step progression with persisted `WAITING` approval checkpoints simplifies auditability compared to distributed worker queues, suitable for moderate business throughput.

09 // REPOSITORY: https://github.com/0xyz-exe/openbizflow · MIT