FlowSense analyzes UX task-flow recordings and scores interaction quality using a 7-category rubric.
This repository is now Azure-native:
- Microsoft Entra ID authentication
- Azure SQL (token auth via managed identity)
- Azure Blob Storage (managed identity + user delegation SAS)
- Azure OpenAI for frame analysis
- Anonymous access removed from
/api/runs* - Entra session required for app and API routes
- Shared-key blob auth removed from runtime
- Signed processor webhooks with timestamp + nonce replay protection
- Startup env validation (hard-fail)
- CI quality gates: typecheck, lint, test, build, dependency audit, secret scan
frontend/: Next.js app + API routesbackend/: processor worker (ffmpeg + analysis pipeline)packages/shared/: shared types, schemas, constants, security helpersazure/migrations/: Azure SQL schema + migrations
- Node.js 20+
- ffmpeg + ffprobe available on
PATH - Azure resources configured (Entra app, SQL, Blob, OpenAI)
npm installUse templates:
frontend/.env.examplebackend/.env.example
Required security fields include:
AUTH_SESSION_SECRETENTRA_*WEBHOOK_SECRETandPROCESSOR_WEBHOOK_SECRET
# terminal 1
cd frontend && npm run dev
# terminal 2
cd backend && npm run devnpm run typecheck
npm run lint
npm run test
npm run build
npm audit --omit=dev --audit-level=highRun summaries now include:
weighted_score_100critical_issue_countquality_gate_status(pass|warn|block)confidence_by_categorymetric_version
See docs/DEPLOYMENT.md for Azure-first deployment and release checklist.
See docs/SECURITY_POLICY.md for dependency cadence, merge gates, and incident SLAs.