Skip to content

Tracks

Admin- and mentor-facing tracks group published study plan templates in a fixed order. Tracks model the discipleship hourglass: many entry paths in milk, fewer in transition and meat, then many paths fanning out in higher spiritual phases.

Learner-facing copy may use themed language later; planning and admin APIs use plain track terminology.

Funnel vs specialization is not a stored field — it is conveyed by spiritual_phase, tags, and description (e.g. tag funnel or specialization).

Clean slate MILK | Well-known MILK (many tracks — entry by background)
\ | /
\ | /
TRANSITION (fewer — finish / converge milk work / guage if ready for meat by giving a taste of meat)
\ | /
\ | /
MEAT (fewest — shared core)
/ | \
/ | \
/ | \
STRONG_MEAT
/ FEAST \
/ GRADUATED \(many specialization-style tracks)
Phase band Expected cardinality Role
Milk Many Route mentees by starting point (“where are you coming from?”)
Transition Fewer Complete milk work; converge toward meat
Meat Fewest Shared core everyone passes through
Strong meat, feast, graduated Many Fan-out — gifts, ministry roles, depth areas
Concept Table Notes
Track tracks One row per ordered curriculum path
Module order track_modules Unified sort_order for plan rows and elective groups
Plan membership track_study_plan_templates is_required, mentor_instructions on pivot
Elective group track_elective_groups Choice slot: title, pick_count, selector
Elective pool track_elective_group_plans Pool templates + optional per-option mentor_instructions
Prerequisite group track_prerequisite_groups AND/OR group on a track; groups combine with AND
Prerequisite item track_prerequisite_group_items Required track inside a group; same course type only
Noop skip studies + focus_kind = skip_noop Hidden skip template; ended study with satisfies_plan_template_id
Elective noop focus_kind = elective_noop, focus_value = elective_group_id Auto-created per group; added to pool as skip option
Tag track_tags Normalized label (slug + display name)
Tagging track_tag Pivot track_id, track_tag_id
Field Purpose
spiritual_phase Required band for the track. Exact match when minimum_level is unset
minimum_level Optional Bible rank. When set, replaces the exact phase match
slug, title, description Admin catalog metadata; extra notes for mentors live in description
is_published Draft when false; mentors see published tracks only

Tracks can require other tracks of the same course type, and a Bible track can require a minimum spiritual level.

  • Prerequisite groups on a track are combined with AND. Items inside a group use that group’s operator (AND or OR). That covers a linear path, several paths into one track, and one track unlocking several later tracks.
  • A prerequisite track is complete when every required plan is finished (or an authorized skip of a skippable plan) and each elective group’s pick count is met. Completion is not a certificate.
  • minimum_level on a Bible track replaces the exact spiritual_phase match: the learner’s rank must be at least that level. When it is unset, browse and assign still use the exact phase match.
  • Course types with an empty level catalog skip level and phase checks. Prerequisites still apply.
  • The same gate blocks assigning a locked track and starting a locked guided plan, including when a mentor starts the study. There is no mentor override.
  • An empty prerequisite graph and a null minimum level keep the previous behavior.

Human-readable notes can still live in description.

Tags help mentors and admins find the right track when many exist.

Rule v1
Who assigns tags Curriculum designers and platform administrators (manual via tagSlugs on create/update)
Tag source of truth track_tags dictionary; pivots on tracks
Discovery tracks(spiritualPhase, tagSlugs, forUserId)
AI-assisted tagging Deferred

Example tag slugs: new-believer, funnel, specialization, spiritual-gifts, teaching, mercy.

Curriculum designers and platform administrators browse tracks on the curriculum map (/admin/curriculum/map) and edit them at /admin/tracks/[id]. Tags stay at /admin/tracks/tags. Designer guide: Tracks. Review queue: /admin/curriculum/reviews.

Route Purpose
/admin/tracks Redirects to /admin/curriculum/map
/admin/tracks/new, /admin/tracks/[id] Track form with ordered plan and elective modules
/admin/tracks/tags Tag dictionary CRUD
/admin/churchtech ChurchTech tracks and topics: list, create, edit, order, publish. Published topic edits are staged for review.

Unpublished tracks (is_published = false) require curriculum review approval before updateTrack with isPublished: true, same rules as study plan templates. Self-approval is blocked; platform administrators bypass the gate.

Published track edits: staging revisions for published tracks are planned; v1 applies the publish guard on first publish only. Track module merges from staged payloads are not yet supported.

Operation Audience
adminTracks, createTrack, updateTrack, deleteTrack Bible or Tech designer for that track’s domain, or platform administrator
adminTrackTags Bible or Tech designer, or platform administrator
tracks(spiritualPhase, tagSlugs, forUserId) Authenticated browse (mentors assign using mentee phase via forUserId)

Mentors assign a published track to an active mentorship (mentorships.track_id). Progress is inferred from track-linked studies on the mentee (studies.track_id, plan_template_id, ended_at, and satisfies_plan_template_id for skips). Book modules should list the generic book plan: loop book bindings unroll mappings on that same template and do not change plan_template_id. Rules:

  • One track per active mentorship pairing.
  • At most one open track study (ended_at is null) at a time.
  • Assign next study on track auto-assigns only when the next unsatisfied module is a required plan.
  • assignTrackStudy assigns a specific plan (required, skippable, or elective pool choice).
  • skipTrackPlan creates an immediately ended noop study that satisfies the current skippable module.
  • Ad-hoc createMenteeStudy remains available for exceptions (no track_id).

Deferred: user_course_progress table, server-enforced prerequisite graph — see Architecture Questions.

Some plan modules are not required (is_required = false on track_study_plan_templates). They do not block track completion. The mentor assigns or skips each skippable plan when it is the current module.

mentor_instructions on the plan pivot is admin-authored prose for the mentor (e.g. “Skip if already baptized as a believer.”). It is mentor-facing only — not shown to the mentee as curriculum content.

A skippable plan is satisfied when the mentee completes a track-linked study for that template or the mentor skips it. Skips create a hidden study plan with focus_kind = skip_noop (slug track-module-noop): an ended track study whose plan_template_id is that template and whose satisfies_plan_template_id points at the skipped module template.

Each elective group automatically gets a companion elective_noop template (focus_value = the group’s id). It is added to the pool as a skip option — assigning it completes the elective slot without real curriculum.

Elective groups personalize a track — they are not hourglass fan-out (that remains separate specialization-style tracks at higher phases).

A group is a slot in module order with a curated pool of study plan templates (guided, book, etc.). The mentor or mentee picks from the pool before the track advances:

Field Purpose
title, description Slot copy (“Choose a book study”)
pick_count How many pool studies must be completed (usually 1)
selector mentor, mentee, or either — who may assign from the pool

Example:

1. Foundations (required)
2. Baptism deep-dive (skippable) — mentor_instructions on pivot
3. [Elective: pick 1 book] → Romans | John | Philippians
4. Gospel overview (required)

Pool members may include book plan templates; assignment creates a Book study with the template’s focus_value (USFM id), not only guided templates.

Per-option mentor_instructions on track_elective_group_plans give hints (“Good if mentee wants a narrative gospel”).

Operation Audience
createTrack / updateTrack with modules input Bible or Tech designer for that track’s domain, or platform administrator
assignTrackStudy, skipTrackPlan Mentor (mentee for mentee/either electives)
trackProgress.modules on mentorship Mentor