Skip to content

fix: accept live athlete curve summaries - #3

Merged
yerzhansa merged 1 commit into
mainfrom
codex/v0.3.1-live-curve-compat
Aug 7, 2026
Merged

yerzhansa merged 1 commit into
mainfrom
codex/v0.3.1-live-curve-compat

Conversation

@yerzhansa

Copy link
Copy Markdown
Owner

Summary

  • model athlete curve-set activity entries as compact summaries rather than full activities
  • allow the live endpoint to omit the activity type without fabricating one
  • export the accurate AthleteCurveActivity contract and document the correction
  • bump the package to 0.3.1

Evidence

  • npm run verify
  • 323 unit/integration tests passed
  • TypeScript compatibility consumers passed
  • privacy-sanitized live probes: four HTTP 200 curve requests parsed successfully; all requested range selectors were present where data existed

Root cause

The live athlete curve endpoints return compact activity metadata and currently omit type. Version 0.3.0 validated those entries as full Activity objects, turning valid HTTP 200 responses into local Validation results.

@yerzhansa
yerzhansa merged commit 0e1c918 into main Aug 7, 2026
9 checks passed
@yerzhansa
yerzhansa deleted the codex/v0.3.1-live-curve-compat branch August 7, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant