WP-06: Track Catalog API Endpoints #71
Labels
No Label
ai-changes-requested
ai-failed
ai-merged
ai-pr-opened
ai-reviewed
ai-reviewing
ai-reviewing
ai-working
bug
enhancement
evolution
performance
phase-0
phase-1a
phase-1b
phase-1c
phase-1d
security
tech-debt
todo
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-database#71
Loading…
Reference in New Issue
Block a user
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?
Description
Read-only API endpoints for browsing evolution tracks and their thresholds. Used by the bot's
/evo statuscommand and admin inspection.Repo:
databasePhase: 1b (API & Formula Engine)
Dependencies: WP-01, WP-04
Complexity: S
Endpoints
No
/milestonessub-endpoint — milestones are just thresholds on the track.Files
database/app/routers_v2/evolution.pydatabase/app/main.py— register routerTests (write first in
database/tests/test_evolution_track_api.py)Plan reference:
docs/prd-evolution/PHASE1_PROJECT_PLAN.mdWP-06PR #86 opened: #86
Implements
GET /api/v2/evolution/tracksandGET /api/v2/evolution/tracks/{track_id}. Both endpoints require Bearer auth and return track dicts withformulaandt1_threshold–t4_thresholdfields.EvolutionTrackis lazy-imported so the app starts cleanly before WP-01 merges. 5 integration tests intests/test_evolution_track_api.py(auto-skip withoutPOSTGRES_HOST). Must merge after WP-01 (#82) and WP-04 (#84).