github coleam00/Archon v0.15.0
Archon CLI v0.15.0

2 hours ago

Runs belong to items, a stage hands off to the next through a binding instead of pausing, and an install with no server or webhooks can run the whole loop.

Breaking

  • The provider plugin protocol is 4 (was 3). Providers now name their session as soon as they know it, and a protocol-3 host rejects that message, so provider plugins and the engine must be updated together. After upgrading, run archon provider add <claude|codex|pi> again for each provider you use; a provider left at protocol 3 is refused with a mismatch notice that names both versions. A community provider plugin must be rebuilt against this release's provider contract. (#6132)
  • POST /api/conversations/{id}/cancel takes { "turnId": "..." } and stops only the reply that turn names. A stop that arrived after the reply ended, or a second press of Stop, used to stop the next message queued in the same conversation. The send and create-with-message responses and the SSE conversation_lock event of a starting reply carry its turnId; a cancel without one is refused with 400. The console's Stop sends it. (#6171)
  • The forge operation pr.merge-state describes a pull request against its own base branch, not the repository's default branch. Its result fields default_branch and default_revision are now base_branch and base_revision, and behind counts commits of that base. A pull request against the default branch gets the same answers as before. A forge plugin that still returns the old fields fails with an invalid_response that names result.value.base_branch; rename the two fields and read the base. A caller that needs the default branch reads it with checks.commit at {"kind": "default_branch"}. An invalid_response for a result that fails its schema now names the operation and the failing fields. (#6043)
  • An attention item's JSON has its own ref and keeps what belongs to its run under run, because an item no longer needs a paused run behind it. runId, workflow, parentRunId, fanOut, context, node and occurrence are now run.id, run.workflow, run.parentRunId, run.fanOut, run.context, run.node and run.occurrence. This changes archon workflow attention --json, archon workflow attention <run> --json, GET /api/runs/attention, GET /api/runs/{runId}/attention, the item of a watch attention line and the chat tool's list. On the watch, resolved and unmatched lines always carry ref and carry runId only when a run held the item, resolved.reason can also be no_longer_listed or replaced, and the top-level workflow of an attention line is null for an item with no run. The list can also hold an owner_lost item, so a client that switches on kind must accept it. The answer commands and routes that take a run id are unchanged. (#5671, #5801, #5807)
  • A fresh worktree run started from the CLI or a trigger binding reads its definitions (workflows, commands, scripts, an in-repository pack and .archon/config.yaml) from the base branch as fetched at run start, with the checkout's uncommitted files laid on top. It used to read the checkout as it sat on disk, so a checkout that had not been pulled ran old workflows on new code. Workflow changes committed on a feature branch are no longer picked up: commit them to the base branch, leave them uncommitted, or pass --workflow-source. Worktree creation no longer fast-forwards a clean checkout; Archon only fetches, so pull the checkout yourself. A file changed both locally and on the base branch, a checkout with no shared history, or an unreadable base refuses the start and names the files or the ref, and a queued start whose base branch moved while it waited is refused. workflow get and workflow status print the base commit and every file taken from the checkout, and a dry run previews what the start would read. Chat and Web UI starts are unchanged. (#5999)
  • --workflow-source <dir> is refused, with exit 1, by every command except workflow run, validate workflows, pack bindings and pack graph. Those commands used to accept the flag and ignore it; drop it from any other command you call. archon validate workflows --workflow-source <dir> now validates the workflows in that source instead of the current project's, names the source (source in --json), and exits 1 when one of them has an error, when the source holds no workflows, or when a named workflow exists only in another scope. Without the flag it reads and prints the same as before. (#6262)
  • A workflow input that declares result_of together with required or default, or at without result_of, fails to load, and archon validate workflows names the input and both keys. It used to load with the input dropped and a log warning. Remove the contradicting key. archon workflow run --detach of a result_of workflow with no --item and no supplied value exits non-zero with the refusal in its result, instead of acknowledging a run its child then cancelled. (#5862)
  • archon workflow run --branch <b> --from <ref> is refused before it starts when a worktree for <b> already exists and its history does not contain <ref>. It used to run in that worktree on its old base with a warning. A <ref> at or behind the worktree's HEAD still reuses it. Omit --from to continue in the worktree, or remove the worktree and delete the branch to start fresh from <ref>. (#5754)
  • outcome_field: is removed. Declare the outcome in returns: instead: returns: { node: <id>, outcome: <field> } (the string form returns: <id> still works). A workflow that still sets outcome_field: fails to load with a message naming the new form. The outcome may now also be a required string with an enum, which a run completes with as it is. A run's outcome is written only when it completes: a failed, cancelled or paused run no longer shows one, even when its returns: node completed, and what that node said stays in its node_completed event. Runs gain a nullable completed_outcome column holding the outcome of either form; the older outcome column keeps holding succeeded or failed for the boolean form.
  • Archon asks Docker about a run's verification images only when the run recorded a build: a file in $ARTIFACTS_DIR/verification-images/, which docker build --iidfile writes. A run that built nothing no longer ends with a cleanup is inconclusive warning when Docker is stopped, in host and container runs alike. A workflow that labels its builds with archon.run_id must now also record them, or the engine leaves its images in place. (#5659)
  • evidence_policy: is removed from the workflow language. It failed a run that finished without $ARTIFACTS_DIR/evidence.json and accepted any file with that name, so it checked nothing. A workflow that still sets it fails to load with a message naming the removal; delete the field and use a bash: or script: node that exits non-zero when a check must fail the run. Runs already recorded with the evidence_missing reason or an evidence_validation_failed event still read.
  • Four workflow mistakes that used to load and run now fail. A $LOOP_PREV.<id> in a loop body whose id is not a node of an enclosing loop_group body fails at load, where it used to read as an empty string. An output reference in a command file is checked at load like inline text, so a reference to an unknown node fails and names the file. An include: or workflow: node's with: value shaped like a binding is read as one: { from, if_skipped } resolves the reference, and { outputs, if_unreadable } fails at load; both used to reach the block as plain data. An include whose gate references something that cannot resolve fails its entry node with the include and the reference, where the block used to skip and the run could succeed. Run archon validate workflows after upgrading. (#5571, #5700, #5715, #5753, #5863)
  • A runtime: uv script node no longer joins the checkout's uv project: it writes no .venv or uv.lock there and ignores the checkout's project dependencies, [tool.uv]/uv.toml, .python-version and existing .venv. A node that imported the checkout's own packages or project dependencies must list them in deps:. The user's own uv config still applies. (#5746)
  • A metric node may return metric_dimensions beside metrics: one entry per record of up to eight named values, such as { "route": "plan" }. archon metrics <name> --by-dimension <key> (byDimension= on GET /api/metrics) splits each metric by one of them, with each value's value, n, interval and cost, alone or with --compare. Older binaries still read and count these records, without their dimensions, and a stored record's unknown keys are now ignored rather than refused. The SDLC pack writes each issue record once with its route as the route dimension, in place of the <name>.<route> copies: read archon metrics sdlc.issues_merged --by-dimension route where you read sdlc.issues_merged.plan. The split covers only records written after this change: earlier records keep their routes only under the old <name>.<route> names, which stay readable, and their totals carry no dimension, so they fall in the none group, and a window holding only them fails --by-dimension route with no record carries a dimension "route". (#5443)
  • A state document claim is recorded as its own operation (claim) in the state log. Archon binaries older than this release cannot read a document revision written by archon state claim and exit 1; once a store holds a claim, use only this release or later on it. A source checkout and an installed release can share one Archon home, so after the first claim the older of the two fails on that document.
  • archon workflow attention --watch writes only what needs someone: an item that opens or changes, the close of an item it wrote, a run that failed, completed with a failed outcome or lost its owner, and a coverage warning. It no longer writes ready, bookmark, resumed, or a line for a run that completed with any other outcome or was cancelled. A program that reads those lines or resumes with --after must add --protocol, which is the previous stream unchanged; --after without --protocol is refused.
  • GET /api/runs/attention/stream takes level=quiet|notices|protocol in place of needsSomeone. needsSomeone=true is now level=quiet; without level the stream is still the full protocol.
  • archon workflow run <name> --resume is removed; the flag is now an unknown option. It picked the newest failed, paused or day-old running run for that workflow and path, which could continue a run the operator did not mean. Resume a run by its id with archon workflow resume <run-id>, and find the id with archon workflow runs (--item <key> for one item). Continuations (workflow resume, approve, reject, respond, answer) now refuse --input and --base instead of ignoring them, as they already refused --model; run --resume --base was the only way to retarget a continuation's PR, and it goes with the flag.
  • The SDLC pack's queues are rebuilt on items, and an install must write its binding files again. archon-build-queue builds one named issue per run, on the item issue-<n>, and a start that names no issue is refused. The new archon-build-pick lists the waiting issues and fires one build for each, on a schedule and when a build run ends; start it, not the build queue, with a message that says what to build. archon-merge-queue runs once per pull request on the same item, ends merged, merged_retriage, returned, parked, asked or waiting, and holds nothing while it waits; a completed check, an answer or the 30-minute archon-merge-pick backstop starts it again. A merge question is an ask left on the item and answered with archon workflow answer --ref <ref>, not a paused run answered with workflow respond. A red default branch asks nobody: nothing merges, and a notice labelled kind=base-red carries the diagnosis. The gate command gate.ts, the facts node's gate output and the sweep's gate_error output are gone; a script node in the stage gates and merges. Before upgrading, answer or abandon every build-queue and merge-queue run paused on a question, because it holds a claim the new scripts do not release. After upgrading, write the bindings again with archon pack bindings sdlc, remove the old build-queue and merge-queue schedules, and install the new ones; an install that builds only work orders must leave build-after-intake unregistered. For a pull request to merge when its checks finish, the webhook must deliver check runs and commit statuses; without them it merges on the backstop. Update the forge plugin too (archon plugin update coleam00/Archon/plugins/forge-github): the pack declares the forge operations it calls, and a run is refused at start when the installed plugin lacks one. (#5503, #5530, #5536, #5933, #5954, #5977, #5981, #6145)
  • SDLC pack workflows are removed or renamed. archon-validate, archon-upkeep, archon-attention, archon-forge-check (use archon forge check) and archon-worktree-cleanup (remove its worktree-cleanup binding and run archon isolation cleanup schedule install) are gone, with the merge queue's enrollment of a maintainer's own pull requests. The pack's maintainers.json must now be a plain array of logins; the object form ({ "login": ..., "merge_queue": "own-prs" }) is refused with a message naming the file. Review, deliver, plan and ship are each one workflow: a project or global workflow that includes archon-<stage>-block fails to load until it includes archon-<stage> (triage is still archon-triage-block). A stage run by hand that ends not ready completes with ready: false and its report instead of pausing; continue it with archon workflow run <stage> --adopt <run-id> "<note>". archon-intake and archon-investigate complete with a named outcome, so anything that read their boolean outcome now reads null and finds the value in completed_outcome. archon-triage is the only label that asks intake for a triage; write the intake-labels binding again with archon pack bindings sdlc --only intake-labels, or the old file keeps starting an intake run on every route label. (#5391, #5415, #5481, #5487, #5755, #5820, #5933)
  • The SDLC queues' retriage_as input is replaced by on/off inputs: retriage_merged on the merge queue and revisit_blocked on the build pick. A binding that still passes retriage_as fails to launch; rename it. A re-triage is now recorded as the asking run's own request on the item, and no label is written. (#5432)
  • The SDLC pack's attention items carry the labels stage (build, merge, discoveries), kind (route, stop, scope, pick, approve, question), item and pr in place of build: <class>, merge: <class> and discoveries: question. A watcher or count that filters on the old keys matches nothing asked after this change: --label merge=pr becomes --label stage=merge, and --count-by label:build becomes --count-by label:kind. Answer the pack's open questions before you upgrade: a run paused on the old shape cannot be answered by the new scripts.
  • The SDLC pack's deciding agents write a question's text, options and recommendation themselves, and the queue's scripts no longer check or rewrite them. A question the wait refuses (two options with one id, or a recommendation of an option that is not offered) fails its run after the item is recorded as asking; abandon the run and re-triage the item.
  • An SDLC build round that needs a maintainer's decision ends its run and leaves the question on the issue's item, answered with archon workflow answer --ref <ref>, and a new build-after-answer binding starts the next round. Write that binding file, and abandon and re-triage any build run still paused on the old question before upgrading. (#6147)
  • The SDLC build pick starts intake through a new fire-only intake binding, and the merge-after-base-checks binding is gone. Write the intake, build-pick and build-pick-after-build files again with archon pack bindings sdlc --only intake,build-pick,build-pick-after-build --force, and remove merge-after-base-checks from the GitHub source plugin's config. A pull request held by a red default branch is started again by the 30-minute merge pick. (#6145)

Added

  • A run does not start when a pack setting declared as a file, and read by that workflow, names a file that does not exist. The refusal shows on the item in archon workflow attention with the setting, the path and where the value came from (file_setting_missing), instead of the run going on without the policy the setting names. (#6290)
  • An install with no webhooks can start a workflow on every newly opened issue. An observing GitHub source starts a binding on issue.lifecycle with the opened action once for each issue opened after the binding was first observed, on its next pass; issues already open at the first pass, and pull requests, start nothing. The forge contract gains the operation workitem.opened. (#6163)
  • A workflow pack can ship its own agent skill. Its manifest declares "skill": { "name": "<name>", "path": "<folder>" }, and archon skill add --pack <id> [path] copies that folder from the installed pack into the project's .claude/skills/<name>/ and .agents/skills/<name>/, replacing both whole on a rerun. It refuses a pack that is not installed or ships no skill, the names archon-cli, archon and manage-run, a name another installed pack's skill uses, and a project folder of that name it did not install (each installed folder holds a .archon-pack file naming its pack). Installing the pack names the skill and the command but writes nothing into a project. archon plugin add and archon validate workflows refuse a declared skill folder with no SKILL.md. archon skill add without --pack is unchanged. (#6152)
  • An agent node can offer its model named scripts as tools with tools:. Each tool declares a description, a script, an input_schema and an output_schema, plus optional timeout and deps. A call runs the way a script: node runs, with the arguments as JSON on stdin; Archon validates the arguments before the script starts and the output after it, and a failed call is an error the agent reads, not a failed node. Each call records one script_tool_call event. Claude, Codex and Pi; on another provider the run fails before it starts. A tool must be safe to rerun, because a retried attempt starts the node over, and tools that write are not supported yet. Designed and first built by @Jack-mi. (#6187)
  • A node's skills: entry can be { name, optional: true }. On an agent node, an optional skill the provider cannot load, or that Archon finds in no known skill root, is skipped and the reason recorded; a required one keeps failing as before.
  • A run can belong to an item, a key within a project such as an issue reference. archon workflow run --item <key> and archon trigger fire --item <key> name it. archon workflow runs --item <key> reads the item: its runs with workflow, status, authored outcome, start and end, the questions open in them or their sub-runs, and the answers and gate decisions recorded in them, each oldest first; GET /api/items?project=…&key=… is the same read. A decision made about an item without a question, a ruling, is recorded on it with archon workflow rule --item <key> -- <text> or POST /api/items/rulings, with who said it when they say, the surface and the time; it needs no run, and --withdraw <ruling-id> (or POST /api/items/rulings/{rulingId}/withdraw) marks it withdrawn and keeps the record. The item read lists rulings with the answers, oldest first. A run on the item reads the item, rulings included, as a typed value through item() from archon:script (archon workflow runs --item-of <run-id>); the engine adds rulings to no node by itself. A key no start has named exits 1 ({ ok: false, error: 'not_found' } with --json), and an item with no run yet reads as empty. A trigger fire from inside a run inherits that run's item, and a run started with --adopt or --supersedes belongs to the item of the run it continues. An item stays in its project: when the new start or continuation runs in another project, inheriting is refused before anything starts, with a message that names both projects; pass --item to name the item there.
  • Items can be linked. archon workflow link --item <key> --kind depends_on|part_of|duplicate_of --to <key> records a directed link between two items of a project, and --end <link-id> ends one, keeping the record with who ended it and when. The item read (archon workflow runs --item, GET /api/items, item() in archon:script) shows each link from both sides with its direction and the other item. Recording an active link again leaves one link. The engine stores and reports links and acts on none of them. (#5652)
  • A project's items and their runs can be read over a window. archon workflow items [--since] [--until] [--limit] [--after], GET /api/items/window and items() from archon:script return the same page: the items with one of their own runs started in the window, each read as workflow runs --item reads it with all its runs, ordered by item id, at most 100 a page, with a cursor that returns the rest once. Each run in an item read now carries its recorded spend. archon workflow merged --item <key> --change <ref> --at <ISO> [--commit <sha>] records that an item's change merged, as the forge reported it, once; every item read carries it as merged. A pack declares per-item figures (a share of items, a count per item, a duration between two recorded times, grouped by a declared field) as data in <pack>/.shared/item-metrics.json, and archon metrics --project <project> reports them over the window under item_metrics, with no pack script. (#5749)
  • archon workflow runs --item <key>, item() in archon:script and GET /api/items show for each run changeSize: { base, commit, files, added, removed }, the size of the change from the commit the item's work was cut from to the clean commit the run ended on. A run that ended dirty, on no commit or with no known base shows null. (#6261)
  • A run can finish and leave its decisions for an operator instead of pausing for them. A workflow declares returns: { node: <id>, asks: <field> }; the engine adds its own ask schema to that node, with the descriptions that tell the model when to leave an ask and what each field holds. When the run completes on an item, its asks open on the item in the same write, appear in archon workflow attention and the watch with no paused run behind them, and are answered or withdrawn by ref (archon workflow answer --ref <ref> or --withdraw <ref>, POST /api/attention/answer, POST /api/attention/withdraw, the chat tool). A newer completed run of the same workflow on the item replaces its open asks, and when every ask of a set is answered or withdrawn the item records asks_settled. A workflow that declares asks is refused at start without --item; a failed or cancelled run opens none. Adds the remote_agent_item_asks table. (#5640)
  • returns.options declares the one set of options every ask of a workflow offers, each with an id, what it does and what it costs. The agent writes the question, the context and a recommendation limited to those ids or null; every stored ask carries the declared options, and archon workflow attention shows what each does and costs. archon trigger check reports an asks-settled binding whose option is not one of them. A workflow that declares no options behaves as before. (#6107)
  • An ask left on an item may carry no recommendation (recommendation: null). The attention list, the console and the item's tracker comment say so, and --recommended on it is refused. An older binary skips such an ask; answer it with this release. (#6095)
  • An ask with no recommendation keeps the stage's reason for recommending none. A stage writes recommendation: { option: null, why: "<reason>" }; the ask is stored with recommendation: null and the reason as no_recommendation, so an older binary still reads it. archon workflow attention prints no recommendation: <reason> where the recommendation would be, its JSON, the item read and the API carry it as noRecommendation, and the console and the item's tracker comment show it. recommendation: null still reads as before. (#6224)
  • An item whose run ended in an outcome that no binding starts from, and that left no ask or wait, shows in archon workflow attention as stopped, with the stage, the outcome, the summary the workflow names in returns.summary, and the commands that move it on. Outcomes listed in returns.final are done and never stop an item. archon trigger check lists, under stops, each outcome after which an item would stop. Any later run on the item closes the stop, and deleting that later run does not reopen it. Adds nullable moved_on_at and moved_on_tie columns to remote_agent_items. (#6108, #6279)
  • A failed top-level run that is the newest run on its item shows in archon workflow attention as stopped with failed: { error }, the error archon workflow get reports, and two restarts: archon workflow run --supersedes <id>, and archon workflow run <workflow> --supersedes <id> --input <name>=<value> to pass other inputs. A failed run with a scheduled resume is not listed, and cancelled runs are not listed.
  • A start refused before launch is visible to the operator. When a run's end or its settled asks caused a start that was refused at the hand-off (a checkout that cannot be handed on, a mapped input that names nothing, linked items that cannot be read) or in preparation (no default AI provider, a missing run-as user, an unreadable run configuration or a failed launch preparation), the same write records a stop on that run: archon workflow attention and archon workflow runs --item list the item as stopped with refused, one entry per refused binding (receiptId, bindingId, workflow, reason, refusedAt), and the text says what to do and how many of the starts were refused. The foreground archon workflow run that caused it prints the refusal under its result, and so does archon workflow get. It is recorded even when the run also left asks or waits, or the start was on a linked item; it is listed while a wait is open and once the asks close. Any later run on the item closes it. A stop on a run that declares no outcome is now listed, with stoppedIn.outcome: null. Only the database store records it. (#6165, #6282)
  • A start refused at its binding's start limit is visible to the operator. When the refused start was caused by a run's end or by a run's settled asks, archon workflow attention lists the item as stopped, with a limit naming the limit, its starts, granted and used, and the bindingId and workflow of the refused start; its text says what allows one more start. Each startLimits entry of the item read (workflow runs --item --json, item() in archon:script, GET /api/items) also lists the trigger files that count under it as bindings: [{ bindingId, workflow, runEnded }], so a stage finds the limit of the binding its outcome would start without knowing how limits are named. An older binary lists the same stop without its limit. (#6223)
  • A start that no run caused (a fire, a schedule, a webhook or a label) and that is refused at its start limit, in preparation or by its source shows in archon workflow attention as refused_start while it is its item's newest step, with the binding, the workflow, the item key, the reason, any limit and what to do. It closes when a run starts on the item or the binding starts there again. A label add whose binding rejects it is recorded once as an unmatched receipt instead of a log line on every pass. For a key no start has created an item for, archon workflow runs --item <key> lists the refused starts on it (refused in --json) and still exits 1 with not_found. Adds a nullable refusal column to remote_agent_start_receipt_bindings. (#6231)
  • A binding start whose preparing process died shows in archon workflow attention as preparation_lost, with archon trigger recover-preparation <receipt> <binding> --owner <id> --yes and then archon trigger drain --host <host>. It is listed only when the preparer ran on this host and is provably gone. Adds a nullable preparation_process column to remote_agent_start_receipt_bindings; a claim made by an older binary is never listed.
  • A queued start request whose stored launch cannot be read, and that holds every start queued behind it, shows in archon workflow attention as unreadable_start with how many starts wait behind it and archon trigger withdraw <request-id>. The item read of a start behind it names the request that blocks it (blockedBy in --json), and archon trigger withdraw now withdraws such a request, printing launch: "unreadable".
  • archon workflow end --item <key> -- <reason> and POST /api/items/ends end an item that will not move again. Its stop leaves archon workflow attention, and archon workflow runs --item <key> shows who ended it, when, through which surface and why (ended in --json). A failed item is ended by key, with no run id. A new start on the item opens it again. Adds the remote_agent_item_ends and remote_agent_item_end_runs tables. (#6196)
  • archon workflow resume <run-id> continues a run its killed process left running. It resumes when no owner answers for the run on this host, refuses and names the owner when one does (it resumes once that process is gone; cancelling it ends the run instead), and refuses a run whose recorded owner is on another host or user. Chat /workflow resume, the chat agent's manage_run and the Web UI's resume follow the same rule. How old the run's activity is plays no part.
  • archon workflow run --supersedes <run-id> with no workflow name starts the run again from its record: workflow, message, inputs, definitions source, item and checkout hand-off. When archon workflow resume refuses a run that failed before its checkout was prepared, it prints that one line, which pastes into any shell. archon workflow abandon, and a resume refused because the run was cancelled, print the same command, carried as restartCommand in --json. (#6089, #6161)
  • A stage can start when a run ends. A trigger file with on.runEnded starts its workflow when a run of the named workflow completes with the named outcome on an item; the new run is on the same item and gets the ended run's result, the value terminal_record.returns.value holds, as input. checkout: "ended-run" starts it on the ended run's branch at the commit that run ended on, so build, check and fix can be three bindings. archon trigger add <file> places a trigger file without a completing run ever reading it half written, and archon trigger check reports a duplicate stage, a self-bound stage and a missing launch.cwd. A pack declares the hand-off as run_ended: in .pack/pack.yaml. (#5744, #5811, #5816, #5831, #5865, #5955)
  • A stage can start when the asks a run left on an item are settled. A trigger file with on.asksSettled starts its binding on the item once every ask of the named workflow is answered or withdrawn, and the started run reads the answers, the asking run's result and its inputs. option narrows a binding to answers that chose one option, so different answers start different stages; checkout: "asking-run" continues in the checkout the asking run left; an input mapped to { item: "answers" } gets every answered or withdrawn ask on the item. A pack declares it as asks_settled:. (#5838, #5894, #5974, #6011)
  • A run-ended binding can start a stage on linked items. on.runEnded.linked: { kind, holder } starts the stage on every item that holds an active link of that kind to the ended run's item. linked.items points at a list in the run's result so that only the items it names start, and { entry: <pointer> } gives each started item a value from its own entry. A pack declares it under run_ended: { linked: ... }. (#5830, #5980, #6038)
  • A run can end and name what its item now waits for. returns: { node, waits } names an event, the exact value the event must carry (such as the head commit) and a time limit; the run completes and holds nothing, and a forge plugin binding with wake: starts the next stage when the event arrives. A wait past its limit is listed in archon workflow attention as overdue_wait, and review.changed is a new event a binding can select. No stage has to sleep or sweep for a check or a review. (#5963)
  • Checks, reviews and labels reach an install that receives no webhooks. A source in the ARCHON_WEBHOOK_SOURCES file can declare "observe": { "everySeconds": 60 }; archon workflow wake and a running server then read the forge for what each open wait is about. A label.changed binding on an observing source starts its workflow once per label add, on issues and on pull requests, with who added the label as label.actor. A binding with no subject.kind matches both kinds, labels already present when a binding is first seen start nothing, and a pass reads an issue again only when it changed. A GitHub source plugin bundled separately must be rebuilt, and the observing process restarted. archon trigger check lists the sources that observe and says when no installed wake job reads them. (#6027, #6098, #6100, #6136, #6141)
  • One item is worked by at most one run of a workflow at a time. While a run of a workflow on an item is not terminal, a second start of that workflow on that item waits or is refused by the policy it already has, and resuming a failed run there is refused while another is live. The item read lists each start still waiting for capacity (queued), the run it is held behind and the starts that were skipped. When the holding run's owner is gone, archon workflow attention lists an owner_lost item with the resume and abandon commands. (#5801, #5860)
  • An item can record where its change lands. archon workflow landing --item <key> --branch <name> records the branch, and every fresh run on that item, or on an item part_of it that records none, is cut from that branch with $BASE_BRANCH set to it. --from <start-point> creates the branch on the remote first, and a start on an item whose branch is missing is refused with that command filled in. (#5969, #6042)
  • A workflow input can declare result_of: <workflow> to receive the latest completed run's returns: value on the same item. With at: checkout it reads only a result that holds at the commit this run's checkout started on, as { commit, result } or null. Every completed run records that commit, and the item read shows it as resultCommit. (#5748, #5769)
  • A binding can put its start on the item its event names with item: { field, prefix? }, for webhook events and trigger fire --inputs. archon trigger fire takes --no-item to start on no item, and trigger.fire in archon:script takes the same choice. (#5800, #5813)
  • An item's later runs keep the run config the item was started with. A binding start or workflow run on an item, given neither --config nor --config-from-run, runs on the config sealed on the item's most recent run, and a start with --project takes the config of the item in that project. (#5949, #5973)
  • archon workflow wait, cancel and abandon accept --item <key> and refuse when the item is ambiguous. (#5823)
  • archon:script exports linkItem, recordMerge and recordLanding, each returning what the CLI's --json form prints and throwing a typed ItemWriteError when the CLI refuses. Each run in an item read carries pack: { key, workflow } | null, so a pack script can match its own workflow's runs whether the pack is in the project or installed. archon script preload --out <file> writes the preload that makes archon:script importable outside a run, for bun --preload <file> and bun test --preload <file>. (#5514, #6037, #6112)
  • A pack declares the trigger bindings it recommends in .pack/pack.yaml, and archon pack bindings <pack> --repo <host>/<owner>/<name> --host <host-id> --run-as <user-id> --out <dir> writes one ready trigger file per binding. archon pack graph <pack> [--json] and GET /api/packs/{pack}/graph show how a pack's stages connect: each stage with its outcomes and asks, and every hand-off, marked active when a trigger file launches it. A directory whose root holds a workflow-pack archon-plugin.json can be given as the workflow source and runs as that pack. (#5452, #5848, #6044)
  • A pack setting in .pack/pack.yaml may declare section: <name> and file: true. archon validate workflows fails when a file setting's value, or its default when the project sets none, names a path that does not exist or is not a file. (#6197)
  • A pack can name the forge operations its workflows call in .pack/pack.yaml (forge: { operations: [...] }). Every fresh run of the pack's workflows, from the CLI, chat, the Web UI, a trigger binding or a workflow: node, then asks archon forge check before any worktree, slot or node, and is refused with a typed reason and a remedy when no remote of the checkout names a forge whose plugin supports every operation and has a credential. A pack that declares nothing runs as before. archon forge check accepts a remote in place of host, and archon validate workflows warns about a declared operation no installed plugin supports. (#5771)
  • A workflow can declare resource: <name> (or { name, capacity }), and every top-level run of it takes a slot on that resource however it starts: CLI, chat, Web UI, API or a trigger binding. Capacity is read at each admission, from concurrency.resources.<name> in the install config, then the start's declaration, so raising it needs no rename and two starts that declare different capacities no longer conflict (resource_capacity_conflict is gone). A binding that sets no capacity uses the workflow's. A hand start waits for a slot in its own process; archon workflow run --no-wait refuses instead. Lowering capacity never ends a running run. (#5593, #5596)
  • concurrency.runs: N in ~/.archon/config.yaml caps how many run trees (a top-level run with its sub-runs) the install executes at once, across every workflow and pack. A bound start past the limit queues or is skipped by its overlap policy, a hand start waits, and a queued start is admitted when a slot frees, whichever process freed it. A run with a live sub-run cannot be deleted, so its tree stays counted. store: files refuses the key. (#6040, #6041, #6081, #6085)
  • A binding can cap how often it starts its stage on one item with limit: { name, starts, resetOn? }. Admission refuses the start past the limit, and archon trigger list and archon trigger inspect show why. A run of resetOn completing on the item starts the count again, and an asks-settled binding with grants: <name> allows one more start on that item each time it starts. The item read reports each limit's starts, granted, used, left and since, and each run's startLimit. A limited start that names no item, and every limited start on the file store, is refused. An older binary on the same database counts and refuses nothing. Adds the remote_agent_start_limit_resets table and nullable start_limit and grants_limit columns. (#6109)
  • archon hold set stops every new run from being admitted on the install, from any source; archon hold lift removes the hold and admits what it kept, once, in arrival order. Running and paused runs are not touched. trigger list, workflow status and the item read show the hold and the starts it keeps. (#5911)
  • archon workflow pause <run-id> pauses a running run at its next node boundary, and archon workflow resume continues it at the next node. archon workflow cancel ends a queued run before it starts. (#5915, #5992)
  • archon trigger schedule and archon isolation cleanup schedule install native timers on Linux (a systemd user timer) and Windows (a Task Scheduler task under \Archon\), not only macOS, and trigger schedule status says whether a timer is loaded and when it last ran. archon workflow wake schedule install|status|remove works on all three. A Windows timer runs on a hidden desktop and finds gh and its login; an existing Windows timer keeps its console until it is removed and installed again. archon isolation cleanup schedule install runs the merged-worktree sweep every 6 hours on an install with no server. (#5777, #5958, #6077, #6080, #6141)
  • archon project add [path] registers a checkout before its first run and prints the project's id, kind, key and path. (#6004)
  • archon workflow run <workflow> --input-file <name>=<path> supplies a declared input with the exact contents of a file. Input values no longer appear on a detached child's command line. (#5937)
  • worktree.linkFiles, in a repo's .archon/config.yaml or in ~/.archon/config.yaml, lists git-ignored paths that each new worktree links to the canonical repo instead of copying, so every worktree shares one directory. A link never shows in the worktree's git status, never replaces a file already there, and removing the worktree never removes the shared content. Runs that share a directory write the same data, and deleting its contents from one worktree deletes them for all. On Windows a worktree with a non-empty linkFiles is refused before any git work. (#1281, #6130)
  • A local repository with no remote runs workflows in a worktree cut from its current branch, with $BASE_BRANCH set to that branch, from the CLI, a trigger and chat. A fire whose worktree is already known to fail, for ambiguous remotes or a missing base, exits nonzero and takes no slot. (#6022)
  • Every node invocation gets $NODE_SCRATCH_DIR (NODE_SCRATCH_DIR in bash: and script:). The engine creates it before the node runs and removes it, git worktree registrations first, when the invocation ends. (#5759)
  • context: same on a command or prompt node continues the session that node last had. In a loop_group body, each round after the first continues the node's own previous round, so one node can build and then fix what a check returned; parallel layers and fresh_context do not reset it. When the run has an item, the node also continues, by forking, the newest session it left on that item in an earlier run, CLI and trigger runs included. A session recorded under another provider or model is not continued: the node starts fresh, and the run records a node_session_not_continued event with the reason and posts a notice. Cross-run sessions now record their model in a new nullable model column on remote_agent_workflow_node_sessions, in PostgreSQL and SQLite.
  • context: { resume: <include id> } continues the session of the node an included workflow returns, so a node can resume a session that arrives through an include:.
  • $LOOP_PREV.<includeId> reads what an included workflow returned in the previous round of a loop. (#5700)
  • A final output that does not meet its schema is a named failure, schema_unmet, which a node can retry with retry: { on_error: schema_unmet }. A Codex node that misses its schema is first asked to correct it in the same thread, up to three times, as a Pi node is. (#5878, #5879)
  • A script node can bind every output of an output_type its run produced: with: { reviews: { outputs: review-report } } delivers them as one JSON array, across loop iterations and included blocks. The loader refuses a producer the node could race and a type no node declares. A record that cannot be read fails the node, or delivers the binding's if_unreadable value (null or an array) when it declares one.
  • A named script: of a packaged workflow that is not in the workflow's own scripts/ resolves from the pack's .shared/scripts/, so a pack keeps one copy of a script its workflows share.
  • A Bun script: node imports the host's API by name: import { input, emit, refuse, forge, state, outcomes, trigger } from 'archon:script'. Archon provides the module to named scripts, inline bodies and executed dry runs, so a pack carries no client code and needs no node_modules. forge(op, request) is typed per operation and throws a ForgeError with the failure's kind and what is known of a failed write; state wraps archon state with typed conflicts. The CLI stays the wire underneath for other runtimes. The load-time input check reads input('<name>') like process.env.INPUTS_<NAME>.
  • archon script types [--out <file>] [--check] writes the TypeScript declaration of archon:script, including every forge operation's request and result type, for an editor or tsc over a pack's scripts.
  • archon workflow types <name|folder|path> [--out <file>] [--check] generates TypeScript types from a workflow's output_format declarations, so a script reads a node's output without restating its shape; --check fails while the committed file is stale. For a pack it writes <pack>/.shared/outputs.generated.ts. (#5451)
  • A workflow node can emit a notice with archon workflow notice "<text>" --label k=v or notice(text, labels) from archon:script. It is recorded with the run, never pauses it, reaches the attention stream at the notices level with needs: "nothing", and archon workflow attention --notices --since 24h lists or counts a window of them by label. (#5527)
  • archon state put|patch|delete --held writes only if the calling run holds the document's live lease, and otherwise exits 3 with lease_not_held.
  • archon state claim takes the lease on the first claimable document of a candidate list and reports why it skipped each of the others.
  • A trigger binding without schedule is fire-only: only archon trigger fire --config <file> starts it, through the same admission and deduplication as a scheduled start.
  • archon trigger check reports every binding file and installed timer whose start would be refused for its inputs. A binding refused for its pack's forge needs stores the typed reason and remedy on its receipt, which trigger inspect, trigger fire and trigger list show. An admitted start whose run has not begun reads as starting, unowned or unknown, with the recovery command for an unowned one and archon trigger inspect for an unknown one. (#5907, #6005, #6025, #6039)
  • Removing a run's scratch directory at run end first removes the git worktrees a node added under it from the run's repository, so no registration outlives its files.
  • A select wait can declare other: true, which adds a free-text option. An answer that chooses it must carry text, and the next node reads { decision: "other", text }.
  • archon workflow respond <run> --recommended --occurrence <id> and archon workflow answer --recommended answer an attention wait with the option it recommends, at the occurrence the answerer read. The answer is refused when the wait has no recommendation or takes none in its form.
  • An answer given from inside a workflow node records that run and node on its wait_answered event as fromRun: { runId, nodePath }; the watch's resolved line carries it as answeredFromRun, and the text watch prints it. It is read from the node's environment and is attribution, not proof. (#5633)
  • --as <name> on answer, respond, approve and reject records a self-declared answerer on an attention wait's answer. resolved stream lines carry it as answeredBy, and --count-by answerer --since groups by it. The name is a claim that nothing checks; a gate records no answerer and refuses --as.
  • Every line of archon workflow attention --watch --json and of the HTTP stream carries needs: answer, look or nothing. The close of an ask needs nothing and the watch still shows it. --watch --notices (level=notices) also writes the nothing lines that say what happened to work, such as a run that completed or resumed.
  • An attention wait's wait_started event records its form, the option ids it offered and the recommended option with its confidence, and archon workflow attention --count-by ... --since reports per group how many waits carried a recommendation and how many answers followed it.
  • archon workflow attention --count-by with --since counts the attention waits opened in a window, answered or still open.
  • The text form of archon workflow attention, with or without --watch, prints each ask as a block that can be answered by itself: the question's first line, the recommendation and its reason, what each option does, and the answer commands with --occurrence. archon workflow attention <run-id> prints the whole message. --json is unchanged.
  • A run that completes with a failed outcome says why where the look is asked for: its terminal attention line carries reason, up to two short lines from what the returns: node said, and the text watch prints them. archon workflow get prints a Reason: line for a failed outcome and for a failed run, and carries reason in --json. reason is optional in both: the line and workflow get --json omit it when there is no reason text.
  • A completed run's outcome, named or boolean, appears in the chat attention notice, the live terminal run event, Slack's status message and the watch's terminal line. (#5743)
  • The chat agent has an attention tool on Claude, Codex and Pi, in every chat. It lists the attention queue (the runs paused for a person) for the chat's project or across every project, with what each item asks, its options and its recommendation, and answers an item. An answer is recorded at once, with no confirm step. It lists only the items the person in the chat may answer. Any number of items can be answered in one reply, and a running server continues each answered run. A Codex chat started before this release asks for a new chat, because its tool catalog is fixed when the thread starts.
  • Reading a run shows more. workflow get --verbose prints each round of a loop (loop_rounds in --json and the API) and carries each node's full persisted output; a failed bash: or script: node carries exitCode and its captured stdout in --json; workflow get <run-id> --throughput and workflow runs --throughput show model throughput; a node that came in through an include carries composed: { nodeId, workflow, includes } on its events; a fan-out node's run log line carries fan_out_outcome. (#5413, #5440, #5526, #5776, #5845, #5993)
  • --since on archon workflow attention and archon metrics accepts minutes (--since 40m). (#5572)
  • Workflow fixtures: a dry run can simulate a workflow: fan-out from a stub, resolves and validates every attention ask whether or not an answer stub exists, and prints a per-node trace when a fixture fails its verdict. (#5410, #5543, #5895)
  • archon setup can use Pi's own login instead of asking for a key, and archon doctor accepts a Pi OAuth login. archon doctor also reports every workflow file that fails to load and every workflow that needs a default provider when none is set. (#5421, #5423, #5612, #5803)
  • archon validate workflows reports invalid pack settings in a project and the signal_completes without interactive warning. A YAML syntax error names the file, line and column and shows the line. (#5611, #5687, #5742)
  • Every key under sandbox.network, sandbox.filesystem and sandbox.ripgrep reaches the Claude SDK as written, including keys Archon does not list. (#5752)
  • A Pi node's record keeps each model request's token counts, provider, model and response id in tokens.calls. (#5877)
  • archon serve can show what Archon is doing with an item on the issue or pull request it is about: one status comment, edited as stages start and end, and a new comment for an open question, an ask, a ruling and the final result. It is off unless itemTracker in ~/.archon/config.yaml maps the project's item keys to a repository, and the forge plugin needs workitem.comment.upsert. See Show progress on the item's tracker. (#5751)
  • The item tracker no longer needs a running server. A CLI process that started, paused, resumed or ended a run brings every tracked project's status comment up to date before it exits, and archon tracker sync [--json] does one pass on demand, reporting per project what it posted and what it could not. One pass per project runs at a time across processes, so a server and a CLI process never post a comment twice; archon tracker release <project> lets go of a pass held by a process on another host. A run that starts and ends after the tracker is first turned on is now posted even when no tracker process saw it. See Show progress on the item's tracker. (#5881)
  • A forge merge made by a run on an item records itself on the item. An applied archon forge pr.merge (and forge('pr.merge') in archon:script) from a run on an item records the merge (via: forge) and the landing branch, as workflow merged and workflow landing do, from the forge's merge result, and the response carries itemRecord. A pack no longer needs a recordMerge/recordLanding script after the merge; one that keeps it keeps the first record. The forge plugin contract gains an optional merged_at on the applied pr.merge result, which the GitHub plugin fills. A plugin that omits it still merges, with no item record, itemRecord: {recorded: false, reason: "no_merge_time"} and a stderr line naming the fix. (#6158)
  • A run-owned archon forge pr.merge that the forge refuses because the pull request is already merged records the merge and landing branch on the run's item from the forge's answer, and the refusal carries itemRecord; it still exits 1. The forge plugin contract gains an optional merge.merged_at on that refusal's evidence, which the GitHub plugin fills. (#6208)
  • archon forge attachment.put stores an image (PNG, JPEG, GIF or WebP, at most 5 MiB) with the forge and returns a link that renders it in a comment or review, such as a screenshot a stage took of a UI change. The file is named by the sha256 of its bytes, and the same bytes again answer changed: false. The GitHub plugin commits it to the orphan branch archon-attachments of the repository, so the image is exactly as visible as the repository, and links pin the commit that holds it. It needs push access to that repository and is refused with authorization without it. Nothing prunes the branch. A plugin without the operation fails archon forge check for it with unsupported_op, and the call is refused before the plugin runs. (#5902)
  • archon forge pr.review.submit posts a comment-kind pull-request review at one commit: a summary and inline comments, each on its path and line. It is presentation only; nothing gates on it. It is refused when the head is another commit, a finding whose line is outside the diff goes into the summary and the result says which went where, and a repeat with the same key at the same commit posts nothing new, and is refused when its findings differ from the posted review; send one submission at a time per key, because two sent at once can both post. pr.reviews marks a review posted this way, and its comments, with submitKey, so a reader can leave Archon's own review out. The GitHub plugin implements it; a plugin without it fails archon forge check for it with unsupported_op. (#5766)
  • archon forge pr.close (and forge('pr.close', { ref }) in archon:script) closes an open pull request without merging it, deleting its branch or commenting. An already-closed pull request answers changed: false, a merged one is refused as conflict, and a plugin released before it answers unsupported_op. (#6101)
  • The forge's resolve with web: true reads the web URL of an issue or pull request and returns its repository and number. (#5453)
  • The forge contract can search a repository's issues and pull requests by text (workitem.search) and read the end of a check's log (checks.logs). The GitHub plugin implements both, and the SDLC pack's agents use them instead of gh.
  • archon forge <operation> --help prints that operation's request, its required and optional fields, and a minimal --data example. (#6275)
  • archon forge check answers whether a plugin serves a host, supports the named operations and has a credential, without running a forge operation. It exits 1 with a typed reason, so a workflow can refuse before it spends on agents.
  • A forge error says when a failure is temporary: unavailable when the forge did not answer or answered 5xx, and rate_limited when it limits the caller. The GitHub plugin sets them from the status, the retry-after and x-ratelimit-remaining headers and the GraphQL error type, so a rate limit GitHub answers with such a 403 is no longer reported as authorization. The host repeats a read that fails with either kind up to three times and records the count as retries in the operation's audit event; it never repeats a write. Every forge failure message names its operation and subject. A host released before this reads the new kinds as invalid_response, so update the host before an installed GitHub plugin; see Temporary failures and read retries.
  • A forge actor carries type (user, bot or organization, or null when the forge does not say), so a script can tell a bot's comment from a person's with pr.threads, pr.reviews and workitem.comments instead of a separate GraphQL query. The GitHub plugin fills it. It is optional: a plugin released before it still answers, and a reader treats its absence as unknown.
  • pr.threads says when each review thread and comment was created (createdAt, ISO-8601) and the commit it was made on (commit, null when the forge does not record one), so a script can see a comment that arrived after a reviewed commit. The GitHub plugin fills both. Both are optional: a plugin released before them still answers, and a reader treats their absence as unknown.
  • A source checkout and Docker run the GitHub forge plugin from source, as they run the maintained providers, and skip an installed archon-forge-github. Release binaries still load the installed plugin.
  • The SDLC pack has three new settings in .archon/packs/sdlc.yaml. build_lane: manual launches no build round until a maintainer answered the queue's question about the item, and merge_lane: manual merges nothing a maintainer did not approve at its head. protected_paths is a list of globs: a pull request that changes a matching path merges only once approved at its head. Scripts enforce all three.
  • The SDLC pack has a ci setting. With ci: none in .archon/packs/sdlc.yaml, delivery runs and records the full validation itself, and a pull request is ready and merges only with a recorded validation that passed at its head. (#5429, #5645, #5821)
  • The SDLC pack's queues emit notices: started, ready, continued, parked, merged (with lane=auto or lane=manual), returned, closed and blocked. archon workflow attention --notices --since 24h --label kind=merged lists what merged.
  • The SDLC pack's runs are on their issue's item, so an issue's intake, build rounds and merge read as one item, and the pack declares its per-issue metrics as data. archon metrics also reports how many review rounds a pull request takes to reach Ready and the test and production lines each merged pull request added. A build round that continues a reviewed pull request continues that review instead of starting over. (#5395, #5454, #5500, #5892, #5906)
  • The SDLC pack's queues find their repository from the checkout's remote when no repository input is given. A message to archon-build-pick that names several issues writes a work order, and a merge can start a discoveries drain through the pack's run-ended binding. (#5404, #5405, #5428)
  • The web console shows the asks completed runs left on their items, grouped by item, and answers them in place. Run tabs and node filters are part of the URL, list rows and the run page show when a run started and finished, and Settings shows the commit the server runs (commit on /api/health). (#5435, #5436, #5578, #5850)
  • The console's chat composer shows Stop in place of Send while a reply is running. Stop aborts the provider call, keeps the reply text that already arrived, adds a "Response stopped" marker, and the next message continues the same conversation and provider session, also after the first reply of a chat was stopped. A stop with nothing running, or a second stop, does nothing and answers {"cancelled": false}. Provider plugins may send a { type: 'session', sessionId } chunk as soon as they know their session; Claude, Codex, Pi and Copilot do, and a provider that sends none still conforms. (#1239, #6118)

Changed

  • archon workflow resume <run-id> resumes a failed or killed run in which no node completed, under the same run id and with the inputs, workflow source, run configuration and item it started with, from its first node. It used to refuse and print a --supersedes command that started a different run without them. A run with a live owner is still refused. (#5720)
  • Bun is 1.4.5 across development, CI and Docker images. (#6006)
  • The bundled Codex is 0.171.0, so a Codex node can select gpt-6.2-sol on a ChatGPT login. A model Codex reports as not found (modelNotFound) now fails as misconfigured and is not retried. (#6123)
  • Claude nodes run on Claude Agent SDK 0.3.327. A Claude node that starts background work gives its structured result after that work finishes, and ScheduleWakeup is no longer offered to a workflow node. (#5956, #5966)
  • Each Claude request and credential check logs which credential Archon handed Claude Code as credentialInput: 'delivered' | 'forwarded' | 'none', with env key names and never values, on provider.plugin.log. It replaces the using_global_auth line, which read the shared login even when a per-user credential was delivered.
  • A start without --branch names its worktree and branch from its run id (archon/task-<workflow>-<run id>, shortened with a digest past 50 characters) in place of the start time. Two starts of one workflow in the same millisecond used to derive one name, and one of them failed at git worktree add (#5649).
  • When worktree setup fails and the path is not provably this start's own, the error no longer says to remove it. A path that carries another start's setup lock is reported as that start's, with its setup attempt id; before, the message told the operator to remove what could be a running start's checkout (#5649).
  • assistants.pi.maxConcurrent is enforced only by provider admission, which re-reads it from ~/.archon/config.yaml at every attempt, so a change takes effect without a restart. The Pi provider's own in-process semaphore, which kept the first value a process saw, is removed (#5726).
  • When tool-call attention finds an agent node stalled, the engine first writes one short factual message into the same Claude or Codex session, and the agent continues by itself, up to twice per node attempt by default. workflow status and workflow logs show each message. workflows.stallMessageLimit sets the count, and 0 turns it off for an install or a repository. (#6001)
  • Deleting a run, with archon workflow cleanup [days] or the single-run DELETE API, also removes its artifacts/runs/<id>/, logs/<id>.jsonl and workflow-source/runs/<id>/. workflow cleanup reports how many runs it deleted and how much disk their files took. A run another live run continues from, and a run with a live sub-run, keep their files. archon workflow cleanup --orphans lists the files left by runs deleted before this release, and --yes removes them. (#6092)
  • A run that commits nothing leaves no branch behind: when its worktree is released, the branch Archon generated for it is deleted if it still points at the commit it was cut from. A completed detached run without --branch releases its clean, pushed worktree, and a tagged build cache outside the run's scratch is removed with it when the run finishes. (#5557, #5564, #5686)
  • The first AI node of an included workflow starts fresh even when the block begins with a bash: or script: node; context: shared on it still continues the caller's session. (#5750)
  • A node skipped by an include gate records why (cause.boundary with the include and its workflow) instead of trigger_rule, in runs and dry runs. A gate that cannot be evaluated warns once per boundary per run. (#5550)
  • The HTTP API refuses in the request what it used to accept and report later. A run start the engine refuses is a 400 with the engine's reason, and nothing is written or queued; resuming a run with no checkout is a 400; an invalid answer to a paused wait is a 400, not a 500. A start may carry an empty message, as from the CLI. (#5623, #5637, #5639, #5846)
  • An answer that needs a message is refused when the message is empty or only whitespace, from the CLI, the API, chat, the console and dry runs, and the ask stays open. (#5903, #6035)
  • A foreground CLI run that pauses names what it needs, an answer, interactive input or an approval, and prints the command that continues it. (#6083)
  • Chat no longer continues one of several open runs the message did not name. With more than one continuable run of the requested workflow, the reply lists each with its /workflow resume <id> command. (#5787)
  • The wake watcher (archon workflow wake --watch) exits with status 75 once the installed Archon changes, so its supervisor restarts it and resumed runs continue on the new code. (#5997)
  • An observing source no longer polls a wait whose deadline has passed and says so once per process (deadline passed at <deadlineAt>; polling stopped), remembers a check read whose checks have all completed, and pauses the whole source after a rate_limited or unavailable forge failure, from 60 seconds doubling up to 15 minutes. (#6061)
  • Plugin manifests (archon-plugin.json) and install receipts with keys a binary does not know install and load, so a pack that declares a newer field works on older Archon. archon validate workflows warns about each unknown manifest key as manifest_unknown_key. An unknown schemaVersion is still refused. (#6157)
  • archon forge names the refused fields when it refuses a request as invalid_request (for example units.0.rerun: Invalid input: expected object, received undefined), so a caller can correct the request. It never includes the supplied values.
  • A GitHub forge write whose read-back fails reports verification_failed carrying the read-back's own error kind (rate_limited, authorization, unavailable, not_found) instead of invalid_response.
  • A build that runs from inside an Archon home's workspaces/ directory is refused when it opens that home's database; set ARCHON_HOME to a scratch directory to run a checkout there. (#5784)
  • Archon sends archon_started at most once per surface (CLI, server) per UTC day, and the event carries the store kind (files, sqlite or postgresql). Direct-chat telemetry reports cache read and write tokens. Telemetry schema is 14, and the telemetry notice is shown once more. (#5607, #5414)
  • The SDLC pack's scripts call the forge and the state store through archon:script instead of the pack's own clients. A failed forge operation is reported in the script API's words: the message no longer carries the credential source or the write's mutation record.
  • The SDLC pack lists its forge operations once, in .pack/pack.yaml, and the engine checks every pack run when it starts, before a worktree or a slot. The check proves the plugin, its operations and its credential and contacts no forge, and it refuses a credential the forge rejects or a repository the credential cannot see. A workflow that calls only some operations still needs a plugin that advertises all of them. (#5933, #5957)
  • The SDLC pack recommends capacity 10 for intake and the build queue. (#5757)
  • The SDLC pack's questions offer the wait's own other option, and an other answer must carry text.
  • The SDLC pack's delivery hands a pull request off without waiting for pending CI, review verifies its blockers and reruns only the lenses that found them, and simplify joins the first review. Triage asks whether a run can start instead of requiring six contract elements, and under-shaped work goes to plan. A build runs CI's static checks before it pushes. (#5407, #5411, #5481, #5919)
  • SDLC delivery declines a review thread that asks for a guard, check or test against a failure the change cannot reach, naming why, and such a thread does not hold the merge. (#5430)
  • SDLC run outcomes carry the deciding node's own summary, and the split agent writes its item's comment, instead of pack scripts composing that text. (#5516)
  • The SDLC pack's UI lenses look for a browser tool once (playwright-cli, otherwise agent-browser) and finish at once when there is none. (#5967)
  • The SDLC pack's pushHead no longer retries a failed git push after 20 seconds. (#5896)
  • archon-metrics-prs reads one window per run (7 days by default, with until), and reads a merged pull request from the forge once, keeping its facts in state for later runs. (#5481, #5531)
  • The SDLC pack builds from, proposes against and merges into the item's landing branch ($BASE_BRANCH) instead of the default branch. On an item with a landing branch the merge stage cannot start yet, because the engine refuses its in-place run there. (#6148)
  • The console's dashboard refetches the run list at most once per 2 seconds while visible and not at all while its tab is hidden, catching up once when the tab is shown. (#5836)

Removed

  • The maintainer standup and maintainer PR review workflows in this repository are removed. (#5426)
  • The SDLC pack workflows archon-validate, archon-upkeep, archon-forge-check and archon-worktree-cleanup are removed; see Breaking for what replaces each. (#5391, #5481, #5820, #5933)
  • The SDLC pack's review bench (archon-review-eval, archon-review-eval-judge) and its case set are removed. (#6146)

Fixed

  • archon workflow attention lists every run whose owner it can prove gone as owner_lost, on any item or none. It used to list one only while a later start of its workflow on the same item waited behind it, so a dead run holding a resource slot stalled other items with nothing in attention. A pending start that was admitted but that no process runs is listed too, with the archon trigger execute command that starts it. Owners are observed at most 8 at a time and 5 seconds each; one that takes longer is not listed. (#6256)
  • A pending run whose claim is refused because its worktree was released or its admitted resource slot is gone now fails with that reason, written by the executor that tried to claim it. It used to stay pending with no process running it until someone abandoned it. A start whose run ended while still pending, such as one abandoned after its executor died, no longer counts toward its binding's start limit, which used to refuse later starts for a round that never ran. (#6256)
  • A run that ends after Archon was updated no longer prepares its next start with the code it started on. That code could reject a stage the updated pack declares with something only the new version loads, leaving the item silently stopped. The ending process now leaves its starts pending and runs the installed Archon's trigger drain in the background, and a preparation that fails in a process whose Archon changed stays pending instead of rejected. (#6225)
  • Label bindings observed without a webhook no longer lose a start. An issue whose label event the forge could not yet read is read again on the next pass instead of failing from memory until the issue changes. A label added while a binding's first pass kept failing on another issue now starts once the binding is seen; labels already there when the binding was first observed still start nothing. A label start queued at capacity on a host no trigger file names is drained on each workflow wake --watch pass while the label is on the item, so it starts when its slot frees, also after the watch restarts. (#6166, #6167, #6168)
  • When several archon trigger fire processes run at once, a fire whose binding another process is preparing waits for it and prints the real disposition, instead of preparing with a null disposition. Past a minute it prints preparing with the owner and the recover-preparation command. (#5666)
  • archon trigger schedule status, remove and install find a binding's timer however ARCHON_HOME is spelled, so install never adds a second job, and remove prints "removed": false when no job was installed. (#6057)
  • archon workflow run --detach is refused with the reason (exit 1, { "ok": false, "error" } under --json) when the run's child would refuse it before its first node: a registered --branch worktree on another branch or without --from in its history, or an --item run with a broken run-ended binding. It used to acknowledge a started run that the child then refused, with the reason only in the child's log. (#5783)
  • archon workflow run --detach of a workflow that declares returns.asks, started without --item, is refused in the command's result instead of acknowledging a run its child then cancels. (#5844)
  • archon workflow run --supersedes <run-id> with no workflow name starts the run again in its own project from any directory, on the base branch its definitions were read from (an explicit --base wins), and a restarted stage that worked on a copy keeps its checkout hand-off, so a later hand-off selects the original checkout and not the restart's throwaway worktree. It used to start in the invoking directory's project, on that project's default base, and record no hand-off. (#6119, #6120, #6170)
  • archon workflow get, logs, artifacts and wait <run-id> read a run by its full id from any directory. A short id outside a registered project is refused with a message saying to run from the project or pass the full id, in place of "Register this folder". (#6190)
  • archon workflow wait announces attachment when its run no longer needs a live owner, instead of reaching its deadline without it. (#5512)
  • archon workflow cleanup --orphans no longer tells an operator to move another store's history out of ARCHON_HOME, which made the next --yes delete the files of every run that history holds; the refusal now says removing those paths deletes them. When it opened SQLite or the file store, it also says before removing that it could not check a PostgreSQL database. (#6172)
  • Two runs that prepare one project's checkout at the same moment both get their worktree. (#6071)
  • A node that runs scrubbed of credentials and fires a binding whose run-as user has a connected GitHub token no longer fails to read a private HTTPS repository: the fire's remote reads, the started run's executor and its nodes all authenticate as the run-as user. (#6075, #6079)
  • A resumed loop_group continues in the round it stopped in, a resumed run keeps an input that resolved to null, and a resumed run keeps its creation time; runs gain a nullable active_phase_started_at column for the current phase. (#5603, #5758, #5948, #5972)
  • On PostgreSQL, an answered wait is no longer discarded when a resumed always_run dependency returns the same structured value with its keys in another order. (#5489)
  • archon workflow answer no longer reports a failed resume when another host already continued the run to completion. (#5542)
  • A trigger run whose launch preparation fails ends as failed with its diagnostics instead of staying pending, and a dropped or skipped hand-off is reported to the source run. (#5563, #5580, #5613)
  • An include gated on one of the block's inputs no longer skips its loop_group body on the first iteration. (#5442)
  • A child workflow whose result is JSON null reaches its parent as null, not as the text "null". (#6254)
  • --workflow-source runs: a dry run finds the pack's command files and scripts as a real run does, a run is refused when the named workflow is not in that source, and a trigger binding with a workflow source starts from there or is refused. (#5774, #5854, #5950)
  • A block included from its own pack reads that pack's settings. (#5962)
  • A pack named defaults or fixtures loads from its own folder beside project data of the same name, and a malformed root archon-plugin.json no longer makes the console answer 500 for the project's other workflows. (#6054)
  • archon validate workflows reports an AI node whose provider cannot resolve, naming the node and suggesting a default provider or an explicit one. Such a workflow used to pass validation and fail at start. (#5617)
  • A run's workflow-source capture never copies a .env or .env.* file, from any scope. Captures made before this release are not scrubbed. (#6065)
  • archon workflow test reports no longer include the rejected JSON text or object keys of an authored stub that fails to parse or fails its schema. (#5551)
  • Cleanup keeps a worktree a waiting start has been handed, reclaims a merged worktree whose pull request was published under another branch name, and reports a project whose checkout is gone, or a commit no pull request covers, instead of failing. (#5381, #5482, #5864, #5913)
  • archon isolation cleanup --merged and the scheduled cleanup keep the worktrees of a repository with no origin remote and no worktree.remote, and report each as skipped with that reason, instead of failing a merge check for each. (#6024)
  • Chat /worktree cleanup merged on a project whose checkout is gone answers once with the gone checkout and its environments, as the CLI does, instead of a failed merge check per environment. (#5918)
  • An item read and the attention watch no longer report asks as settled or resolved when a row could not be read, overlapping completions of one workflow on one item leave one open set of asks, and the watch reports an owner killed before its run's first event. (#5847, #5852, #5888)
  • Item reads find start requests through an index instead of a table scan, on SQLite and PostgreSQL. (#5990)
  • On the file store, a top-level null in a run-metadata patch removes the key, as on SQLite and PostgreSQL. (#5953)
  • A settings write refuses a zero, negative, fractional or unknown-provider concurrency cap with an error naming the key and leaves the file untouched. It used to save a cap that then refused every provider attempt.
  • On a fresh ARCHON_HOME, archon trigger check, tracker sync, tracker release and workflow types --check no longer create a config.yaml.
  • Codex nodes no longer fail when the app server omits nullable MCP status fields, start their threads at the node's resolved effort, and count subagent usage from both spawn tools once. (#5434, #5483, #5873)
  • A Claude plugin listing that is killed or times out fails as transient, so the retry policy applies. (#5945)
  • checks.state counts only the newest run of each check, so a cancelled older run no longer turns a commit red. checks.rerun reports a rerun GitHub accepted as applied instead of failing its read-back. pr.threads gives organization and mannequin authors the numeric id REST and webhooks give. (#5622, #5644, #5932)
  • The GitHub forge plugin delivers large responses whole, and workitem.create no longer lists every issue of the repository. Plugin discovery skips a PATH entry that is not a directory instead of failing. (#5450, #6066)
  • When a plugin lacks an operation and states no remedy, the message names what runs it (its file path, its config entry or this source checkout) and a step that works, instead of a bare archon plugin update. archon plugin list prints executable archon-forge-<name> on forge receipt rows. (#6207)
  • A schedule installed with archon trigger schedule install on macOS records the installing shell's PATH, so scheduled runs find bun, gh and provider CLIs. Reinstalling the same binding from a shell with a different PATH refuses; remove it, then install. (#5412)
  • On Windows, a detached run's leftover processes end when its owner exits, and a review's app cleanup no longer ends every Archon run on the machine. (#5585, #5994)
  • archon version shows the commit Archon was built or started from, not the current directory's. (#5695)
  • The workflow examples in archon --help name workflows that ship. (#6291)
  • The Docker image ships the archon-cli skill, so archon doctor and archon skill add work in it. (#5723)
  • archon workflow test skips bundled fixtures when bundled workflows are off, and opening a malformed packaged workflow by name reports its load error. (#5406, #5725)
  • The first run in an unregistered checkout no longer hangs on an install with many projects, and a source checkout no longer prints a warning per installed provider on every command. (#5491, #5495)
  • SDLC pack: a pick reads each item again before it fires its build, an intake run triages the issue its own event names, a choice that waits on something from outside parks the item instead of asking again, a blocked item is re-triaged only when something it waits on changed, and the split comment no longer shows undefined, a duplicate or a filing that did not happen. (#5396, #5506, #5538, #5539, #5976)
  • The SDLC pack pushes a round's commits and opens or continues its pull request before it checks the prepared description, so a defect in that text can no longer leave the commits unpushed.
  • A standalone archon-review of a pull request URL from a checkout not at that pull request's head refuses at its first node, before any agent runs. (#5494)
  • A PR metrics forge failure names the pull request it was reading. (#5579)
  • In the console, a saved chat reply appears when the conversation unlocks, SQLite chat messages written in the same second keep their order, failed runs say why and paused runs are answered on their own page, and the provider model editor has full width on phones. (#5490, #5519, #5549, #5639)
  • The console's workflow builder parses previous-loop output references in when: as the engine does. (#5437)
  • Re-running a run from the Web UI fills in the inputs it was started with. Runs started before this release restore no inputs. (#5624)
  • A run start the console refuses no longer leaves an empty conversation behind. (#5641)
  • Saving a setting to ~/.archon/config.yaml (archon ai default --scope install, archon ai tier, archon ai alias, archon setup and the Web UI settings) changes only the saved keys and keeps the file's comments, key order, layout and line endings. It used to rewrite the whole file as one flow-style line. A save that the file's YAML cannot take in place without changing another setting, such as unsetting a key that comes through a << merge key, is refused with a message naming the file, and nothing is written; the Web UI shows it as a 400. (#5438)

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.