ADR 0014 — adam-coder is the default agent, over plain A2A ​
- Status: accepted (2026-09-29). Amended (2026-10-06): the agent is shown as Adam (id
adam, aliascoder); everything else here, the image, the chart and the first entry being the default, stands (ADR 0049). Amended (2026-10-01): decision 5 also covers the coder's agent folder, and the agents that are only a folder run from the same pinned image (status notes at the end). Amended (2026-10-04): the coder reads GitHub through the GitHub MCP server over http, a sidecar with no credential, and a GitHub App is given its owners instead of an installation (the last status note).
Context ​
The chat needs one agent that does real coding work before the rest of the agent fleet exists. The owner decided on 2026-09-29: "Use the A2A route, coder as default agent."
adam-coder (in vymalo/another-adam-rs) is an A2A 1.0 agent that clones a repository, works on a branch, runs checks, pushes and opens a pull request.
- It is already an A2A agent. It serves its card at
/.well-known/agent-card.json(public), takes JSON-RPC at its public URL with a bearer token, and advertises no extensions. Nothing in the orchestrator needs to change to drive it. - The orchestrator has no notion of a default agent.
AGENTS_FILEis a YAML list of{id, name, cardUrl, tokenEnv?}; the agent directory andApp::list_agentskeep its order, and the chat UI preselects the first (list[0]inweb/src/features/agents/components/new-thread-panel.tsx). - Invariants. ADR 0007: no dependency on an agent host or its SDK. ADR 0008: host conveniences are optional and read live from the card. ADR 0005: models sit behind one OpenAI-compatible endpoint, on the agent's side.
Decision ​
- The coder is an agent like any other: an entry in
AGENTS_FILEwith its card URL and atokenEnvnaming the variable that holds its bearer token. The orchestrator takes no crate dependency on adam-rs and no code path is specific to it. - The default agent is the first
AGENTS_FILEentry.GET /api/agentsreturns the agents in configuration order and clients preselect the first. There is nodefaultfield and noDEFAULT_AGENTvariable. - The default fails closed. If the default agent's card cannot be read, it stays in first place, listed without its live details (no description, no release picker). It is never replaced by the next agent in the list; a thread that targets it fails or waits like any thread whose agent is down.
- The task input is the chat text. The first message names the repository and the base branch; the orchestrator sends it as the A2A message text and adds nothing coder-specific.
- The dev stack and CI run the published coder image, pinned by tag and digest, beside mocks (model endpoint, GitHub, git server) vendored from the same adam-rs commit as the image. This is the plan for a later PR, not part of this one.
sequenceDiagram
participant O as Orchestrator
participant C as adam-coder (A2A agent)
O->>C: GET /.well-known/agent-card.json (no token)
C-->>O: card (skills, capabilities, JSON-RPC URL)
O->>C: SendStreamingMessage (Authorization: Bearer, text: repo + base branch)
C-->>O: task (submitted, task id)
loop while the agent works
C-->>O: status working (progress text)
end
C-->>O: artifact "branch"
C-->>O: artifact "pull_request"
C-->>O: status completed
opt the owner cancels
O->>C: CancelTask
C-->>O: task canceled
end
opt the stream drops
O->>C: SubscribeToTask
alt the task is still running in that process
C-->>O: events resume
else TASK_NOT_FOUND
O->>C: GetTask (poll)
C-->>O: task snapshot (state, artifacts)
end
endThe thread follows the task through the pure transition function (orchestrator/crates/core/src/transition.rs, status_input). A2A submitted changes nothing; rejected is failed with a rejected: prefix on the detail; a terminal thread accepts no further agent input.
stateDiagram-v2
[*] --> Queued: thread created
Queued --> Working: working
Blocked --> Working: working
Working --> Working: working (event only when it has detail)
Queued --> Blocked: input-required, auth-required
Working --> Blocked: input-required, auth-required
Blocked --> Queued: user message (not an A2A state)
Queued --> Done: completed
Working --> Done: completed
Blocked --> Done: completed
Queued --> Failed: failed, rejected
Working --> Failed: failed, rejected
Blocked --> Failed: failed, rejected
Queued --> Cancelled: canceled
Working --> Cancelled: canceled
Blocked --> Cancelled: canceled
Done --> [*]
Failed --> [*]
Cancelled --> [*]Alternatives rejected ​
- A
default: truefield inAGENTS_FILE, or aDEFAULT_AGENTvariable. A second way to say what list order already says, with new startup errors (none or two defaults, a default that names no agent). Kept as an open question (#23) in case order proves too implicit. - Routing the coder through another-agentic-platform. It would add a hosting layer the coder does not need to be reached; the platform stays an optional agent host (ADR 0008).
- Fetching the mocks at runtime (from the adam-rs repository when the stack starts). The dev stack and CI would depend on a live network and a moving branch. They are vendored from the pinned commit, and a drift check compares them with upstream.
- Building the coder from source in CI. It compiles a large Rust workspace on every run to test an image that is already published; the pinned image is the artifact that gets deployed.
Consequences ​
- Any orchestrator deployment can make the coder its default by listing it first; no code changes, no adam-rs types in this repository.
- Heavy image: about 2.9 GB,
linux/amd64only. Theappcompose profile pulls it, so it is opt-in and not started by the default checks. - Host versus compose: the coder's card advertises its
PUBLIC_URL, which in compose must behttp://coder:8080/. An orchestrator running on the host reads the card fine but cannot reach that URL, so it must run in the same compose network. - No
ListTasks: adam-coder does not support it, sofind_task_by_messagereturnsNone(AgentError::Unsupported). If the orchestrator crashes after sending a message and before recording the task binding, the retry sends the message again and the coder starts a second run (a second branch). A rare window, but a real one, until adam-rs supportsListTasksor accepts an idempotency key. - The pull request URL is in a JSON data part of the
pull_requestartifact, not a URL part, so the chat shows JSON rather than a link until adam-rs emits a URL part. - Required elsewhere (later PRs): the dev stack and CI wiring of decision 5, and an end-to-end script against the chat API.
Verified ​
- Verified 2026-09-29 (this repository, at
15164aa): the order ofAGENTS_FILEis kept by the agent directory and byApp::list_agents, the web preselectslist[0], and the thread mapping above isorchestrator/crates/core/src/transition.rs(status_input,blocked,agent_input). - Verified 2026-09-29 (
orchestrator/crates/agent-a2a/src/client.rs): the adapter usesSendStreamingMessage,SubscribeToTask,GetTaskandCancelTask, and treats an unsupportedListTasksas "no task found". - Verified 2026-09-29 (adam-rs at commit
172a117, per the planning notes;deploy/coder/in adam-rs shows the same variables): card public, bearer viaA2A_BEARER_TOKENS, no extensions, the card advertisesPUBLIC_URL,ListTasksunsupported,branchandpull_requestartifacts as JSON data parts. - Verified 2026-09-29 (anonymous pull from
ghcr.io, per the planning notes):ghcr.io/vymalo/another-adam-rs/coder:sha-172a117is about 2.86 GB,linux/amd64, runs as uid 10001; the image has nolatesttag. - Unverified: that a compose stack with this image passes end to end; that is what the later PR proves.
Status note, 2026-09-29: the entry shape gains an optional transport ​
An AGENTS_FILE entry is now {id, name, transport?, cardUrl, tokenEnv?}. transport names how the orchestrator reaches the agent; the only value is a2a, and it is the default when the key is absent, so every file written for this decision stays valid. Any other value, local included, is a startup error that names the choices. The default-agent rule is unchanged: the first entry, in file order, whatever its transport. This is migration step 11 of ADR 0015, which adds the closed AgentTransport enum behind the key.
- Verified 2026-09-29 (
orchestrator/bin/orchestrator/src/config.rs, its unit tests): an absent key andtransport: a2agive the same endpoint;transport: localis refused with a message that namesa2a.
Status note, 2026-09-29: transport: local, and cardUrl becomes optional ​
An AGENTS_FILE entry is now {id, name, transport?, cardUrl?, tokenEnv?, agent?}. transport is a2a (still the default when the key is absent, so every file written for this decision stays valid; cardUrl is required for it) or local, an agent hosted in the orchestrator's own process (agent names its kind, cardUrl and tokenEnv are refused). A local entry is refused at startup with LocalAgentsNotCompiled (exit 78) until a build has local agents. The default-agent rule is unchanged: the first entry, in file order, whatever its transport. This is migration step 12 of ADR 0015, first part.
- Verified 2026-09-29 (
orchestrator/bin/orchestrator/src/config.rs, its unit tests): ana2aentry without acardUrlis an error,agenton ana2aentry is an error, alocalentry with acardUrlortokenEnvis an error, an unknown or missingagentis an error listing the kinds, and a validlocalentry is refused withLocalAgentsNotCompiledin this build and becomesAgentEndpoint::localwhen the build has its kind (tested through the parser's injected predicate).
Status note, 2026-09-30: transport: local is served by a build with agent-local ​
The Cargo feature agent-local now exists (ADR 0015, migration step 12, third change). In a build with it, a local entry becomes AgentEndpoint::local and its agent runs in the orchestrator's process; in the default build it is still refused with LocalAgentsNotCompiled (exit 78), and the message now says to build with --features agent-local. The default agent, adam-coder, stays a plain A2A agent.
- Verified 2026-09-30 (
bin/orchestrator/src/config.rs, its unit tests in both flavours, andbin/orchestrator/tests/smoke.rs,transport_local_exits_78_naming_agent_local).
Status note, 2026-10-01: the dev stack also vendors the coder's agent folder ​
Decision 5 vendors what the published image needs beside it, from the same adam-rs commit as the image. Since adam-rs 7b2d8f9 (#57, MVP slice 1 of docs/mvp.md) the coder reads its agent folder (instructions, card, name) at startup from ADAM_AGENT_DIR instead of only from the copy embedded in the image, and the folder is part of what the stack runs. So the vendored set now includes it: dev/coder/agent/ is a byte-for-byte copy of bin/adam-coder/agent/ at the commit in dev/coder/UPSTREAM, compose.yaml mounts it read-only at /etc/adam/agent and sets ADAM_AGENT_DIR there (CODER_AGENT_DIR points the mount at a copy; compose.live.yaml keeps the same environment variable), and dev/coder/check-vendored.sh compares each file and checks that no file is missing or extra, exactly as for the mocks. Nothing else of the decision changes: the image is still pinned by tag and digest at that commit, the coder is still a plain A2A agent, and the orchestrator knows nothing of the folder (it reads the card of the restarted coder when it delegates). A change to the instructions is made upstream and moved here with the commit and the pin; to try one here first, mount a copy (dev/README.md). The coder's card name is now Coder (was adam-coder); only the orchestrator's logs read it, and dev/agents.yaml names the agent itself.
- Verified 2026-10-01 (anonymous ghcr API):
coder:sha-7b2d8f9is onelinux/amd64manifest, uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revision7b2d8f95ffd9abe8af990bd79d7d690e8183c392, digestsha256:aa84305a...(the sha-256 of the manifest the registry returned).dev/coder/check-vendored.shpasses againstraw.githubusercontent.comand the GitHub tree API at that commit. - Unverified where this was written (no coder image was pulled; the Coder E2E workflow runs it): the coder container on this mount,
dev/greeting-e2e.shanddev/agent-folder-e2e.shagainst it, and how a live model follows the new instructions.
Status note, 2026-10-01: agents that are only a folder run from the same pinned image ​
Since adam-rs f882b91 (#58, MVP slice 2 of docs/mvp.md) the coder's image also carries adam-agent, a second binary that serves any agent folder over A2A (instructions, card, skills, subagents, the tools of an mcp.json); it has no image or package of its own (a new GHCR package is private until its owner makes it public). The dev stack runs a chat and a researcher with it, beside the coder, and decision 5 covers them the same way:
- One pin, one commit.
compose.yamlwrites the image once (x-adam-image, tagsha-<7>and digest) and the coder and the agents that are folders take it by alias, so they can never be two adam-rs commits;dev/coder/check-vendored.shasserts the tag is the commit indev/coder/UPSTREAMand fails on a second pin. - The folders are ours, not vendored.
dev/agents/chat/agent/anddev/agents/researcher/agent/are this repository's agents, not copies of upstream files (upstream's own example,dev/agents/assistant, and itsmock-assistantmodel are not vendored). They follow the persona convention of adam-rs'sbin/adam-agent/README.md, and their model is the WireMockmock-model(dev/wiremock/model/), also ours. - The orchestrator is unchanged. The chat and the researcher are two more entries of
AGENTS_FILE(a card URL and atokenEnv), after the coder, which stays the default agent (decision 2). No code path is specific to them. - Several agents, one database. They share
agents-postgres: adam-rs scopes a run by the agent's name. The coder keeps its own database.
How to add one: dev/README.md.
- Verified 2026-10-01 (anonymous ghcr API):
coder:sha-f882b91is onelinux/amd64manifest (2.88 GB of compressed layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revisionf882b910b620ea583130a0517b4e52c5f7939179, digestsha256:7c549618...(the sha-256 of the manifest the registry returned); adam-rs'scoderworkflow smoke-testedadam-agentin it before pushing.dev/coder/check-vendored.shpasses at that commit. The scenarioagentspassed against realadam-agent,adam-coderand orchestrator processes (debug builds) and the WireMock model mock; the details are in the last section ofdev/README.md. - Unverified where this was written (the image was not pulled; the Coder E2E workflow runs it): the two services in containers and the scenario through the
edge, and how a live model follows the folders' instructions.
Status note, 2026-10-01: the coder asks with Choices (adam-rs d411249, pinned at c13ddf1) ​
Since adam-rs d411249 (#59, MVP slice 3 of docs/mvp.md, ADR 0023) the coder, and adam-agent with it, draws from the component catalog of the person's screen. Nothing about the decision changes: the coder is still a plain A2A agent, the orchestrator still knows nothing of it beyond its card, and the image is still pinned by tag and digest at the commit in dev/coder/UPSTREAM. What the pin brings, and what this repository does for it:
Two extensions on the card, read live. The coder's card lists A2UI v0.9.1 (with
acceptsInlineCatalogs),ui-catalog/v1andthread-tools/v1, so the orchestrator's adapter (ADR 0008: detected from the live card at every send, fail closed) sends the screen's catalog and a thread-tools grant. No orchestrator change is needed.The thread's tools are plain
httpbetween containers,http://orchestrator:8080/thread-tools/<id>/mcp(THREAD_TOOLS_URL), which an adam agent reaches only whenMCP_ALLOW_INSECURE=trueallows it.compose.yamlsets it for the coder and, inx-adam-agent-env, for the folder agents (their card lists the same extensions), andcompose.live.yamlkeeps it for all three: development only, as for the mock web search.One more vendored mapping,
dev/coder/wiremock/mock-openai/mappings/coder-choices.json(a task that holds[mock:choices]makesmock-coderask three questions withask_user; the answersdb: pgget "Going with Postgres, Keycloak and Compose."), and the coder'sinstructions.mdcopy gains the paragraph onchoices. The mappings stay a deliberate subset of upstream's (the scripted coder run, now with this one).A scenario,
choices(dev/choices-e2e.sh, ine2e-all.shand so in the Coder E2E workflow): the web's own catalog goes with a run, the coder asks three questions as oneChoicessurface under the catalog's id, onea2uiActionanswers them, the coder's next words quote the answers, and a message from a newer screen records a secondui_catalog.Verified 2026-10-01 (anonymous ghcr API, HTTP 200):
coder:sha-c13ddf1, which holdsd411249, is onelinux/amd64manifest (2.88 GB of compressed layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revisionc13ddf1a32a1424affa20043f6bd860d93c536cc, digestsha256:a77a2890...(the sha-256 of the manifest the registry returned), published by adam-rs'scoderworkflow after its smoke tests and its own compose scenario of the Choices chain (dev/coder-choices-e2e.shupstream, without the orchestrator) passed. None of the vendored files changed betweend411249andc13ddf1;dev/coder/check-vendored.shpasses atc13ddf1.Unverified where this was written (the image was not pulled, and the stack was not started: the disk of the machine was too small): the scenario
choicesin containers, through theedgeand the real orchestrator, which is the first run of the chain across the two repositories (the Coder E2E workflow runs it); how a live model useschoices.
Status note, 2026-10-01: the researcher answers with cards and a graph (adam-rs c13ddf1) ​
Since adam-rs c13ddf1 (#60, MVP slice 4 of docs/mvp.md) the image's show tool (adam-ui) takes Cards and Mermaid blocks of a catalog of version 3 and checks them against its schemas, and adam-rs's example researcher folder tells its agent to show the sources it found. Nothing about the decision changes, and the pin is the one of the note above (c13ddf1). The researcher folder here stays ours (dev/agents/researcher/agent/, not vendored): its instructions.md takes adam-rs's paragraph on showing sources by hand, and its mcp.json still names the mock web search. The model mock gains the script [mock:cards] (dev/wiremock/model/mappings/researcher-cards.json: search, ui_catalog, show, words), the mock web search an async keyword with three results, and dev/e2e-all.sh the scenario cards (dev/cards-e2e.sh).
- Verified 2026-10-01: the new script against WireMock 3.13.2 (
dev/check-agent-mocks.sh, every checkokincluding the six of this script), itsshowblocks against the schemas of the web's catalog (JSON Schema 2020-12, withidadded asshowdoes), anddev/cards-e2e.shagainst a stand-in for the edge (see the last section ofdev/README.md). - Unverified where this was written (the stack was not started: the disk was too small): the scenario
cardsin containers, through theedgeand the real orchestrator and researcher, and how a live model chooses to show cards.
Status note, 2026-10-01: the coder shows its work as steps and its words as they are written (adam-rs cf6ddbb) ​
Since adam-rs cf6ddbb (#61 steps, #62 a lease race of its runtime, #63 streamed text; MVP slices 5 and 6 of docs/mvp.md; adam-rs ADR 0007) the coder, and adam-agent with it, list two more extensions on their cards, steps/v1 (ADR 0025) and text-stream/v1 (ADR 0027), and use them for a client that activates them. Nothing about the decision changes: the coder is still a plain A2A agent, the orchestrator reads its card live at every send and fails closed (ADR 0008), the image is still pinned by tag and digest at the commit in dev/coder/UPSTREAM, and the orchestrator needed no change for the pin (its sides were built in #78 and #80). What the pin brings, and what this repository does for it:
- Steps. Every tool call of the coder is a step,
delegate_to_opencodeis asubagentstep labelled OpenCode, and what OpenCode did under it (its bash call, its summary) are child steps, so a turn that used to be a flood of status lines is a tree the orchestrator keeps bounded and the web draws in its side panel. - Streamed text. The coder and
adam-agentcall their model with"stream": trueand send each answer as chunks while it is written, then once whole, naming the stream; the orchestrator relays the chunks and never stores them, and the log holds the one final message. - Two more vendored mappings, the SSE twins
coder-script-stream.jsonandcoder-choices-stream.jsonof the coder's scripts (dev/coder/wiremock/mock-openai/mappings/; every other vendored file is unchanged atcf6ddbb, anddev/coder/check-vendored.shpasses there). The mappings stay a deliberate subset of upstream's: itsagent-script-stream.jsonandresearcher-cards-stream.jsontwin scripts that are not vendored. - Twins of our own scripts. The chat and the researcher run the same image, so they stream too, and a stub of
dev/wiremock/model/mappings/that does not say it streams answers plain JSON. Each script ofpersona.json,researcher.jsonandresearcher-cards.jsonhas an SSE twin (*-stream.json, one priority above), anddev/check-agent-mocks.shplays every probe both ways and requires the same answer. - The scenario
coder(dev/coder-e2e.sh, both variants, so the Coder E2E workflow) asserts the tree (an OpenCode sub-agent step with a command or tool step under it, ended, finished once, the log bounded to six events per step) and the live words (a message markedvymalo.livethat grows in at least two pieces from offset 0 and is completed by the log's final message under the same id; the log holds it once; the replay reads it plain).cardsandchoices, which read the words of a run stream, now read a message as a client does, by offset, instead of joining its deltas with a space. - Verified 2026-10-01 (anonymous ghcr API, HTTP 200):
coder:sha-cf6ddbbis onelinux/amd64manifest (2.88 GB of compressed layers, ten layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revisioncf6ddbb45a44afce99f437dbd370ef59bdf095d0, digestsha256:45f1afd1...(the sha-256 of the manifest the registry returned), published by adam-rs'scoderworkflow for that commit onmain. The vendored scripts, played against WireMock 3.13.2: the greeting streams in eight deltas and the coder's last answer takes 2.1 s. Our twins and the new assertions of the scripts: the last section ofdev/README.md. - Unverified where this was written (the stack was not started: the disk of the machine was too small for the orchestrator and web builds): the scenarios in containers, which is the first run of the coder at
cf6ddbbbehind the real orchestrator (the Coder E2E workflow of the pull request that pins it); what a real OpenCode reports for its bash call (the script asks for a command or tool step under it and names no label); and whether every real model provider accepts a streamed request withstream_options.
Status note, 2026-10-01: workspaces, GitHub per installation, and repositories created on request ​
Since adam-rs 1021836 (#64 file tools and workspaces, #65 scratch projects and GitHub as an App installation, #66 GitHub over MCP, a second repository and a created one; MVP slice 7 of docs/mvp.md; adam-rs ADRs 0002, 0008 and 0009) the coder is pinned at that commit, and decision 4 no longer holds as written: the first message does not have to name a repository. Nothing about the decision changes otherwise: the coder is a plain A2A agent, the orchestrator reads its card live and fails closed (ADR 0008), the image is pinned by tag and digest at the commit in dev/coder/UPSTREAM, and the orchestrator is unchanged. What the pin brings:
- A task needs no repository to start. A task that names none is built in a scratch project (a local git repository that lives while the run does), and the coder asks where to put it; a repository the person names later receives the files (
publish_scratch). A workspace holds several repositories and its run's workspace is swept when the run is over. The gate is unchanged: it binds the lastchecksthat names the pushed commit of the lastbranch(ADR 0018), so a job that pushes to two repositories has the gate judge only the last one (open question 42). - The coder asks before it widens its reach, and the question is a form. A repository the person did not name joins the workspace only after a yes (
request_repository), and a repository is created (create_repository, for the owners in the coder'sCREATE_REPO_OWNERSonly, private and empty by default) only after a yes to a question the tool writes, each time. Both come to the orchestrator as aninput-requiredtask with an ordinaryask_userform, aChoicesof one question, so the answer is the single A2UI action ofchoiceswhen the screen's catalog went with the message, and a word (yes,no) when it did not. The model never grants: only the person's answer to that very call does. - Credentials are per installation, and the coder's own. One installation's credential, a token (
GITHUB_TOKEN) or a GitHub App (GITHUB_APP_ID,GITHUB_APP_INSTALLATION_ID, a key file), lives in the coder's environment and secret and is never sent in an A2A message, the orchestrator's log or an agent card. The coder reads GitHub, read-only, through the official GitHub MCP server it starts as a child process with the same credential; its writes are its own tools. The orchestrator holds none of it (open question 35 notes this). - In this repository: the pin and the vendored mocks (
mock-githubcreates repositories and trades an App's JWT for an installation token, the newmock-github-mcp,git-serverseedinglocal/libraryand making the repositories ofscratchon first use),dev/compose.github-app.yaml(the coder as an App),compose.live.yamland.env.example(a token or an App,CREATE_REPO_OWNERS),mock-cifindingscratch/*repositories, and the scenarioworkspace(dev/workspace-e2e.sh) besidedev/coder-e2e.sh's new assertions (the read over MCP,GITHUB_AUTH=token|app); CI runs the coder scenarios in both credential modes (dev/README.md). - Verified 2026-10-01 (anonymous ghcr API, HTTP 200):
coder:sha-1021836is onelinux/amd64manifest (2.89 GB of compressed layers), uid 10001, entrypointtini -- adam-coder,MCP_ALLOW_STDIO=true, labelorg.opencontainers.image.revision1021836a1887610c4639de15f2289b26245b9ce4, digestsha256:8dcc66c3...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned).dev/coder/check-vendored.shpasses at that commit. - Unverified where this was written (the machine had 2.4 GB of free disk and could not pull the 2.9 GB image or start the stack): the scenarios in containers, the first run of which is the Coder E2E workflow of the pull request that pins it; that a real model uses the consent tools as the script does; the coder as a GitHub App against github.com and the real
github-mcp-server(the stack mocks both).
Status note, 2026-10-02: tool steps carry their input and output, and the coder knows what the person sees (adam-rs d56dd94) ​
Since adam-rs d56dd94 (#69, with #68 before it) the coder is pinned at that commit. Nothing about the decision changes: the coder is a plain A2A agent, the orchestrator reads its card live and fails closed (ADR 0008), the image is pinned by tag and digest at the commit in dev/coder/UPSTREAM. What the pin brings:
- A tool step carries its call. The coder, and every agent served by
adam-agent, send each tool call'sinput(the arguments, redacted and cut) on the step's start and itsoutput({text, truncated?, bytes?, error?}) on its end, the two optional members thatsteps/v1gained on 2026-10-02 (ADR 0030; the orchestrator side is built, plan 10 S1; adam-rs ADR 0011). An MCP tool'stitleis its step's label, where the label was<server>__<tool>. An agent that does not send them is read as before. - Clearer instructions. The coder's
instructions.md(the folder vendored atdev/coder/agent/) gained "What the person sees": the words before a tool call are one-line working notes shown beside the steps, the reply that ends the turn is the only text in the conversation and must be complete on its own, and replies render as Markdown. It also describes the work environment (below). Theshowtool lists the catalog's components and refusesChoices, andget_ui_catalogis hidden from the model. - A run may work in its repository's devcontainer (adam-rs #68, ADR 0010), with
DEVCONTAINER_RUNTIME=podman. It is off by default and nothing here sets it: the stack's coder runs its commands in its own container, as before. - A local-process MCP server is the coder's deployment's decision. The image sets no
MCP_ALLOW_STDIO(at1021836it did): it carriesgithub-mcp-serverfor the coder andadam-agent, which must refuse local processes.compose.live.yamlsets it on the coder service alone, because the live coder starts the realgithub-mcp-server; the chat and the researcher use http servers and do not get it, and the offline coder reads GitHub over http (the mockmcp.json). - In this repository: the pin and the vendored files (changed: the agent folder's
instructions.mdand three mappings of the coder's and OpenCode's scripts, additions only; new: two seeded repositories for the devcontainer scenario of adam-rs and two bodies of its OpenCode script; every other vendored file unchanged),compose.live.yaml, and the scenariosagentsandcoder, which assert that the researcher's search is one step labelledWeb searchand that the coder's tool steps carry their input and output (dev/README.md). - Verified 2026-10-02 (anonymous ghcr API, HTTP 200):
coder:sha-d56dd94is onelinux/amd64manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypointtini -- adam-coder, noMCP_ALLOW_STDIO, labelorg.opencontainers.image.revisiond56dd9418ec1b4e814be8c58966381ed14e664b4, digestsha256:9beeb71a...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned).dev/coder/check-vendored.shpasses at that commit. - Unverified where this was written (the machine could not pull the 2.9 GB image or start the stack): the scenarios in containers, the first run of which is the Coder E2E workflow of the pull request that pins it; that the coder's real step labels, inputs and outputs are as the new assertions expect (read from adam-rs's source at that commit, not run); and the real
github-mcp-serverin the live coder withMCP_ALLOW_STDIOset.
Status note, 2026-10-02: files, run and edit_file, scratch completion, and turn_output (adam-rs c0f12dd) ​
Since adam-rs c0f12dd (#72, with #71 and #70 before it) the coder is pinned at that commit. Nothing about the decision changes: the coder is a plain A2A agent, the orchestrator reads its card live and fails closed (ADR 0008), the image is pinned by tag and digest at the commit in dev/coder/UPSTREAM. What the pin brings:
- Files as A2A artifacts (#70, adam-rs ADR 0012):
share_filehands the person a file the coder made (an image is drawn, anything is downloadable); it is not committed or pushed. - A run can make things, and finish scratch work that was asked for (#71, adam-rs ADR 0013):
run(a command whose changes are kept, no check cycle, no git),edit_file(replace exact text), a budget of check cycles of its own for a scratch project (scratch_check_cycles, 5), and a fourth way of ending a turn: a run in scratch work only, with no repository named, created or pushed to, that shared a file is complete with no pull request. Anything else still waits for the person, as before. turn_outputis the run's answer (#72, adam-rs ADR 0014): an agent that calls the thread'sturn_outputtool (ADR 0031) with its answer, then ends with one short line, has the tool's text shown as the answer and the rest as working text. The coder'sinstructions.mdsays so, and so do the stack's chat and researcher (dev/agents/*/agent/, ours).- In this repository: the pin and the vendored files (changed: the agent folder's
instructions.mdalone; nothing else underdev/coder/),dev/agents-e2e.sh(the chat and the researcher are offeredturn_output), and the live web search of the same pull request (searxngandsearxng-mcpincompose.live.yaml,dev/README.md). No scenario asserts the coder's whole tool list, so none needed a change forrun,edit_fileandshare_file. - Verified 2026-10-02 (anonymous ghcr API, HTTP 200):
coder:sha-c0f12ddis onelinux/amd64manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypointtini -- adam-coder, noMCP_ALLOW_STDIO, labelorg.opencontainers.image.revisionc0f12dd1dd6240acece51c7452e98c6648486276, digestsha256:7a0768dc...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned).dev/coder/check-vendored.shpasses at that commit. - Unverified where this was written (nothing was pulled or started): the scenarios in containers, the first run of which is the Coder E2E workflow of the pull request that pins it; that the model of an agent is offered
turn_outputunder that name (the two new assertions ofdev/agents-e2e.sh; read from adam-rs's documentation, not run).
Status note, 2026-10-02: tools attached to a conversation, and a message that steers (adam-rs 851ff21) ​
The coder is pinned at adam-rs 851ff21, which contains #73 (a cancel stops the model call in flight), #74 (the thread's tools: the _meta of a tool, long calls, mentions) and #75 (steer/v1). Nothing about the decision changes: the coder is a plain A2A agent, the orchestrator reads its card live and fails closed (ADR 0008), the image is pinned by tag and digest at the commit in dev/coder/UPSTREAM. What the pin brings, and what this repository does with it:
- Tools the orchestrator reports (#74, adam-rs ADR 0015): an agent that lists the thread's tools reads each tool's
_meta["thread-tools/v1"](reportsStep,timeoutSecs), waits as long as it says (capped byTHREAD_TOOLS_MAX_CALL_SECS, 3600 by default), sends the request_meta{callId, parentStepId?}and, for a tool that reports its own step, emits none of its own. That is what lets the orchestrator's relay (ADR 0024) be the one step of a call. The cards of the coder and ofadam-agentalso listmentions/v1(read into the run's context), and, since #75,steer/v1(a message to a working task is delivered into it when the request activates the extension; the orchestrator does not send one yet). - In this repository: the pin (
x-adam-imageanddev/coder/UPSTREAM; no vendored file changed:dev/andbin/adam-coder/agentare byte for byte the same atc0f12ddand at851ff21),dev/orchestrator.yamlanddev/orchestrator.live.yaml(atoolServersentrywebsearch), the chat's[mock:websearch]model scripts, anddev/tools-e2e.sh, which attaches the web search to a chat and asserts the call is one step with the server's icon (dev/README.md). - Verified 2026-10-02 (anonymous ghcr API, HTTP 200):
coder:sha-851ff21is onelinux/amd64manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revision851ff216613b2dc8f8194fd7081da9d3968186d3, digestsha256:329cdc4f...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned; the first request, minutes after the merge, was a 404 until adam-rs'scoderworkflow finished).dev/coder/check-vendored.shpasses at that commit. - Unverified where this was written (the 2.9 GB image was not pulled and the orchestrator was not built): the scenarios in containers, the first run of which is the Coder E2E workflow of the pull request that pins it; in particular that
adam-agentoffers the relayed tool to the model under the namewebsearch__web_searchand emits no step of its own for it (read from adam-rs's source at that commit, not run).
Status note, 2026-10-03: the coder steers and stops fast (adam-rs af1e715) ​
The coder is pinned at adam-rs af1e715, which is 851ff21 (steer/v1 in the adam backend, #75, the extension the orchestrator now sends, ADR 0036) plus a fix of a flaky log test (#76, tests only). Nothing about the decision changes. No vendored file changed: dev/ and bin/adam-coder/agent are byte for byte the same at 851ff21 and at af1e715 (git diff 851ff21 af1e715 -- dev bin/adam-coder/agent in adam-rs is empty), so dev/coder/UPSTREAM only names the new commit; dev/coder/check-vendored.sh passes. The adam-host crates of the orchestrator's agent-local feature move to the same commit (they were at 882e239; orchestrator/Cargo.toml, Cargo.lock). What this repository does with the pin: dev/steer-e2e.sh (ADR 0036, Built in PR-16).
- Verified 2026-10-03 (anonymous ghcr API, HTTP 200):
coder:sha-af1e715is onelinux/amd64manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revisionaf1e715697219d48eac67bd36d06f3568db6389c, digestsha256:bd20e509...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned).dev/coder/check-vendored.shpasses at that commit. - Unverified where this was written (the 2.9 GB image was not pulled): the scenarios in containers, the first run of which is the Coder E2E workflow of the pull request that pins it.
Status note, 2026-10-03: a task is working from the moment a worker claims its run (adam-rs b64e3fe) ​
The coder is pinned at adam-rs b64e3fe, which is af1e715 plus #77 (a task reads working from the moment a worker claims its run, in a read and as a streamed status update, not at its first commit; the extension that rides on it is steer/v1, ADR 0036) and #78 (the timeout test of the coder's shell tool gives its login shell 5 s to start; a change inside mod tests, no behaviour of the image). Nothing about the decision changes. No vendored file changed: dev/ and bin/adam-coder/agent are byte for byte the same at af1e715 and at b64e3fe (git diff af1e715 b64e3fe -- dev bin/adam-coder/agent in adam-rs is empty; the bin/adam-coder diff is the test of #78 alone), so dev/coder/UPSTREAM only names the new commit; dev/coder/check-vendored.sh passes. The adam-host crates of the orchestrator's agent-local feature move to the same commit (orchestrator/Cargo.toml, Cargo.lock). #77 added a required method, Store::lease_until, to adam's public Store trait; nothing in this repository implements adam's Store (the orchestrator uses adam's Postgres store as it is), so nothing had to change.
- Verified 2026-10-03 (anonymous ghcr API, HTTP 200):
coder:sha-b64e3feis onelinux/amd64manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revisionb64e3fe659721f841afaebc6f9790c3f6158bbbe, digestsha256:b3d3764d...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned). The first check of the tag, while adam-rs'scoderworkflow for that commit was still running, was a 404 (sha-7e5dcc3, the previous commit, already answered 200).dev/coder/check-vendored.shpasses at that commit. - Unverified where this was written (the 2.9 GB image was not pulled): the scenarios in containers, the first run of which is the Coder E2E workflow of the pull request that pins it.
Status note, 2026-10-04: GitHub over the MCP server's http mode, and a GitHub App without a pinned installation (adam-rs 4edee18) ​
The coder is pinned at adam-rs 4edee18, which is b64e3fe plus #80 (a GitHub App finds the installation of each owner), #81 (a view reads the lease before the record, so working never goes back: a runtime fix, nothing for a consumer), #82 (an MCP server can be given a bearer per call) and #83 (adam-rs ADR 0017: GitHub over the MCP server's http mode, and GITHUB_APP_OWNERS). Nothing about the decision changes: the coder is a plain A2A agent, the orchestrator reads its card live and fails closed (ADR 0008), and the image is pinned by tag and digest at the commit in dev/coder/UPSTREAM. What the pin changes for how the coder is wired here:
GitHub is read through a sidecar that holds no credential. The shipped
mcp.jsonno longer startsgithub-mcp-serveras a child process with the coder's token in its environment; it names the server over http at127.0.0.1:8082and holds noAuthorization: the coder sends the credentials of each call (a token, or the installation token of the call's owner), and a placeholder to list the tools at startup.compose.yamlruns the real server as the servicegithub-mcp(network_mode: service:coder, the same image,--read-only, four toolsets); the offline coder readsmock-github-mcpinstead (GITHUB_MCP_URL, and the devmcp.jsonmounted over the folder's, which now has no credential either), so the sidecar is idle there.compose.live.yamlpoints the coder at the sidecar, dropsMCP_ALLOW_STDIO(nothing starts a local process now) andGITHUB_MCP_HOST, and gives the sidecarGITHUB_HOSTfor GitHub Enterprise. A coder that starts before its sidecar exits 69 and is restarted.A GitHub App is given the accounts it may act for, not one installation.
GITHUB_APP_OWNERS(exactly one of it andGITHUB_APP_INSTALLATION_ID, the pin): the coder finds the installation of each repository's owner with the App's JWT.dev/compose.github-app.yamlsetslocal,scratch,other-organd no pin;deploy/chart/README.mddocumentsapp: { id, owners }for adam-rs's chart (the sidecar there is a native sidecar: Kubernetes 1.29 or later, unverified).Vendored files changed:
dev/coder/agent/mcp.json(the http form),dev/coder/agent/instructions.md(an App on several accounts reads one account per call),dev/coder/coder-agent/mcp.json(noAuthorization) anddev/coder/wiremock/mock-github/mappings/app.json(the installation lookups andGET /app);dev/coder/UPSTREAMnames the new commit anddev/coder/check-vendored.shpasses. Ours, changed with them:compose.yaml,compose.live.yaml,dev/compose.github-app.yaml(a copy of upstream's),dev/coder-e2e.sh(the bearer of each MCP call, and withEXPECT_INSTALLATION_LOOKUP=1the installation lookup),.github/workflows/coder-e2e.ymlandcompose.yml. Theadam-hostcrates of the orchestrator'sagent-localfeature move with it: the sevenrevlines oforchestrator/Cargo.tomlname4edee18, andCargo.lockre-resolved only the adam-rs packages (eight withadam-error). No code changed: nothing here implements adam'sStoreor uses the GitHub App or MCP types that changed. The chart'schat.image(deploy/chart/values.yaml) is the same image,sha-4edee18at the same digest.Verified 2026-10-04 (anonymous ghcr API, HTTP 200):
coder:sha-4edee18is onelinux/amd64manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypointtini -- adam-coder, noMCP_ALLOW_STDIO, labelorg.opencontainers.image.revision4edee180efaa39b2464822d706da27165dfc457d, digestsha256:4cbe6871...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned). The tag answered 404 while adam-rs'scoderworkflow for that commit was running and 200 before it finished.dev/coder/check-vendored.shpasses at that commit;docker compose config -qis clean forcompose.yaml, withcompose.live.yaml(and.env.example) and withdev/compose.github-app.yaml.Unverified where this was written (the 2.9 GB image was not pulled, no stack was started): the scenarios in containers, the first run of which is the Coder E2E workflow of the pull request that pins it (in particular the per-call bearers and the installation lookup that
dev/coder-e2e.shnow asserts, and thatgithub-mcp-serveris on the image'sPATHfortini -- github-mcp-server http, as adam-rs's owncompose.yamlruns it); the live sidecar against github.com;GITHUB_HOSTfor GitHub Enterprise (https://<host>is the form the oldGITHUB_MCP_HOSTtook); Kubernetes native sidecars from 1.29.
Status note, 2026-10-05: a model's reasoning, the coder's answer recorded once, quieter logs (adam-rs 588e9b5) ​
The coder is pinned at adam-rs 588e9b5, which is 4edee18 plus #84 (ADAM_EXTRA_MCP_FILE: a file of extra MCP servers merged over the agent's own, and optional servers; the rest of it and #85 to #87 are adam-rs's chart), #88 (the coder's answers are recorded once, no create_repository offered when no owner may create a repository, quieter and safer logs, the process non-dumpable), #89 (adam-rs ADR 0019: a run's processes in a pod of their own, Kubernetes only and off by default) and #90 (adam-rs ADR 0020: a model's reasoning is streamed beside the answer, MODEL_EXTRA_BODY, MODEL_ECHO_REASONING). Nothing about the decision changes: the coder is a plain A2A agent, the orchestrator reads its card live and fails closed (ADR 0008), and the image is pinned by tag and digest at the commit in dev/coder/UPSTREAM. What the pin changes for how the coder and the agents that are only a folder are wired here:
Reasoning reaches the orchestrator. An agent whose model sends
reasoning_contentorreasoningstreams it astext-stream/v1chunks of their own stream, markedkind: reasoning, to a client that activated the extension (the orchestrator does, ADR 0044 reads them). Nothing is stored by the agent and nothing is sent back to the model unlessMODEL_ECHO_REASONINGnames a member (DeepSeek's thinking mode with tools needs that). A model that needs a flag to think takes it inMODEL_EXTRA_BODY, a JSON object merged into every request (not an object, or one that setsmodel,messages,tools,tool_choiceorstream: exit 78). Neither variable is set incompose.yaml: the scriptedmock-personawrites its reasoning itself (dev/reasoning-e2e.sh). No A2A client that predateskindis affected: a reader that does not know it reads a chunk of a stream nobody states, so the orchestrator (ADR 0044, in the chart atsha-658b192since before this pin) goes first in a rollout.turn_outputends the turn (ToolOutput::final_answer): once the calls of the model message that announced the answer are answered, the run finishes with it and the model is not called again; the closing line the instructions used to ask for is no longer produced.The vendored file that changed:
dev/coder/agent/instructions.md(theturn_outputrule above, and arepository_creationvariable the process overrides with a note that there is no such tool whenCREATE_REPO_OWNERSis empty;compose.yamlsetsscratch, so the tool is offered). No mapping, seed ormcp.jsonchanged (git diff 4edee18 588e9b5 -- dev bin/adam-coder/agentis that file and adam-rs's own example agents).dev/coder/UPSTREAMnames the new commit anddev/coder/check-vendored.shpasses. Ours, not changed upstream:compose.yaml(the pin and its comment only),dev/compose.github-app.yaml,dev/coder-e2e.sh.The log filter is
info,rmcp=warnunlessRUST_LOGis set (it then replaces the default whole): thermcplines of every MCP connection are gone from the coder's and the agents' logs. Nothing here reads them.adam-rs ADR 0019 (run pods) is off by default and needs a Kubernetes cluster: it changes nothing in the compose stack; the Podman service of
dev/compose.devcontainer.yamlis the environment there.The crates move with it. The seven
revlines oforchestrator/Cargo.tomlname588e9b5, andCargo.lockre-resolved the adam-rs packages (eight withadam-error) and, as a side effect of re-resolving,tempfileontogetrandom 0.3.4. adam-rs's breaking changes in this range are inadam-model(ModelResponseandMessage::Assistantgained a field,ModelDeltaa variant),adam-runtime(RunEvent::ReasoningDelta) andadam-service(ModelConfiggained two public fields); nothing here builds or matches on them (orch-agent-adamusesadam-runtime'sRunEvent::Artifactonly, to build one), nothing implements adam'sStoreorNotifier, and no commit of the range has!in its subject. No code changed. An agent hosted in-process (agent-local, ADR 0015) still sends no reasoning: the local adapter does not activatetext-stream/v1.The chart's
chat.image(deploy/chart/values.yaml) is the same image,sha-588e9b5at the same digest, moved by hand with this bump (the bump workflows moveorchestrator,webandwebSearch, not the adam image).Verified 2026-10-05 (anonymous ghcr API, HTTP 200, after adam-rs's
coderworkflow for that commit had pushed it; the tag answered 404 until then):coder:sha-588e9b5is onelinux/amd64manifest (2.93 GB of compressed layers, fourteen layers), uid 10001, entrypointtini -- adam-coder, noMCP_ALLOW_STDIO, labelorg.opencontainers.image.revision588e9b5b444049e32d6fda4e38d5548efca4a7bf, digestsha256:af7d8395...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned).dev/coder/check-vendored.shpasses at that commit;docker compose config -qis clean forcompose.yamland, layered on it,compose.live.yaml,dev/compose.github-app.yamlanddev/compose.devcontainer.yaml;cargo check --workspace --locked --features agent-localof the orchestrator passes with no warning.Unverified where this was written (the 2.9 GB image was not pulled, no Docker daemon was running, the disk had no room for the orchestrator's test build): the scenarios in containers, the first run of which is the Coder E2E workflow of the pull request that pins it (in particular
dev/reasoning-e2e.sh, and that the coder's scripted run still ends as asserted now thatturn_outputends a turn);cargo test -p orchestrator --features agent-local; the clippy runs of the skill; a real model's reasoning through a real gateway (adam-rs ADR 0020 lists what is verified per provider).
Status note, 2026-10-05 (second): a step that started before the subscriber attached keeps its input (adam-rs 6478fbc) ​
The coder is pinned at adam-rs 6478fbc, which is 588e9b5 plus #91 (fix(runtime): a run's subscriber gets its recent live events) and adam-rs's own bump commit of its chart (999ca56, already in the lineage of 588e9b5). BroadcastSink keeps a bounded replay of each run's recent live events since its last status change, so the start of a tool step, the only report that carries the call's input (ADR 0030), is no longer lost when the A2A subscription attaches after the worker began the run. Nothing about the decision changes: the coder is a plain A2A agent, read live and fail closed (ADR 0008).
Why it moves now. The Coder E2E of
mainat55c3d94(run 37307810460, the GitHub App pass) failed withFAIL steps: the start of prepare_workspace carries input.repo_url 'none': the worker had started the step before the orchestrator's subscription attached, so the subscriber saw only the end of the step, which has noinput. That is this race, not a change here.No vendored file changed.
git diff --stat 588e9b5 6478fbc -- dev bin/adam-coder/agentis empty, so nothing underdev/coder/was copied;dev/coder/UPSTREAMnames the new commit anddev/coder/check-vendored.shpasses. Nothing of ours that is not vendored (compose.yamlbeyond the pin and its comment,dev/compose.github-app.yaml,dev/coder-e2e.sh,dev/compose.devcontainer.yaml) is touched by the range.The crates move with it. The seven
revlines oforchestrator/Cargo.tomlname6478fbcandCargo.lockre-resolved the adam-rs packages. The range changesadam-runtime(BroadcastSink,crates/adam-runtime/src/events.rs) andadam-a2a-runtime, and no commit of it has!in its subject. No code changed: nothing here callsBroadcastSink::subscribe_run(the local adapter'sRuntimeTaskBackenddoes, forsend_streamandresubscribe), a local agent activates notext-stream/v1, and a step a late or second subscriber hears again maps to the same idempotency key (crates/a2a-mapping/src/lib.rs, steps keyed by the agent's own id), so it collapses in the log. The chart'schat.image(deploy/chart/values.yaml) is the same image,sha-6478fbcat the same digest, moved by hand with this bump.Verified 2026-10-05 (anonymous ghcr API, HTTP 200):
coder:sha-6478fbcis onelinux/amd64manifest (2.93 GB of compressed layers, fourteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revision6478fbcf0003f939c32c8f5602fe94c25eff974a, digestsha256:d17c4922...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned).dev/coder/check-vendored.shpasses at that commit.Unverified where this was written (the 2.9 GB image was not pulled): that the race is gone in containers, the first run of which is the Coder E2E workflow of the pull request that pins it (
dev/coder-e2e.sh,GITHUB_AUTH=app, thesteps:assertions ofprepare_workspace).
Status note, 2026-10-07: the coder is Adam, tool steps have titles, a failure the base has too is not the run's, a REST binding (adam-rs 8e1133d) ​
The coder, the chat and the researcher (adam-agent) and the chart's chat.image are pinned at adam-rs 8e1133d, which is d9d5ea4 plus #98 (adam-rs ADR 0031, below), and d9d5ea4 is 6478fbc plus #92 (docs), #93 (adam-rs ADR 0021: the coder is Adam, a general agent that can code, with two read-only helpers, explorer and reviewer, as files of its folder), #94 (adam-rs ADR 0029: the operator moved into adam-rs), #95 (adam-rs ADR 0026: a failing check is run once more on the base branch and, when it fails there too, is PRE-EXISTING, costs no cycle and lets the coder's own gate open the pull request; ADR 0027: every tool step is labelled with a title; ADR 0028: the card's version carries the build and the card lists build/v1), #96 (adam-rs ADR 0030: A2A push notifications, ListTasks, the extended card and card signatures, and the run store's schema version 3) and #97 (the operator's CRD requires interfaces.a2a and a token), with adam-rs's own bump commits. The owner asked for it so that the chat on netcup runs the same adam-rs as the coder. Nothing about the decision changes: the coder is a plain A2A agent, read live and fail closed (ADR 0008).
- Vendored files changed, and were re-copied.
git diff --stat 6478fbc d9d5ea4 -- dev bin/adam-coder/agentis not empty: the agent folder (dev/coder/agent/instructions.md, andsubagents/explorer.mdandsubagents/reviewer.md, new) and the greeting of the coder's scripted model (dev/coder/wiremock/mock-openai/mappings/coder-script.jsonand its SSE twin:What can I help with?where it asked which repository) are copies ofd9d5ea4, which8e1133ddoes not change (git diff --stat d9d5ea4 8e1133d -- dev bin/adam-coder/agentis empty, and so is that of the files ported by hand);dev/coder/UPSTREAMnames8e1133d. The range also changes upstream'sdev/greeting-e2e.shand its own researcher, which are not vendored. - Ported by hand, in our scripts. The greeting says "I'm Adam" and asks what it can help with (
dev/greeting-e2e.sh,dev/agents-e2e.sh), and the steps of the coder's tools carry their titles, not their names (adam-rs ADR 0027):dev/coder-e2e.shlooks forPrepare the workspace,Run the checks,Commit and push,Open a pull requestand the sub-agent stepHand to OpenCode(it wasOpenCode), anddev/devcontainer-e2e.shforHand to OpenCode. An MCP tool without a title keeps its name (github__list_branches). The orchestrator's own code reads a label as a one-line string and needed no change; the unit fixtures that sayOpenCodeare fixtures of a fake agent, not of adam. Upstream'scompose.yamlpasses the build argumentADAM_BUILD_REVISIONto its twobuild:sections; ours pulls the image and has none, so nothing was ported. - The orchestrator's gate is unchanged. A pre-existing failure leaves the
checksartifactpassed: falsewithpreexisting: trueandbase_commit; this repository's gate still readspassed, so a pull request the coder opens on a pre-existing failure does not passagent-checkshere. Whether it should is not decided (adam-rs ADR 0026 leaves it to this repository). The scripted runs ofdev/have no failing check. (Amended 2026-10-08: the owner decided it should, and the gate reads the coder's report-level mark; ADR 0018, status note of 2026-10-08.) - A REST binding and Swagger UI (#98, adam-rs ADR 0031). Every adam agent serves A2A's HTTP+JSON binding beside JSON-RPC, over the same handler, and its card lists
JSONRPCfirst andHTTP+JSONsecond, at the same URL (PUBLIC_URL). Swagger UI atGET /docsand the OpenAPI document atGET /openapi.jsonare public; every call still needs the bearer token. They are on unlessA2A_DOCS=false, which nothing here sets: the coder, the chat and the researcher ofcompose.yamlserve them on their loopback ports (8090, 8097, 8098; the edge does not route to the agents), and the chart's chat serves them behind its NetworkPolicy, which admits only the orchestrator. The orchestrator keeps JSON-RPC: its client ranks the card's interfaces by its own preference,JSONRPCthenHTTP+JSON(crates/agent-a2a/src/client.rs,A2AClientFactory::preferred_bindings), so a second entry changes nothing, and nothing here asserts one interface or reads the last (the scripts that readsupportedInterfaces[0]read WireMock and kagent cards).ServerOptionsandadam_service::A2aSettingsgained a fielddocs; the orchestrator builds neither. Verified 2026-10-07 by reading adam-rs at8e1133d(crates/adam-a2a/src/card.rs, the ADR, theA2A_DOCSrows ofcrates/adam-service/README.md) anda2a-client-lf0.2.5 (src/factory.rs,create_from_card), not by calling a running agent. - The crates move with it. The seven
revlines oforchestrator/Cargo.tomlname8e1133dandCargo.lockre-resolved the adam-rs packages (and addedryu-js, then, for #98,utoipa,utoipa-swagger-uiwith its vendored assets,zipand their dependencies: new dependencies ofadam-a2a).13f484f(#96) gave adam'sStoreseven required methods; nothing here implements adam'sStore(orch-agent-adamusesadam_store_postgres::PgStoreandadam_core::MemoryStoreas they are, behindDynStore), so no code changed. The local agents' Postgres store migrates to schema version 3 (theorch_agent_pushtable and theorch_agent_runs_listindex) at startup, as every adam store does.TaskBackend::listhas a default; nothing here implementsTaskBackend. - Verified 2026-10-07 (anonymous ghcr API, HTTP 200):
coder:sha-8e1133dis onelinux/amd64manifest (2.93 GB of compressed layers, fourteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revision8e1133d278bc909538989d269df3487184066932, digestsha256:70184513...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned).dev/coder/check-vendored.shpasses at that commit. Inorchestrator/, both clippy runs ofbump-adam(the workspace, andorchestratorwithagent-local),cargo test -p orchestrator --features agent-local,cargo test -p orch-agent-adamandcargo test -p orch-agent-a2apass;docker compose config -qis clean forcompose.yamlalone and with each override (compose.live.yamlwith dummy values), anddeploy/chart/tests/render-check.shpasses. - Unverified where this was written (no Docker daemon, the 2.9 GB image was not pulled): every scenario in containers, the first run of which is the Coder E2E workflow of the pull request that pins it, in particular the new greeting and the titles
dev/coder-e2e.shanddev/devcontainer-e2e.shnow look for, and that the coder's scripted run is not changed by its two new helper tools;dev/check-mocks.shanddev/check-agent-mocks.sh(they need the WireMock services);/docsand the REST binding of a running agent; the Postgres cases oforch-agent-adam(noORCH_TEST_DATABASE_URL, so the schema version 3 migration underorch_agent_was not run here); the chat on netcup on the new image.
Status note, 2026-10-09: the agents report the tokens of each model call (adam-rs 09291a6) ​
The coder, the chat and the researcher (adam-agent) and the chart's chat.image are pinned at adam-rs 09291a6, which is 8e1133d plus #99 (adam-rs ADR 0032: the agent's side of usage/v1) and adam-rs's own bump commits. Every adam card lists usage/v1; on a request that activates it each model call is reported once (tokens, provider, model and, with MODEL_CONTEXT_WINDOW, the window), and a task that ends or pauses holds its totals. This repository's side, which logs them as model_usage and model_usage_total and draws the ring, is ADR 0056, built before this bump on mocks. Nothing about this decision changes: the coder is a plain A2A agent, read live and fail closed (ADR 0008), and the extension is optional (ADR 0008).
- Vendored files changed, and were re-copied.
git diff --stat 8e1133d 09291a6 -- dev bin/adam-coder/agentis not empty: the coder's scripted model (dev/coder/wiremock/mock-openai/mappings/coder-script.json,coder-choices.jsonand their SSE twins) now answers withusage, cached and reasoning tokens included (the greeting: 100 in, 64 of them cached; 20 out, 5 of them reasoning). The agent folder,git-server,podmanandcoder-agentdid not change. Upstream's own scripts and mappings that are not vendored (itsgreeting-e2e.sh,agent-script*.json,researcher-cards*.json) changed too. - Ported by hand. Upstream's
compose.yamlsetsMODEL_CONTEXT_WINDOW: "131072"for its coder; ours sets the same for the coder and, inx-adam-agent-env, for the chat and the researcher, all on scripted mock models, so their reports carry a window and the web's ring fills.compose.live.yamlreplaces those services' environment (!override) and sets none, and the chart renders none for the chat: a real model's window is the owner's to set. Upstream'sgreeting-e2e.shchecks the greeting's report and the task's totals over A2A;dev/greeting-e2e.shhere checks the same through this orchestrator: the coder's card listsusage/v1, the log holds amodel_usagefor each model call mock-openai saw, eachadam's own,openaimock-coderwithcontextWindow131072, the greeting's with the mapping's tokens, then onemodel_usage_totalwith the same tokens, and the frames say onevymalo.usageper call and the run'sRUN_FINISHED.usage. The scripted coder run calls no sub-agent (explorerandreviewerare not in its script), so no sub-agent attribution is asserted with the real image;dev/usage-e2e.shkeeps that onmock-usage. - The crates move with it, and no code changed. The seven
revlines oforchestrator/Cargo.tomlname09291a6;Cargo.lockre-resolved the adam-rs packages and addsadam-model, a new dependency ofadam-runtime. #99 makesadam_model::Usage#[non_exhaustive], addsRunEvent::UsageandModelConfig::context_window: nothing here builds aUsageor aModelConfig, and nothing matches onRunEvent(theagent-localtestkit only emitsRunEvent::Artifact); the match onadam_a2a::TaskEventinorchestrator/crates/agent-adam/src/client.rsis unchanged, asTaskEventgained no variant. A local agent's card lists no extension, so it reports no usage. - Verified 2026-10-09 (anonymous ghcr API, HTTP 200):
coder:sha-09291a6is onelinux/amd64manifest (2.93 GB of compressed layers, fourteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revision09291a61a6daaa6d01ae48c377d65309e2442ece, digestsha256:4c740462...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned). Read in adam-rs at09291a6: the facts of the previous bullet, and that a blankMODEL_CONTEXT_WINDOWis unset (crates/adam-service/src/config.rs,not_blank).dev/coder/check-vendored.shpasses at that commit; inorchestrator/, fmt, both clippy runs ofbump-adam,cargo test -p orchestrator --features agent-localandcargo test -p orch-agent-adampass;docker compose config -qis clean forcompose.yamlalone and with each override, anddeploy/chart/tests/render-check.shpasses. - Unverified where this was written (no Docker daemon, the image was not pulled): the scenarios in containers, the first run of which is the Coder E2E workflow of the pull request that pins it, in particular the usage checks of
dev/greeting-e2e.sh(the totals are read with aGetTaskas soon as the task pauses,crates/agent-a2a/src/client.rs; a coder that answered that read before it holds the totals would leave the log withoutmodel_usage_total, and that check would say so); the chat on netcup on the new image; the Postgres cases oforch-agent-adam.
Status note, 2026-10-09 (second): files from MCP results and remote sub-agents (adam-rs 0bfea49) ​
The coder, the chat, the researcher and the browser (adam-agent) and the chart's chat.image are pinned at adam-rs 0bfea49, which is 09291a6 plus #100 (the operator's model.contextWindow, and the coder chart's config.modelContextWindow, which refuses config.extraEnv.MODEL_CONTEXT_WINDOW beside it: nothing here runs the operator, and nothing sets that variable through a chart's extraEnv), #103 (the image is built on the workspace image 1.98.1-cfd2917, which has the obscura headless browser; the coder's instructions say it can screenshot a page it serves), #104 (upstream's own e2e scripts), #105 (adam-mcp reads a 401 from its status wording) and #106 (adam-rs ADR 0033, marked !), with adam-rs's own bump commits. #106 makes the images and blobs of an MCP server whose mcp.json entry says "files": true files of the run, and the raw parts of a remote sub-agent's answer files of the calling run when its file says files: true; adds A2A_ALLOW_INSECURE_REMOTES to adam-agent; and gives share_file's line for an image a second sentence, how to show it. What this repository does with it is ADR 0057's amendment of this day: the browser's screenshots are files, and browser.chatSubagent works. Nothing about this decision changes: the coder is a plain A2A agent and a file is an artifact with a raw part, which the orchestrator already keeps (ADR 0032).
- Vendored files changed, and were re-copied.
git diff --stat 09291a6 0bfea49 -- dev bin/adam-coder/agentis not empty: of the vendored files onlyagent/instructions.mdchanged (how to show an image in an answer, by its file name; obscura in the default environment to screenshot a page it serves; shorter wording ofshare_file,delegate_to_opencodeand the follow-up workflow). No mapping, seed,podmanormcp.jsondid. Upstream'sagent-cards-e2e.sh,agent-e2e.shandgreeting-e2e.shchanged, which are not vendored; none of compose.yaml,dev/compose.devcontainer.yaml,dev/compose.github-app.yamlanddev/coder-e2e.shchanged upstream. - Migrated.
share_file's line:dev/artifact-e2e.shcompared it whole, so it now checks its start, `Shared <file> (<size> bytes,<type>).`, and then the whole line with the image sentence for the SVG and the PNG; no scripted mock matches the line (they match call ids). Nothing here builds `McpServer`, `RemoteAgent`, `EmbeddedRemote` or `WorkerConfig` (`orch-agent-adam` uses adam-runtime, adam-a2a and the Postgres crates only), and no file this repository shares has a `:` in its name. - The crates move with it, and no code changed. The seven
revlines oforchestrator/Cargo.tomlname0bfea49;cargo update -p adam-host --precisere-resolved the nine adam-rs packages (the seven andadam-error,adam-model) and lettempfiletakegetrandom0.4.3, already in the lock, instead of 0.3.4 (a side effect of re-resolving, not of adam). No package was added. - Verified 2026-10-09 (anonymous ghcr API, HTTP 200):
coder:sha-0bfea49is onelinux/amd64manifest (3.01 GB of compressed layers, fourteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revision0bfea49ea34fa82825218fefd381ca239d191c1e,/opt/obscura/binon itsPATH, digestsha256:372c6787...(the registry'sDocker-Content-Digest, and the sha-256 of the manifest it returned); the tag appeared about 25 minutes after adam-rs'scoderrun for that commit started (run 37932709944). Read in adam-rs at0bfea49: the facts above (docs/reference/agent-files.md, ADR 0033,.agents/skills/adam-upgrade/SKILL.md,deploy/coder/templates/_validate.tpl).dev/coder/check-vendored.shpasses at that commit (56 checks). Inorchestrator/,cargo fmt --check, both clippy runs ofbump-adam(the workspace, andorchestratorwithagent-local),cargo test --workspace(its Postgres cases on the compose Postgres) andcargo test -p orchestrator --features agent-localpass;docker compose config -qis clean forcompose.yamlalone and with the overrides,deploy/chart/tests/render-check.shpasses, anddev/check-mocks.shanddev/check-agent-mocks.shpass against the WireMock services. - Unverified where this was written (the image, about 3 GB compressed, was not pulled: the machine had too little disk for it beside the orchestrator's and the web's image builds): every scenario in containers, the first run of which is the Coder E2E workflow of the pull request that pins it, in particular
dev/artifact-e2e.sh's new line for an image, the coder's changed instructions against the scripted coder run, anddev/browser-e2e.shanddev/chat-browser-e2e.sh(ADR 0057's amendment); the chat on netcup on the new image.
Status note, 2026-10-09 (third): a remote's words stay beside its files (adam-rs 5581d40) ​
The pin moves on the same day to adam-rs 5581d40, which is 0bfea49 plus #107. This pull request's first Coder E2E run caught the bug: in dev/chat-browser-e2e.sh the chat received the browser's screenshot but not its words. A completed remote task's answer was the text of its artifacts, and its status message was read only when it had none. An adam agent answers in its status message, and with files: true its screenshot is an artifact, so the answer was the screenshot's line alone. Since #107, artifacts that carry only files no longer replace the words: the status message comes first, then the file lines. Nothing else changed.
git diff --stat 0bfea49 5581d40 -- dev bin/adam-coder/agentis empty: nothing to re-copy. The sevenrevlines name5581d40, and re-resolving the lock moved only the nine adam-rs packages.- Verified 2026-10-09 (anonymous ghcr API, HTTP 200):
coder:sha-5581d40is onelinux/amd64manifest (3.01 GB of compressed layers, fourteen layers), labelorg.opencontainers.image.revision5581d40194181d005538a2f4c0aeee15035cd742,/opt/obscura/binon itsPATH, digestsha256:ab72fad4...(the registry'sDocker-Content-Digestand the sha-256 of the manifest it returned), published by adam-rs'scoderrun 37948442409.
Status note, 2026-10-17: access tiers, Questions v5 forms, and a coder that asks nobody for consent when another agent asked it (adam-rs 8847c28) ​
The pin moves to adam-rs 8847c28, which is 5581d40 plus #108 (a child's notice no longer keeps a finishing parent going), #109 (a turn that asks nothing completes, a scratch project lives for the conversation, an icon on every tool step), #110 (ask_user forms with a title, a description and typed questions: Questions v5, adam-rs ADR 0035), #111 (access tiers per message, access-tier/v1, adam-rs ADR 0036: the coder keeps to the tier a message names, ADR 0061 here; merge_pull_request, rename_repository and delete_repository under gates; a typed line that reads as a form's answer is marked (typed), and words answer only a question that went out as text, with the label of its yes option, never a bare yes), #112 (dependency locks), #113 (adam-rs ADRs 0037 to 0039, docs only), #114 (a shared package cache at /cache for adam-rs's chart and operator: nothing here mounts one) and #115 (an agent that another agent asked never parks on a person's consent: every adam agent reads the caller claim of its thread-tools token into the context key vymalo.caller, and the coder's consent tools ask nobody in such a run, no words being a consent there for the rest of the run; the other half of ADR 0026's amendment of this day), with adam-rs's own bump commits. The chart's chat.image moves with it (the same tag and digest).
- Re-copied.
git diff --stat 5581d40 8847c28 -- dev bin/adam-coder/agentis not empty:bin/adam-coder/agent/instructions.md(a scratch project stays for the conversation,create_repositoryneedsautoand asks unless the tier isbypass, shorter wording), andbin/adam-coder/agent/mcp.jsonanddev/coder-agent/mcp.json(get_medropped from the GitHub MCP tool list) are copied again. No mapping, seed,git-serverorpodmanfile changed. Of the four files that are ours on purpose, upstream'sdev/coder-e2e.shchanged (a yes is sent as the label of the yes option, a no as the form's answer, since #111 reads neither a bareyesnor a typednoas a consent): nothing of it to port,dev/workspace-e2e.shanswers the coder's consent as the web does, with one A2UI action on the form, and reports a consent that came as text as a failure. Two scripts of ours did need a port, which the pull request's first Coder E2E run found (28 of 30 scenarios passed):dev/workspace-e2e.shread the reason ofrequest_repositoryin the coder's words, and the coder now puts it in the form's description (ask_user'sdescription, adam-rs #110: theChoicesof catalog v5 and later carries atitleand adescription, and the reason is in the words only when no screen draws the form), so the script reads the form's description and falls back to the words; anddev/artifact-e2e.shcomparedshare_file's whole line, which for an image now ends with how to use it as the picture of anask_useroption (pass image {sha256: ..., alt}, adam-rs #110), so the script expects that sentence with the file's own hash. - The crates move with it, and no code changed. The seven
revlines oforchestrator/Cargo.tomlname8847c28;cargo update -p adam-host --precisere-resolved the nine adam-rs packages and nothing else. The change is additive for the crates this repository uses (adam_a2a::AccessTiers,adam_a2a_runtime::{CONTEXT_CALLER, asked_by_an_agent, CONTEXT_ACCESS_TIER}and the like are new; nopubitem ofadam-runtime,adam-a2aoradam-a2a-runtimewas removed or changed, read ingit diff 5581d40 8847c28 -- crates/*/src), the store and notifier crates did not change, and nothing here calls the new items:orch-agent-adamruns the coder's A2A backend as it is. - Verified 2026-10-17 (anonymous ghcr API, HTTP 200):
coder:sha-8847c28is onelinux/amd64manifest (3.01 GB of compressed layers, fourteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revision8847c28ac6c435dacb9d1c412c0390a29f545997,/opt/obscura/binon itsPATH, digestsha256:ecbd1731...(the registry'sDocker-Content-Digestand the sha-256 of the manifest it returned), published by adam-rs'scoderrun 39039846841 about ten minutes after the merge.dev/coder/check-vendored.shpasses at that commit, anddocker compose --profile '*' config -qis clean. Inorchestrator/, on a fresh target,cargo fmt --all --check,cargo clippy --workspace --all-targets --locked -- -D warningsandcargo clippy -p orchestrator --features agent-local --all-targets --locked -- -D warningspass,cargo test -p orchestrator --features agent-local --lockedpasses (312 tests in four suites) andcargo test -p orch-agent-adam --lockedpasses (41 tests in five);node tools/docs-check/check-docs.mjssaysdocs OK. - Unverified where this was written (no Docker daemon on the machine, so the image was not pulled): every scenario in containers, the first run of which is the Coder E2E workflow of the pull request that pins it, in particular
dev/workspace-e2e.shagainst a coder that marks typed lines and takes a consent from its form alone,dev/choices-e2e.shon the coder's Questions v5 forms, anddev/mentions-e2e.sh; the Postgres cases of the orchestrator's tests; the chart's render check (deploy.ymlruns it); the chat on netcup on the new image.
Status note, 2026-10-18: an asked coder hears the person only through the words the orchestrator carries (adam-rs ddef35e) ​
The pin moves to adam-rs ddef35e, which is 8847c28 plus #116 (merged 2026-10-17 23:52 UTC: in a run another agent started, the coder reads the repositories the person named from person.said of the thread-tools metadata, the person's own thread messages that the orchestrator carries beside the grant of the ask's message since #271, and never from the ask's text or the asking model's answers to ask_user; without the member nothing is named, and request_repository refuses as it has since #115. adam-a2a-runtime reads the member into the context key vymalo.person of every message that carries the grant, null for one with the grant and no well-formed member, so an earlier message's words go, and the key is not a protected one on purpose, a protected value being capped at 1 KiB; a child run does not inherit it, so a child of an asked run names nothing: adam-rs ADR 0036's Built 2026-10-17 bullet and ADR 0006 amended), with adam-rs's two bump commits (425a265, a3c3f01: the operator and the coder at sha-8847c28, deploy only). It is the agent side of ADR 0026's fourth note of 2026-10-17, so #271 and #116 are now both in the pin and an asked coder hears the person through the orchestrator's person.said and nothing else. What stays a gap is this repository's: a person's form answers (ui_action: typed fields and notes) are not carried, because without the form the orchestrator cannot tell a typed field from a chosen option, so a repository named only there is not named in an asked run; the person can write it in a message, and the effect is fail-closed (fewer repositories count, never more). The chart's chat.image moves with it (the same tag and digest).
- Nothing re-copied.
git diff --stat 8847c28 ddef35e -- dev bin/adam-coder/agentis empty: no agent file, mapping, seed,git-serverorpodmanfile changed upstream, so no vendored file changes here, anddev/coder/check-vendored.shat the new commit finds every copy equal. None of the four files that are ours on purpose changed upstream either (git diff 8847c28 ddef35e -- dev/compose.github-app.yaml dev/coder-e2e.sh compose.yaml dev/compose.devcontainer.yamlis empty), so nothing is to port. The change is additive, read asadam-upgradesays: no commit between the two is marked breaking, none of the trait files changed (crates/adam-core/src/store/mod.rs,crates/adam-runtime/src/notify.rs,crates/adam-a2a/src/backend.rs,crates/adam-host/src/lib.rs), no environment variable, default or exit code moved (the tables ofbin/adam-coder/README.md,bin/adam-agent/README.mdandcrates/adam-service/README.mdare unchanged), and the onlypubitems that moved in any adam crate are additions,adam_a2a_runtime::{CONTEXT_PERSON, person_said}(git diff 8847c28 ddef35e -- 'crates/*/src/*'touchesadam-a2a-runtimealone: the newperson.rs,vymalo.rsandlib.rs; the rest of #116 isbin/adam-coder). - The crates move with it, and no code changed. The seven
revlines oforchestrator/Cargo.tomlnameddef35e;cargo update -p adam-host --precisere-resolved the nine adam-rs packages (the seven andadam-error,adam-model) and, as a side effect of re-resolving and not of adam,tempfile's edge togetrandom(0.4.3 to 0.3.4, both already in the lock, whichcargo metadata --lockedaccepts); nothing else moved. Nothing here calls the new items:orch-agent-adamruns the coder's A2A backend as it is. - Verified 2026-10-18 (anonymous ghcr API, HTTP 200):
coder:sha-ddef35eis onelinux/amd64manifest (3.01 GB of compressed layers, fourteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revisionddef35eba1b18d42d6db8c6e2df372b40a1067fa,/opt/obscura/binon itsPATH, digestsha256:14a0e0df...(the registry'sDocker-Content-Digestand the sha-256 of the manifest it returned), published by adam-rs'scoderrun 39080695518 (started 2026-10-17 23:52 UTC, the tag served at 00:13 UTC on 2026-10-18, the first of six three-minute polls to answer 200 after a 404 at 23:57).dev/coder/check-vendored.shpasses at that commit, anddocker compose --profile '*' config -qis clean. Inorchestrator/, on a fresh target,cargo fmt --all --check,cargo clippy --workspace --all-targets --locked -- -D warningsandcargo clippy -p orchestrator --features agent-local --all-targets --locked -- -D warningspass,cargo test -p orchestrator --features agent-local --lockedpasses (312 tests in four suites) andcargo test -p orch-agent-adam --lockedpasses (41 tests in five);node tools/docs-check/check-docs.mjssaysdocs OK. - Unverified where this was written (no Docker daemon on the machine, so the image was not pulled): every scenario in containers, the first run of which is the Coder E2E workflow of the pull request that pins it; no scenario here drives an asked coder on the person's words yet (
dev/mentions-e2e.sh's asked agents are WireMock mocks), so the coder's reading ofperson.saidis proven by adam-rs's own tests atddef35e(bin/adam-coder/tests/hearing.rs,tests/e2e.rs,crates/adam-a2a-runtime/src/person.rs) and not by this stack; the Postgres cases of the orchestrator's tests; the chart's render check (deploy.ymlruns it); the chat on netcup on the new image.
Note, 2026-11-19: the dev-stack paths the notes above cite for the work environment (
dev/compose.devcontainer.yaml,dev/devcontainer-e2e.sh) were removed with the Podman path, as ADR 0028 records (epic #359, #372). Those notes stand as the history of what was checked at their pins; in this stack the coder runs commands in its own container, and a repository'sdevcontainer.jsonis not used here.
Status note, 2026-11-19: the coder without OpenCode, parallel tool calls, sessions on every adam card (adam-rs 7418467) ​
The pin moves to adam-rs 7418467, which is ddef35e plus adam-rs #140 to #208 and their bump commits; 7418467 is the newest main commit whose image is published (11ff8d3 bumped the chart to it; sha-790eb01, the one commit after it, answered 404). What this stack sees of it, read as adam-upgrade says (git log --format='%h %s' ddef35e..7418467 | grep '!:' lists eleven breaking commits):
- The coder no longer uses OpenCode (#145, adam-rs ADR 0038):
delegate_to_opencodeis gone and the scripted coder writeshello.txtwithwrite_file.OPENCODE_MODELis ignored with a warning, socompose.yaml,compose.live.yamland.env.exampledrop it;dev/coder-e2e.shasserts aWrite a filestep and noHand to OpenCodesub-agent step, the variantNO_OPENCODE=1(scenariocoder-no-opencode) is gone from the script,dev/e2e-all.shandcoder-e2e.yml, andmock-openaiis asked formock-coderonly. - The tool calls of a turn run at the same time (adam-rs ADR 0049), MCP tools included: the browser's
mcp.json(dev/agents/browser/agent/and the chart'sfiles/browser/, equal) says"parallel": false, since obscura holds one browser session. - A GitHub App key as a file is refused (exit 78) while the coder's commands run in its own container (adam-rs issue 120, since
3eca052):dev/compose.github-app.yamlsetsALLOW_COMMANDS_NEXT_TO_SECRETS=trueas upstream's copy does, andcompose.live.yamlpasses the variable from.env,falseby default. - Sessions: the card of an adam agent whose root has a subagent lists
child-sessions/v1(#198, adam-rs ADR 0045): the coder's and the chat's here, not the researcher's or the browser's. The orchestrator activates it (ADR 0072); its S5 can now start. - Also: paged tools, a plan, skills, commands and project instructions (adam-rs ADR 0044), compaction of a long history, file bytes out of the run (schema v5 part 1, #204, migrated at startup), credentials per call (adam-rs ADR 0058, #200), static musl binaries (#201), a cheaper runtime (#192, #199). The A2UI v1.0 cutover is a decision (adam-rs ADR 0056, #202), not built: the agents still speak v0.9.1.
- Re-copied: the agent folder (
instructions.md,mcp.json, bothsubagents/, and the newcommands/andskills/),coder-script.jsonand its SSE twin. Removed, as upstream removed them: thedevboxanddevbox-brokenseeds (#208),opencode-script.jsonand its four bodies (#145), andchat-text.jsonandchat-text.sse, which only the OpenCode script named;compose.yamlno longer mounts the empty__filesfolder ofmock-openai. - The crates move with it. The seven
revlines name7418467;cargo update -p adam-host --precisere-resolved ten adam-rs packages (adam-agent-fs, now a dependency ofadam-a2a-runtime, is new) and added the six cratesadam-agent-fsreads YAML with (serde-saphyr,granit-parser,annotate-snippets,arraydeque,encoding_rs_io,unicode-width).RunEvent::Artifactgainedid, soorch-agent-adam's testkit setsid: None; nothing here implements adam'sStoreorNotifier. - The chart's
chat.image, the chat's and the browser's image, moves with it (the same tag and digest). - Verified 2026-11-19 (anonymous ghcr API, HTTP 200):
coder:sha-7418467is onelinux/amd64OCI manifest (3.13 GB of compressed layers, fourteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revision74184670e082766990aff5393ab84ce7f49829b6, digestsha256:980c0ffb...(the registry'sDocker-Content-Digestand the sha-256 of the manifest it returned).dev/coder/check-vendored.shpasses;docker compose --profile '*' config -qis clean, with the GitHub App and live overrides too;cargo fmt, bothcargo clippyruns andcargo test -p orchestrator --features agent-localand-p orch-agent-adampass inorchestrator/;docs-checksaysdocs OK. - Unverified where this was written (no Docker daemon, no helm, no shellcheck): every scenario in containers, first run by the Coder E2E workflow of the pull request that pins it (the coder's new script, the folder agents with skills, plans and parallel calls on their scripted models, the orchestrator activating
child-sessions/v1on real cards); the chart's render check (deploy.yml); the Postgres cases of the orchestrator's tests; the chat on netcup on the new image.
Status note, 2026-11-21: A2UI v1.0 only, the cutover reaches the dev stack (adam-rs e2bfda9) ​
The pin moves to adam-rs e2bfda9, which is 7418467 plus adam-rs #209 to #253 and their bump commits. git log --format='%h %s' 7418467..e2bfda9 | grep '!:' is empty: no commit of the range says it breaks. What this stack sees of it, read as adam-upgrade says:
- A2UI v1.0, only (#251, adam-rs ADR 0056; ADR 0075 and epic #380 here): the card of every adam agent lists
https://a2ui.org/a2a-extension/a2ui/v1.0andhttps://agents.vymalo.com/a2a/extensions/ui-catalog/v2(the…/a2ui/v0.9.1andui-catalog/v1names are gone), every surface says"version": "1.0"and names v1.0's basic catalog, a catalog is read only as aui-catalog/v2document ({catalogId, protocolVersion: "1.0", components}), an agent draws nothing in a turn whose message carries noa2uiRendererCapabilities["1.0"], and an action is read only when it says"1.0"(an older A2UI part is read as JSON text). The orchestrator already sends the capabilities on every message, steers and actions included (S1 of the epic,fe3e9388), so a card that lists v1.0 keeps its forms and cards; a card that still listed v0.9.1 would get words. The stack's mocks and folder agents speak no A2UI on the wire, so none of them needed a change. - The run store moves to schema version 6 (the store and the notifier on tokio-postgres, sqlx out, adam-rs ADR 0053), migrated at startup by the coder, the chat and the browser.
- Re-copied: nothing.
git diff --stat 7418467 e2bfda9 -- dev/wiremock dev/git-server dev/coder-agent bin/adam-coder/agentis empty, so no vendored file changed and the skill's step 3 copied none; onlycommit=indev/coder/UPSTREAMmoved. - The dev stack moves with it.
compose.yaml'sx-adam-imageand its comment block; the chart'schat.image(deploy/chart/values.yaml, which the chat and the browser both take) and its comment, and thechat.imagerow ofdeploy/chart/README.md.dev/cards-e2e.sh,dev/choices-e2e.sh,dev/artifact-e2e.sh,dev/workspace-e2e.shanddev/delete-e2e.shnow assert the v1.0 extension URI,"version": "1.0"on every operation of every surface, and theui-catalog/v2document the web ships (protocolVersion"1.0"; delete asserts the catalog the thread's log recorded);dev/README.mdsays v1.0 where it described v0.9.1. - The crates do NOT move, and that is a deviation from the skill's four places, named here. S3 changes no Rust, and no dev scenario uses the
agent-localfeature (the one agent it hosts isecho, which speaks no A2UI). The range rewritescrates/adam-store-postgres(1841 lines) andcrates/adam-runtime(thousands: the store on tokio-postgres, the head and the worker), so portingorch-agent-adamis a slice of its own, not this one. The residual: a build with--features agent-localstill links adam at7418467, i.e. an adam that advertises the retired v0.9.1 URI, which the orchestrator (v1.0 only) no longer detects: a locally hosted A2UI agent would answer in words. Nothing in the stack does that today, and the sevenrevlines move when that slice lands. - Verified 2026-11-21 (anonymous ghcr API, HTTP 200):
coder:sha-e2bfda9is onelinux/amd64OCI image manifest (no index; 3.13 GB of compressed layers, fourteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revisione2bfda93429bb36895cc0fdb318f3fdb67bd3451, digestsha256:0541ee92...(the registry'sDocker-Content-Digestand the sha-256 of the manifest it returned).dev/coder/check-vendored.shpasses (vendored files match vymalo/another-adam-rs@e2bfda9);docker compose --profile '*' config -qis clean, withcompose.live.yamlanddev/compose.github-app.yamltoo;dev/check-mocks.sh(178 checks) anddev/check-agent-mocks.sh(225) pass against the stack's mocks;sh deploy/chart/tests/render-check.shpasses on the newchat.image;docs-checksaysdocs OK. - Unverified where this was written (the full
appprofile was not brought up: a 2.9 GB image and a long run): the five scenarios in containers, first run by the Coder E2E workflow of the pull request that pins it (the coder's form on v1.0, the researcher's cards and graph, the artifact surface, the workspace's consent forms, the delete's catalog); the chart deployed bydeploy.yml; the chat on netcup on the new image.
Status note, 2026-11-21: one adam again, the image and the crates at the same commit, sqlx out (adam-rs 7ac3281) ​
The pin moves to adam-rs 7ac3281, which is 8501494 (the image since sys#418) plus adam-rs #254, #272 and #294 to #313 and their bump commits. The crates of agent-local move with it, from 7418467, so the residual named in the note of e2bfda9 above is closed: the image, the vendored files and the rev lines name one commit. git log --format='%h %s' 7418467..7ac3281 | grep '!:' is empty. What this stack sees of it, read as adam-upgrade says:
- The coder's commands run where the coder runs (#272, adam-rs ADR 0052): no devcontainer environment, no
rebuild_environmenttool, and the removedDEVCONTAINER_*variables are ignored with a warning that names them (nothing here sets one). A repository's own image isuse_repository_environment, offered only with run pods, which this stack does not run. - Re-copied:
dev/coder/agent/instructions.md, the one vendored file that changed (git diff --stat 8501494 7ac3281 -- dev bin/adam-coder/agent): its section "The work environment" follows #272. No mapping, seed or script changed. - Model settings this stack leaves unset: reasoning effort per agent and the per-model profiles of
MODEL_ALIASES_FILE(#308, #311, adam-rs ADR 0063 and 0064),MODEL_AUTH=injectorand a refusal that may park a run (#312, #313, adam-rs ADR 0067; with no injector the OpenAI client keeps today's errors). A model's response body and every SSE buffer are capped (#297). Theadam-engineslices (#295, #300, #302) are not used here. - The crates. The seven
revlines name7ac3281and an eighth,adam-postgres, is named beside them: adam's Postgres store and notifier are on tokio-postgres and deadpool-postgres (adam-rs ADR 0053), andPgNotify::newtakes thePgConfigits listener connects with.orch-agent-adambuilds their pools withorch-pg-connect(its README), its errors keep no driver error, and the in-process agents' journal moves to adam's schema version 6 at its first migrate, under a session lock of its prefix (ondirectUrlbehind a pooler). adam's listener reads the URL alone, noPG*variable and no password file, where sqlx read both for the pool and the listener alike: soorch-agent-adamrefuses, at startup and asInvalid, a URL that leaves part of its server to the environment (agent-localonly; the chart puts everything in the URL). Rolling anagent-localbuild back to7418467after the journal moved to version 6 is unverified: nothing here tried an older adam on a newer journal. With it the lastsqlxleaves the orchestrator's workspace (ADR 0076's note of the same day). Nothing here implements adam'sStoreorNotifier. - The vendored
adam-*skills move with the skills CLI (skills@1.9.0 add, asbump-adamsays) from7375087to adam-rs's head,94a25a5, which is7ac3281plus #314 and #316: the skills describe one thing this pin does not have yet, the output cap that follows the model (adam-rs ADR 0064 slice 2, inadam-agent-folder,adam-coder-deploy,adam-embedandadam-upgrade). - Verified 2026-11-21 (anonymous ghcr API, HTTP 200):
coder:sha-7ac3281is onelinux/amd64OCI image manifest (no index; 3.11 GB of compressed layers, thirteen layers), uid 10001, entrypointtini -- adam-coder,/opt/obscura/binon its PATH, labelorg.opencontainers.image.revision7ac32810c0be5d1ab590c8f24d78eceb205865b0, digestsha256:5e5d70db...(the registry'sDocker-Content-Digestand the sha-256 of the manifest it returned).dev/coder/check-vendored.shpasses (vendored files match vymalo/another-adam-rs@7ac3281);docker compose --profile '*' config -qis clean, withcompose.live.yaml(dummy values for its required variables) anddev/compose.github-app.yamltoo;sh deploy/chart/tests/render-check.shandhelm lint(helm v3.19.0, asdeploy.yml) pass on the newchat.image. The Rust gates the pull request lists passed against a local Postgres 16, directly and through PgBouncer in transaction mode. - Unverified where this was written (no Docker daemon): every scenario in containers on the new image, first run by the Coder E2E workflow of the pull request that pins it; the chat and the browser on netcup on the new image.
Status note, 2026-11-23: the interface language on the card, a lean first request, the output cap following the model (adam-rs 7ea653f2) ​
The pin moves from 7ac3281 to 7ea653f2, which is 7ac3281 plus adam-rs #314 (the output cap follows the model, adam-rs ADR 0064 slice 2), #321 (a lean first request: tool groups and their loaders, and the compaction recap, adam-rs ADR 0066), #324 (a provider's opaque members, bound to the model and endpoint), #327 (a typed reasoning level on the model's wire, adam-rs ADR 0063 decision 6), #328, #329 and #335 (the interface language, adam-rs ADR 0069: the locale/v1 URI, the card entry, the validated BCP 47 tag, the run's context key vymalo.locale and its place among the protected keys, and — #335, slice 3 — the card that lists the extension from DEFAULT_LOCALE, none when it is unset, exit 78 when the tag is malformed) and #333 (a redaction fix). The orchestrator's own half (the tag per message, docs/api/locale-v1.md, ADR 0085) is 9febb689, already merged here.
- The vendored files changed (
git diff 7ac3281 7ea653f2 -- dev bin/adam-coder/agent):bin/adam-coder/agent/instructions.mddropsmax_output_tokens(the cap follows the model now, #314) and gains the two rules of ADR 0069 decision 3, andsubagents/explorer.mdandsubagents/reviewer.mddrop their ownmax_output_tokens. Re-copied intodev/coder/agent/; no mapping, seed or script changed. Nothing here setsMODEL_MAX_OUTPUT_TOKENS, so the deployment's model default is the cap. - The chart and the dev stack.
chat.defaultLocale(defaulten-GB) rendersDEFAULT_LOCALE, so the chat's card listslocale/v1and a request may name a tag;nulllists nothing. A chat image older than7ea653fignores the variable. - Nothing in the run store moved (
git diff --stat 7ac3281 7ea653f2 -- crates/adam-store-postgresis empty): no migration. - The crates name
7ea653f2on everyrevline, and the lockfile names one rev only. - The vendored
adam-*skills move with the skills CLI (skills@1.9.0 update -p -y) from94a25a5to adam-rs's head,50bee181, which is7ea653f2plus #336 (docs only: neutral locale examples in ADR 0069 and the runtime README). They teach nothing this pin does not have. - Verified 2026-11-23 (anonymous ghcr API, HTTP 200):
coder:sha-7ea653fis onelinux/amd64OCI image manifest (no index; 3.11 GB of compressed layers, thirteen layers), uid 10001, entrypointtini -- adam-coder,/opt/obscura/binon its PATH, labelorg.opencontainers.image.revision7ea653f2e9d80eaca493916bcb160d6df314ef29, digestsha256:50339821...(the registry'sDocker-Content-Digest).dev/coder/check-vendored.shpasses (vendored files match vymalo/another-adam-rs@7ea653f). - Unverified where this was written: the 3.11 GB image was not pulled locally; every scenario on it is the Coder E2E workflow's, in the pull request that pins it. The hint reaches the model only once adam-rs renders
vymalo.localeinto a request, which no slice does today (the run's context is read by tools, not by the prompt): the card, the rule and the tag are in place, the words are not yet.
Status note, 2026-11-23 (later): the interface language reaches the model (adam-rs 945208e) ​
The pin moves from 7ea653f to 945208e, which is 7ea653f plus adam-rs #347 (the interface language is sent to the model as one more turn after the history of every request of a run whose context names vymalo.locale, never in system; ADR 0069's status note of the same day). No file under bin/adam-coder/agent changed, so nothing is re-copied and dev/coder/check-vendored.sh still matches. Nothing in the run store moved.
- Verified 2026-11-23 (anonymous ghcr API, HTTP 200):
coder:sha-945208eis onelinux/amd64OCI manifest (no index; 3.11 GB of compressed layers, thirteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revision945208ef3ed8f4bbef60b7d1286f08f4e7624c38, digestsha256:ef440f7e.... - Unverified where this was written: the image was not pulled locally;
dev/locale-real-e2e.sh, which proves the chain on the real chat agent, is run byCoder E2Eonly.
Status note, 2026-11-26: model pick, reasoning and the prompt statement on the real adam (adam-rs 9f90f1e6) ​
The pin moves from 945208e to 9f90f1e6, 99 commits of adam-rs main, and it is deliberately not adam-rs's head: #399 moved adam's own workspace to Rust 1.98, while this repository is on 1.94.1. 9f90f1e6 is the newest commit of adam-rs main before that move whose coder image exists, so this bump keeps the toolchain where it is and the next bump is the one that raises it (ANR-983 and ANR-1001 build on this).
- What it brings, and the reason the M1 cards wait for it (the owner's private plan of 2026-11-26):
model-pick/v1(#349: a served agent takes the model a message names; #364: each choice carries its endpoint label),reasoning/v1(#354: the card lists the model's levels and a level it does not take is refused; a usage call reports the level it named),prompt-statement/v1(#419: the statement and the person's envelope on every model call),uploads/v1on the card (#397, #407, #417: noparams; the inline threshold is the setting, 10 MiB by default, bounded at 256 MiB), and a kept-open child that asks the person, and only a shown one (#362). - Also in the range:
SessionConfig,SessionBoundsandadmit(the seven limits, narrowed only), the plugin types and the hook set of adam-rs ADR 0050 (H1, H1b, H2), the TurnKeys port and the Ed25519 turn signature of ADR 0068 T1, the device-state port and the resource report (ADR 0065), the process pool with its Linux limits, a folder's eager or lazy tool loading (ADR 0066), and the fix that a known window with no room is a minimal budget rather than no limit. - The vendored files did not change:
git diff --stat 945208e 9f90f1e6 -- bin/adam-coder/agent dev/git-server dev/coder-agent dev/wiremockis empty, so nothing is re-copied anddev/coder/check-vendored.shstill matches. - Nothing in the run store moved (
git diff --stat 945208e 9f90f1e6 -- crates/adam-store-postgresis empty): no migration, and noStoremethod gained a required implementation here (this repository implements none of adam's traits; it uses adam's Postgres store as it is). - The crates name
9f90f1e6on everyrevline (ten, sinceadam-engineandadam-store-sqlitejoined the list), andCargo.locknames that one rev on twenty packages. Re-resolving also added the turn-signature tree (ed25519-dalek,curve25519-dalek-derive,fiat-crypto,signature): a side effect of the new crates, not a separate update.cargo check -p orchestrator --features agent-local --all-targets --lockedis green with no code change, so nothing had to be migrated. - The vendored
adam-*skills move with the skills CLI (skills@1.9.0 update -p -y) from50bee181to adam-rs's head,67dccc5d, which is9f90f1e6plus 54 commits.git diff 9f90f1e6 67dccc5d -- .agents/skillsis two files:adam-a2a-extensionsdescribesprompt-statement/v1with a turn key (TURN_SIGNING_KEY_FILE,Turn-Signature,adam-request/v1) andadam-upgradepoints at adam-rs's.agents/docs/(ADR 0079). The first of those describes something this pin does not have yet: the turn signature on a model request is a later adam-rs commit, so the card, the statement and the envelope are here and the signature is not.adam-coder-deploykept its50bee181pin because its text did not change. - Verified 2026-11-26 (anonymous ghcr API, HTTP 200):
coder:sha-9f90f1eis onelinux/amd64OCI manifest (no index; 3.11 GB of compressed layers, thirteen layers), uid 10001, entrypointtini -- adam-coder, labelorg.opencontainers.image.revision9f90f1e67b00c5cc7235acce738bced83f2ebd46, digestsha256:8352a52c...(the registry'sDocker-Content-Digest).dev/coder/check-vendored.shpasses;docker compose --profile '*' config -qis clean;node tools/docs-check/check-docs.mjsis clean;cargo clippyis clean for the workspace and for-p orchestrator --features agent-local, andcargo test -p orchestrator --features agent-localand-p orch-agent-adampass on this head. - Unverified where this was written: the 3.11 GB image was not pulled locally; every scenario on it is the Coder E2E workflow's, in the pull request that pins it.