This guide starts a development server on your machine, then uses af to make a change and land it on main. You need af and af-server on your PATH, and nothing else.
Start the server
In a terminal, start a development server:
$ af-server --dev
...
Atoll Forge is running in development mode. Do not use it in production.
Data directory: /home/you/af-dev
Signed in as: Developer <dev@localhost>, administrator
Repository: main
To use it from another shell, run:
source /home/you/af-dev/dev/env
or set:
export AF_ADDRESS=127.0.0.1:7777
export AF_CERT_HASH=086f2aa3abff65f103bbc3c1bed78e71bf9bfabceaa9cfba0ec9708682592e3a
export AF_CREDENTIAL=/home/you/af-dev/dev/credential
export AF_REPOSITORY=main
export AF_AUTHOR_NAME=Developer
export AF_AUTHOR_EMAIL=dev@localhost
...The server keeps its data in af-dev, in the directory you started it from. It needs no identity provider, recovery keys or certificate: it unseals its own vault, signs you in as the first administrator, dev@localhost, and keeps its certificate, so the hash af trusts stays the same when you restart it. Leave it running.
If you start it inside a checkout, that’s fine: the server writes a .gitignore into af-dev that ignores everything in it, so neither git nor an af workspace takes the server’s own files as yours.
Connect af
In a second terminal, load the environment the server wrote, and check that af reaches it:
$ source ~/af-dev/dev/env
$ af main
(main has no commits yet)AF_ADDRESS and AF_CERT_HASH tell af where the server is and which certificate to trust. AF_CREDENTIAL is your sign-in, AF_REPOSITORY names the repository, and AF_AUTHOR_NAME and AF_AUTHOR_EMAIL are the author of your changes.
Make a change
Create a workspace, a directory that holds the repository’s files:
$ af workspace add ~/hello
Workspace at /home/you/hello
Paths: **
main has no landing yet
$ cd ~/helloStart a change, then edit files as you normally would:
$ af new -m "Add a greeting"
Working on change yyrlqzsokrylmvzwxuurupwwontuzywq at commit 8ec0a27cf68233f1e82f0d80fea8297c558cf3e5cfb7fda160722c7b6ef0f79f
$ echo "Hello from Atoll Forge" > greeting.txtThere is no staging step: af records your edits in the change for you. See what the change holds:
$ af status
Change yyrlqzsokrylmvzwxuurupwwontuzywq (open) at commit 39c45ac4a4767248ff9282706bfe37c9270996f80729ea230f56c88e729b73c7
Landing waits for: scan
$ af diff
A greeting.txt
--- a/greeting.txt
+++ b/greeting.txt
@@ -0,0 +1 @@
+Hello from Atoll ForgeLanding waits for: scan is the forge’s own check: before any change lands, it scans the change for secrets and regulated data.
Land it
Submit the change:
$ af submit
Submitted commit 39c45ac4a4767248ff9282706bfe37c9270996f80729ea230f56c88e729b73c7, 0 edits in its last snapshotThe change lands as soon as everything it waits for is done. Here that is the scan, which takes a moment. Then main’s history shows it. @ marks the commit your workspace is at, as in jj:
$ af log
@ yyrlqzso dev@localhost 2026-11-24T11:11:04Z 39c45ac4
│ Add a greeting
○ zzzzzzzz 1970-01-01T00:00:00Z 00000000
(no description set)
$ af status
Change yyrlqzsokrylmvzwxuurupwwontuzywq (landed) at commit 39c45ac4a4767248ff9282706bfe37c9270996f80729ea230f56c88e729b73c7Next
- Stop the server with Ctrl-C. Running
af-server --devagain from the same directory keeps your repositories, and the environment it wrote stays valid. To start over, deleteaf-dev. - Every command is in the af reference.