Step Revo · Flutter app · com.axonaire.steprevo

Development tracker

Tasks by screen, test cases and edge cases per task, approval gates, branches, asset requests and progress reports. This page is the shared reference for the team and for Claude while building the app.

Last updated: 24 Nov 2026 · Sources: design export FitRun-Design-Export-2026-11-04 (visual reference only), stepRevo Flutter App — Development Strategy.pdf (answers and remarks), and the GitHub issue “Decisions: answers to open questions from the development strategy PDF”.

Agents and new developers: read AGENTS.md (rules) , docs/DECISIONS.md (settled decisions) and docs/PACKAGES.md (packages and sources: used, rejected, failed, and why) first, then the Handoff section below. Do not start or merge any task without human approval.

Handoff — current state

Active task
T00 · Development environment — In review · next: T01 brief posted, awaiting approval
Owner
Claude Code (owner name to confirm)
Branch
none yet (repo has one commit on main; develop to be created in T01)
Doing now
T00 environment done and in review (see report). No emulator by team decision; TC3 waits for a physical Android 14+ phone over USB. T01 (project scaffold) brief posted; waiting for approval and two choices: GitHub Actions for CI, flavour names dev/stg/prod.
Next steps
  1. Finish f(environment) and record flutter doctor output in a task report.
  2. Post the T01 brief (project scaffold) and wait for approval.
  3. T01 creates develop, then feature/T01-project-scaffold; first commit includes AGENTS.md, CLAUDE.md, docs/.
Waiting on humans
Open questions OQ1–OQ9 · assets are requested per task in each brief ·adding the design export and strategy PDF to the repo (design/)
Uncommitted work
AGENTS.md, CLAUDE.md, docs/DECISIONS.md, docs/tracker/ exist locally on the working machine and are not committed yet.

Log

  1. 24 NovT00 → In review. TC1, EC1, EC2 pass; TC2 N/A (no emulator, team decision); TC3 pending a connected phone. Emulator download stopped and partial files removed. adb added to PATH. T01 brief posted.
  2. 24 NovT00: Flutter 3.50.1 working; Android Studio installed manually; SDK at C:\Android; JDK set to Android Studio jbr; Android toolchain check passes. Emulator image downloading.
  3. 24 NovT00 approved: agent installs Flutter, Android Studio and SDK. Assets will be requested per task, in each task brief.
  4. 24 NovClaude Code (owner name to confirm): created tracker, AGENTS.md, CLAUDE.md, DECISIONS.md. Decisions confirmed: name Step Revo, package com.axonaire.steprevo, Dart package steprevo, bots read-only from server. T00 blocked on tool install.

Progress

By module

Not started Awaiting approval In progress In review Changes requested Approved · done Blocked

How every task runs

Only one task is active at a time. A task never starts and never merges without your approval. Pink steps are approval gates.

  1. Brief and approval to startClaude posts the task scope, its test cases and edge cases, and the assets it needs. You approve, adjust or reject. Status: Awaiting approval.
  2. BranchClaude creates feature/Txx-short-name from develop. All commits for the task go there and start with the task ID, e.g. [T11] Validate email field. Status: In progress.
  3. Build with placeholdersNo graphics are created by Claude. Every image, icon, illustration or font is requested in the asset register with its design reference, and a labelled placeholder is used until you supply the file.
  4. Self-evaluationClaude runs flutter analyze, the automated tests, and every test case and edge case below, marking each Pass, Fail or N/A with notes. Failures are fixed before review.
  5. Report and pull requestClaude adds a task report to this page (results, screenshots, known limits) and opens a pull request into develop. Status: In review.
  6. Your reviewYou test on a device against the same cases. Approve, or request changes (status: Changes requested, back to step 4).
  7. Merge and move onAfter approval the pull request is merged, the branch is kept for tracing, status becomes Approved · done, and the next task’s brief is posted.

Definition of done (every task)

  • All test cases and edge cases Pass, or have an exception you accepted in writing.
  • Works in Auto, Dark and Light themes, at 360 px width, with the keyboard open, and at 200% system font size.
  • Under “Remove animations”, artwork stops moving and numbers stay visible. Numbers and titles never animate.
  • Touch targets at least 44 px. Every control has a screen reader label. Errors use text, never colour alone.
  • flutter analyze reports no issues; unit and widget tests for the task pass.
  • No sample people or step values reachable in a production build.
  • Wording matches the design export exactly, unless a decision says otherwise.

Branch rules

BranchPurposeRule
mainStable, releasable codeOnly receives merges from develop at a module milestone or release, tagged e.g. v0.1.0-onboarding.
developIntegration of approved tasksOnly receives approved task pull requests. Always builds.
feature/Txx-short-nameOne taskCreated from develop, one per task, never reused. Kept after merge so history and debugging trace back to the task.
fix/Txx-short-nameBug found after a task mergedReferences the task ID whose test failed.
trial/Txx-short-nameThrowaway experiments (map trial)Never merged; findings go into the task report.

Asset register

Claude does not draw or generate graphics. Each asset below is requested from you with its reference. Until it arrives, the app shows a placeholder of the same size with the asset ID, like this: A04

Note: the design export is branded FitRun. Its mark, wordmark and any artwork containing the FitRun name need Step Revo versions.

IDAssetUsed inReference in design exportNeeded formatStatus
A01App launcher icon (adaptive: foreground + background, and monochrome)T01assets/fitrun-mark.svg, assets/brand-board.svg — needs Step Revo versionSVG, or 1024 px PNG + layersRequested
A02Splash screen logoT01Same as A01SVG or 288 px PNGRequested
A03Step Revo wordmark (header “← FitRun” on onboarding screens)T03, T10–T27Header of every app/*.html onboarding pageSVGRequested
A04Welcome illustrationT10app/index.html (inline SVG)SVGRequested
A05Motion access illustrationT20app/motion.html (inline SVG)SVGRequested
A06Gender icons ×4 (Woman, Man, Non-binary, Prefer not to say)T21app/profile.htmlSVGRequested
A07Weight iconT23app/weight.htmlSVGRequested
A08Height iconT24app/height.htmlSVGRequested
A09Main goal icons ×7T25app/goal.htmlSVGRequested
A10Daily target tier icons ×3T26app/target.htmlSVGRequested
A11Review and start illustrationT27app/complete.htmlSVGRequested
A12Bot: VoltT32app/avatars/volt.svgSVG (animation is coded)Requested
A13Bot: MellowT32app/avatars/mellow.svgSVG (animation is coded)Requested
A14Default user avatar (replaces initials, per decision)T03 and every avatarNone — new artworkSVGRequested
A15Sample people portraits ×10 (mock data only, never in production)T05app/avatars/person-0.svg … person-9.svgSVGRequested
A16Country flags — full set (export has only 10)T32, T51app/flags/*.svgSVG per ISO code, or approve a licensed flag packageRequested
A17Bottom tab icons ×5 (Home, Activity, World, Friends, You), active + inactiveT04Tab bar in app/dashboard.htmlSVGRequested
A18Friends tab icons ×4 (Discover, Received, Sent, My Friends) — tabs are icon-onlyT60None — new, per remarkSVGRequested
A19Empty-state artwork for Friends tabs and leaderboard (if any)T60, T32app/friends.htmlSVGRequested
A20Map markers: leader, self, nearby personT51, T52app/world.html, app/globe.jsSVGRequested
A21Globe land outline (data, Natural Earth, public domain)T51app/land.jsonApprove reuse of the fileRequested
A22Fonts: Sora (headings), DM Sans (body)T02Design-Tokens.json → fontTTF files (Open Font License) or approve download from Google FontsRequested
A23Notification icon (white, monochrome)T95None — newSVGRequested
A24Other UI icons (back, plus/minus, search, edit, camera, settings, logout, trash, eye)T03Inline SVGs across app/*.htmlSVG set, or approve Material SymbolsRequested

Open questions found while planning

These are needed before the listed task starts. Until answered, the task stays “Awaiting approval”.

#QuestionBlocksProposalAnswer
OQ1The merged Home leaderboard: does it rank today’s steps (like the old bot board) or this month’s (like the old people board)? Bots only have daily totals.T32Today’s steps for Friends + bots; this month for Global.
OQ2A “day” in UTC means the counter resets at 05:00 in Pakistan and 00:00 in London. Is that intended, or should each user’s local day be stored by the server in UTC?T31, T40, T83Local calendar day per user, stored and ranked by the server using UTC timestamps.
OQ3Email verification after step 9: is Home blocked until verified, or open with a reminder banner?T15, T27Home opens; a banner asks to verify; friends and leaderboards stay locked until verified.
OQ4Email verification screen, leader pop-up on the globe, icon-only Friends tabs and the blinking ring tip have no design. Will designs be supplied, or should Claude follow the existing style?T15, T30, T51, T60Claude follows the existing style; you review screenshots.
OQ5Changing email in Profile: does it require verifying the new address?T70Yes; the old email stays active until the new one is verified.
OQ6Is there a maximum daily target? The prototype has none.T26100,000.
OQ7Minimum user age (Google Play health and families policies)?T2213+, birth years making the user younger are refused.
OQ8Phone-sensor fallback: when both Health Connect and the phone sensor have steps for a day, which wins?T82Health Connect wins; sensor only fills days with no Health Connect data.
OQ9Global leaderboard when the user is outside the top 10: show an 11th row with the user’s own rank?T32Yes, separated by a divider.

Tasks by module and screen

TC = test case (expected behaviour). EC = edge case (unusual input or state). Each case shows its last result: Not run, Pass, Fail or N/A. Design references are paths inside FitRun-Design-Export-2026-11-04/…/. Strategy test IDs (ON-, HO-, FR-…) are noted where they match.

M0 · Foundation

T00Development environmentFlutter stable, Android Studio, Android 14 emulator and device
Branch
none (machine setup)
Depends on
—
Approach
Flutter 3.50.1 stable via git clone to C:\dev\flutter (not on winget). Android Studio installed manually (winget download stalled twice). SDK at C:\Android (ANDROID_HOME), platform 36, build-tools 36.0.0, licences accepted. JDK: Android Studio’s bundled jbr via flutter config --jdk-dir. Visual Studio warning ignored (Windows desktop only). Remaining: emulator + Android 14 image, physical device.

Test cases

  1. TC1flutter doctor shows no errors for Flutter, Android toolchain and Android Studio. Result: Flutter 3.50.1 ✓, Android toolchain ✓ (SDK 36.0.0, licences accepted). Visual Studio ✗ ignored — Windows desktop builds only.
  2. TC2An Android 14 (API 34) emulator boots and runs the default counter app. N/A — team decision 24 Nov: no emulator; testing uses a physical phone over USB. Emulator download stopped and removed.
  3. TC3A physical Android 14+ phone is detected with USB debugging. Pending: no phone was connected at check time (flutter devices, adb devices). Verify when the phone is plugged in; required before T01’s device test.

Edge cases

  1. EC1Android licences not accepted → flutter doctor --android-licenses resolves it. Result: “All SDK package licenses accepted.”
  2. EC2Another Flutter or Java on PATH → only the intended versions are used. Result: one Flutter/Dart (C:\dev\flutter). A separate Eclipse Adoptium JDK 17 is first on PATH for plain java, but Flutter/Gradle are pinned to Android Studio’s jbr via flutter config --jdk-dir, so no conflict. adb added to PATH (C:\Android\platform-tools).
T01Project scaffoldCreate project, IDs, flavours, lint, ignore rules, CI build
Branch
feature/T01-project-scaffold
Depends on
T00
Assets
A01, A02 (placeholders)

Test cases

  1. TC1Dart package is steprevo; Android applicationId and iOS bundle ID are com.axonaire.steprevo.
  2. TC2The launcher shows “Step Revo” under the icon.
  3. TC3Flavours dev, staging and prod build; dev and staging install beside prod (.dev, .stg suffixes) with labels “Step Revo Dev” and “Step Revo Stg”.
  4. TC4minSdk is 34 (Android 14).
  5. TC5flutter analyze reports no issues with the agreed lint rules.
  6. TC6The ~/ folder (apple-design skill) is in .gitignore; no secrets are committed.
  7. TC7CI builds a debug APK on every pull request.

Edge cases

  1. EC1A fresh clone builds with only the documented setup steps.
  2. EC2Installing on Android 13 is refused by the system.
T02Theme and design tokensColours, fonts, spacing, Auto / Dark / Light
Branch
feature/T02-theme-tokens
Design ref
Design-Tokens.json, guidelines/Brand-Guidelines.md
Depends on
T01
Assets
A22

Test cases

  1. TC1Dark: background #0A0B12, text #F5F7FF, muted #A9AFC6, primary #3B64FF, progress #00F5A0.
  2. TC2Light: background #F3F5FB, text #0A0B12, muted #4A5068, primary #2E5BFF, progress #007A50.
  3. TC3Accents: pink #FF3D81, readable pink #FF7AA5 (dark) / #C70F55 (light), violet #7957ED.
  4. TC4Headings use Sora, body uses DM Sans, both bundled and shown with no internet.
  5. TC5Auto follows the phone theme; Dark and Light override it. Default is Auto.
  6. TC6Spacing scale 4, 8, 12, 16, 20, 24, 32; screen padding 20.

Edge cases

  1. EC1Phone theme changes while the app is open in Auto → app switches immediately.
  2. EC2200% font scale → no clipped text on the sample screen.
  3. EC3Muted text on background passes WCAG AA contrast in both themes.
T03Shared components and galleryButtons, fields, cards, tabs, avatar, toast, dialog, leaderboard row, step header
Branch
feature/T03-shared-components
Design ref
app/dashboard.css, app/onboarding-v2.css, app/phase.css, app/shell.js
Depends on
T02
Assets
A03, A14, A24

Test cases

  1. TC1A dev-only gallery screen shows every component in every state.
  2. TC2Buttons: primary, secondary, text; enabled, pressed, disabled, loading.
  3. TC3Text field shows label, hint, error text below, and password show/hide.
  4. TC4Avatar shows the photo, or the default avatar (A14) when there is no photo or it fails to load.
  5. TC5Onboarding header: back arrow, wordmark, “Step n of 9 · Name”, and “View steps ⌄” expanding the 9-step list with Current marked.
  6. TC6Leaderboard row: rank, avatar, name, steps with thousands separator, “· You” marker, shared rank on ties.
  7. TC7Toast appears and dismisses itself; confirm dialog has Cancel and a destructive action.

Edge cases

  1. EC1Very long names end with an ellipsis without breaking layout.
  2. EC2Step values up to 9,999,999 fit in a leaderboard row at 360 px.
  3. EC3Every tappable component is at least 44 × 44 px and has a screen reader label.
T04App shell and routingFive tabs, signed-out and onboarding redirects
Branch
feature/T04-app-shell
Depends on
T03
Assets
A17

Test cases

  1. TC1Bottom tabs in order: Home, Activity, World, Friends, You.
  2. TC2Signed out → any main screen redirects to Welcome.
  3. TC3Signed in with onboarding incomplete → redirect to the first unfinished step (decision Q7).
  4. TC4Each tab keeps its scroll position when switching tabs.
  5. TC5App links for reset password and email verification open their screens (stub screens for now).

Edge cases

  1. EC1Cold start while signed out → no main screen flashes first (AC-4).
  2. EC2Android back on a non-Home tab goes to Home; on Home it leaves the app.
T05Mock data layerRepository interfaces with mock versions
Branch
feature/T05-mock-repositories
Design ref
app/core.js, app/people.js
Depends on
T01; API contract draft
Assets
A15

Test cases

  1. TC1Repositories exist for auth, profile, steps, leaderboard, friends, world, bots.
  2. TC2Mocks return the prototype’s sample people and steps, labelled as sample in code.
  3. TC3Bot totals come from the bots repository as read-only values (Volt 8,000, Mellow 3,500 in mocks).
  4. TC4A dev setting simulates slow network and server errors.

Edge cases

  1. EC1The prod flavour cannot use mocks; a build check fails if it does (DA-8).

M1 · Entry and account

T10Welcome“Move together.”
Branch
feature/T10-welcome
Design ref
app/index.html
Depends on
T04
Assets
A03, A04

Test cases

  1. TC1Title, copy and illustration match the design (illustration placeholder until A04 arrives). (ON-1)
  2. TC2Create account opens step 1; Sign in opens Sign in.
  3. TC3Welcome is not counted in the 9 steps and shows no step header.

Edge cases

  1. EC1360 px wide, short screen → both actions visible without overflow.
  2. EC2Android back on Welcome leaves the app.
T11Create account — step 1“Your next step.” Account created on the server here
Branch
feature/T11-create-account
Design ref
app/signup.html, app/photo.js, app/auth.js
Depends on
T03, T04, T05
Assets
A14

Test cases

  1. TC1Empty name, malformed email, 7-character password each show their own error and block Continue; 8 characters is accepted. (ON-2)
  2. TC2Optional photo: JPG, PNG or WebP under 4 MB, centre-cropped to 256 px; preview is round; button reads “Change photo”; Remove restores the default avatar. (ON-3)
  3. TC3GIF or a file over 4 MB shows “Choose a JPG, PNG or WebP under 4 MB.”
  4. TC4Continue creates the account on the server (mock) and opens step 2 (decision Q7).
  5. TC5Links to Terms and Privacy open those screens and return here with entries kept.

Edge cases

  1. EC1Email already registered → clear message with a link to Sign in.
  2. EC2Network fails on Continue → message shown, all entries kept, retry works.
  3. EC3Continue tapped twice quickly → only one account is created.
  4. EC4Spaces around name and email are trimmed; email is case-insensitive.
  5. EC5App closed right after step 1 → next sign-in resumes at step 2.
T12Sign in“Welcome back.”
Branch
feature/T12-sign-in
Design ref
app/signin.html
Depends on
T04, T05

Test cases

  1. TC1Wrong password shows a message and stays on Sign in; right password continues. (AC-1)
  2. TC2Onboarding complete → Home. Onboarding incomplete → first unfinished step.
  3. TC3“Forgot password” opens Forgot password with the typed email filled in.
  4. TC4Staying signed in after closing and reopening the app. (AC-3)

Edge cases

  1. EC1No network → readable message, no crash.
  2. EC2Too many attempts (server rate limit) → message tells the user to wait.
  3. EC3Keyboard open on a 360 px phone → Sign in button reachable.
  4. EC4Signing in as B after A logged out shows nothing of A’s. (AC-5)
T13Forgot password“A fresh start.”
Branch
feature/T13-forgot-password
Design ref
app/forgot.html
Depends on
T12

Test cases

  1. TC1Malformed email blocks sending.
  2. TC2Valid email shows the designed confirmation notice.
  3. TC3Resend is disabled for 60 seconds after sending.

Edge cases

  1. EC1Unknown email shows the same notice as a known one, so accounts cannot be discovered.
  2. EC2Offline → readable message, email kept.
T14Reset password“New password.” Opened from the email link
Branch
feature/T14-reset-password
Design ref
app/reset.html
Depends on
T13

Test cases

  1. TC1The email link opens this screen in the app.
  2. TC2Different passwords show “Passwords do not match.”; fewer than 8 characters is refused. (AC-2)
  3. TC3Success returns to Sign in; the new password works and the old one does not.

Edge cases

  1. EC1Expired or already-used link → clear message and a way to request a new one.
  2. EC2Link opened while signed in as someone else → that session is not changed until reset succeeds.
T15Email verificationAfter step 9 — no design yet (OQ3, OQ4)
Branch
feature/T15-email-verification
Design ref
None — follows existing style unless a design is supplied
Depends on
T27, OQ3, OQ4

Test cases

  1. TC1After Review and start, a verification email is sent and the screen explains it.
  2. TC2The email link verifies the account and opens the app.
  3. TC3Resend works, with a 60-second wait between sends.
  4. TC4Behaviour before verification follows the answer to OQ3.

Edge cases

  1. EC1Expired link → message and resend option.
  2. EC2Typo in email → user can correct it and a new email is sent.
  3. EC3App closed before verifying → reminder appears on next launch.

M2 · Onboarding steps 2–9

T20Motion access — step 2“You move.” Health Connect permission, phone-sensor fallback
Branch
feature/T20-motion-access
Design ref
app/motion.html
Depends on
T11
Assets
A05

Test cases

  1. TC1Screen explains why step access is needed, matching the design copy.
  2. TC2Allow → Health Connect permission sheet for reading steps; granted → step 3.
  3. TC3Health Connect refused → explanation, then the phone’s Physical activity permission is requested as fallback (decision Q5).
  4. TC4Both refused → user can still continue; Home later explains steps are unavailable. (ST-2)

Edge cases

  1. EC1Health Connect needs an update → prompt to update, not an error.
  2. EC2Permission permanently denied → button opens the right settings page; returning with access granted continues.
  3. EC3Back from step 2 does not delete the account created at step 1.
T21Gender — step 3“How do you identify?”
Branch
feature/T21-gender
Design ref
app/profile.html, app/questionnaire.js
Depends on
T20
Assets
A06

Test cases

  1. TC1Four tappable icons: Woman, Man, Non-binary, Prefer not to say; one can be selected.
  2. TC2Continue saves the choice; “Skip for now” continues with no choice. (ON-5)
  3. TC3Note “Optional. You can change this later in your profile.” is shown.

Edge cases

  1. EC1Going back and forward keeps the selection.
  2. EC2Screen reader announces each option and whether it is selected.
T22Birth year — step 4“Your birth year”
Branch
feature/T22-birth-year
Design ref
app/birth.html
Depends on
T21, OQ7

Test cases

  1. TC1Compact scrolling year selector with no visible scrollbar, 1900 to the current year.
  2. TC2Continue saves the year; Skip continues without one.
  3. TC3Continue is visible without scrolling on a small screen.

Edge cases

  1. EC1Current year is selectable; next year is not.
  2. EC2Years below the minimum age (OQ7) are refused with a message.
  3. EC3Fast fling stops on a whole year and the selection is announced.
T23Weight — step 5“What’s your weight?” kg / lb
Branch
feature/T23-weight
Design ref
app/weight.html
Depends on
T22
Assets
A07

Test cases

  1. TC170 kg switched to lb shows 154.3. (ON-6)
  2. TC2Range 1–700 kg (and the lb equivalent); 0 and 701 show the range error.
  3. TC3A minus sign cannot be typed.
  4. TC4Skip continues with no weight.

Edge cases

  1. EC1Switching units back and forth ten times does not change the value (stored in kg).
  2. EC2Pasting “-5” or letters is refused.
  3. EC3Phone set to a comma-decimal language: “70,5” is accepted.
  4. EC4Empty field + Continue shows a message (or acts as Skip — match prototype).
T24Height — step 6“How tall are you?” cm / ft-in
Branch
feature/T24-height
Design ref
app/height.html
Depends on
T23
Assets
A08

Test cases

  1. TC1170 cm switched to ft/in shows 5 ft 6.9 in. (ON-7)
  2. TC2Range 30–300 cm; inches 0–11.9; 12 inches shows the error.
  3. TC3No negative values; Skip continues with no height.

Edge cases

  1. EC1Repeated unit switching does not drift (stored in cm).
  2. EC2Feet only with empty inches is treated as 0 inches.
  3. EC3Values that convert to below 30 cm or above 300 cm are refused in ft/in too.
T25Main goal — step 7“What brings you here?”
Branch
feature/T25-main-goal
Design ref
app/goal.html
Depends on
T24
Assets
A09

Test cases

  1. TC1Seven options with their subtitles: Track my steps, Lose weight, Walk more, Train for a run, Improve overall health, Get active with friends, Something else.
  2. TC2Exactly one can be selected; selecting another replaces it.
  3. TC3Continue without a choice shows “Choose one goal to continue.”
  4. TC4Note “You can change your goal later.” is shown.

Edge cases

  1. EC1All seven options reachable by scrolling at 200% font size.
T26Daily target — step 8“Find your daily target.”
Branch
feature/T26-daily-target
Design ref
app/target.html, app/target.js
Depends on
T25, OQ6
Assets
A10

Test cases

  1. TC1Starts at 6,000; plus and minus change it by 500. (ON-8)
  2. TC2Minimum 500, where minus is disabled.
  3. TC3Tiers: 500–7,000 Easy start; 7,500–11,000 Build momentum; 11,500+ Go further.
  4. TC4Tapping a tier jumps to 6,000, 7,500 or 11,500.

Edge cases

  1. EC1Boundary values 7,000 / 7,500 and 11,000 / 11,500 show the correct tier.
  2. EC2Maximum from OQ6 disables plus.
  3. EC3The number changes instantly (no count-up animation).
T27Review and start — step 9“Made for you.” Onboarding completion and resume
Branch
feature/T27-review-start
Design ref
app/complete.html
Depends on
T26
Assets
A11

Test cases

  1. TC1Summary lists every answer; skipped ones read “Not set”. (ON-5)
  2. TC2Each line can be tapped to edit that step and return here.
  3. TC3Start marks onboarding complete on the server, then goes to email verification (T15).
  4. TC4There is no way to reach Home without finishing onboarding. (ON-9)

Edge cases

  1. EC1App killed at step 5 → next sign-in resumes at step 5 with earlier answers kept.
  2. EC2Server error on Start → message, answers kept, retry works.

M3 · Home

T30Greeting, avatar and progress ring“Your day, {first name}.” Ring, fireworks, blinking tip
Branch
feature/T30-home-ring
Design ref
app/dashboard.html, app/home.js, app/phase.css
Depends on
T04, T05, OQ4
Assets
A14

Test cases

  1. TC1“Sara Ahmed Khan” → “Your day, Sara.” (HO-1)
  2. TC23,000 of 6,000 → ring half full; burst at 68% of a 4-second loop with 22 particles; repeats. (HO-2)
  3. TC3Ring tip blinks to show steps counting (remark on Ring).
  4. TC49,000 of 6,000 → ring full, number reads 9,000, “Your daily goal is complete.” (HO-3)
  5. TC5The step number never counts up or moves.
  6. TC6Screen reader reads e.g. “4,380 of 6,000 steps”. (DA-4)

Edge cases

  1. EC10 steps → empty ring, no burst artefacts.
  2. EC2Remove animations on → ring static, no fireworks, no blinking. (DA-5)
  3. EC3No step access → ring area explains it and offers to turn access on. (ST-2)
  4. EC4Single-word name “Sara” → “Your day, Sara.”
T31Metrics rowCalories, distance, active minutes, goal days
Branch
feature/T31-home-metrics
Design ref
app/home.js
Depends on
T30, OQ2

Test cases

  1. TC15,000 steps → 3.50 km, 200 calories, 50 active minutes. (HO-4)
  2. TC2Goal days = days in the last 7 where steps reached the target.
  3. TC3Values are labelled as estimates (decision Q6).

Edge cases

  1. EC10 steps → 0.00 km, 0, 0 (no blanks or NaN).
  2. EC2Target changed mid-week → goal days use the target in force each day (or current — confirm in review).
  3. EC3Day boundary follows the OQ2 answer.
T32Leaderboard (one board, Friends and Global)Replaces the separate bot board and people board
Branch
feature/T32-home-leaderboard
Design ref
app/home.js, app/bots.js + PDF remark on Home
Depends on
T30, OQ1, OQ9
Assets
A12, A13, A16, A19

Test cases

  1. TC1One leaderboard with tabs Friends and Global; Friends is active when Home opens.
  2. TC2Friends tab lists the user, their friends, and the bots Volt and Mellow when the user has 5 or fewer friends.
  3. TC3With more than 5 friends the bots are not shown.
  4. TC4Bot totals come from the server and cannot be changed anywhere in the app.
  5. TC54,000 steps, Volt 8,000, Mellow 3,500 → Volt #1, You #2, Mellow #3; “4,001 more steps to move up.” (HO-5)
  6. TC6Tie with the leader → shared #1 and “You’re tied for the lead. One more step puts you ahead.” (HO-6)
  7. TC7Global shows the top 10 with the user’s row marked “· You”. (HO-8)
  8. TC8Bots animate (550 ms bounce for Volt, 5-second sway for Mellow) and never move on their own in rank.

Edge cases

  1. EC1Exactly 5 friends → bots shown; 6 friends → bots hidden.
  2. EC2No friends → bots and the user shown, plus a “Find friends” prompt opening the Friends tab.
  3. EC3User outside the global top 10 → follows OQ9.
  4. EC4Bot total 0 from the server → shown as 0, ranked last or tied.
  5. EC5Bots are never presented as real people (label or styling makes them clearly bots).

M4 · Activity

T40Weekly and monthly calendar“Make every day yours.”
Branch
feature/T40-activity-calendar
Design ref
app/activity.html, app/activity.js
Depends on
T04, T05, OQ2

Test cases

  1. TC1Weekly and Monthly views only; week runs Monday to Sunday. (AV-1)
  2. TC2Each day is a circle whose area grows with steps. (AV-4)
  3. TC3Tap a past day → weekday, date and that day’s steps. (AV-3)
  4. TC4Future days cannot be tapped; Next is disabled on the current period. (AV-2)
  5. TC5Previous goes back to the user’s onboarding date, then is disabled (decision Q12).
  6. TC6Period total equals the sum of the days shown.

Edge cases

  1. EC1Week crossing two months and February in leap and normal years.
  2. EC2Onboarding date mid-week → earlier days in that week are shown as before joining, not as zero.
  3. EC3A very high day does not make other circles invisible (minimum visible size).
  4. EC4No manual step entry anywhere. (ST-9)

M5 · World

T50Map library trialOption A (painted globe + flutter_map) vs option B (Mapbox) — library not decided
Branch
trial/T50-map-a, trial/T50-map-b (not merged)
Design ref
app/world.html, app/globe.js, app/world.js; strategy section 4
Depends on
T01

Test cases

  1. TC1Both trials show a globe touring 3 sample leaders and one street-level Spot me view with a radius circle.
  2. TC2A comparison table records frame rate, APK size increase, closeness to the design and monthly cost.
  3. TC3You choose the library; the decision is written in the task report.

Edge cases

  1. EC1Tested on one mid-range Android 14 phone, not only the emulator.
  2. EC2Offline behaviour of each option is noted.
T51Globe and top-10 tour“Around the world.” With interactive leader pop-up
Branch
feature/T51-world-globe
Design ref
app/world.html, app/globe.js
Depends on
T50, OQ4
Assets
A16, A20, A21

Test cases

  1. TC1Globe visits the top 10 monthly leaders in turn: 6.5-second stops, about 1.9-second flights. (WO-1)
  2. TC2Each stop shows a pop-up with profile image, name, country with flag, and monthly steps (remark on World).
  3. TC3The pop-up is interactive (tap opens more detail or the person — confirm in review).
  4. TC4Dragging pauses the tour; it resumes after 2.2 seconds idle. (WO-2)
  5. TC5Zooming reaches street level; the map attribution is visible. (WO-6)

Edge cases

  1. EC1Fewer than 10 leaders → tour cycles through those available.
  2. EC2Leader without a location → skipped on the globe.
  3. EC3Offline → globe or a clear message, never blank. (WO-5)
  4. EC4Remove animations on → no auto tour; user can step through leaders manually.
T52Spot meOwn marker, nearby people, rank within 100 / 250 / 500 km
Branch
feature/T52-world-spot-me
Design ref
app/world.js
Depends on
T51
Assets
A20

Test cases

  1. TC1Spot me asks for precise location permission (decision Q4).
  2. TC2Shows the user’s marker and a radius circle; 100, 250 and 500 km options. (WO-3)
  3. TC3Changing the radius changes the circle, nearby markers and “You are #N of M nearby”.

Edge cases

  1. EC1Permission refused → globe tour still works; Spot me explains why it is unavailable. (WO-4)
  2. EC2Location services off → prompt to turn them on.
  3. EC3Nobody nearby → “You are #1 of 1 nearby”.
  4. EC4GPS takes over 15 seconds → message and retry, no endless spinner.

M6 · Friends

T60Tabs, search and empty states“Better with your people.” Icon-only tabs, search below the tabs
Branch
feature/T60-friends-tabs-search
Design ref
app/friends.html, app/friends.js + PDF remark on Friends
Depends on
T04, T05, OQ4
Assets
A18, A19

Test cases

  1. TC1Four icon-only tabs (Discover, Received, Sent, My Friends) with screen reader names and counts on Received and Sent.
  2. TC2Search field sits below the tabs and searches only the open tab by name, city and username. (FR-1)
  3. TC3Tab subtitles match the design, e.g. Discover “Find a new walking companion.”
  4. TC4Empty states: “You’ve met everyone here”, “You’re all caught up”, “Your circle starts here” with their helper lines.
  5. TC5No results while searching → “No matches in this tab” / “Try another name or city, or switch tabs.” (FR-8)

Edge cases

  1. EC1Clearing the search in an empty tab shows the tab’s own empty message.
  2. EC2Search ignores case and extra spaces.
  3. EC3Long lists scroll smoothly and load more pages at the end.
T61Friend actionsAdd, cancel, accept, decline, remove
Branch
feature/T61-friend-actions
Design ref
app/friends.js, app/core.js
Depends on
T60

Test cases

  1. TC1Add friend → person leaves Discover, appears in Sent as Pending with today’s date; toast “Request sent. Track it in the Sent tab.” (FR-2)
  2. TC2Cancel request → back in Discover. (FR-3)
  3. TC3Accept → My Friends as Connected; toast “Added to My Friends.” (FR-4)
  4. TC4Decline → toast “Request declined.”; person discoverable again. (FR-6)
  5. TC5Remove asks “Remove {name} from your circle?”; Cancel changes nothing; confirm → “Friend removed.” (FR-5)
  6. TC6Counts on Received and Sent update immediately.

Edge cases

  1. EC1Add friend tapped twice quickly → one request. (FR-7)
  2. EC2Both users send a request to each other → handled as connected or one pending (server rule).
  3. EC3Action fails offline → list returns to its previous state with a message.
  4. EC4A sent request without a date shows Pending with no invented date.

M7 · Profile and legal

T70Profile view and edit“Your space.” Details and photo
Branch
feature/T70-profile-edit
Design ref
app/account.html, app/account.js, app/photo.js
Depends on
T04, T05, OQ5
Assets
A14

Test cases

  1. TC1View and edit name, email, gender, birth year, weight, height and main goal with the onboarding rules.
  2. TC2Photo upload, change and remove; removing shows the default avatar.
  3. TC3A name change updates the Home greeting and leaderboard row at once. (PR-1)

Edge cases

  1. EC1Cancel editing discards unsaved changes.
  2. EC2Email change follows OQ5.
  3. EC3Invalid photo file shows the same error as at signup.
T71SettingsDaily target, appearance, bots (read-only), logout, delete account
Branch
feature/T71-settings
Design ref
app/account.html, app/shell.js, app/bot-settings.js (editor is removed)
Depends on
T70

Test cases

  1. TC1Daily target opens the target editor; Home uses the new target at once. (PR-4)
  2. TC2Appearance: Auto, Dark, Light; choice survives closing the app. (PR-2)
  3. TC3Bot totals are shown read-only, or not shown at all — no way to edit them (decision Q10).
  4. TC4Logout returns to Welcome and clears this user’s cached data. (AC-5)
  5. TC5Delete account: confirm stays disabled until exactly “DELETE” is typed; after deleting, sign-in fails. (AC-6)

Edge cases

  1. EC1“delete” in lower case keeps confirm disabled.
  2. EC2Delete fails offline → account kept, clear message.
T72Privacy policy and TermsDraft text, test builds only
Branch
feature/T72-legal
Design ref
app/privacy.html, app/terms.html
Depends on
T04

Test cases

  1. TC1Both open from Create account and from Profile, and scroll fully.
  2. TC2Dev and staging builds show a “Draft” label; prod build is blocked until final text is supplied (decision Q14).

Edge cases

  1. EC1Readable at 200% font size without horizontal scrolling.

M8 · Real services

Replaces mocks once the backend endpoints exist.

T80API core and real authTokens, refresh, error messages; auth and profile on the Node.js API
Branch
feature/T80-api-auth
Depends on
Agreed API contract; M1, M7

Test cases

  1. TC1Tokens stored in secure storage; an expired token refreshes silently.
  2. TC2Each server error code shows a readable message.
  3. TC3M1 and M7 test cases pass against the real API on two phones.
  4. TC4Reinstall and sign in restores profile, target and photo. (PR-5)

Edge cases

  1. EC1Refresh token expired → back to Sign in, no loop.
  2. EC2Server down → app usable with cached data and a message.
T81Health Connect step readerDaily totals for today and the previous 7 days
Branch
feature/T81-health-connect
Depends on
T20

Test cases

  1. TC1Home shows the same total for today as Health Connect. (ST-1)
  2. TC2Adding 100 steps (walking or Health Connect Toolbox) shows within a minute of returning. (ST-4)
  3. TC3The app only reads steps; it never writes to Health Connect.

Edge cases

  1. EC1Permission revoked in settings → Home explains and offers to re-enable.
  2. EC2Steps from two sources (phone + watch) are not double counted.
T82Phone-sensor fallbackCounts steps when Health Connect has no data (decision Q5)
Branch
feature/T82-sensor-fallback
Depends on
T81, OQ8

Test cases

  1. TC1With no Health Connect data, walking 100 steps raises today’s total by about 100.
  2. TC2Home explains that steps come from the phone sensor and links to Health Connect settings.
  3. TC3When Health Connect data appears, the OQ8 rule decides which value is used, with no double counting.

Edge cases

  1. EC1Phone reboot (sensor counter resets) → today’s total is not lost.
  2. EC2Phone without a step sensor → clear message.
T83Step sync, offline queue and backgroundServer stores one row per user per day
Branch
feature/T83-step-sync
Depends on
T80, T81, OQ2

Test cases

  1. TC1Changed days are sent as date + total; sending the same day twice changes nothing.
  2. TC2Airplane mode: total updates on the phone; after reconnecting the server holds the same total, not double. (ST-5)
  3. TC3Closed across the day boundary → yesterday is final, today starts from zero. (ST-6)
  4. TC4Second phone, same user → same history in Activity. (ST-7)

Edge cases

  1. EC1Phone time zone changed → no day lost, duplicated or shifted. (ST-8)
  2. EC2Background access refused → sync happens on next app open.
T84Friends, leaderboard and bots on the real API
Branch
feature/T84-social-api
Depends on
T80, M3, M6

Test cases

  1. TC1All M6 test cases pass between real accounts A and B on two phones.
  2. TC2Leaderboard order and totals match the server report.
  3. TC3Bot totals change in the app only when changed on the server.

Edge cases

  1. EC1Friend deletes their account → disappears from lists and leaderboard.
T85Location and World on the real API
Branch
feature/T85-world-api
Depends on
T80, M5

Test cases

  1. TC1Real top-10 leaders tour the globe.
  2. TC2Nearby rank matches the server for each radius.

Edge cases

  1. EC1Location refused → user is hidden from others on the map.

M9 · Hardening and release

T90Offline, error and empty states everywhere
Branch
feature/T90-offline-states
Depends on
M8

Test cases

  1. TC1Every screen in airplane mode shows cached data or a clear message, never blank or a crash.

Edge cases

  1. EC1Connection lost mid-action → no half-saved state.
T91Accessibility passTalkBack, 200% text, reduced motion, contrast
Branch
feature/T91-accessibility
Depends on
M1–M7

Test cases

  1. TC1DA-1 to DA-8 from the strategy test plan pass.

Edge cases

  1. EC1Keyboard open on every form at 360 px → action button reachable. (DA-2)
T92Crash reporting
Branch
feature/T92-crash-reporting
Depends on
T01

Test cases

  1. TC1A forced test crash appears in the dashboard with the build flavour.

Edge cases

  1. EC1No personal data (email, location) is included in reports.
T93Play releaseHealth data declaration, legal text, signing, store listing
Branch
feature/T93-release
Depends on
T90–T92, final legal text
Assets
A01, store screenshots

Test cases

  1. TC1Signed build accepted into Play internal testing.
  2. TC2Pre-launch report shows no health-permission or policy warning.
  3. TC3Full regression of this page’s test cases on the release build.

Edge cases

  1. EC1No sample data, debug menus or the component gallery in the release build. (DA-8)

M10 · Push notifications (later)

T95Firebase setup and device tokenAll in-app and necessary notifications (decision Q15)
Branch
feature/T95-fcm-setup
Depends on
T80
Assets
A23

Test cases

  1. TC1Notification permission requested at a sensible moment (not during onboarding — no reminder screen).
  2. TC2The server holds a device token for each signed-in phone; logout removes it.

Edge cases

  1. EC1Permission refused → app works; in-app notices still shown.
T96Receive notifications and open the right screen
Branch
feature/T96-fcm-handling
Depends on
T95

Test cases

  1. TC1Friend request from phone A notifies phone B; tapping opens the Received tab.

Edge cases

  1. EC1Notification tapped while signed out → Sign in first, then the target screen.

Task reports

One report per completed task, newest first. Added by Claude before review; your review outcome is filled in after.

T00 · Development environment In review

Dates
Started 24 Nov 2026 · Submitted 24 Nov 2026 · Approved —
Branch / PR
none (machine setup)
Results
TC 1 pass, 1 N/A, 1 pending · EC 2/2 pass
Installed
Flutter 3.50.1 stable, Dart 3.14.0 (C:\dev\flutter, git clone, on user PATH) · Android Studio (manual install; winget download stalled twice) · Android SDK at C:\Android: platform 36, build-tools 36.0.0, platform-tools (on PATH), cmdline-tools · JDK: Android Studio jbr (OpenJDK 25) set with flutter config --jdk-dir · ANDROID_HOME=C:\Android
Not installed
Emulator and system images (team decision: physical phone only) · Visual Studio (Windows desktop builds, not needed)
Known limits
TC3 needs a phone connected with USB debugging. Plain java in a terminal resolves to Eclipse Adoptium JDK 17; Flutter builds ignore it. Open terminals/editors must be restarted to see PATH changes.
Setup for other developers
Same steps will be written in README.md during T01.
Your review
—

Txx · Task name Template

Dates
Started — · Submitted — · Approved —
Branch / PR
feature/Txx-… · PR #—
Results
TC —/— pass · EC —/— pass · flutter analyze clean · unit/widget tests —/—
Placeholders
Asset IDs still on placeholder
Known limits
Anything deferred, with the task that will handle it
Your review
Approved / changes requested, with notes