github coleam00/Archon v0.18.0
Archon CLI v0.18.0

50 minutes ago

Ended runs' files are removed after 14 days by default, the home reports what it holds, item merges are recorded however a change was merged, and an install can limit who starts work with a label.

This is a minor release: retention is on by default, and it adds stored shapes (files_retired_at on runs, the shared workflow-source store, the item-change table), all additive, so an older binary can still open the same database. The software factory pack 0.18.0 needs this version: it calls runResult(), repository() and recordChange() from archon:script and writes its label bindings with --labellers.

Breaking

  • Retention is on by default at 14 days; retention.days: false turns it off. Runs that ended more than retention.days ago lose their frozen workflow-source snapshot, artifacts directory and JSONL log, and keep their row and events. archon serve and archon workflow wake --watch run the pass on their own; archon workflow cleanup --retention lists what it would free per project and frees it with --yes. A run that has not ended, is inside the window, has open asks or waits, a live sub-run, or a live run continuing from it is never touched, and nothing that links out of the Archon home is removed, even when its target is gone. Resuming a run whose files were retired is refused with that reason. (#6538, #6563, #6604)

Security

  • An install limits who may start work on it with a label. archon pack bindings <pack> --labellers <login,...> writes label bindings that only those logins start; a label anyone else adds selects no binding, so no run starts and nothing is refused or stopped. archon trigger check shows who can start each observed label binding. Without --labellers the bindings are written as before. (#6591)

Added

  • archon home status [--json] reports what the Archon home holds, for the home and each project: the bytes of frozen workflow sources, artifacts, logs and worktrees, each split into what the next retention pass frees, orphans, recent and held, plus the database's size and event rows per project, the runs retention keeps and why, and every path that links elsewhere. It changes nothing. (#6558)
  • Retention also deletes ended runs' streamed provider events (blocks of reply and reasoning text, and heartbeats) from the events table and the archive. Every other event stays, including tool calls, asks, answers and audit records. workflow cleanup --retention reports the row count. (#6562)
  • The engine records an item's merge however the change was merged: by archon forge pr.merge, gh pr merge, the forge's web UI or a merge queue. When a run on an item ends and the item has a recorded change (its pull request) but no merge, the engine reads the merge from the forge and records the commit, time and landing branch. archon forge pr.create records the change by itself; archon workflow change --item <key> --change <url> and recordChange() in archon:script record one made another way. Forge plugins can report merge_commit on pr.view. A merge made after an item's last run has ended is recorded when the next run on it ends. (#6580)
  • A script node reads another run's returned result with runResult(id) from archon:script: the run's status, its outcome, and the value its returns: node gave, or why it has none (still active, did not complete, no returns:). It reads only runs of the script's own project, through the new archon workflow result <run-id> --project-of <run-id>, so a pack no longer needs to spawn archon workflow get and parse its terminal record. (#6560, #6577)
  • A script node asks for its project's forge repository with repository() from archon:script, and host bash and script nodes get the same fact as ARCHON_RUN_REPOSITORY. It reads the pack's forge.repository inputs, then the project's registered repository; it never reads checkout remotes. (#6581)
  • archon workflow attention shows one install-level no_waker item when continuations are due and the wakers' records prove that none can pass, naming each due run and the commands that start a waker. (#6594)
  • archon workflow status shows each active run's owner as reachable, unreachable or unknown, and --lost lists only the unreachable runs, with the resume and abandon commands for each. (#6459)
  • A workflow pack's manifest may declare "owner". A pack run from its own folder then reads the installed pack's project settings (.archon/packs/<owner>.<name>.yaml), and archon validate workflows warns when a settings file sits under another key for a pack of the same name. (#6589)
  • The Console shows a project's repository on its forge: the repository, open pull requests and issues, and recent activity, read with the viewing user's own forge identity, never a shared server credential. (#6464)
  • Packs can show the median of a score as well as the mean, and archon metrics prints it. (#6437)

Changed

  • Each run's frozen workflow source is stored once per content key under workflow-source/store/ and linked from the run, so ten runs of an unchanged pack add one copy instead of ten. Existing per-run copies keep working and go away through retention. (#6535, #6566)
  • archon in an agent's shell, a bash node, a script node or a loop shell runs the engine that runs the workflow, whatever archon is first on PATH. (#6532, #6564)
  • A script or bash node may write up to 64 MiB to stdout and to stderr; past that it fails with a message naming the limit and how many bytes arrived. The limit was 1 MiB and failed with a bare buffer error. (#6565)
  • archon serve with no ARCHON_TRIGGER_HOST serves this machine's host name, the same host archon pack bindings writes by default, so answering an ask in the Web UI starts the next stage with nothing to configure. (#6518)
  • Workflow commands that read no workflow definition (workflow get, runs, status, and answer, approve, respond, reject with --json) no longer load workflow discovery or the executor, and workflow list compiles each output schema once. (#6592)
  • A --supersedes start that names the superseded run's own workflow begins from that run's recorded inputs; each --input replaces or adds the one it names. (#6526)
  • Native schedules (archon trigger schedule, archon workflow wake schedule and archon isolation cleanup schedule) name one job per install whatever the spelling of ARCHON_HOME (a trailing slash, a symlink), so status and remove find it and an install under another spelling is refused instead of adding a second job, naming the spelling the job was installed with and the remove and install commands that replace it once; archon trigger check sees the wake watcher under any spelling. The jobs start in the resolved home, and the recovery commands printed on Windows are PowerShell syntax. A job an earlier version installed under a spelling that is not the home's real path is not found by this version under any spelling: remove it with the earlier version before upgrading, or afterwards through the scheduler as the CLI reference's trigger schedules section describes, then install it again. (#6264, #6539, #6557)
  • The embedded Pi SDK is 1.7.0, and an OpenAI-compatible endpoint that is not OpenAI's own receives a system message instead of developer. (#6358)
  • Each SQLite connection gets a 64 MB page cache, so repeated run-list reads stay in memory. (#6468)
  • The workflow-language reference says that a resumed AI node starts a new provider session. (#6483)

Fixed

  • Release binaries find Claude Code on PATH when no path is pinned and nothing is at the native installer path, and archon doctor reports it. (#6531)
  • A resumed loop_group runs again a round that failed or was killed after an answer let it past max_iterations, instead of completing with the previous round's output. (#6482)
  • Two worktree creates on one clone no longer fail each other: a git worktree list that catches another add halfway waits briefly and reads again. (#6584)
  • A checks.settled wait that cannot settle because the base branch's required checks cannot be read says why, in workflow wake and the server log. (#6514, #6571)
  • The host refuses a checks.state answer for a different commit than the one asked for. (#6513)
  • A run can no longer be recorded with both a parent run and its own item. (#6540)
  • A Bash tool call in chat and run streams shows BASH as its header and the command as written, not an uppercased copy of the command. (#6524)
  • Chat no longer shows an empty agent card for a message with no text. (#6485)

Installation

Quick Install (Recommended)

macOS / Linux

curl -fsSL https://archon.diy/install | bash

Windows (PowerShell)

irm https://archon.diy/install.ps1 | iex

Homebrew (macOS / Linux)

brew install coleam00/archon/archon

Docker

docker run --rm -v "$PWD:/workspace" ghcr.io/coleam00/archon:latest workflow list

Manual Installation

macOS (Apple Silicon)

curl -fsSL https://github.com/coleam00/Archon/releases/latest/download/archon-darwin-arm64 -o /usr/local/bin/archon
chmod +x /usr/local/bin/archon

macOS (Intel)

curl -fsSL https://github.com/coleam00/Archon/releases/latest/download/archon-darwin-x64 -o /usr/local/bin/archon
chmod +x /usr/local/bin/archon

Linux (x64)

curl -fsSL https://github.com/coleam00/Archon/releases/latest/download/archon-linux-x64 -o /usr/local/bin/archon
chmod +x /usr/local/bin/archon

Linux (ARM64)

curl -fsSL https://github.com/coleam00/Archon/releases/latest/download/archon-linux-arm64 -o /usr/local/bin/archon
chmod +x /usr/local/bin/archon

Windows (Manual)
Download archon-windows-x64.exe from the assets below, rename to archon.exe, and add to your PATH.

Release assets

Asset Purpose
archon-<os>-<arch>[.exe] CLI
archon-server-<os>-<arch>[.exe] Version-matched server executable fetched by archon serve
archon-forge-github-<os>-<arch>[.exe] GitHub forge plugin
archon-chat-slack-<os>-<arch>[.exe] Slack chat plugin
archon-provider-claude-<os>-<arch>[.exe] Claude provider plugin, installed by archon provider add claude
archon-provider-codex-<os>-<arch>[.exe] Codex provider plugin, installed by archon provider add codex
archon-provider-pi-<os>-<arch>[.exe] Pi provider plugin, installed by archon provider add pi
archon-web.tar.gz Web UI
checksums.txt SHA-256 checksums for every asset

Verify installation

archon version

Don't miss a new Archon release

NewReleases is sending notifications on new releases.