feat(growth-loop): redemption lifecycle resilience and W4 sound effects integration - #112
Draft
WardLu wants to merge 23 commits into
Draft
feat(growth-loop): redemption lifecycle resilience and W4 sound effects integration#112WardLu wants to merge 23 commits into
WardLu wants to merge 23 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…d dynamic compression for all 15 sound variants
…ume change preview
…00% excess volume slider
…ling across volume sliders
…ve shaper for distinct 60%-200% volume scaling
…ean settings descriptions
…d unblock retry - Align refund ledger request_id with server RPC to prevent duplicate rows on merge - Deduplicate legacy :refund rows in mergeGrowthLoopSnapshot - Track session fulfillment requests to avoid playing reward sounds on hydrate/background sync - Reset fulfill_requested/cancel_requested on sync failure and display sync error with retry/cancel actions - Connect throttle and non-overlap check to sound preview - Remove unintended sound effects from math quiz submit - Update README and user-guide to include Settings top-level navigation
…authenticated local-only mode - Immediately confirm redemptions and refunds when scope has no cloud household - Allow parents to mark rewards fulfilled or cancelled locally without waiting for server sync - Trigger completion celebration sound directly on local fulfillment - Refine grow page stats and descriptions to distinguish local-only mode from cloud-connected sync - Add documentation in architecture.md, user-guide.md, and README - Add unit and E2E coverage for unauthenticated and authenticated redemption lifecycles
… unauthenticated waiting status
This was referenced Sep 7, 2026
…nts on misoperation
…ce prompts, and praise animations
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
src/learning-growth-loop-controller.js的reconcileUnconfirmed()中增加redemption_fulfill处理;针对终态失败/冲突清理本地fulfill_requested并记录sync_error,UI 避免永久卡在“兑现已请求”,并支持重试与补偿退款。action_completed/points_earned/try_again/points_deducted/reward_fulfilled),每类支持 2~3 种变体;设备级设置(总开关、音量、事件级变体与试听、重置)保存于localStorage,不同步云端。index.html主导航中补充设置入口,打卡与积分事件均接入音效。Verification
npm run verify:通过;48 个测试文件、409 项用例全部通过,build / public / security / static checks 均通过,代码覆盖率 76.35%。tests/e2e/sounds.spec.js(7/7 通过)与tests/e2e/growth-loop.spec.js(5/5 通过),共 12 项用例通过。Merge Gates
Closes: SHA-6