feat(workout): recover common session failures

Make the workout exemplar recover cleanly from invalid edits, accidental double-advance, replay parse failures, and denied or timed-out host export results while keeping local events as truth.

req: examples/001

req: local/001

req: local/003

req: local/004

req: host/002

req: host/005
This commit is contained in:
slhx agent
2026-06-11 23:25:21 +02:00
parent a514237b09
commit c146e9b932
6 changed files with 176 additions and 22 deletions
+3
View File
@@ -37,6 +37,9 @@
<p>Development-only host results return through app code before UI effects.</p>
<div class="host-actions">
<button type="button" data-hemx-handle="record_share_result">Mark share completed</button>
<button type="button" data-hemx-handle="record_share_denied">Simulate share denied</button>
<button type="button" data-hemx-handle="record_host_timeout">Simulate host timeout</button>
<button type="button" data-hemx-handle="replay_broken_export">Simulate replay failure</button>
<button type="button" data-hemx-handle="request_native_haptic">Request native haptic</button>
<button type="button" data-hemx-handle="record_native_haptic_ack">Mark haptic acknowledged</button>
</div>