Skip to content

Changes and landings

How work moves through Atoll Forge, from changes whose IDs last to stacks and landings on main.

Atoll Forge has no branches to create, name or merge. You work in changes, and finished changes land on main, the repository’s one line of history. The model is Jujutsu’s, and af’s commands do what jj’s do.

A stack of changes landing on mainIn the workspace, change rzuxuupu (Add a greeting) and change zoxlumrl (Add a farewell) on top of it are open, each with a change ID in letters and a commit ID in hex. af submit on the top change lands both, in order, on main, where they follow the root.YOUR WORKSPACEzoxlumrlAdd a farewellcommit 52a599ccrzuxuupuAdd a greetingcommit 63fb0163builds onmainaf submitMAINzoxlumrlAdd a farewellcommit 52a599ccrzuxuupuAdd a greetingcommit 63fb0163rootChange ID: letters k to z, kept however often it is rewrittenCommit ID: hex, new each editA stack of changes landing on mainIn the workspace, change rzuxuupu (Add a greeting) and change zoxlumrl (Add a farewell) on top of it are open, each with a change ID in letters and a commit ID in hex. af submit on the top change lands both, in order, on main, where they follow the root.YOUR WORKSPACEzoxlumrlAdd a farewellcommit 52a599ccrzuxuupuAdd a greetingcommit 63fb0163builds onmainaf submitMAINzoxlumrlAdd a farewellcommit 52a599ccrzuxuupuAdd a greetingcommit 63fb0163rootChange ID: letters k to z, kept on rewriteCommit ID: hex, new each edit
Two open changes, one built on the other. Submitting the top one lands both, in order, on main. Each keeps its change ID; its commit ID is the latest of its edits.

A change keeps its ID

A change is one piece of work. Its change ID, written in the letters k to z, stays the same however many times you edit or rewrite the change. Each edit makes a new commit of the change, with a new commit ID in hex. The two are written in different alphabets, so the start of an ID can never be read as both, and wherever af takes a change it takes the start of its ID, as af log shows it.

Build a stack

Start a server and a workspace as in the quickstart:

$ af-server --dev
...
$ source ~/af-dev/dev/env
$ af workspace add ~/demo
Workspace at /home/you/demo
Paths: **
main has no landing yet
$ cd ~/demo

Start a change, make an edit, then commit it. As in jj, af commit describes the change you are on and starts a new one on top of it:

$ af new
Working on change rzuxuupuqlssuksrzvymwlwuqkzllomv at commit f0d8d12c266bbef0188e10f8605e8353402086c34a9e375e97c6babf1136a735
$ echo "Hello" > greeting.txt
$ af commit -m "Add a greeting"
Change rzuxuupuqlssuksrzvymwlwuqkzllomv is now at commit 63fb016394ca0f193f6a676d9fdcb1084543f27db66f73cadd3c699c204c4b50
Working on change zoxlumrlwurkqkpuroywsptpwkllzukn at commit 180c1ac78af3ac552b819063a458a7b29753233a4a8cf5d55581a039ca8a705a

The first change kept its ID, rzuxuupu…, while taking a new commit for your edit. You are now on a second change, built on the first. Edit again, and describe this change:

$ echo "Goodbye" > farewell.txt
$ af describe -m "Add a farewell"
Change zoxlumrlwurkqkpuroywsptpwkllzukn is now at commit 52a599ccc624075e6d9ccbae1a9b432a07660b0f245ea8773c457b7f777a86ea
$ af status
Change zoxlumrlwurkqkpuroywsptpwkllzukn (open) at commit 52a599ccc624075e6d9ccbae1a9b432a07660b0f245ea8773c457b7f777a86ea
Landing waits for: scan, changes rzuxuupuqlssuksrzvymwlwuqkzllomv

A change lands only once everything it waits for is done: the forge’s scan for secrets and regulated data, any checks and approvals the repository requires, and the changes it builds on. This one waits for its scan and for the greeting below it.

Land it

Submit the top of the stack:

$ af submit
Submitted commit 52a599ccc624075e6d9ccbae1a9b432a07660b0f245ea8773c457b7f777a86ea, 0 edits in its last snapshot

Submitting the top of a stack lands the whole stack, in order, as soon as each change’s scan is done. Main now holds both, and your workspace, drawn @, is at the top:

$ af log
@  zoxlumrl dev@localhost 2026-11-24T12:44:11Z 52a599cc
│  Add a farewell
○  rzuxuupu dev@localhost 2026-11-24T12:44:11Z 63fb0163
│  Add a greeting
○  zzzzzzzz  1970-01-01T00:00:00Z 00000000
   (no description set)

Next

Type to search…

↑↓ navigate↵ selectEsc close