Add Mack Mercer route-aware tutorial assistant#72
Closed
KevinBigham wants to merge 1 commit into
Closed
Conversation
Adds the V1 in-game Tutorial Assistant (Mack Mercer): - Global Assistant chip + expanded panel mounted in AppLayout for the initialized shell, with a pre-game mount on Setup and Onboarding via the routes/index PreGameAssistantMount. - Route-aware guidance for all 31 major routes, including alias and dynamic-route normalization (`/league/standings`, `/players/:id`, `/games/:id`). - "What now?" next-action suggestion with phase/route overrides (offseason -> checklist, playoffs -> matchup, deadline window -> trade/budget, hardcore vs newcomer mode tweaks). - "Explain ratings" and "Deeper strategy" expanders, plus deterministic story callbacks driven by phase/day/season + ticker feed with per-callback cooldowns. - Newcomer / Hardcore modes, dismiss / replay / Got-it controls, Escape-to-close, save-scoped localStorage persistence keyed by save id/slot — `GameSnapshot` schema unchanged at v33. - Tutorial-assistant docs: goal contract, progress, phase 0/1 audits, character/UX/trigger/asset specs, ratings-visibility audit, coverage matrix, playtest plan, release gate, completion audit, and Claude Code's independent review. Validation: - pnpm --filter @mbd/web typecheck: clean - pnpm --filter @mbd/web test (focused: assistant + AppLayout + AppRoutes): 21/21 passed - pnpm --filter @mbd/contracts test: 18/18 passed - pnpm run verify:determinism: 3/3 passed - pnpm --filter @mbd/web build: succeeds, dist/ + PWA precache regenerated Known follow-ups (V1+): - Generated Mack Mercer portrait/expression art slice. - Closed-tester playtest, especially mobile copy-density feedback at 390x844. - Optional OVR/rating badges in any dense decision tables that playtest reveals as confusing. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Owner
Author
|
Closing without merge after a fresh review against current Summary of the decision (rationale shared with Kevin in the planning conversation):
The work is not lost — the branch Related: PR #73 (draft) is intentionally left as-is per Kevin's instruction. |
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
AppLayoutand onSetup/Onboardingvia theroutes/indexPreGameAssistantMount.GameSnapshotschema unchanged at v33.docs/tutorial-assistant/claude-code-audit-2026-05-05.md).Test plan
pnpm --filter @mbd/web typecheck— cleanpnpm --filter @mbd/web test -- --run src/features/assistant src/app/routes/index.test.tsx src/app/layout/AppLayout.test.tsx— 21/21 passedpnpm --filter @mbd/contracts test— 18/18 passedpnpm run verify:determinism— 3/3 passedpnpm --filter @mbd/web build— succeeds, dist + PWA precache regenerateddocs/tutorial-assistant/playtest-plan.md)🤖 Generated with Claude Code