Retype today-link behavior
Purpose
Keep the links -> Today entry in retype.yml pointed at the current dated daily-log page, and manage the optional Workout entry for the current dated calendar page.
Target fields
The updater is responsible for:
- the single
link:entry under theTodaylink block that points to/athlete/logs/daily/YYYY-MM-DD.md - the single
Workoutlink block that points to/athlete/calendar/YYYY-MM-DD.mdwhen today's calendar file exists - removing the
Workoutlink block when today's calendar file does not exist
Current scheduling rule
Run once daily at 3:00 AM system time.
In this workspace, use America/Edmonton as the scheduler timezone unless the operator changes it.
Constraints
- Update only the dated
Todaylink target and the conditionalWorkoutblock. - Do not rewrite unrelated Retype config.
- Fail loudly if the expected
Todaylink block is missing or duplicated. - Fail loudly if multiple
Workoutblocks are present. - Keep the workflow simple and deterministic.