Phase 2: Coach onboarding + contractor agreement #8
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lineage
plan-2026-03-08-tryout-prep→ Phase 2 (Coach onboarding + contractor agreement)Repo
forgejo_admin/basketball-apiUser Story
As a coach (KJ, Madi, Mani, Abby)
I want to sign a 1099 contractor agreement and set up direct deposit
So that I'm officially onboarded and can view the player roster before tryouts
Context
Tryouts are March 13. 4 coaches need to be onboarded as 1099 independent contractors with direct deposit via Stripe Connect Express. The Coach model doesn't exist yet — needs to be created from scratch.
What already exists:
~/secretsfor Stripe Connect platform setupDecisions made in planning:
File Targets
Files the agent should modify or create:
src/basketball_api/models.py— add Coach modelalembic/versions/— new migration for Coach tablesrc/basketball_api/routes/coach.py— new: onboarding flow (GET /coach/onboard → agreement page, POST → accept + Stripe Connect)src/basketball_api/services/stripe_connect.py— new or extend existing: Stripe Connect Express account creation + onboarding link generationFiles the agent should NOT touch:
src/basketball_api/routes/register.py— that's Phase 1src/basketball_api/services/email.py— that's Phase 3Acceptance Criteria
GET /coach/onboardreturns HTML page with full contractor agreement text and "I agree" form collecting name, email, phone, addressTest Expectations
pytest tests/ -vConstraints
~/secrets/stripe/— check for exact path/filename at runtimeChecklist
Related
project-westside-basketball— project this affects