A mutation at the head opens a branch with
ctx.branch({ from, until }),
admitted within the installation’s retention from its cut (without until,
it lives to the end of retention; see
History and lifetime). A
client then calls the same functions in it with client.in(branch), under the
installed code and the caller’s own authority: a branch grants no access.
ctx.land(branch, { seen, then }) applies the branch to the head once someone
has reviewed it, and ctx.discard(branch) ends it without landing.
Use a branch to prepare a correction or a decision for review. To exercise a
real performer, use the head of a separate
development deployment: tasks staged in a
branch are performed only once it lands.
- Branch workflow: one example from open to land, with server and client code.
- Create and use a branch: open, select, keep and discard a branch.
- Read other versions: read and replay past versions and compare them.