Add data / ATH documentation
ath link
Attach a logged result to a device-recorded session.
Usage
$ath link <result-id> <session-id> --revision 1 --jsonArguments
What it does
Previews a stable-ID link, then writes it as a new revision of the benchmark result after confirmation. A stale expected revision is refused.
Examples
Find the record IDs and current result revision first. Preview with --json or --dry-run, then repeat with --yes after review.
$ath records list --type benchmark_result$ath records list --type workout_session$ath link <result-id> <session-id> --revision 1 --yes