Three bugs fixed:
1. lastEdited mismatch: saveProjectToStorage stamped Date.now() in
localStorage but saveRemoteProject sent the React state's stale
lastEdited — server and localStorage had different timestamps, so
the "Pull latest" stale detection on a second device never fired.
Fix: stamp lastEdited once before both calls so they're identical.
2. saveProjectToStorage now returns the stamped object so callers don't
have to re-compute the timestamp.
3. Sync errors were auto-clearing after 2.5s making failures invisible.
Now the "⚠ Sync failed" badge stays visible until the next successful
sync, and a Retry button lets you force a re-push without making an edit.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>