Add age-based team reassignment clause to Queens contracts #29

Open
opened 2026-03-28 17:54:54 +00:00 by forgejo_admin · 1 comment

Type

Feature

Lineage

Discovered during girls roster assignment 2026-03-28. Marcus requested during live roster meeting.

Repo

forgejo_admin/westside-contracts

User Story

As an admin, I want Queens contracts to include an age-based team reassignment clause so that younger players can be moved to age-appropriate teams without contract disputes.

Context

Queens rosters include players across multiple graduating classes (2027-2031). Some younger players on the 17U team may be better served on a younger team. The contract needs language giving the organization discretion to reassign younger players to a more age-appropriate team.

File Targets

Files the agent should modify:

  • src/routes/contract/[token]/+page.svelte -- add Queens-specific reassignment clause conditional on player.team_name?.includes('Queens')
  • src/routes/contract/[token]/+page.server.ts -- already passes team_name, no changes needed

Acceptance Criteria

  • Queens contracts include a clause stating the organization reserves the right to reassign younger players to a lower/younger age group team
  • Language is professional and clear
  • Clause only appears on Queens contracts, not Kings

Test Expectations

  • Run npm run build && npm run dev, then navigate to a Queens player contract page
  • Verify the reassignment clause appears for Queens players
  • Verify the reassignment clause does NOT appear for Kings players

Constraints

  • Language should be firm but fair -- not punitive
  • Must be legally sound as part of a program agreement

Checklist

  • PR opened
  • Contract reviewed
  • No unrelated changes
  • project-westside-basketball
### Type Feature ### Lineage Discovered during girls roster assignment 2026-03-28. Marcus requested during live roster meeting. ### Repo `forgejo_admin/westside-contracts` ### User Story As an admin, I want Queens contracts to include an age-based team reassignment clause so that younger players can be moved to age-appropriate teams without contract disputes. ### Context Queens rosters include players across multiple graduating classes (2027-2031). Some younger players on the 17U team may be better served on a younger team. The contract needs language giving the organization discretion to reassign younger players to a more age-appropriate team. ### File Targets Files the agent should modify: - `src/routes/contract/[token]/+page.svelte` -- add Queens-specific reassignment clause conditional on `player.team_name?.includes('Queens')` - `src/routes/contract/[token]/+page.server.ts` -- already passes `team_name`, no changes needed ### Acceptance Criteria - [ ] Queens contracts include a clause stating the organization reserves the right to reassign younger players to a lower/younger age group team - [ ] Language is professional and clear - [ ] Clause only appears on Queens contracts, not Kings ### Test Expectations - [ ] Run `npm run build && npm run dev`, then navigate to a Queens player contract page - [ ] Verify the reassignment clause appears for Queens players - [ ] Verify the reassignment clause does NOT appear for Kings players ### Constraints - Language should be firm but fair -- not punitive - Must be legally sound as part of a program agreement ### Checklist - [ ] PR opened - [ ] Contract reviewed - [ ] No unrelated changes ### Related - `project-westside-basketball`
Author
Owner

Scope Review: NEEDS_REFINEMENT

Review note: review-wc29-2026-03-28
File Targets are vague, Test Expectations lack a real command, traceability labels missing, and no board item exists yet.

  • [BODY] Replace vague File Targets with specific path: src/routes/contract/[token]/+page.svelte — add Queens conditional clause using player.team_name?.includes('Queens') after the Commitment section. Add "should NOT touch" list for +page.server.ts and sign/+server.ts.
  • [BODY] Fix Test Expectations with real verification steps (load Queens contract URL → clause visible; load Kings contract URL → clause absent).
  • [BODY] Complete User Story with "So that" clause.
  • [LABEL] Add arch:contract-flow label to board item.
  • [LABEL] Add story label or document as standalone/discovered scope.
  • [SCOPE] Create board item on board-westside-basketball in backlog.
## Scope Review: NEEDS_REFINEMENT Review note: `review-wc29-2026-03-28` File Targets are vague, Test Expectations lack a real command, traceability labels missing, and no board item exists yet. - **[BODY]** Replace vague File Targets with specific path: `src/routes/contract/[token]/+page.svelte` — add Queens conditional clause using `player.team_name?.includes('Queens')` after the Commitment section. Add "should NOT touch" list for `+page.server.ts` and `sign/+server.ts`. - **[BODY]** Fix Test Expectations with real verification steps (load Queens contract URL → clause visible; load Kings contract URL → clause absent). - **[BODY]** Complete User Story with "So that" clause. - **[LABEL]** Add `arch:contract-flow` label to board item. - **[LABEL]** Add story label or document as standalone/discovered scope. - **[SCOPE]** Create board item on board-westside-basketball in backlog.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/westside-contracts#29
No description provided.