← Back to brief

reference drive sync

memory · reference_drive_sync.md

Account + paths

What's synced

Sync direction

Bidirectional. Drive Desktop watches the local folder for changes and pushes to Drive. Changes made in Drive (e.g. via Drive web, another device) pull down to local.

iCloud concurrent sync (known state)

The SkyRun folder also has iCloud sharing metadata (com.apple.metadata:kMDItemIsShared). Both iCloud and Google Drive may sync simultaneously. They operate independently — no conflicts observed in setup. If odd behavior appears, the iCloud share is the one to review first (it was enabled before Drive sync).

Why we chose this setup

- Real-time sync (fsevents-based, not polling) - Native macOS integration with Finder icons - Office formats preserved automatically - Joseph's Workspace account already exists

Live EA extension (Step 6b — daily scans)

Every 20 min during business hours, live-ea now:
1. Scans ~/Desktop/, ~/Downloads/, ~/Documents/ (top 2 levels, 24h mtime filter)
2. Classifies each file as SkyRun-related (via filename + lead-IDs + owner names + HS/SmartLead/Track keywords + sender metadata) or personal (via path + filename + domain patterns)
3. For SkyRun-related files OUTSIDE /Users/josephbowens/Desktop/SkyRun/, proposes a move into the right subfolder
4. Writes to pending_drive_sorts.jsonl approval queue — you approve or dismiss via PWA
5. NEVER auto-moves — always waits for approval

Destination routing:

Office format enforcement

If a Google-native file (.gsheet, .gdoc, .gslides) appears locally, live-ea proposes converting:

Risks / things to know

Verification

How to stop sync (if ever needed)

1. Open Drive Desktop → Settings (gear) → Preferences
2. Remove SkyRun from "Folders from your computer" list
3. Choose: keep files in Drive (stop sync only) or delete from Drive (full removal)

Related