Deterministic resolution order (first hit wins; no silent URL scavenges):
Local study root (
ctx$local_rootor configured study folders / monorepo)Configured registry stub (
registry_root/studies/<folder>.yml)Remote registry stub URL for the configured registry repo
Arguments
- doi
Character. DOI of the paper (or study handle / local path accepted by
prepare_doi_for_replication()).- repo
Optional repository slug.
- folder
Optional registry folder name from
index.csv.
