Repository navigation
Data source credits: show source_attributions wherever the data goes - #68
Open
DrAlexHarrison wants to merge 1 commit into
Open
DrAlexHarrison wants to merge 1 commit into
DrAlexHarrison wants to merge 1 commit into
Conversation
Document the source_attributions lines on the athlete's activities, insights, Coach API sessions, reports, roster rows and coach webhook events, and the duty to show them verbatim beside the data and anything built from it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RdmWd4TJTQMDjLtmVXcBu1 Ci-From: amac Ci-Session: 47cac48e-1e74-4d9d-a691-30d517a06c2f
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes, in plain words
docs.saturday.fit tells API users and AI-assistant builders about the new credit lines on workouts: when a workout came from a source whose terms require credit (for example a Garmin watch, relayed by intervals.icu), Saturday sends
source_attributionssuch as["Garmin Edge 1040"], and they must show it word for word next to the workout and anything they build from it.Merge order: merge this only after fuel-backend #1806 is deployed to prod (partner-api). This repo deploys on merge (Mintlify), so merging first would document a field the live API does not send yet. Leave unlabeled: fuel-backend #1806 stacks on #1803, which is held for Alex.
Pages
guides/attribution.mdx: new "Data source credits" section: the field, the display duty (verbatim, untranslated, visible without interaction, carried downstream), and a table of every response that carries it.guides/coach-api.mdx: roster and digest rows carry the field; an intervals.icu workout recorded on Garmin carries a Garmin line; the webhook example showssource_attributions, which the events already carry.guides/activities.mdx: one line on the field for an athlete's synced activities.guides/mcp-integration.mdx: AI agent guidelines add "showsource_attributionslines".Checks
check-docs-drift.py --backend <fuel-backend #1806 worktree>: clean.check-engine-constants.py,check-app-claims.py,test-response-examples.py: clean.mint broken-links --check-anchors: no broken links.🤖 Generated with Claude Code
https://claude.ai/code/session_01RdmWd4TJTQMDjLtmVXcBu1