Helper scripts invoked by the Makefile/Taskfile:
bootstrap_repos.shclones or updates every entry inconfig/upstreams.listinto../upstreams/.lock_repos.shrewrites the pin column inconfig/upstreams.listto the currently checked-out SHAs (maintainers only).unlock_repos.shresets the pin column toAUTO.link_toolchains.shcreates symlinks so the repo-visible.cargo,.rustup, and both SWI pack directories (~/.configand~/.local/share) mirror the host copies.- Any new automation (e.g., test runners, lint wrappers) should be added here and wired into
Makefile/Taskfile.yml.
Scripts are written for POSIX bash (#!/usr/bin/env bash + set -euo pipefail). Keep them idempotent so they can be re-run safely during onboarding.