Sync Registry

Declared sync inventory for migration: what each service reads, writes, touches, and whether it makes event-log marks.

Sync Status Reads → Writes Mirror Tables Events
Spirit Sync Agent spirit-core/scripts/spirit-sync-agent.py Long-running sync coordinator for live intake/promotion jobs. active
daemon
Reads: launchd/system timers, sync task configuration, hub state
Writes: hub tables, sync logs
yes
JB2 Full Sync to Hub spirit-core/scripts/jb2_full_sync_to_spirit.py Bulk JobBoss pull for core mirror tables. active
batch
Reads: JobBoss API
Writes: jb_* mirror tables
yes
JB2 Ingest to Hub spirit-core/scripts/jb2_ingest_to_hub.py Promotes JobBoss mirror rows into canonical hub records. pilot
batch
Reads: jb_* mirror tables
Writes: orders, jobs, customers
yes
Hub Outbound Sync spirit-core/scripts/hub_outbound_sync.py Pushes hub changes back out to live interface systems. active
batch
Reads: canonical hub tables, sync registry state
Writes: Airtable
yes
Repository Sync from Airtable spirit-core/scripts/sync_repository_from_airtable.py Ingests repository/folder state from Airtable mirrors. active
batch
Reads: Airtable repository tables
Writes: at_repository, repository
yes
Legacy JB2 Tangle Sync Surface spirit-core/jb2_tangle_sync/ Historically Tangle-facing area that may now contain repurposed bridge logic. unclear
manual
Reads: unknown
Writes: unknown
planned
Airtable Webhook Watcher spirit-core/scripts/watch_airtable.py Real-time Airtable cursor watcher that keeps at_* mirror tables fresh and triggers promotion tasks. active
watcher
Reads: Airtable webhooks API, airtable_base_registry, table_map / promote_tasks
Writes: at_* mirror tables, airtable_base_registry webhook state, spirit-sync-agent run triggers
yes
JB2 Fast Order Watcher spirit-core/scripts/jb2_order_watcher.py Fast-path new-order watcher running every 60s via systemd timer. active
timer
Reads: JobBoss API, jb_orders existing rows
Writes: jb_orders, POST /internal/orders/promote, sync_schedule resets for downstream tasks
yes
JB Mirror to Hub Orders Sync spirit-core/scripts/jb_mirror_to_hub.py Promotes jb_orders mirror rows into canonical orders with insert/update semantics. pilot
batch
Reads: jb_orders
Writes: orders
yes
Sync Registry Automation spirit-core/scripts/sync_registry_automation.py Bidirectional repository location sync between hub and Airtable extremities via sync_registry_* tables. active
manual
Reads: repository, sync_registry_postProduction, sync_registry_receiving, sync_registry_cad, Airtable _SYNC_REGISTRY tables
Writes: repository, sync_registry_* local tables, Airtable _SYNC_REGISTRY tables, audit_log
yes
Legacy Tangle Push/Pull Family spirit-core/scripts/*tangle*.py Large family of Tangle-facing scripts remains on disk; many look archiveable but require selective audit for repurposed cases. legacy
manual
Reads: hub tables, tangle workspace, Tangle localCli assets
Writes: tangle_* mirrors, tangle_id columns, Firebase/Tangle models
planned