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 the Today link block that points to /athlete/logs/daily/YYYY-MM-DD.md
  • the single Workout link block that points to /athlete/calendar/YYYY-MM-DD.md when today's calendar file exists
  • removing the Workout link 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 Today link target and the conditional Workout block.
  • Do not rewrite unrelated Retype config.
  • Fail loudly if the expected Today link block is missing or duplicated.
  • Fail loudly if multiple Workout blocks are present.
  • Keep the workflow simple and deterministic.