The problem #
“Use the masking step from the other repo” becomes a copied folder that silently diverges, or a reference to a branch that changes under you.
The fix #
Reference the step where it lives. Then lock it: one command records exactly what each reference resolved to.
yaml
spec: openflange.org/lock/v0.1
dependencies:
"./pipes/lowercase":
resolved: ./pipes/lowercase
version: 0.1.0
integrity: sha256-<hex>A locked run compares before it starts, and refuses if anything is different.
The precise terms #
- References can be a path,
std:<name>,npm:<package>,git:<url>, anhttps://URL of a remote pipe, or<publisher>/<name>resolved through a registry index. openflange resolvewritesopenflange.lock.yaml. Each entry records the resolved location, the contract version, a revision (commit, package checksum, or what a server reports) and an integrity hash.openflange run --lockedfails withE_LOCKwhen a reference is missing from the lockfile or its integrity differs.openflange updatere-resolves deliberately.- Commit the lockfile. Installing
pypi:,cran:andoci:references is recognised but not supported by v0.1 runners.