VIT — 005
VitSiteTrack — ארכיטקטורת PLAN
Vitruvius Ecosystem · Updated Plan · v1.1
A
B
C
D
Client · UI
Flutter · Riverpod · RTL
Screens
mobile / tablet
▢
Auth
login · linked accounts
▤
Projects
list · form · detail
◉
Visit
attendees · camera · annotate · finding
▣
Draft Editor
תחנת ביניים · autosave
▷
Report Preview
PDF סופי לפני שליחה
Logic · Services
lib/services
Service Layer
CRUD · queue · crypto
◈
firestore_service
CRUD path-scoped
⊞
text_processing
BiDi RTL helper (M1)
⟳
transcription_queue
async · pending→completed
▦
pdf · email
render · Graph/Gmail send
●
analytics_service
allowlist wrapper · §3.4
✦
audit · secure_storage
§3.5 · Function-only
Data Model
Firestore · path-scoped
orgs/{orgId}
tenant root · europe-west1
▤
../projects/{pid}
contacts · distributionList
◉
../visits/{vid}
findings · retainUntil · deletedAt
●
usage/current
rollup · churn/billing
✦
auditLog · consentRecords
append-only · §3.5
▢
users · encryptedTokens
KMS envelope · scope/expiresAt
Cloud · Backend
Functions · KMS · App Check
Cloud Functions
trust boundary
▷
sendReportEmail
App Check enforced
◈
cryptoFn
KMS encrypt/decrypt only here
▢
setOrgClaim
custom claim orgId/role
⊞
mintSignedUrl
short-TTL · re-check
⟳
scheduledHardDelete
retention TTL sweep
●
App Check
monitor→enforce
UI
Services
Data
Cloud
Analytics
Security
Project
VitSiteTrack
Drawing
Architecture
Subject
Updated PLAN
Ref. No.
VIT — 005
Vitruvius Design Language · 2025