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}/canceltakes{ "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 SSEconversation_lockevent of a starting reply carry itsturnId; a cancel without one is refused with 400. The console's Stop sends it. (#6171)- The forge operation
pr.merge-statedescribes a pull request against its own base branch, not the repository's default branch. Its result fieldsdefault_branchanddefault_revisionare nowbase_branchandbase_revision, andbehindcounts 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 aninvalid_responsethat namesresult.value.base_branch; rename the two fields and read the base. A caller that needs the default branch reads it withchecks.commitat{"kind": "default_branch"}. Aninvalid_responsefor a result that fails its schema now names the operation and the failing fields. (#6043) - An attention item's JSON has its own
refand keeps what belongs to its run underrun, because an item no longer needs a paused run behind it.runId,workflow,parentRunId,fanOut,context,nodeandoccurrenceare nowrun.id,run.workflow,run.parentRunId,run.fanOut,run.context,run.nodeandrun.occurrence. This changesarchon workflow attention --json,archon workflow attention <run> --json,GET /api/runs/attention,GET /api/runs/{runId}/attention, theitemof a watchattentionline and the chat tool's list. On the watch,resolvedandunmatchedlines always carryrefand carryrunIdonly when a run held the item,resolved.reasoncan also beno_longer_listedorreplaced, and the top-levelworkflowof anattentionline is null for an item with no run. The list can also hold anowner_lostitem, so a client that switches onkindmust 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 getandworkflow statusprint 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 exceptworkflow run,validate workflows,pack bindingsandpack 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 (sourcein--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_oftogether withrequiredordefault, oratwithoutresult_of, fails to load, andarchon validate workflowsnames the input and both keys. It used to load with the input dropped and a log warning. Remove the contradicting key.archon workflow run --detachof aresult_ofworkflow with no--itemand 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--fromto 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 inreturns:instead:returns: { node: <id>, outcome: <field> }(the string formreturns: <id>still works). A workflow that still setsoutcome_field:fails to load with a message naming the new form. The outcome may now also be a required string with anenum, 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 itsreturns:node completed, and what that node said stays in itsnode_completedevent. Runs gain a nullablecompleted_outcomecolumn holding the outcome of either form; the olderoutcomecolumn keeps holdingsucceededorfailedfor 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/, whichdocker build --iidfilewrites. A run that built nothing no longer ends with acleanup is inconclusivewarning when Docker is stopped, in host and container runs alike. A workflow that labels its builds witharchon.run_idmust 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.jsonand 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 abash:orscript:node that exits non-zero when a check must fail the run. Runs already recorded with theevidence_missingreason or anevidence_validation_failedevent 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 enclosingloop_groupbody 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. Aninclude:orworkflow:node'swith: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. Runarchon validate workflowsafter upgrading. (#5571, #5700, #5715, #5753, #5863) - A
runtime: uvscript node no longer joins the checkout's uv project: it writes no.venvoruv.lockthere and ignores the checkout's project dependencies,[tool.uv]/uv.toml,.python-versionand existing.venv. A node that imported the checkout's own packages or project dependencies must list them indeps:. The user's own uv config still applies. (#5746) - A metric node may return
metric_dimensionsbesidemetrics: one entry per record of up to eight named values, such as{ "route": "plan" }.archon metrics <name> --by-dimension <key>(byDimension=onGET /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 theroutedimension, in place of the<name>.<route>copies: readarchon metrics sdlc.issues_merged --by-dimension routewhere you readsdlc.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 thenonegroup, and a window holding only them fails--by-dimension routewithno 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 byarchon state claimand 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 --watchwrites 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 writesready,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--aftermust add--protocol, which is the previous stream unchanged;--afterwithout--protocolis refused.GET /api/runs/attention/streamtakeslevel=quiet|notices|protocolin place ofneedsSomeone.needsSomeone=trueis nowlevel=quiet; withoutlevelthe stream is still the full protocol.archon workflow run <name> --resumeis removed; the flag is now an unknown option. It picked the newest failed, paused or day-oldrunningrun for that workflow and path, which could continue a run the operator did not mean. Resume a run by its id witharchon workflow resume <run-id>, and find the id witharchon workflow runs(--item <key>for one item). Continuations (workflow resume,approve,reject,respond,answer) now refuse--inputand--baseinstead of ignoring them, as they already refused--model;run --resume --basewas 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-queuebuilds one named issue per run, on the itemissue-<n>, and a start that names no issue is refused. The newarchon-build-picklists 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-queueruns once per pull request on the same item, endsmerged,merged_retriage,returned,parked,askedorwaiting, and holds nothing while it waits; a completed check, an answer or the 30-minutearchon-merge-pickbackstop starts it again. A merge question is an ask left on the item and answered witharchon workflow answer --ref <ref>, not a paused run answered withworkflow respond. A red default branch asks nobody: nothing merges, and a notice labelledkind=base-redcarries the diagnosis. The gate commandgate.ts, the facts node'sgateoutput and the sweep'sgate_erroroutput 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 witharchon pack bindings sdlc, remove the oldbuild-queueand merge-queue schedules, and install the new ones; an install that builds only work orders must leavebuild-after-intakeunregistered. 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(usearchon forge check) andarchon-worktree-cleanup(remove itsworktree-cleanupbinding and runarchon isolation cleanup schedule install) are gone, with the merge queue's enrollment of a maintainer's own pull requests. The pack'smaintainers.jsonmust 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 includesarchon-<stage>-blockfails to load until it includesarchon-<stage>(triage is stillarchon-triage-block). A stage run by hand that ends not ready completes withready: falseand its report instead of pausing; continue it witharchon workflow run <stage> --adopt <run-id> "<note>".archon-intakeandarchon-investigatecomplete with a named outcome, so anything that read their booleanoutcomenow reads null and finds the value incompleted_outcome.archon-triageis the only label that asks intake for a triage; write theintake-labelsbinding again witharchon 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_asinput is replaced by on/off inputs:retriage_mergedon the merge queue andrevisit_blockedon the build pick. A binding that still passesretriage_asfails 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),itemandprin place ofbuild: <class>,merge: <class>anddiscoveries: question. A watcher or count that filters on the old keys matches nothing asked after this change:--label merge=prbecomes--label stage=merge, and--count-by label:buildbecomes--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 newbuild-after-answerbinding 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
intakebinding, and themerge-after-base-checksbinding is gone. Write theintake,build-pickandbuild-pick-after-buildfiles again witharchon pack bindings sdlc --only intake,build-pick,build-pick-after-build --force, and removemerge-after-base-checksfrom 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 attentionwith 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.lifecyclewith theopenedaction 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 operationworkitem.opened. (#6163) - A workflow pack can ship its own agent skill. Its manifest declares
"skill": { "name": "<name>", "path": "<folder>" }, andarchon 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 namesarchon-cli,archonandmanage-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-packfile naming its pack). Installing the pack names the skill and the command but writes nothing into a project.archon plugin addandarchon validate workflowsrefuse a declared skill folder with noSKILL.md.archon skill addwithout--packis unchanged. (#6152) - An agent node can offer its model named scripts as tools with
tools:. Each tool declares adescription, ascript, aninput_schemaand anoutput_schema, plus optionaltimeoutanddeps. A call runs the way ascript: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 onescript_tool_callevent. 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>andarchon 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 witharchon workflow rule --item <key> -- <text>orPOST /api/items/rulings, with who said it when they say, the surface and the time; it needs no run, and--withdraw <ruling-id>(orPOST /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 throughitem()fromarchon: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. Atrigger firefrom inside a run inherits that run's item, and a run started with--adoptor--supersedesbelongs 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--itemto 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()inarchon: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/windowanditems()fromarchon:scriptreturn the same page: the items with one of their own runs started in the window, each read asworkflow runs --itemreads 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 recordedspend.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 asmerged. 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, andarchon metrics --project <project>reports them over the window underitem_metrics, with no pack script. (#5749) archon workflow runs --item <key>,item()inarchon:scriptandGET /api/itemsshow for each runchangeSize: { 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 showsnull. (#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 inarchon workflow attentionand 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 recordsasks_settled. A workflow that declares asks is refused at start without--item; a failed or cancelled run opens none. Adds theremote_agent_item_askstable. (#5640) returns.optionsdeclares the one set of options every ask of a workflow offers, each with anid, what itdoesand what itcosts. The agent writes the question, the context and a recommendation limited to those ids ornull; every stored ask carries the declared options, andarchon workflow attentionshows what each does and costs.archon trigger checkreports an asks-settled binding whoseoptionis 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--recommendedon 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 withrecommendation: nulland the reason asno_recommendation, so an older binary still reads it.archon workflow attentionprintsno recommendation: <reason>where the recommendation would be, its JSON, the item read and the API carry it asnoRecommendation, and the console and the item's tracker comment show it.recommendation: nullstill 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 attentionasstopped, with the stage, the outcome, the summary the workflow names inreturns.summary, and the commands that move it on. Outcomes listed inreturns.finalare done and never stop an item.archon trigger checklists, understops, 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 nullablemoved_on_atandmoved_on_tiecolumns toremote_agent_items. (#6108, #6279) - A failed top-level run that is the newest run on its item shows in
archon workflow attentionasstoppedwithfailed: { error }, the errorarchon workflow getreports, and two restarts:archon workflow run --supersedes <id>, andarchon 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 attentionandarchon workflow runs --itemlist the item asstoppedwithrefused, 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 foregroundarchon workflow runthat caused it prints the refusal under its result, and so doesarchon 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, withstoppedIn.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 attentionlists the item asstopped, with alimitnaming the limit, itsstarts,grantedandused, and thebindingIdandworkflowof the refused start; its text says what allows one more start. EachstartLimitsentry of the item read (workflow runs --item --json,item()inarchon:script,GET /api/items) also lists the trigger files that count under it asbindings: [{ 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 attentionasrefused_startwhile 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 (refusedin--json) and still exits 1 withnot_found. Adds a nullablerefusalcolumn toremote_agent_start_receipt_bindings. (#6231) - A binding start whose preparing process died shows in
archon workflow attentionaspreparation_lost, witharchon trigger recover-preparation <receipt> <binding> --owner <id> --yesand thenarchon trigger drain --host <host>. It is listed only when the preparer ran on this host and is provably gone. Adds a nullablepreparation_processcolumn toremote_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 attentionasunreadable_startwith how many starts wait behind it andarchon trigger withdraw <request-id>. The item read of a start behind it names the request that blocks it (blockedByin--json), andarchon trigger withdrawnow withdraws such a request, printinglaunch: "unreadable". archon workflow end --item <key> -- <reason>andPOST /api/items/endsend an item that will not move again. Its stop leavesarchon workflow attention, andarchon workflow runs --item <key>shows who ended it, when, through which surface and why (endedin--json). A failed item is ended by key, with no run id. A new start on the item opens it again. Adds theremote_agent_item_endsandremote_agent_item_end_runstables. (#6196)archon workflow resume <run-id>continues a run its killed process leftrunning. 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'smanage_runand 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. Whenarchon workflow resumerefuses 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 asrestartCommandin--json. (#6089, #6161)- A stage can start when a run ends. A trigger file with
on.runEndedstarts 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 valueterminal_record.returns.valueholds, 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, andarchon trigger checkreports a duplicate stage, a self-bound stage and a missinglaunch.cwd. A pack declares the hand-off asrun_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.asksSettledstarts 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.optionnarrows 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 asasks_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.itemspoints 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 underrun_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 withwake:starts the next stage when the event arrives. A wait past its limit is listed inarchon workflow attentionasoverdue_wait, andreview.changedis 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_SOURCESfile can declare"observe": { "everySeconds": 60 };archon workflow wakeand a running server then read the forge for what each open wait is about. Alabel.changedbinding on an observing source starts its workflow once per label add, on issues and on pull requests, with who added the label aslabel.actor. A binding with nosubject.kindmatches 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 checklists 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 attentionlists anowner_lostitem 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 itempart_ofit that records none, is cut from that branch with$BASE_BRANCHset 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'sreturns:value on the same item. Withat: checkoutit reads only a result that holds at the commit this run's checkout started on, as{ commit, result }ornull. Every completed run records that commit, and the item read shows it asresultCommit. (#5748, #5769) - A binding can put its start on the item its event names with
item: { field, prefix? }, for webhook events andtrigger fire --inputs.archon trigger firetakes--no-itemto start on no item, andtrigger.fireinarchon:scripttakes the same choice. (#5800, #5813) - An item's later runs keep the run config the item was started with. A binding start or
workflow runon an item, given neither--confignor--config-from-run, runs on the config sealed on the item's most recent run, and a start with--projecttakes the config of the item in that project. (#5949, #5973) archon workflow wait,cancelandabandonaccept--item <key>and refuse when the item is ambiguous. (#5823)archon:scriptexportslinkItem,recordMergeandrecordLanding, each returning what the CLI's--jsonform prints and throwing a typedItemWriteErrorwhen the CLI refuses. Each run in an item read carriespack: { 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 makesarchon:scriptimportable outside a run, forbun --preload <file>andbun test --preload <file>. (#5514, #6037, #6112)- A pack declares the trigger bindings it recommends in
.pack/pack.yaml, andarchon 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]andGET /api/packs/{pack}/graphshow 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-packarchon-plugin.jsoncan be given as the workflow source and runs as that pack. (#5452, #5848, #6044) - A pack setting in
.pack/pack.yamlmay declaresection: <name>andfile: true.archon validate workflowsfails when afilesetting'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 aworkflow:node, then asksarchon forge checkbefore 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 checkaccepts aremotein place ofhost, andarchon validate workflowswarns 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, fromconcurrency.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_conflictis 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-waitrefuses instead. Lowering capacity never ends a running run. (#5593, #5596) concurrency.runs: Nin~/.archon/config.yamlcaps 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: filesrefuses 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, andarchon trigger listandarchon trigger inspectshow why. A run ofresetOncompleting on the item starts the count again, and an asks-settled binding withgrants: <name>allows one more start on that item each time it starts. The item read reports each limit'sstarts,granted,used,leftandsince, and each run'sstartLimit. 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 theremote_agent_start_limit_resetstable and nullablestart_limitandgrants_limitcolumns. (#6109) archon hold setstops every new run from being admitted on the install, from any source;archon hold liftremoves the hold and admits what it kept, once, in arrival order. Running and paused runs are not touched.trigger list,workflow statusand 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, andarchon workflow resumecontinues it at the next node.archon workflow cancelends a queued run before it starts. (#5915, #5992)archon trigger scheduleandarchon isolation cleanup scheduleinstall native timers on Linux (a systemd user timer) and Windows (a Task Scheduler task under\Archon\), not only macOS, andtrigger schedule statussays whether a timer is loaded and when it last ran.archon workflow wake schedule install|status|removeworks on all three. A Windows timer runs on a hidden desktop and findsghand its login; an existing Windows timer keeps its console until it is removed and installed again.archon isolation cleanup schedule installruns 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.yamlor 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'sgit 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-emptylinkFilesis 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_BRANCHset 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_DIRinbash:andscript:). The engine creates it before the node runs and removes it, git worktree registrations first, when the invocation ends. (#5759) context: sameon a command or prompt node continues the session that node last had. In aloop_groupbody, 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 andfresh_contextdo 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 anode_session_not_continuedevent with the reason and posts a notice. Cross-run sessions now record their model in a new nullablemodelcolumn onremote_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 aninclude:.$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 withretry: { 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_typeits 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'sif_unreadablevalue (null or an array) when it declares one. - A named
script:of a packaged workflow that is not in the workflow's ownscripts/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 nonode_modules.forge(op, request)is typed per operation and throws aForgeErrorwith the failure's kind and what is known of a failed write;statewrapsarchon statewith typed conflicts. The CLI stays the wire underneath for other runtimes. The load-time input check readsinput('<name>')likeprocess.env.INPUTS_<NAME>. archon script types [--out <file>] [--check]writes the TypeScript declaration ofarchon:script, including every forge operation's request and result type, for an editor ortscover a pack's scripts.archon workflow types <name|folder|path> [--out <file>] [--check]generates TypeScript types from a workflow'soutput_formatdeclarations, so a script reads a node's output without restating its shape;--checkfails 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=vornotice(text, labels)fromarchon:script. It is recorded with the run, never pauses it, reaches the attention stream at thenoticeslevel withneeds: "nothing", andarchon workflow attention --notices --since 24hlists or counts a window of them by label. (#5527) archon state put|patch|delete --heldwrites only if the calling run holds the document's live lease, and otherwise exits 3 withlease_not_held.archon state claimtakes the lease on the first claimable document of a candidate list and reports why it skipped each of the others.- A trigger binding without
scheduleis fire-only: onlyarchon trigger fire --config <file>starts it, through the same admission and deduplication as a scheduled start. archon trigger checkreports 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, whichtrigger inspect,trigger fireandtrigger listshow. An admitted start whose run has not begun reads asstarting,unownedorunknown, with the recovery command for an unowned one andarchon trigger inspectfor 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
selectwait can declareother: 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>andarchon workflow answer --recommendedanswer 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_answeredevent asfromRun: { runId, nodePath }; the watch'sresolvedline carries it asansweredFromRun, and the text watch prints it. It is read from the node's environment and is attribution, not proof. (#5633) --as <name>onanswer,respond,approveandrejectrecords a self-declared answerer on an attention wait's answer.resolvedstream lines carry it asansweredBy, and--count-by answerer --sincegroups 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 --jsonand of the HTTP stream carriesneeds:answer,lookornothing. The close of an ask needsnothingand the watch still shows it.--watch --notices(level=notices) also writes thenothinglines that say what happened to work, such as a run that completed or resumed. - An attention wait's
wait_startedevent records its form, the option ids it offered and the recommended option with its confidence, andarchon workflow attention --count-by ... --sincereports per group how many waits carried a recommendation and how many answers followed it. archon workflow attention --count-bywith--sincecounts 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.--jsonis unchanged. - A run that completes with a failed outcome says why where the look is asked for: its
terminalattention line carriesreason, up to two short lines from what thereturns:node said, and the text watch prints them.archon workflow getprints aReason:line for a failed outcome and for a failed run, and carriesreasonin--json.reasonis optional in both: the line andworkflow get --jsonomit 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
terminalline. (#5743) - The chat agent has an
attentiontool 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 --verboseprints each round of a loop (loop_roundsin--jsonand the API) and carries each node's full persisted output; a failedbash:orscript:node carriesexitCodeand its captured stdout in--json;workflow get <run-id> --throughputandworkflow runs --throughputshow model throughput; a node that came in through an include carriescomposed: { nodeId, workflow, includes }on its events; a fan-out node's run log line carriesfan_out_outcome. (#5413, #5440, #5526, #5776, #5845, #5993) --sinceonarchon workflow attentionandarchon metricsaccepts 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 setupcan use Pi's own login instead of asking for a key, andarchon doctoraccepts a Pi OAuth login.archon doctoralso 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 workflowsreports invalid pack settings in a project and thesignal_completeswithoutinteractivewarning. A YAML syntax error names the file, line and column and shows the line. (#5611, #5687, #5742)- Every key under
sandbox.network,sandbox.filesystemandsandbox.ripgrepreaches 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 servecan 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 unlessitemTrackerin~/.archon/config.yamlmaps the project's item keys to a repository, and the forge plugin needsworkitem.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(andforge('pr.merge')inarchon:script) from a run on an item records the merge (via: forge) and the landing branch, asworkflow mergedandworkflow landingdo, from the forge's merge result, and the response carriesitemRecord. A pack no longer needs arecordMerge/recordLandingscript after the merge; one that keeps it keeps the first record. The forge plugin contract gains an optionalmerged_aton the appliedpr.mergeresult, 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.mergethat 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 carriesitemRecord; it still exits 1. The forge plugin contract gains an optionalmerge.merged_aton that refusal's evidence, which the GitHub plugin fills. (#6208) archon forge attachment.putstores 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 answerchanged: false. The GitHub plugin commits it to the orphan brancharchon-attachmentsof 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 withauthorizationwithout it. Nothing prunes the branch. A plugin without the operation failsarchon forge checkfor it withunsupported_op, and the call is refused before the plugin runs. (#5902)archon forge pr.review.submitposts 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.reviewsmarks a review posted this way, and its comments, withsubmitKey, so a reader can leave Archon's own review out. The GitHub plugin implements it; a plugin without it failsarchon forge checkfor it withunsupported_op. (#5766)archon forge pr.close(andforge('pr.close', { ref })inarchon:script) closes an open pull request without merging it, deleting its branch or commenting. An already-closed pull request answerschanged: false, a merged one is refused asconflict, and a plugin released before it answersunsupported_op. (#6101)- The forge's
resolvewithweb: truereads 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 ofgh. archon forge <operation> --helpprints that operation's request, its required and optional fields, and a minimal--dataexample. (#6275)archon forge checkanswers 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:
unavailablewhen the forge did not answer or answered 5xx, andrate_limitedwhen it limits the caller. The GitHub plugin sets them from the status, theretry-afterandx-ratelimit-remainingheaders and the GraphQL error type, so a rate limit GitHub answers with such a 403 is no longer reported asauthorization. The host repeats a read that fails with either kind up to three times and records the count asretriesin 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 asinvalid_response, so update the host before an installed GitHub plugin; see Temporary failures and read retries. - A forge actor carries
type(user,botororganization, or null when the forge does not say), so a script can tell a bot's comment from a person's withpr.threads,pr.reviewsandworkitem.commentsinstead 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.threadssays 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: manuallaunches no build round until a maintainer answered the queue's question about the item, andmerge_lane: manualmerges nothing a maintainer did not approve at its head.protected_pathsis 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
cisetting. Withci: nonein.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(withlane=autoorlane=manual),returned,closedandblocked.archon workflow attention --notices --since 24h --label kind=mergedlists 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 metricsalso 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-pickthat 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 (
commiton/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--supersedescommand 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-solon a ChatGPT login. A model Codex reports as not found (modelNotFound) now fails asmisconfiguredand 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
ScheduleWakeupis 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, onprovider.plugin.log. It replaces theusing_global_authline, which read the shared login even when a per-user credential was delivered. - A start without
--branchnames 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 atgit 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.maxConcurrentis enforced only by provider admission, which re-reads it from~/.archon/config.yamlat 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 statusandworkflow logsshow each message.workflows.stallMessageLimitsets the count, and0turns 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 itsartifacts/runs/<id>/,logs/<id>.jsonlandworkflow-source/runs/<id>/.workflow cleanupreports 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 --orphanslists the files left by runs deleted before this release, and--yesremoves 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
--branchreleases 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:orscript:node;context: sharedon it still continues the caller's session. (#5750) - A node skipped by an include gate records why (
cause.boundarywith the include and its workflow) instead oftrigger_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 arate_limitedorunavailableforge 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 workflowswarns about each unknown manifest key asmanifest_unknown_key. An unknownschemaVersionis still refused. (#6157) archon forgenames the refused fields when it refuses a request asinvalid_request(for exampleunits.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_failedcarrying the read-back's own error kind (rate_limited,authorization,unavailable,not_found) instead ofinvalid_response. - A build that runs from inside an Archon home's
workspaces/directory is refused when it opens that home's database; setARCHON_HOMEto a scratch directory to run a checkout there. (#5784) - Archon sends
archon_startedat most once per surface (CLI, server) per UTC day, and the event carries the store kind (files,sqliteorpostgresql). 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:scriptinstead 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
otheroption, and anotheranswer 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, otherwiseagent-browser) and finish at once when there is none. (#5967) - The SDLC pack's
pushHeadno longer retries a failedgit pushafter 20 seconds. (#5896) archon-metrics-prsreads one window per run (7 days by default, withuntil), 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-checkandarchon-worktree-cleanupare 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 attentionlists every run whose owner it can prove gone asowner_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 thearchon trigger executecommand 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
pendingwith 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 drainin 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 --watchpass 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 fireprocesses run at once, a fire whose binding another process is preparing waits for it and prints the real disposition, instead ofpreparingwith a null disposition. Past a minute it printspreparingwith the owner and therecover-preparationcommand. (#5666) archon trigger schedule status,removeandinstallfind a binding's timer howeverARCHON_HOMEis spelled, soinstallnever adds a second job, andremoveprints"removed": falsewhen no job was installed. (#6057)archon workflow run --detachis 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--branchworktree on another branch or without--fromin its history, or an--itemrun 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 --detachof a workflow that declaresreturns.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--basewins), 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,artifactsandwait <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 waitannounces attachment when its run no longer needs a live owner, instead of reaching its deadline without it. (#5512)archon workflow cleanup --orphansno longer tells an operator to move another store's history out ofARCHON_HOME, which made the next--yesdelete 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_groupcontinues 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 nullableactive_phase_started_atcolumn for the current phase. (#5603, #5758, #5948, #5972) - On PostgreSQL, an answered wait is no longer discarded when a resumed
always_rundependency returns the same structured value with its keys in another order. (#5489) archon workflow answerno 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_groupbody on the first iteration. (#5442) - A child workflow whose result is JSON
nullreaches its parent asnull, not as the text"null". (#6254) --workflow-sourceruns: 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
defaultsorfixturesloads from its own folder beside project data of the same name, and a malformed rootarchon-plugin.jsonno longer makes the console answer 500 for the project's other workflows. (#6054) archon validate workflowsreports 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
.envor.env.*file, from any scope. Captures made before this release are not scrubbed. (#6065) archon workflow testreports 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 --mergedand the scheduled cleanup keep the worktrees of a repository with nooriginremote and noworktree.remote, and report each as skipped with that reason, instead of failing a merge check for each. (#6024)- Chat
/worktree cleanup mergedon 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
nullin 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 releaseandworkflow types --checkno longer create aconfig.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.statecounts only the newest run of each check, so a cancelled older run no longer turns a commit red.checks.rerunreports a rerun GitHub accepted as applied instead of failing its read-back.pr.threadsgives organization and mannequin authors the numeric id REST and webhooks give. (#5622, #5644, #5932)- The GitHub forge plugin delivers large responses whole, and
workitem.createno longer lists every issue of the repository. Plugin discovery skips aPATHentry 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 listprintsexecutable archon-forge-<name>on forge receipt rows. (#6207) - A schedule installed with
archon trigger schedule installon macOS records the installing shell'sPATH, so scheduled runs findbun,ghand provider CLIs. Reinstalling the same binding from a shell with a differentPATHrefuses; 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 versionshows the commit Archon was built or started from, not the current directory's. (#5695)- The workflow examples in
archon --helpname workflows that ship. (#6291) - The Docker image ships the
archon-cliskill, soarchon doctorandarchon skill addwork in it. (#5723) archon workflow testskips 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-reviewof 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 setupand 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 | bashWindows (PowerShell)
irm https://archon.diy/install.ps1 | iexHomebrew (macOS / Linux)
brew install coleam00/archon/archonDocker
docker run --rm -v "$PWD:/workspace" ghcr.io/coleam00/archon:latest workflow listManual 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/archonmacOS (Intel)
curl -fsSL https://github.com/coleam00/Archon/releases/latest/download/archon-darwin-x64 -o /usr/local/bin/archon
chmod +x /usr/local/bin/archonLinux (x64)
curl -fsSL https://github.com/coleam00/Archon/releases/latest/download/archon-linux-x64 -o /usr/local/bin/archon
chmod +x /usr/local/bin/archonLinux (ARM64)
curl -fsSL https://github.com/coleam00/Archon/releases/latest/download/archon-linux-arm64 -o /usr/local/bin/archon
chmod +x /usr/local/bin/archonWindows (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