NAOS Fitness product docs
NAOS Fitness turns coach-measured benchmark assessments into a ranked season game. Two surfaces share one data model: the Member App (iOS and Android, one build) and the Portal (web, for coaches and admins). This is the reference for both, current as of 24 Oct 2026.
Source of truth
The clickable prototypes. Shared constants and logic live in naos-data.js; portal data in naos-portal-data.js. Fixture values are illustrative.
Open sign-up
No membership, plans or linking. Anyone can sign up and use everything. No in-app payment.
Open items
Pending NAOS decisions are listed under Open decisions, each with the call the prototype currently assumes.
Goals
- Make the assessment worth returning for. Rank only moves on a coach assessment, so the assessment is the core event.
- Give the weeks between assessments something to do. Challenges carry that loop and pay XP; they never move rank.
- Make standing legible at a glance. Home leads with tier, position and the next step.
- Make it shareable. The share card is a deliberate outbound artifact.
Not in V1
Payments or plans, exact-slot self-booking (members give preferences, the gym books), wearables and auto-tracking, gym tap-ins and visit streaks, team boards, divisions I–IV, social features (follow, messaging, comments).
Product model
Three progression tracks. They never merge.
| Track | Answers | Source | Moves | Resets |
|---|---|---|---|---|
| Fitness Rank | How good are you | Placement total from a coach assessment | Only on a published assessment; can go down | Every season |
| Account Level | How involved are you | XP from participation | Whenever XP is awarded | Never |
| Achievements | What have you done | Challenges that carry an achievement | On challenge completion | Never |
- XP never scales with score or position. Level counts participation only and never unlocks anything.
- Archetypes (Freight Train, Bruiser, The Athlete, Speed Demon) are calculated from score shape at read time, never stored, and appear only in goal setting in the member app.
- Unranked is the term for a member with no assessment this season. Attribute tiles show "—". Never "unassessed".
Sign-up and goals
Splash → Get started → Create account → SMS code → Password → Display name → Goals → Home
- Create account: First name, Last name, Email, Mobile (+63), Date of birth, Sex (Female · Male, matching scoring bands). Minimum age 13. One account per email and per mobile.
- SMS code: 6 digits, 30-second resend, 3 tries.
- Display name: 3–16 characters, letters, numbers and underscore. See Display names.
- Goals (required, no skip): pick an archetype preset (each with a one-line blurb) to auto-fill a shape, then adjust each attribute 1–9. A goal can't sit below the current score. Editable any time from Profile. No projected tier.
- Landing: NF mark, wordmark, one-line pitch, Create Account and Log In.
- Log in / reset: wrong credentials return one combined message; reset success copy is identical whether or not the email exists.
Display names
The display name is how a member appears on boards, the share card, News highlights and the portal. Field: displayName (formerly gamertag).
- Format: 3–16 characters; letters, numbers and underscore. Counter shows "n/16".
- Case: stored exactly as typed. The uniqueness check ignores case (DeadliftDuwende and deadliftduwende clash).
- Live checks run as the member types, at sign-up and in Edit profile, in this order: format, blocked words, taken.
- Admin reset: in the member record's Edit details pop-up. The member picks a new name on next open.
- The leaderboard always shows display names; real names appear only in the portal.
Blocked words (client request · built)
NAOS asked for a way to block offensive display names. Built in both surfaces; the real word list is supplied by NAOS later. Until then the list holds two test entries (badword, foulname).
| Part | Behaviour |
|---|---|
| Word list | Admin-only, in Settings · Display names. Add a word, remove a word (× on the chip), paste many at once (one per line or comma-separated; Enter adds). The English, Filipino and Cebuano list comes from NAOS. |
| Matching | Case-insensitive, and the word can appear anywhere in the name. Before matching, the name is normalised: underscores removed, look-alike characters mapped (0→o, 1→i, 3→e, 4→a, 5→s, 7→t, 8→b), and repeated letters collapsed (fuuuck → fuck). |
| Test a name | Admins type any name and see "{name} passes" or "Refused · matches …" with the member-facing message. |
| Where it applies | Sign-up (Display name step) and Edit profile, live as the member types; Create account and Save stay disabled while blocked. An admin reset assigns a temporary PLAYER#### name; the member's new pick goes through the same check. |
| Message | "That name isn't allowed. Try another." The message never repeats the blocked word. |
| Existing names | New names can never be saved with a blocked word. Names saved before a word was added stay until handled, so Settings · Display names lists current members whose names match (with the word, Open record and Reset name). The tab label shows the count; Dashboard · Needs attention (admin) shows "Display names to review" until each is reset. Adding a word says how many current names it catches. |
| Data | NAME_RULES { blocked[] }, normName(name), nameAllowed(name) → { ok, word }, NAME_BLOCKED_MSG in naos-data.js. Production: the server repeats the check on save; the app check is for speed only. |
Home and news
Home, top to bottom
- Rank widget: medal, tier, season and position, with a Sky strip at its foot holding the next step: request an assessment, the requested days and times, or the booked slot. Buttons: Rank ladder, Share rank.
- News carousel: live posts from the portal in the order set in the portal's Live tab (new posts go first), with dot indicators.
- Radar: current scores (solid) and goals (dashed outline), with attribute labels close to the shape.
- Top 5 Overall with Male / Female tabs.
- Season card: current season, days left, opens Season history.
News card and article
- Card: banner (or the post icon on grey when there is none), type icon and label, title, first 2 lines of text. The whole card is tappable; there is no "Read more".
- Article page: full-width banner, type · "Posted Mon 19 Oct", title, then the full text with subheadings, bold, italic, bullet lists and links. Links open in the phone's browser.
- Only posts with status
liveappear. Drafts and archived posts never reach the app.


Assessments
Requests
- First assessment always covers all five attributes (no stat picker).
- Reassessment adds a stat picker first (one to five attributes).
- Both carry preferences: at least 2 of the next 7 days, and at least one time window (Early morning 6–9 AM, Midday 11 AM–2 PM, Evening 5–8 PM). The gym books one slot inside them and notifies the member.
- Season phases (app): Live → Ending soon (from cutoff + 1 days before the end; the last day to request) → Requests closed (from the cutoff; booked slots still run) → Closed. Both follow the admin's cutoff setting.
- Assessments need an open season. With no live season the portal can't book, start, score or publish, and members can't request (first or reassessment). Closing a season cancels every open request and unscored booked slot (unpublished drafts are discarded) and notifies each member; the close dialog lists the counts first.
- Reassessment rules: live season only, after the first placement, one open request at a time, a cooldown after the last assessment (default 4 days) and requests close before season end (default 3 days). Both are admin-editable in Settings · Assessments.
Results
- Scores count up, the radar draws, the total lands, +500 XP. Movement against the previous assessment is shown, including downward.
- Rank reveal is the one full-screen celebration; it fires on first placement and on any tier change upward. A rank down shows factually, with no celebration.
- Attribute detail (tap a radar axis): each exercise, the raw result (lifts show estimated 1RM and the set), personal best with date, the 0–9 score and the band strip for the member's sex.
Challenges and achievements
Challenges give members something to do between assessments. Every challenge pays XP once; some also award an achievement. They never move rank. Data: CHALLENGES in naos-data.js; per-member progress from challengesFor(member).
Three groups
| Group | What it is | Available | Completed by | Admin can change |
|---|---|---|---|---|
| Starter | Six-step onboarding chain. One step unlocked at a time. | From sign-up | The app, when the member does the action | XP and achievement only |
| Workout | Training targets: lift weights, times, distances, assessment counts, personal bests. | From sign-up | Published assessments, automatically | Everything: add, edit, retire |
| Rank | Season goals: tiers, totals, attribute scores, goals, final position. | After first placement ("Unlocks after placement") | Published assessments and season close, automatically | Everything: add, edit, retire |
Starter chain
Set Your Goals (50) → Book Your First Assessment (50) → Complete Your First Assessment (100, achievement First Placement) → Open the Rank Ladder (25) → Find Yourself on the Leaderboard (25) → Share Your Rank Card (50, achievement Getting Started). Only the current step is tappable and jumps to its screen; later steps show a lock and "Unlocks after the step above".
Challenges page
- Header: To do · Completed n pills, and "n XP earned" from completed challenges.
- Group cards collapse and expand. Getting Started is open until finished, with "3 of 6" and a progress bar. Workout and Rank start collapsed with an "n open" count; Rank shows a lock until first placement.
- Row: check box, title, description, optional progress, optional "Unlocks {achievement}", and the XP pill (+XP while open, XP once done).
- Progress for count-based conditions: one Sky segment per step on a grey track with "n/N" on the right; targets above 10 steps use one continuous bar. Screen readers get "1 of 3 assessments".
- Hints on open rows: "Best 8:58" for best-result challenges, "Currently #9" for season finish, "3 of 5 there" for every-attribute scores.
- Completed tab: newest first, "Completed 17 Oct".
- Dynamic title: a "Reach a tier · next tier up" challenge reads "Reach Platinum" (the next tier), "Hold NAOS Legends" at the top, and keeps the reached tier once done.
Rules
- Completion is permanent. XP is paid once. A later rank down or a lower result does not undo it.
- Only published assessments count. Drafts, missed slots and requests never tick a challenge.
- Rank challenges are per season and reopen when a new season opens. "This season" counts in Workout reset too; "All time" counts never do.
- Achievements come only from challenges. Profile shows earned of total with a bar; tapping it opens Achievements, every achievement earned or locked. Default icon unless an admin uploaded a custom one.
- Retired challenges disappear from the app; members who completed one keep the XP, the achievement and the history row.
- Each completion writes one Level history row ("Challenge · Set Your Goals · +50") and a Notification.
Current catalogue
| Group | Challenge | Condition | XP | Achievement |
|---|---|---|---|---|
| Workout | Row 2 km Under 8:00 | Best 2 km row 8:00 or under | 200 | Sub-8 Row |
| Workout | Bench Press 135 lbs | Best bench est. 1RM 135 lbs or more | 200 | Plate Bench |
| Workout | Deadlift 225 lbs | Best deadlift est. 1RM 225 lbs or more | 250 | Heavy Pull |
| Workout | 20 m Sprint Under 3.5 s | Best sprint 3.5 s or under | 150 | — |
| Workout | Broad Jump 2.2 m | Best broad jump 220 cm or more | 150 | — |
| Workout | Complete 3 Assessments This Season | 3 assessments published · this season | 300 | Regular |
| Workout | Set 3 Personal Bests | 3 personal bests · all time | 200 | — |
| Rank | Reach the Next Tier | Move up a tier this season | 300 | Rank Up |
| Rank | Raise Any Attribute by 1 | Any attribute up 1 on a reassessment | 150 | — |
| Rank | Hit One of Your Goals | 1 of 5 goals met | 200 | — |
| Rank | No Score Below 5 | Every attribute at 5 or more | 300 | No Weak Spot |
| Rank | Finish in the Top 20 | Top 20 when the season closes | 500 | Top 20 |
Lift weights are fixed (same for both sexes) and pending client approval. Row 20 km in Total and Train 12 Sessions were retired on 24 Oct 2026: nothing records rowing distance or gym visits, so they could never complete.


Challenge conditions
Every Workout and Rank challenge carries exactly one condition: cond: { type, ...params }. The type list is COND_TYPES; evalCondition(cond, member) decides done and progress, and describeCondition(cond) writes the plain-English rule shown in the portal ("Ticks when: …"). Admins assign the type and parameters, so new automatic challenges need no development. A new kind of rule (a new type) does need development.
| Type | Label | Group | Parameters (range · default) | Met when | Progress shown |
|---|---|---|---|---|---|
best | Best result on an exercise | Workout | ex any of the nine exercises · goal lbs (est. 1RM), s, cm or m:ss | Best published result reaches the goal. Lower is better for sprint, T-Test and row. | "Best 8:58" hint |
assessments | Assessments published | Workout | n 1–20 · 3 · scope season or ever | Published assessments ≥ n | Segments n/N |
pbs | Personal bests | Workout | n 1–50 · 3 · scope season or ever | Results that beat the member's previous best ≥ n (one per exercise per assessment) | Segments or bar |
tier | Reach a tier | Rank | tier "next" or a tier key (Bronze to NAOS Legends) | "next": a published total moves the member up a tier. Named: the total lands in that tier or higher. | — |
total | Placement total | Rank | min 1–45 · 25 | Published total ≥ min | Bar n/N pts |
score | Attribute score | Rank | axis any, all, or one attribute · min 1–9 · 5 | The attribute (any one, every one, or the named one) ≥ min | "n of 5 there" for all |
gain | Raise an attribute | Rank | axis any or one attribute · by 1–8 · 1 | One reassessment raises the score by ≥ by over the previous assessment | — |
goals | Goals met | Rank | n 1–5 · 1 | n attributes at or above the member's goal | Segments n/N |
finish | Season finish | Rank | n 1–100 · 20 | The season closes with the member in the top n on Overall | "Currently #9" hint |
Examples an admin can build
- "Leg Press 300 lbs" → Best result · Leg press · 300.
- "Sub-12 T-Test" → Best result · T-Test · 12.
- "Reach Diamond" → Reach a tier · Diamond.
- "Strength 7" → Attribute score · Strength · 7.
- "Hit All Five Goals" → Goals met · 5.
- "Podium Finish" → Season finish · 3.
Not possible without development
Anything the system doesn't record: gym visits or sessions, total distance, training logs, wearables, bodyweight-relative targets, sex-specific targets on one challenge. Each needs a new data source and a new condition type.
Leaderboard
- Boards: Overall plus one per exercise (bench press, lat pull down, leg press, deadlift, 20 m sprint, T-Test, vertical jump, broad jump, 2 km row). Season and Sex filters. Timed boards rank lowest first; strength boards rank estimated 1RM.
- Rows: faint grey fill per row; the member's own row in Sky wash.
- Ties share a position; the earlier
reacheddate sorts first. - "Your rank" bar: floats at the bottom when the member's row is below the screen, sticks to the top when they have scrolled past it, and hides when about 60% of their row is visible. It slides down when the Home button hides. Tapping it scrolls to the row.
- Fewer than 2 entries hides a board.
- Member card (tap a row): ring with level, display name, tier chip, total, position, level, radar, and Compare with you.
- Head to head: both radars overlaid, per-attribute scores side by side with the difference, and the two placement totals.
- Share card (Share rank): NAOS wordmark, medal, display name, rank position, radar. Nothing else.

History
- Placement history: every assessment with date, per-attribute scores, total, tier and movement. A single assessment shows no movement column.
- Season history: leads with a Sky strip for the current season ("Current · Season 4", days left, progress bar, any notice), then past-season cards. Tapping a past season expands its final top 20 with the member's row highlighted.
- Ranks reset each season. Only the previous season's top 20 carries over.

Profile and settings
- Profile: avatar, display name, rank card (no archetype), account level bar (opens Level history), radar with goals, achievements summary (opens Achievements), Edit goals.
- Level history: level ring and bar, a note on where XP comes from, then the full XP log. See XP and level.
- Edit profile: avatar and display name. Name, mobile, email, date of birth and sex are changed by an admin only (date of birth and sex set scoring bands).
- About: FAQ, Contact, Privacy Policy, Terms (hosted URLs needed for store submission). Delete account is required by both stores; the request is queued for the gym.

Notifications
System-generated only; there is no portal UI to send them. The bell opens the Notifications list; each entry deep-links to its screen.
| Notification | Trigger | Opens |
|---|---|---|
| Assessment booked | Coach or admin books a slot | Home rank widget |
| Assessment rescheduled | Coach or admin moves a booked slot (new day, time or coach; shows the old slot) | Appointment |
| Placement results posted | Coach publishes an assessment (+500 XP) | Placement results |
| Rank up | A published total lands a higher tier | Rank reveal |
| Personal best | A result beats the member's best (+150 XP) | Attribute detail |
| Challenge complete / achievement unlocked | A challenge is completed | Challenges · Achievements |
| Level up | XP crosses a 1,000 XP threshold | Level history (toast, not full-screen) |
| Season ending | Ending soon starts: one day before requests close (cutoff + 1 days before the end; 4 by default). "Season n ends in 4 days · Requests close tomorrow" | Season |
| Request or booking cancelled | The season closes with the request open or the slot unscored | Home rank widget |
| Final standings | Season close (+1,000 XP) | Season history |
Our call: no push on a rank down; the member meets it inside the app, framed factually.
Roles
| Role | Can |
|---|---|
| Coach | Their own trainees only: schedule, booking and rescheduling, score entry and publishing, member records (view details read-only). Sees full season standings but opens only their trainees. |
| Admin | Everything: all members, member details, coach assignment, display name reset, season open and close, News, Challenges, Staff, Scoring, Assessment rules, App info. |
No front-desk role. Login with email and password (demo password naosfitness); the avatar menu has Change password and Log out.
Dashboard
- Tiles: Accounts (+n this week) · Requested an assessment (% of accounts) · Ranked this season (% of accounts; "—" with no season open).
- Growth chart (full width): sign-ups, first assessments and reassessments booked. Range: 7 days, 30 days, 90 days (default) or Custom dates. Up to 31 days shows daily bars; longer ranges show weekly bars. Hover a bar for its numbers.
- Needs attention, sorted by urgency, hidden at 0, coach-scoped: Display names to review (admin) · Open Season 1 (admin, no season) · Results not published · Missed slots to rebook · Requests waiting 3+ days · New sign-ups to book · Season closes in n days · unranked (last 14 days only). Each row opens the right tab.
- Tier spread for the current season, with an empty state and "Open Season 1" when no season exists.

Assessments
| Tab | Holds | Actions |
|---|---|---|
| Schedule | Today and upcoming slots. Today's published slots stay until end of day with their tier; earlier days drop off (history lives in the member record). | Start · Continue · Reschedule |
| Requests | Open first-assessment and reassessment requests with the member's preferred days and windows. | Book slot |
| Missed | Past slots with no published result ("Not scored", or draft progress) and requests whose slot was missed. Shown only when non-empty, with a count. | Rebook (next available day) · Finish scoring (partly scored) · Dismiss |
- Booking: preferred days and times are marked; a fit line says whether the slot matches. Booking a member with no coach assigns the booking coach.
- Score entry: raw results per exercise (weight × reps for lifts, trials for timed and jump tests), live band scores, personal best tags, member goals view-only. Drafts save as you go; Publish writes the assessment.


Members
- List filters: All · Ranked · Unranked, plus search.
- Record banner: display name, full name · sex · born, tier chip or Unranked, placement total. Bottom row: Coach (admins click it to open the Assign coach pop-up; coaches see the name), then Edit details (admin) or View details (coach), then booking or scoring actions.
- Details pop-up: first and last name, mobile, email, date of birth. Admins edit them and can reset the display name there.
- Attributes and goals: radar with goals as a dashed outline, and per-attribute score and goal rows.
- Assessment (booked slot or request), Assessment history (opens each result), Account level (level and XP).
- Challenges: view-only. Summary "n of N done · a of b achievements"; Starter · Workout · Rank tabs with done counts ("Starter · 3/6"); each row shows progress or hint, then the condition in words. Edits happen in Settings.
- No archetypes anywhere in the portal.

Season
- Standings: the member app's boards (Overall plus each exercise) with a Sex filter and search. Columns: position, member, tier, five scores, total or best result.
- Past seasons: closed seasons with their final top 20.
- Admin: close the live season (locks standings, saves the top 20, +1,000 XP to ranked members, cancels open requests and unscored slots with a notification), or open the next one: theme, start date (calendar picker; opens on click), length. Opening a season resets every rank; goals are kept.

News (admin)
- Tabs: All · Live · Drafts · Archive. Drafts were never published; Archive holds posts that were taken down, with the dates they were live.
- Ordering: the Live tab numbers each post and has Move up and Move down arrows. That order is the order of the News carousel on Home. New posts go first.
- Post editor is a full page with a back arrow and a sticky action bar: Cancel, then Save draft and Publish post (new or draft), Unpublish and Save changes (live), or Save and Publish again (archived). There is no autosave and no discard prompt.
- Fields: Type (Announcement · Highlight), Icon (8 per type; switching type resets to the type's default if needed), Title (48 characters), Text (basic rich text: subheading, bold, italic, bullet list, link; 2,000 characters), Banner (1200 × 500, upload or remove).
- Preview: Card | Article switch showing exactly what members see.
- Writes
NAOSData.NEWS(status: live · draft · archived;on,off,html,image,icon).


Settings (admin)
| Tab | What it controls |
|---|---|
| Staff | Invite, change role, deactivate. At least one active admin. |
| Scoring | Exercise bands per sex and tier thresholds; writes NAOSData.EXERCISES and TIERS. |
| Challenges | See Challenge editor. |
| Display names | Blocked words, Test a name, names to review. See Display names. |
| Assessments | Reassessment cooldown (0–28 days, default 4) and request cutoff before season end (0–14 days, default 3), each with a worked example. Changes apply to new requests only. |
| App info | Contact number, privacy and terms URLs used in the member app; validated, then live in the app on save. |
Pop-ups keep their scrollbar in its own gutter so it never covers content.

Challenge editor (admin)
Settings · Challenges. Tabs Starter · Workout · Rank with live counts. Each row: title, condition in words, description, achievement line, XP, and a Retired tag. Retired rows sort last. Add challenge appears on Workout and Rank.
Pop-up sections
| Section | Fields | Rules |
|---|---|---|
| What members see | Title, Description | Title required. Starter shows them read-only. |
| How it is completed | Condition, then its parameters: Exercise + Target (best), Tier, Attribute, Number, Counts (this season · all time) | Changing the condition loads its defaults. Targets: lbs or s or cm as numbers, the row as m:ss. Numbers must be whole and inside the range. A "Ticks when: …" line restates the rule; until it's valid it reads "Finish the condition to see when it ticks." |
| Reward | XP | 25 to 500. |
| Achievement | None · XP only, or Award an achievement: name, icon (default, or upload a square PNG or SVG, 256 × 256) | Name required when awarding. Use default restores the icon. |
| Actions | Cancel · Retire / Restore · Save challenge / Add challenge | Save stays disabled until everything is valid. Retire hides it from the app at once. |
- Saves write straight into
NAOSData.CHALLENGESand show in the app immediately. Members who already completed a challenge keep it after an edit. - Starter steps keep their wording, order and rule; only XP and the achievement change.
- Only the Workout conditions appear on the Workout tab and only the Rank conditions on the Rank tab.

Scoring and tiers
Five attributes, each scored 0–9 against sex-specific bands; the placement total is their sum (0–45). Live bands are in EXERCISES and editable in Settings · Scoring.
| Attribute | Icon | Exercises | Rule |
|---|---|---|---|
| Strength | biceps-flexed | Bench press, lat pull down, leg press, deadlift | Best of four. 1RM = weight × (1 + reps ÷ 30). lbs. |
| Speed | footprints | 20 m sprint | Seconds, lower is better |
| Agility | shuffle | T-Test | Seconds, lower is better |
| Explosiveness | bomb | Vertical jump, broad jump | Better of two. cm. |
| Stamina | heart | 2 km row | m:ss, lower is better |
A result earns the highest band it meets; a result below band 1, or no recorded result, scores 0. A total of 0–4 places in Iron. Attribute icons are Ink in both surfaces; no per-attribute colours.
| Tier | Min | Tier | Min |
|---|---|---|---|
| Iron | 0 | Platinum | 20 |
| Bronze | 5 | Diamond | 25 |
| Silver | 10 | Master | 30 |
| Gold | 15 | NAOS Legends | 35 |
Eight tiers; Grand Master is retired. Rank moves only on a coach assessment and can go down.
XP and level
| Source | XP |
|---|---|
| Assessment published (first or reassessment, any result) | 500 |
| Personal best, per exercise | 150 |
| Season completed (at least one assessment that season) | 1,000 |
| Challenge completed | 25–500, set per challenge |
Level = floor(XP ÷ 1000) + 1. Flat curve, never unlocks anything. Visit XP is retired.
Level history (Profile · Account level) is the full XP log: every assessment, personal best, season close and completed challenge, newest first, one row each ("Challenge · Set Your Goals · +50"). Total XP is the sum of the log (xpLogFor, xpFor), so the level, the history and the Challenges page always agree.
Data model
| Entity | Key fields | Notes |
|---|---|---|
| Member | id, firstName, lastName, displayName, sex, dob, email, mobile, mobileVerifiedAt, joinedAt, coachId, goals[5], goalArchetype, avatarUrl | Self-created. Coach assigned on first booking or by an admin. Archetype derived, not stored. |
| AssessmentRequest | id, memberId, seasonId, kind (first · reassess), attributes[], prefs { days[], windows[] }, status, requestedAt, slotAt, coachId | status: requested · booked · missed · cancelled · done. One open per member. |
| Slot | id, memberId, day, time, coachId, kind, attributes[], done, assessmentId | Past and unscored = missed. Dismiss removes it. |
| Assessment | id, memberId, coachId, date, scores[5], total, tier, goalsSnapshot[5], scope, pbs[] | Immutable once published. Order: STR, SPD, AGI, EXP, STA. |
| ExerciseResult | assessmentId, exerciseId, weight, reps, trials[], rawValue, score, isPersonalBest | rawValue is estimated 1RM for lifts. |
| Season | id, number, theme, startDate, weeks, status | none · live · closed. Archive keeps the final top 20. |
| Challenge | id, group (starter · workout · rank), title, body, xp, cond { type, ...params }, badge { name, icon, image, desc }, retired; Starter also go, param | CHALLENGES. Progress derived per member by evalCondition. |
| ChallengeCompletion | memberId, challengeId, seasonId, completedAt, xpEventId | Written once; never removed. |
| NameRules | blocked[] | Admin-edited in Settings · Display names. Real list supplied by NAOS. |
| NewsPost | id, kind, icon, title, body, html, image, status, on, off | NEWS. status: live · draft · archived. Array order = carousel order. |
| XpEvent | id, memberId, source (assessment · pb · season · challenge), amount, date, refId | Append-only; Level history lists them; level derived from the sum. |
| Staff | id, name, email, role (admin · coach), status | In naos-portal-data.js. |
Copy and visual rules
- Theme: v2 Monochrome on both surfaces. 60% white, 30% black (Ink top band, primary buttons, outlines), 10% NAOS Sky. Each mobile screen gets one solid Sky surface above the fold.
- Case: member app uses Title Case everywhere, no all caps. The portal keeps uppercase captions.
- Text on Sky: white in the member app and on portal sidebar badges; Ascend navy elsewhere in the portal. Never white on Ginto or pale Sky washes. Ginto is ceremony only.
- Voice: a coach who counts. Numbers first, verb-first buttons, dot-separated metadata. No emoji, no exclamation marks.
- Progress bars have no outline. Inputs show a single focus ring. Accent text on white uses
--text-accent.
V1 scope
Everything below ships in V1. Items marked NAOS input are built but wait on content or approval from NAOS.
| Area | Member app | Portal |
|---|---|---|
| Accounts | Open sign-up, SMS verification, password, display name, required goals, log in, reset password, delete account | Staff login, change password, staff invites and roles (Admin, Coach) |
| Display names | Format, uniqueness and blocked-word checks, live, at sign-up and Edit profile | Blocked words, Test a name, names to review, admin reset. NAOS input: word list |
| Assessments | First assessment and reassessment requests with preferred days and times; booked slot on Home; results, rank reveal, attribute detail | Schedule, Requests, Missed; booking; score entry with live bands; publish |
| Scoring | Five attributes, nine exercises, sex-specific bands, eight tiers | Bands and tier thresholds editable |
| Seasons | Season card, season history with final top 20 | Open and close seasons, standings, past seasons |
| Leaderboards | Overall plus nine exercise boards, Sex filter, ties, Your rank bar, member card, head to head, share card | Same boards in Season standings |
| Challenges | Starter, Workout, Rank; progress; achievements page | Challenge editor with conditions; view-only progress on member records. NAOS input: approve lift targets |
| XP and level | Level ring and bar, Level history | Level and XP on member records |
| News | Home carousel and article page | Posts, drafts, archive, rich text, banners, icons, carousel order |
| Notifications | Push plus the in-app Notifications list | None (system-generated only) |
| Settings | Edit profile, About and legal | Staff, Scoring, Challenges, Display names, Assessments rules, App info. NAOS input: privacy and terms URLs |
| Dashboard | — | Tiles, Growth chart, Needs attention, Tier spread |
System events
What the backend does when each event happens. Every step runs on the server; the apps only display the result.
| Event | Steps, in order |
|---|---|
| Member signs up | Validate fields → send SMS code → verify → save account → check display name (format, unique ignoring case, blocked words) → require goals → Starter step 1 done (+50 XP) → appears in Dashboard "New sign-ups to book". |
| Member requests an assessment | Check rules (live season, one open request, cooldown, cutoff) → save preferred days and windows → Requests tab; "Requests waiting 3+ days" after 3 days → Starter step 2 on the first request. |
| Staff books a slot | Save slot inside the preferences (or flag the mismatch) → assign the booking coach if none → push "Assessment booked" → Home shows the slot. |
| Coach publishes an assessment | Lock the assessment (immutable) → compute exercise scores, attribute scores, total, tier → mark personal bests → XP: +500, +150 per personal best → re-rank boards (ties share a position; earlier reached first) → evaluate every Workout and Rank challenge (evalCondition); each newly met one: completion record, XP, achievement → write XpEvents (Level history) → push results, rank up (if higher tier), personal best, challenge and level-up notifications → Starter step 3 on the first assessment. |
| Slot passes unscored | Move to Missed (with draft progress if partly scored) → Dashboard "Missed slots to rebook". |
| Admin closes the season | Lock standings → save final top 20 → +1,000 XP to members with at least one assessment that season → evaluate finish challenges → push final standings. |
| Admin opens a season | Reset every rank and position (goals kept) → reopen Rank challenges and "This season" counts → members are Unranked until assessed. |
| Admin saves a challenge | Validate condition and parameters → save → live in the app at once. Existing completions stay; members who already meet a new condition complete it on their next published assessment. |
| Admin adds a blocked word | Save → new names containing it are refused at once → list current matching names in "Display names to review". |
| Admin resets a display name | Replace with a temporary PLAYER#### name → member must pick a new name (same checks) on next open. |
| Admin publishes or reorders news | Save status and order → Home carousel shows live posts in that order. |
| Member deletes account | Queue the request for the gym → remove the member from boards once processed. |
Permissions
| Action | Coach | Admin |
|---|---|---|
| See Dashboard | Own trainees | Everyone |
| Book, reschedule, score and publish assessments | Own trainees | Everyone |
| Open member records | Own trainees | Everyone |
| Edit member details, assign coach, reset display name | — | Yes |
| View Season standings | All (opens own trainees only) | All |
| Open and close seasons | — | Yes |
| News | — | Yes |
| Settings (Staff, Scoring, Challenges, Display names, Assessments, App info) | — | Yes |
| Display names to review (Needs attention) | — | Yes |
At least one active admin must exist. Coach scope follows the member's assigned coach.
Validation rules
| Field | Rule | Message |
|---|---|---|
| First and last name | Required | "Enter a first name." / "Enter a last name." |
| Valid format; one account per email | "Enter a valid email." / "Another account already uses that email." | |
| Mobile | PH mobile (+63 9xx xxx xxxx); one account per number; SMS code 6 digits, 30 s resend, 3 tries | "Enter a PH mobile, e.g. +63 917 555 0142." / "Another account uses that number." |
| Date of birth | Age 13 to 100 | "Members must be 13 or older." / "Check the year." |
| Password | 8 characters minimum | — |
| Display name | 3–16; letters, numbers, underscore; unique ignoring case; no blocked word | "3 characters minimum" · "Letters, numbers and underscore only" · "That name isn't allowed. Try another." · "{name} is taken" |
| Goals | Each 1–9; not below the current score | — |
| Assessment request | At least 2 of the next 7 days and at least 1 time window | — |
| Lift entry | Weight (lbs) × reps; est. 1RM = w × (1 + reps ÷ 30) | — |
| News post | Title required, 48 characters; text required, 2,000 characters; banner 1200 × 500 | — |
| Challenge | Title required; XP 25–500; condition parameters in range (see Challenge conditions); achievement name required when awarding; icon square PNG or SVG, 256 × 256 | "Enter a title." · "25 to 500 XP." · "Use m:ss, e.g. 8:00." |
| Assessment rules | Cooldown 0–28 days; cutoff 0–14 days | — |
| App info | Contact number; privacy and terms as public https URLs | — |
Every rule is checked again on the server. The app checks are for speed only.
Services and integrations
- SMS: one-time codes to +63 numbers at sign-up.
- Email: password reset (members and staff) and staff invites. Reset copy is the same whether or not the email exists.
- Push notifications: APNs (iOS) and FCM (Android) for the events in Notifications. No push on a rank down.
- File storage: news banners, achievement icons and member avatars. The prototype keeps uploads for the session only.
- Hosted pages: Privacy Policy and Terms at public URLs, needed for store submission.
- Time zone: Asia/Manila for slots, season dates, "today" and the Missed cut-over.
- Fonts and icons: Barlow (self-host for the app builds) and Lucide 0.544.0.
Prototype only — do not ship
- Demo panels (member app and portal), demo member states and portal data states.
- Fixture data in
naos-data.jsandnaos-portal-data.js(names, results, news, growth history). - The two test blocked words (
badword,foulname) until NAOS supplies the list. - Build number in the version string (production shows the version only).
- Demo staff password
naosfitness.
Open decisions
| Decision | Current call |
|---|---|
| Workout challenge targets | Fixed weights and times (Bench 135 lbs, Deadlift 225 lbs, Broad Jump 2.2 m), same for both sexes. Pending client approval; could split by sex. |
| Blocked word list | Filter built. NAOS supplies the English, Filipino and Cebuano list later; two test entries until then. |
| Rank-down notification | No push; shown in the app only. |
| Season length | 4 weeks assumed. |
| Divisions I–IV | Dropped for V1. |
| File storage | Uploaded banners and achievement icons last only for the session in the prototype; production needs storage. |
Risks
- Quiet weeks. Rank, radar and personal bests are static between assessments. Challenges are the only live loop.
- Coach capacity. The cooldown allows several reassessments per member per season. Watch the Requests and Missed queues in the first season.
- Thin boards at launch. Many boards on one gym's members; the two-entry rule is the mitigation.
- Numbers are unbalanced. Thresholds, XP and challenge targets are illustrative until measured.
Build and deploy
- Screenshots in
docs/screens-2026-10/were captured from the prototypes on 24 Oct 2026. The olderdocs/screens/set predates 1 Oct and is not used. - Deploy bundle:
NAOS Deploy/holdsmember-app/andportal/, each a static site with anindex.htmlentry. Mirrors ofmember-deploy/andportal-deploy/. Rebuild before hand-off: the bundles predate challenge conditions, Level history and News ordering. - Demo panels (prototype only, Cmd/Ctrl+D in the portal; handle or shake in the app). Portal data states: Full demo · Members · no season · Empty · first launch; plus role switch and a New sign-up simulator. Member states: New account · First assessment booked · First placement · Reassessment booked · After re-placement · NAOS Legends. Must be strippable behind a build flag.
- Version string: dev and tester builds show the build number; production shows the version only.
- Platform pass: Android needs its own back button, share sheet and transitions.
Changelog
| Date | Change |
|---|---|
| 25 Oct 2026 | Scores run 0–9: a result below band 1 scores 0, so totals of 0–4 place in Iron. |
| 25 Oct 2026 | Assessment rescheduled notification. Ending soon starts one day before requests close, then a Requests closed phase. Assessments only run in an open season (portal blocks booking, scoring and publishing; app blocks first and reassessment requests). Season close cancels open requests and unscored slots and notifies members. |
| 24 Oct 2026 | Portal synced to the member app: tap-ins, visits and streaks removed; News manager with drafts, archive, rich text, banner, icon picker and full-page editor with preview; challenge editor; Missed tab; Dashboard rebuilt (tiles, growth ranges, Needs attention); coach in the member banner; archetypes removed from the portal. Member app: news article page, sidebar navigation with hiding Home button, Achievements page, docked "Your rank" bar. |
| 24 Oct 2026 | Build spec added: V1 scope, system events, permissions, validation rules, services and integrations, prototype-only list. Allowed words and the placeholder notice removed from Display names. |
| 24 Oct 2026 | Blocked-words filter built: Settings · Display names (blocked words, Test a name, names to review), live check at sign-up and Edit profile, Needs attention row. Word list to be supplied by NAOS. Challenges and Edit challenge screenshots recaptured; Display names screenshot added. |
| 24 Oct 2026 | Docs sweep: Display names section with the blocked-word specification; Challenges rewritten (groups, page, rules, catalogue) with a Challenge conditions reference and a Challenge editor section. Challenge progress uses step segments. Stale visit and streak copy removed from the FAQ and demo notifications. |
| 24 Oct 2026 | Level history is the full XP log, including one row per completed challenge; total XP is the log sum. Challenge conditions: admins assign a condition type and parameters to Workout and Rank challenges, all ticked from published assessments. Row 20 km and Train 12 sessions retired, replaced by Complete 3 assessments and Set 3 personal bests. News ordering in the Live tab. |
| 12 Oct 2026 | Challenges added (Starter, Workout, Rank); achievements come only from challenges. White text on Sky in the member app. |
| 11 Oct 2026 | v2 Monochrome on both surfaces. Eight tiers (Grand Master retired). Member app: Title Case, tap-ins and streaks removed, Notifications replaces Activity. |
| 7 Oct 2026 | First assessment always covers all five attributes. Goals required, no projected tier. Attribute icons. |
| 1 Oct 2026 | Open sign-up: no membership or linking. Display name replaces gamertag. Member-set goals. Preference-based assessment requests. |
