yttcom.net
Backend / Commands / SYNC

SYNC

v1.1 · 07/12/26 · systems/commands/SYNC.php · GET
What it does
Platform heartbeat — read only. Full platform status in one call.
Endpoint
https://yttcom.net/systems/commands/SYNC.php
Execution — Step by Step
1Auth check
2Fog check — turns → bucket (LOW/MED/HIGH/CRITICAL) + runway estimate
3Open sessions check — queries all 11 system DBs
4Handoff age — filemtime of gov/handoff-[code].md per system
5Snapshot age — most recent ZIP in snapshots/
6Inbox check — community inbox DB pending count
7Transfers check — transfers.db pending per decade
8Commands inventory — scans systems/commands/*.php
9MASTER_LIST open item count
10Boards last-updated times
11Summary built — key stats in one object
Parameters
FieldRequiredDescription
tokenrequiredAuth token
systemrequiredSystem code
turnsoptionalTurn count this session — for fog calculation
Returns
summary{fog_bucket, runway_turns, open_sessions, pending_transfers, inbox_pending, snapshot_age_days, ml_open_items}, fog, open_sessions, handoff_age, snapshot, inbox, transfers, commands, boards, master_list
Tier 2 Functions
fog_check()runway_check()open_sessions_check()handoff_age()snapshot_age()inbox_check()transfers_check()commands_inventory()pt_time_full()
Notes
Pass turns=N for accurate fog bucket. Read-only — nothing is written.
Backend Commands Hub Admin Master