Busflow Docs

Internal documentation portal

Skip to content

Session 3 β€” Architecture Standards ​

Goal: Confirm the technical architecture decisions are still current and internally consistent. Estimated time: 90 min

Reading Order ​

Read in this order β€” dependencies flow top-down:

#FileWhat It Covers
1domain-driven-design.mdBounded contexts, CQRS, cross-context patterns, context map. The architectural backbone.
2database.mdPostgreSQL strategy, schema separation, pgvector.
3frontend.mdVue 3/Nuxt/Quasar split, FSD layers, shared packages.
4app-structure.mdWorkspace app feature layout, folder conventions, route structure.
5design-system.mdComponent library, token system, Tailwind conventions.
6roles.mdRBAC roles, capability model, role→frontend matrix.
7validation-strategy.mdInput validation layers, Zod schemas, Hasura validation.
8monorepo.mdTurborepo pipeline, caching, Docker build strategy, pnpm conventions.
9realtime-strategy.mdWebSocket, Hasura subscriptions, live updates.
10ai.mdRAG pipeline, agent workflows, Paperclip, MCP bridge.
11communications.mdOmnichannel inbox, notification pipeline, channel provisioning.
12workflow-orchestration.mdBullMQ, event triggers, scheduled jobs, worker patterns.
13gdpr-strategy.mdData retention, encryption, TTL policies, right to erasure.
14tests.mdTesting strategy, Vitest, Playwright, offline testing.

πŸ” What to Validate ​

  • [ ] domain-driven-design.md Β§8 Context Map: does each upstream/downstream relationship still hold? Cross-reference with event-catalog.md (Session 5).
  • [ ] roles.md: the Manager/Dispatcher/Driver trio β€” is the Driver auth flow documented anywhere? (Flagged as missing.)
  • [ ] ai.md references Paperclip for agentic company governance β€” is this still the chosen platform?
  • [ ] monorepo.md references Vercel Remote Cache as "planned" β€” still planned or dropped?
  • [ ] gdpr-strategy.md: does it cover the right-to-erasure implementation, or only the strategy?
  • [ ] tests.md: does the testing strategy match what tests actually exist in the repo today?
  • [ ] frontend.md lists apps/backoffice/ β€” does this app still exist, or was it merged into workspace?
  • [ ] design-system.md: does it reference Quasar's default UI bypass accurately? Is ShadCN-vue still the chosen library?
  • [ ] validation-strategy.md at 3 KB β€” is this complete, or does it need expanding?
  • [ ] workflow-orchestration.md at 18 KB β€” does it still reflect the actual NestJS worker patterns in the codebase?

Findings ​

Internal documentation β€” Busflow