fix: data reset completeness + makeId security + README screenshots (v1.5.1.0) - #9
Open
melaniesigrid wants to merge 4 commits into
Open
fix: data reset completeness + makeId security + README screenshots (v1.5.1.0)#9melaniesigrid wants to merge 4 commits into
melaniesigrid wants to merge 4 commits into
Conversation
…location resets - Adds clear() to useArchive, useConsultStreak, useStyleProfile - useOutfitHistory.clear() now also wipes firstConsultAt + its storage key - All three Settings screens (Editorial, Y2K, Mondrian) expand ALL_KEYS to include look archive, device ID, notification state, and image/descriptor caches - Oracle screens (Editorial, Y2K, Mondrian) listen to dataResetEpoch and reset the one-shot auto-location guard; guard now waits for profileState === 'set' Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…+ test Local user ID suffix is now 24 hex chars from fillSecureRandomBytes instead of Math.random().toString(36). Added auth.test.ts assertion confirming Math.random is never invoked during account creation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 simulator screenshots (Oracle, Today, You, theme picker) displayed in a 4-column table near the top of README.md. TODOS.md marks makeId and autoLocationStartedRef as resolved and updates test count to 202. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dataResetEpoch, and the guard now waits forprofileState === 'set'instead of!== 'loading'.makeId()replacedMath.random()withfillSecureRandomBytesfor local user ID generation. Auth test added confirmingMath.randomis never called.Test plan
npm test)auth.test.tsasserts Math.random is not called during account creation🤖 Generated with Claude Code