aheadloop
Get started

From repository to verified.

Aheadloop 0.1.0-alpha.1 is an early alpha. Download the archive for macOS or Linux from the release page, check it against SHA256SUMS and follow its INSTALL.md, or build from source. This is standalone mode; the central server, Kubernetes and CI setups are described in the repository’s documentation.

Requirements

Five commands

~/code/your-project
$ aheadloop daemon start                     # start the local daemon
$ aheadloop init                             # write aheadloop.json; asks before approving it
$ aheadloop integration install claude-code  # or codex, or generic
$ claude                                     # work as usual; checks run as the agent edits
$ aheadloop gate                             # passed, failed, pending or unknown, for the code now

aheadloop.json

Checks live next to your code. Unknown fields, cycles and invalid limits are rejected before anything runs. What runs is the approved revision: changes take effect only after you review them and run aheadloop policy approve. The optional ci section sets the gate for aheadloop ci verify.

Per-check fields

run
argument list, no shell unless you call one (required)
depends_on
checks that must pass first in the same request
required
default true; optional checks never fail the gate
reuse
in_flight (default), none, or result for eligible checks
inputs
declared source inputs; default the whole snapshot
image
default defaults.image; pin by digest
network
none (default) or bridge
timeout_seconds · cpus · memory_mb
limits; default 600 s, 2 CPUs, 2048 MB
aheadloop.json
{
  "version": 2,
  "project": {"id": "go-service"},
  "defaults": {
    "image": "golang:1.27-alpine@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280",
    "network": "none", "timeout_seconds": 600
  },
  "concurrency": {"max_parallel": 4},
  "checks": [
    {"name": "build", "run": ["go", "build", "./..."]},
    {"name": "test",  "run": ["go", "test", "./..."],
     "depends_on": ["build"]},
    {"name": "vet",   "run": ["go", "vet", "./..."],
     "required": false}
  ],
  "ci": {"required": ["build", "test", "vet"]}
}

Commands

aheadloop daemon start | stop | status
start, stop or inspect the local daemon
aheadloop init [--approve]
create aheadloop.json; approve it only when confirmed
aheadloop doctor
check Docker, the daemon, the policy and agent integrations
aheadloop integration list | install | status | uninstall
hooks for claude-code or codex, or generic instructions
aheadloop session start --agent NAME
start a session for this workspace
aheadloop verify [--async]
snapshot the workspace and verify it
aheadloop wait · status · logs · feedback
follow a request and read results
aheadloop gate [--wait]
evaluate the gate for the current workspace
aheadloop policy show | diff | history | approve
review and approve aheadloop.json
aheadloop ci verify
verify the checked-out commit; exit 0 only if the CI gate passed
aheadloop server start · worker start · remote status
distributed operation
aheadloop ui
open the local, read-only web console