# הקשר להמשך ישיר — 0017
תאריך: 2026-05-20 22:00
אפליקציה: VitSiteTrack

## מה בנוי עכשיו
- **M1 ✓** (סשן 0012), **M2 טרם התחיל בקוד** — רק תכנון
- **PLAN עודכן** (סשן 0014 + 0016): §3.4 Analytics · §3.5 Security · **§3.6 חדש — Report Templates & Branding**
- Firestore schema = path-scoped subcollections תחת `orgs/{orgId}/...`, עם auditLog/consent/retention/branding fields
- 2 סקילים פעילים: `data-analyst` + `security-agent` (יזומים על models/Rules)
- 4 תרשימים VIT-005..008 בתיקיית VitSiteTrack

## הצעד הבא — M2 שלב 1 (קוד, ללא שינוי מסשן 0014)
1. `firebase firestore:databases:create "(default)" --location=europe-west1 --project=vitsitetrack --account=vitruviusecosystem@gmail.com`
2. Models לפי §3.1 המעודכן: `org.dart` (כולל branding fields: defaultReportTemplateId, brandingLogoPath, brandingLogoPosition, brandingAccentColor) · `user_profile.dart` עם reportTemplateId+logoPositionOverride · `project.dart` · `contact.dart` — כולם עם orgId/createdByUid/schemaVersion
3. `analytics_service.dart` allowlist wrapper לפני logEvent ראשונה
4. Firestore Rules path-scoped + custom claim + deny-by-default + write validation
5. Cloud Function `setOrgClaim` (Admin SDK)
6. `firestore_service.dart` CRUD path-scoped + Riverpod providers
7. App Check monitor + email-enumeration protection
8. **מקביל ידני:** Google OAuth verification + Microsoft Publisher Verification (Partner account + DNS-verified domain)

## משימה רקע ל-M6 (להתחיל לאסוף עכשיו, לא חוסם M2)
**איסוף 4–6 דוגמאות דו"ח פיקוח עליון** ממשרדים שונים (PDF/Word). יידרשו לכיול 3–5 הטמפלייטים המובנים. כיול = ניתוח רובריקות ידני יחד עם המשתמש (לא AI).

## קבצים רלוונטיים
- `C:\Users\elyas\.claude\plans\snuggly-exploring-newell.md` — תוכנית מלאה (§3.1–§3.6)
- עותק: `D:\Vitruvius Ecosystem\VitSiteTrack\PLAN.md` (43KB)
- `D:\Vitruvius Ecosystem\VitSiteTrack\lib\` — קוד M1
- CLAUDE.md › "VitSiteTrack — Analytics & Data" + "VitSiteTrack — Security & Privacy" + "VitSiteTrack — Report Templates & Branding"

## כללי חשבון (תזכורת)
- VitSiteTrack = **תמיד עסקי** `vitruviusecosystem@gmail.com`, בלי לשאול (Override ב-CLAUDE.md)
