Package loomsource resolves the Loom checkout used by temporary integration
modules. It keeps local-vs-remote policy consistent across transport harnesses.
ReadMode reads source selection for the given worktree. A missing setting is
remote mode so CI and fresh checkouts exercise a pushed, reproducible commit.
Mode selects whether temporary modules use a local checkout or a checkout of
the current commit fetched from the canonical remote.
const (
// ModeLocal uses the configured local checkout. ModeLocal Mode = "local"
// ModeRemote fetches the current commit from the canonical remote. ModeRemote Mode = "remote"
)