Resuming Onboarding Without Overwriting the Record By Yuan Zhou Canonical page: https://yuanzhou.dev/writing/resuming-onboarding-with-versioned-answers Published: 2026-10-14 | Updated: 2026-10-14 Author: https://yuanzhou.dev/about Series: https://yuanzhou.dev/writing A cleared browser draft should not erase a submitted application. I restored the authoritative server record and treated later answers as versioned amendments requiring fresh review. THE ENGINEERING DECISIONS - Validate the invitation before reading private submission data. - Preserve the original submission and append versioned, conflict-checked amendments. - Bind review to the latest answers and keep saving separate from activation. Figure: A saved answer is a new input to review. It does not itself create a venue, activate payment or dispatch a device command. Image: https://yuanzhou.dev/articles/onboarding-versions.svg THE BROWSER DRAFT WAS NOT THE SUBMISSION After successful onboarding submission, the local draft was cleared. Reopening the invitation could therefore look like starting over even though the server still held the original answers. The product needed to distinguish a convenience copy on one device from the authoritative submitted record. The repaired entry path validated the invitation before any private query. It then located the unique intake and checked its identity, origin, original-body hash and completeness. A lookup failure or conflicting record blocked recovery. Showing an empty form would have falsely suggested that no answers existed. RESTORE THE SAVED VERSION BEFORE OFFERING A DRAFT Returning customers entered the review step with server-recovery feedback, readiness counts and links to missing items. The saved version won over the old first-entry draft. A newer unsent device draft could be restored only through an explicit choice, preventing an old browser from silently replacing the server’s answers. Long waiver text exposed why these states matter. A rejected oversized save still needed to preserve the local draft for correction, while reopening the server version had to show the last accepted answer. A validation error is not permission to destroy the customer’s work. Figure: Public venue-guide test screen showing one downstream configuration area. This is product context, not a screenshot of a customer’s private onboarding submission. Image: https://yuanzhou.dev/golfjoy/play-waivers.webp APPEND AN AMENDMENT INSTEAD OF REWRITING HISTORY Each customer update carried a version, predecessor hash, timestamp, normalized complete answers and a field difference. The original submission, its hash and archive evidence remained unchanged. Saving used a serializable transaction and checked the previous version, so a stale tab could not overwrite a newer amendment. Repeated requests did not append the same update twice. Reads normalized the stored answers again, including compatibility with PostgreSQL JSONB key ordering. Comparing serialized object text without normalization would have treated a harmless storage reordering as a different answer. NEW ANSWERS INVALIDATE AN OLD REVIEW Saving an amendment did not send the original lead notification again, create a venue, activate payments or operate hardware. The administration workflow displayed the amendments, and promotion required review bound to the latest amendment hash. That boundary prevented two misleading outcomes: calling a successful save a completed configuration change, and letting an old review approve answers it had never seen. The customer could supply better information while the operational team retained an explicit implementation and verification step. PROVE PRESERVATION AS WELL AS RECOVERY The migration checks compared original submission hashes and body summaries before and after the compatible schema change. Local browser tests exercised recovery without a draft, two amendments, reopening and the oversized-text failure at desktop and mobile widths. The September record confirms the test-site and onboarding control-plane releases. The production customer record was checked read-only, with no customer amendment submitted for the test. Local isolated end-to-end evidence and the real customer’s unchanged record were kept separate. PROJECT CONTEXT AND EVIDENCE Written from my September 2026 onboarding recovery, migration and control-plane release records. Internal records are summarized; no private customer data, credentials or employer source code is reproduced. GolfJoy Play: https://play.golfjoy.com/ Public platform context. Acceptance and release scope are stated in the article. GolfJoy engineering case study: https://yuanzhou.dev/work/golfjoy Public product interfaces and attribution for the delivered projects. RELATED ARTICLES One Booking Platform, Different Venue Rules: https://yuanzhou.dev/writing/venue-specific-booking-capabilities From an AI Conversation to a Confirmed Handoff: https://yuanzhou.dev/writing/ai-handoff-with-explicit-consent Moving an Eight-Bay Venue to Production: https://yuanzhou.dev/writing/eight-bay-venue-rollout