Skip to content

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, alias coder); 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_FILE is a YAML list of {id, name, cardUrl, tokenEnv?}; the agent directory and App::list_agents keep its order, and the chat UI preselects the first (list[0] in web/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 ​

  1. The coder is an agent like any other: an entry in AGENTS_FILE with its card URL and a tokenEnv naming the variable that holds its bearer token. The orchestrator takes no crate dependency on adam-rs and no code path is specific to it.
  2. The default agent is the first AGENTS_FILE entry. GET /api/agents returns the agents in configuration order and clients preselect the first. There is no default field and no DEFAULT_AGENT variable.
  3. 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.
  4. 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.
  5. 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.
mermaid
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
  end

The 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.

mermaid
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: true field in AGENTS_FILE, or a DEFAULT_AGENT variable. 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/amd64 only. The app compose 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 be http://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, so find_task_by_message returns None (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 supports ListTasks or accepts an idempotency key.
  • The pull request URL is in a JSON data part of the pull_request artifact, 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 of AGENTS_FILE is kept by the agent directory and by App::list_agents, the web preselects list[0], and the thread mapping above is orchestrator/crates/core/src/transition.rs (status_input, blocked, agent_input).
  • Verified 2026-09-29 (orchestrator/crates/agent-a2a/src/client.rs): the adapter uses SendStreamingMessage, SubscribeToTask, GetTask and CancelTask, and treats an unsupported ListTasks as "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 via A2A_BEARER_TOKENS, no extensions, the card advertises PUBLIC_URL, ListTasks unsupported, branch and pull_request artifacts 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-172a117 is about 2.86 GB, linux/amd64, runs as uid 10001; the image has no latest tag.
  • 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 and transport: a2a give the same endpoint; transport: local is refused with a message that names a2a.

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): an a2a entry without a cardUrl is an error, agent on an a2a entry is an error, a local entry with a cardUrl or tokenEnv is an error, an unknown or missing agent is an error listing the kinds, and a valid local entry is refused with LocalAgentsNotCompiled in this build and becomes AgentEndpoint::local when 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, and bin/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-7b2d8f9 is one linux/amd64 manifest, uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision 7b2d8f95ffd9abe8af990bd79d7d690e8183c392, digest sha256:aa84305a... (the sha-256 of the manifest the registry returned). dev/coder/check-vendored.sh passes against raw.githubusercontent.com and 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.sh and dev/agent-folder-e2e.sh against 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.yaml writes the image once (x-adam-image, tag sha-<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.sh asserts the tag is the commit in dev/coder/UPSTREAM and fails on a second pin.
  • The folders are ours, not vendored. dev/agents/chat/agent/ and dev/agents/researcher/agent/ are this repository's agents, not copies of upstream files (upstream's own example, dev/agents/assistant, and its mock-assistant model are not vendored). They follow the persona convention of adam-rs's bin/adam-agent/README.md, and their model is the WireMock mock-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 a tokenEnv), 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-f882b91 is one linux/amd64 manifest (2.88 GB of compressed layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision f882b910b620ea583130a0517b4e52c5f7939179, digest sha256:7c549618... (the sha-256 of the manifest the registry returned); adam-rs's coder workflow smoke-tested adam-agent in it before pushing. dev/coder/check-vendored.sh passes at that commit. The scenario agents passed against real adam-agent, adam-coder and orchestrator processes (debug builds) and the WireMock model mock; the details are in the last section of dev/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) &ZeroWidthSpace;

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/v1 and thread-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 http between containers, http://orchestrator:8080/thread-tools/<id>/mcp (THREAD_TOOLS_URL), which an adam agent reaches only when MCP_ALLOW_INSECURE=true allows it. compose.yaml sets it for the coder and, in x-adam-agent-env, for the folder agents (their card lists the same extensions), and compose.live.yaml keeps 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] makes mock-coder ask three questions with ask_user; the answers db: pg get "Going with Postgres, Keycloak and Compose."), and the coder's instructions.md copy gains the paragraph on choices. The mappings stay a deliberate subset of upstream's (the scripted coder run, now with this one).

  • A scenario, choices (dev/choices-e2e.sh, in e2e-all.sh and so in the Coder E2E workflow): the web's own catalog goes with a run, the coder asks three questions as one Choices surface under the catalog's id, one a2uiAction answers them, the coder's next words quote the answers, and a message from a newer screen records a second ui_catalog.

  • Verified 2026-10-01 (anonymous ghcr API, HTTP 200): coder:sha-c13ddf1, which holds d411249, is one linux/amd64 manifest (2.88 GB of compressed layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision c13ddf1a32a1424affa20043f6bd860d93c536cc, digest sha256:a77a2890... (the sha-256 of the manifest the registry returned), published by adam-rs's coder workflow after its smoke tests and its own compose scenario of the Choices chain (dev/coder-choices-e2e.sh upstream, without the orchestrator) passed. None of the vendored files changed between d411249 and c13ddf1; dev/coder/check-vendored.sh passes at c13ddf1.

  • 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 choices in containers, through the edge and 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 uses choices.

Status note, 2026-10-01: the researcher answers with cards and a graph (adam-rs c13ddf1) &ZeroWidthSpace;

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 check ok including the six of this script), its show blocks against the schemas of the web's catalog (JSON Schema 2020-12, with id added as show does), and dev/cards-e2e.sh against a stand-in for the edge (see the last section of dev/README.md).
  • Unverified where this was written (the stack was not started: the disk was too small): the scenario cards in containers, through the edge and 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) &ZeroWidthSpace;

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_opencode is a subagent step 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-agent call their model with "stream": true and 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.json and coder-choices-stream.json of the coder's scripts (dev/coder/wiremock/mock-openai/mappings/; every other vendored file is unchanged at cf6ddbb, and dev/coder/check-vendored.sh passes there). The mappings stay a deliberate subset of upstream's: its agent-script-stream.json and researcher-cards-stream.json twin 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 of persona.json, researcher.json and researcher-cards.json has an SSE twin (*-stream.json, one priority above), and dev/check-agent-mocks.sh plays 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 marked vymalo.live that 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). cards and choices, 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-cf6ddbb is one linux/amd64 manifest (2.88 GB of compressed layers, ten layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision cf6ddbb45a44afce99f437dbd370ef59bdf095d0, digest sha256:45f1afd1... (the sha-256 of the manifest the registry returned), published by adam-rs's coder workflow for that commit on main. 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 of dev/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 cf6ddbb behind 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 with stream_options.

Status note, 2026-10-01: workspaces, GitHub per installation, and repositories created on request &ZeroWidthSpace;

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 last checks that names the pushed commit of the last branch (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's CREATE_REPO_OWNERS only, private and empty by default) only after a yes to a question the tool writes, each time. Both come to the orchestrator as an input-required task with an ordinary ask_user form, a Choices of one question, so the answer is the single A2UI action of choices when 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-github creates repositories and trades an App's JWT for an installation token, the new mock-github-mcp, git-server seeding local/library and making the repositories of scratch on first use), dev/compose.github-app.yaml (the coder as an App), compose.live.yaml and .env.example (a token or an App, CREATE_REPO_OWNERS), mock-ci finding scratch/* repositories, and the scenario workspace (dev/workspace-e2e.sh) beside dev/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-1021836 is one linux/amd64 manifest (2.89 GB of compressed layers), uid 10001, entrypoint tini -- adam-coder, MCP_ALLOW_STDIO=true, label org.opencontainers.image.revision 1021836a1887610c4639de15f2289b26245b9ce4, digest sha256:8dcc66c3... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned). dev/coder/check-vendored.sh passes 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) &ZeroWidthSpace;

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's input (the arguments, redacted and cut) on the step's start and its output ({text, truncated?, bytes?, error?}) on its end, the two optional members that steps/v1 gained on 2026-10-02 (ADR 0030; the orchestrator side is built, plan 10 S1; adam-rs ADR 0011). An MCP tool's title is 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 at dev/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). The show tool lists the catalog's components and refuses Choices, and get_ui_catalog is 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 (at 1021836 it did): it carries github-mcp-server for the coder and adam-agent, which must refuse local processes. compose.live.yaml sets it on the coder service alone, because the live coder starts the real github-mcp-server; the chat and the researcher use http servers and do not get it, and the offline coder reads GitHub over http (the mock mcp.json).
  • In this repository: the pin and the vendored files (changed: the agent folder's instructions.md and 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 scenarios agents and coder, which assert that the researcher's search is one step labelled Web search and 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-d56dd94 is one linux/amd64 manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypoint tini -- adam-coder, no MCP_ALLOW_STDIO, label org.opencontainers.image.revision d56dd9418ec1b4e814be8c58966381ed14e664b4, digest sha256:9beeb71a... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned). dev/coder/check-vendored.sh passes 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-server in the live coder with MCP_ALLOW_STDIO set.

Status note, 2026-10-02: files, run and edit_file, scratch completion, and turn_output (adam-rs c0f12dd) &ZeroWidthSpace;

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_file hands 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_output is the run's answer (#72, adam-rs ADR 0014): an agent that calls the thread's turn_output tool (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's instructions.md says 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.md alone; nothing else under dev/coder/), dev/agents-e2e.sh (the chat and the researcher are offered turn_output), and the live web search of the same pull request (searxng and searxng-mcp in compose.live.yaml, dev/README.md). No scenario asserts the coder's whole tool list, so none needed a change for run, edit_file and share_file.
  • Verified 2026-10-02 (anonymous ghcr API, HTTP 200): coder:sha-c0f12dd is one linux/amd64 manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypoint tini -- adam-coder, no MCP_ALLOW_STDIO, label org.opencontainers.image.revision c0f12dd1dd6240acece51c7452e98c6648486276, digest sha256:7a0768dc... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned). dev/coder/check-vendored.sh passes 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_output under that name (the two new assertions of dev/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) &ZeroWidthSpace;

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 by THREAD_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 of adam-agent also list mentions/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-image and dev/coder/UPSTREAM; no vendored file changed: dev/ and bin/adam-coder/agent are byte for byte the same at c0f12dd and at 851ff21), dev/orchestrator.yaml and dev/orchestrator.live.yaml (a toolServers entry websearch), the chat's [mock:websearch] model scripts, and dev/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-851ff21 is one linux/amd64 manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision851ff216613b2dc8f8194fd7081da9d3968186d3, digest sha256:329cdc4f... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned; the first request, minutes after the merge, was a 404 until adam-rs's coder workflow finished). dev/coder/check-vendored.sh passes 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-agent offers the relayed tool to the model under the name websearch__web_search and 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) &ZeroWidthSpace;

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-af1e715 is one linux/amd64 manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision af1e715697219d48eac67bd36d06f3568db6389c, digest sha256:bd20e509... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned). dev/coder/check-vendored.sh passes 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) &ZeroWidthSpace;

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-b64e3fe is one linux/amd64 manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision b64e3fe659721f841afaebc6f9790c3f6158bbbe, digest sha256:b3d3764d... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned). The first check of the tag, while adam-rs's coder workflow for that commit was still running, was a 404 (sha-7e5dcc3, the previous commit, already answered 200). dev/coder/check-vendored.sh passes 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) &ZeroWidthSpace;

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.json no longer starts github-mcp-server as a child process with the coder's token in its environment; it names the server over http at 127.0.0.1:8082 and holds no Authorization: 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.yaml runs the real server as the service github-mcp (network_mode: service:coder, the same image, --read-only, four toolsets); the offline coder reads mock-github-mcp instead (GITHUB_MCP_URL, and the dev mcp.json mounted over the folder's, which now has no credential either), so the sidecar is idle there. compose.live.yaml points the coder at the sidecar, drops MCP_ALLOW_STDIO (nothing starts a local process now) and GITHUB_MCP_HOST, and gives the sidecar GITHUB_HOST for 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 and GITHUB_APP_INSTALLATION_ID, the pin): the coder finds the installation of each repository's owner with the App's JWT. dev/compose.github-app.yaml sets local,scratch,other-org and no pin; deploy/chart/README.md documents app: { 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 (no Authorization) and dev/coder/wiremock/mock-github/mappings/app.json (the installation lookups and GET /app); dev/coder/UPSTREAM names the new commit and dev/coder/check-vendored.sh passes. 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 with EXPECT_INSTALLATION_LOOKUP=1 the installation lookup), .github/workflows/coder-e2e.yml and compose.yml. The adam-host crates of the orchestrator's agent-local feature move with it: the seven rev lines of orchestrator/Cargo.toml name 4edee18, and Cargo.lock re-resolved only the adam-rs packages (eight with adam-error). No code changed: nothing here implements adam's Store or uses the GitHub App or MCP types that changed. The chart's chat.image (deploy/chart/values.yaml) is the same image, sha-4edee18 at the same digest.

  • Verified 2026-10-04 (anonymous ghcr API, HTTP 200): coder:sha-4edee18 is one linux/amd64 manifest (2.92 GB of compressed layers, thirteen layers), uid 10001, entrypoint tini -- adam-coder, no MCP_ALLOW_STDIO, label org.opencontainers.image.revision 4edee180efaa39b2464822d706da27165dfc457d, digest sha256:4cbe6871... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned). The tag answered 404 while adam-rs's coder workflow for that commit was running and 200 before it finished. dev/coder/check-vendored.sh passes at that commit; docker compose config -q is clean for compose.yaml, with compose.live.yaml (and .env.example) and with dev/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.sh now asserts, and that github-mcp-server is on the image's PATH for tini -- github-mcp-server http, as adam-rs's own compose.yaml runs it); the live sidecar against github.com; GITHUB_HOST for GitHub Enterprise (https://<host> is the form the old GITHUB_MCP_HOST took); 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) &ZeroWidthSpace;

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_content or reasoning streams it as text-stream/v1 chunks of their own stream, marked kind: 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 unless MODEL_ECHO_REASONING names a member (DeepSeek's thinking mode with tools needs that). A model that needs a flag to think takes it in MODEL_EXTRA_BODY, a JSON object merged into every request (not an object, or one that sets model, messages, tools, tool_choice or stream: exit 78). Neither variable is set in compose.yaml: the scripted mock-persona writes its reasoning itself (dev/reasoning-e2e.sh). No A2A client that predates kind is affected: a reader that does not know it reads a chunk of a stream nobody states, so the orchestrator (ADR 0044, in the chart at sha-658b192 since before this pin) goes first in a rollout.

  • turn_output ends 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 (the turn_output rule above, and a repository_creation variable the process overrides with a note that there is no such tool when CREATE_REPO_OWNERS is empty; compose.yaml sets scratch, so the tool is offered). No mapping, seed or mcp.json changed (git diff 4edee18 588e9b5 -- dev bin/adam-coder/agent is that file and adam-rs's own example agents). dev/coder/UPSTREAM names the new commit and dev/coder/check-vendored.sh passes. 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=warn unless RUST_LOG is set (it then replaces the default whole): the rmcp lines 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.yaml is the environment there.

  • The crates move with it. The seven rev lines of orchestrator/Cargo.toml name 588e9b5, and Cargo.lock re-resolved the adam-rs packages (eight with adam-error) and, as a side effect of re-resolving, tempfile onto getrandom 0.3.4. adam-rs's breaking changes in this range are in adam-model (ModelResponse and Message::Assistant gained a field, ModelDelta a variant), adam-runtime (RunEvent::ReasoningDelta) and adam-service (ModelConfig gained two public fields); nothing here builds or matches on them (orch-agent-adam uses adam-runtime's RunEvent::Artifact only, to build one), nothing implements adam's Store or Notifier, 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 activate text-stream/v1.

  • The chart's chat.image (deploy/chart/values.yaml) is the same image, sha-588e9b5 at the same digest, moved by hand with this bump (the bump workflows move orchestrator, web and webSearch, not the adam image).

  • Verified 2026-10-05 (anonymous ghcr API, HTTP 200, after adam-rs's coder workflow for that commit had pushed it; the tag answered 404 until then): coder:sha-588e9b5 is one linux/amd64 manifest (2.93 GB of compressed layers, fourteen layers), uid 10001, entrypoint tini -- adam-coder, no MCP_ALLOW_STDIO, label org.opencontainers.image.revision 588e9b5b444049e32d6fda4e38d5548efca4a7bf, digest sha256:af7d8395... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned). dev/coder/check-vendored.sh passes at that commit; docker compose config -q is clean for compose.yaml and, layered on it, compose.live.yaml, dev/compose.github-app.yaml and dev/compose.devcontainer.yaml; cargo check --workspace --locked --features agent-local of 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 that turn_output ends 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) &ZeroWidthSpace;

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 main at 55c3d94 (run 37307810460, the GitHub App pass) failed with FAIL 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 no input. That is this race, not a change here.

  • No vendored file changed. git diff --stat 588e9b5 6478fbc -- dev bin/adam-coder/agent is empty, so nothing under dev/coder/ was copied; dev/coder/UPSTREAM names the new commit and dev/coder/check-vendored.sh passes. Nothing of ours that is not vendored (compose.yaml beyond 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 rev lines of orchestrator/Cargo.toml name 6478fbc and Cargo.lock re-resolved the adam-rs packages. The range changes adam-runtime (BroadcastSink, crates/adam-runtime/src/events.rs) and adam-a2a-runtime, and no commit of it has ! in its subject. No code changed: nothing here calls BroadcastSink::subscribe_run (the local adapter's RuntimeTaskBackend does, for send_stream and resubscribe), a local agent activates no text-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's chat.image (deploy/chart/values.yaml) is the same image, sha-6478fbc at the same digest, moved by hand with this bump.

  • Verified 2026-10-05 (anonymous ghcr API, HTTP 200): coder:sha-6478fbc is one linux/amd64 manifest (2.93 GB of compressed layers, fourteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision 6478fbcf0003f939c32c8f5602fe94c25eff974a, digest sha256:d17c4922... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned). dev/coder/check-vendored.sh passes 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, the steps: assertions of prepare_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) &ZeroWidthSpace;

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/agent is not empty: the agent folder (dev/coder/agent/instructions.md, and subagents/explorer.md and subagents/reviewer.md, new) and the greeting of the coder's scripted model (dev/coder/wiremock/mock-openai/mappings/coder-script.json and its SSE twin: What can I help with? where it asked which repository) are copies of d9d5ea4, which 8e1133d does not change (git diff --stat d9d5ea4 8e1133d -- dev bin/adam-coder/agent is empty, and so is that of the files ported by hand); dev/coder/UPSTREAM names 8e1133d. The range also changes upstream's dev/greeting-e2e.sh and 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.sh looks for Prepare the workspace, Run the checks, Commit and push, Open a pull request and the sub-agent step Hand to OpenCode (it was OpenCode), and dev/devcontainer-e2e.sh for Hand 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 say OpenCode are fixtures of a fake agent, not of adam. Upstream's compose.yaml passes the build argument ADAM_BUILD_REVISION to its two build: sections; ours pulls the image and has none, so nothing was ported.
  • The orchestrator's gate is unchanged. A pre-existing failure leaves the checks artifact passed: false with preexisting: true and base_commit; this repository's gate still reads passed, so a pull request the coder opens on a pre-existing failure does not pass agent-checks here. Whether it should is not decided (adam-rs ADR 0026 leaves it to this repository). The scripted runs of dev/ 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 JSONRPC first and HTTP+JSON second, at the same URL (PUBLIC_URL). Swagger UI at GET /docs and the OpenAPI document at GET /openapi.json are public; every call still needs the bearer token. They are on unless A2A_DOCS=false, which nothing here sets: the coder, the chat and the researcher of compose.yaml serve 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, JSONRPC then HTTP+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 read supportedInterfaces[0] read WireMock and kagent cards). ServerOptions and adam_service::A2aSettings gained a field docs; the orchestrator builds neither. Verified 2026-10-07 by reading adam-rs at 8e1133d (crates/adam-a2a/src/card.rs, the ADR, the A2A_DOCS rows of crates/adam-service/README.md) and a2a-client-lf 0.2.5 (src/factory.rs, create_from_card), not by calling a running agent.
  • The crates move with it. The seven rev lines of orchestrator/Cargo.toml name 8e1133d and Cargo.lock re-resolved the adam-rs packages (and added ryu-js, then, for #98, utoipa, utoipa-swagger-ui with its vendored assets, zip and their dependencies: new dependencies of adam-a2a). 13f484f (#96) gave adam's Store seven required methods; nothing here implements adam's Store (orch-agent-adam uses adam_store_postgres::PgStore and adam_core::MemoryStore as they are, behind DynStore), so no code changed. The local agents' Postgres store migrates to schema version 3 (the orch_agent_push table and the orch_agent_runs_list index) at startup, as every adam store does. TaskBackend::list has a default; nothing here implements TaskBackend.
  • Verified 2026-10-07 (anonymous ghcr API, HTTP 200): coder:sha-8e1133d is one linux/amd64 manifest (2.93 GB of compressed layers, fourteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision 8e1133d278bc909538989d269df3487184066932, digest sha256:70184513... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned). dev/coder/check-vendored.sh passes at that commit. In orchestrator/, both clippy runs of bump-adam (the workspace, and orchestrator with agent-local), cargo test -p orchestrator --features agent-local, cargo test -p orch-agent-adam and cargo test -p orch-agent-a2a pass; docker compose config -q is clean for compose.yaml alone and with each override (compose.live.yaml with dummy values), and deploy/chart/tests/render-check.sh passes.
  • 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.sh and dev/devcontainer-e2e.sh now look for, and that the coder's scripted run is not changed by its two new helper tools; dev/check-mocks.sh and dev/check-agent-mocks.sh (they need the WireMock services); /docs and the REST binding of a running agent; the Postgres cases of orch-agent-adam (no ORCH_TEST_DATABASE_URL, so the schema version 3 migration under orch_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) &ZeroWidthSpace;

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/agent is not empty: the coder's scripted model (dev/coder/wiremock/mock-openai/mappings/coder-script.json, coder-choices.json and their SSE twins) now answers with usage, cached and reasoning tokens included (the greeting: 100 in, 64 of them cached; 20 out, 5 of them reasoning). The agent folder, git-server, podman and coder-agent did not change. Upstream's own scripts and mappings that are not vendored (its greeting-e2e.sh, agent-script*.json, researcher-cards*.json) changed too.
  • Ported by hand. Upstream's compose.yaml sets MODEL_CONTEXT_WINDOW: "131072" for its coder; ours sets the same for the coder and, in x-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.yaml replaces 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's greeting-e2e.sh checks the greeting's report and the task's totals over A2A; dev/greeting-e2e.sh here checks the same through this orchestrator: the coder's card lists usage/v1, the log holds a model_usage for each model call mock-openai saw, each adam's own, openai mock-coder with contextWindow 131072, the greeting's with the mapping's tokens, then one model_usage_total with the same tokens, and the frames say one vymalo.usage per call and the run's RUN_FINISHED.usage. The scripted coder run calls no sub-agent (explorer and reviewer are not in its script), so no sub-agent attribution is asserted with the real image; dev/usage-e2e.sh keeps that on mock-usage.
  • The crates move with it, and no code changed. The seven rev lines of orchestrator/Cargo.toml name 09291a6; Cargo.lock re-resolved the adam-rs packages and adds adam-model, a new dependency of adam-runtime. #99 makes adam_model::Usage #[non_exhaustive], adds RunEvent::Usage and ModelConfig::context_window: nothing here builds a Usage or a ModelConfig, and nothing matches on RunEvent (the agent-local testkit only emits RunEvent::Artifact); the match on adam_a2a::TaskEvent in orchestrator/crates/agent-adam/src/client.rs is unchanged, as TaskEvent gained 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-09291a6 is one linux/amd64 manifest (2.93 GB of compressed layers, fourteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision 09291a61a6daaa6d01ae48c377d65309e2442ece, digest sha256:4c740462... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned). Read in adam-rs at 09291a6: the facts of the previous bullet, and that a blank MODEL_CONTEXT_WINDOW is unset (crates/adam-service/src/config.rs, not_blank). dev/coder/check-vendored.sh passes at that commit; in orchestrator/, fmt, both clippy runs of bump-adam, cargo test -p orchestrator --features agent-local and cargo test -p orch-agent-adam pass; docker compose config -q is clean for compose.yaml alone and with each override, and deploy/chart/tests/render-check.sh passes.
  • 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 a GetTask as 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 without model_usage_total, and that check would say so); the chat on netcup on the new image; the Postgres cases of orch-agent-adam.

Status note, 2026-10-09 (second): files from MCP results and remote sub-agents (adam-rs 0bfea49) &ZeroWidthSpace;

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/agent is not empty: of the vendored files only agent/instructions.md changed (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 of share_file, delegate_to_opencode and the follow-up workflow). No mapping, seed, podman or mcp.json did. Upstream's agent-cards-e2e.sh, agent-e2e.sh and greeting-e2e.sh changed, which are not vendored; none of compose.yaml, dev/compose.devcontainer.yaml, dev/compose.github-app.yaml and dev/coder-e2e.sh changed upstream.
  • Migrated. share_file's line: dev/artifact-e2e.sh compared 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 rev lines of orchestrator/Cargo.toml name 0bfea49; cargo update -p adam-host --precise re-resolved the nine adam-rs packages (the seven and adam-error, adam-model) and let tempfile take getrandom 0.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-0bfea49 is one linux/amd64 manifest (3.01 GB of compressed layers, fourteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision0bfea49ea34fa82825218fefd381ca239d191c1e, /opt/obscura/bin on its PATH, digest sha256:372c6787... (the registry's Docker-Content-Digest, and the sha-256 of the manifest it returned); the tag appeared about 25 minutes after adam-rs's coder run for that commit started (run 37932709944). Read in adam-rs at 0bfea49: 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.sh passes at that commit (56 checks). In orchestrator/, cargo fmt --check, both clippy runs of bump-adam (the workspace, and orchestrator with agent-local), cargo test --workspace (its Postgres cases on the compose Postgres) and cargo test -p orchestrator --features agent-local pass; docker compose config -q is clean for compose.yaml alone and with the overrides, deploy/chart/tests/render-check.sh passes, and dev/check-mocks.sh and dev/check-agent-mocks.sh pass 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, and dev/browser-e2e.sh and dev/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) &ZeroWidthSpace;

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/agent is empty: nothing to re-copy. The seven rev lines name 5581d40, and re-resolving the lock moved only the nine adam-rs packages.
  • Verified 2026-10-09 (anonymous ghcr API, HTTP 200): coder:sha-5581d40 is one linux/amd64 manifest (3.01 GB of compressed layers, fourteen layers), label org.opencontainers.image.revision 5581d40194181d005538a2f4c0aeee15035cd742, /opt/obscura/bin on its PATH, digest sha256:ab72fad4... (the registry's Docker-Content-Digest and the sha-256 of the manifest it returned), published by adam-rs's coder run 37948442409.

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/agent is not empty: bin/adam-coder/agent/instructions.md (a scratch project stays for the conversation, create_repository needs auto and asks unless the tier is bypass, shorter wording), and bin/adam-coder/agent/mcp.json and dev/coder-agent/mcp.json (get_me dropped from the GitHub MCP tool list) are copied again. No mapping, seed, git-server or podman file changed. Of the four files that are ours on purpose, upstream's dev/coder-e2e.sh changed (a yes is sent as the label of the yes option, a no as the form's answer, since #111 reads neither a bare yes nor a typed no as a consent): nothing of it to port, dev/workspace-e2e.sh answers 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.sh read the reason of request_repository in the coder's words, and the coder now puts it in the form's description (ask_user's description, adam-rs #110: the Choices of catalog v5 and later carries a title and a description, 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; and dev/artifact-e2e.sh compared share_file's whole line, which for an image now ends with how to use it as the picture of an ask_user option (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 rev lines of orchestrator/Cargo.toml name 8847c28; cargo update -p adam-host --precise re-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; no pub item of adam-runtime, adam-a2a or adam-a2a-runtime was removed or changed, read in git diff 5581d40 8847c28 -- crates/*/src), the store and notifier crates did not change, and nothing here calls the new items: orch-agent-adam runs the coder's A2A backend as it is.
  • Verified 2026-10-17 (anonymous ghcr API, HTTP 200): coder:sha-8847c28 is one linux/amd64 manifest (3.01 GB of compressed layers, fourteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision8847c28ac6c435dacb9d1c412c0390a29f545997, /opt/obscura/bin on its PATH, digest sha256:ecbd1731... (the registry's Docker-Content-Digest and the sha-256 of the manifest it returned), published by adam-rs's coder run 39039846841 about ten minutes after the merge. dev/coder/check-vendored.sh passes at that commit, and docker compose --profile '*' config -q is clean. In orchestrator/, on a fresh target, cargo fmt --all --check, cargo clippy --workspace --all-targets --locked -- -D warnings and cargo clippy -p orchestrator --features agent-local --all-targets --locked -- -D warnings pass, cargo test -p orchestrator --features agent-local --locked passes (312 tests in four suites) and cargo test -p orch-agent-adam --locked passes (41 tests in five); node tools/docs-check/check-docs.mjs says docs 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.sh against a coder that marks typed lines and takes a consent from its form alone, dev/choices-e2e.sh on the coder's Questions v5 forms, and dev/mentions-e2e.sh; the Postgres cases of the orchestrator's tests; the chart's render check (deploy.yml runs 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) &ZeroWidthSpace;

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/agent is empty: no agent file, mapping, seed, git-server or podman file changed upstream, so no vendored file changes here, and dev/coder/check-vendored.sh at 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.yaml is empty), so nothing is to port. The change is additive, read as adam-upgrade says: 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 of bin/adam-coder/README.md, bin/adam-agent/README.md and crates/adam-service/README.md are unchanged), and the only pub items that moved in any adam crate are additions, adam_a2a_runtime::{CONTEXT_PERSON, person_said} (git diff 8847c28 ddef35e -- 'crates/*/src/*' touches adam-a2a-runtime alone: the new person.rs, vymalo.rs and lib.rs; the rest of #116 is bin/adam-coder).
  • The crates move with it, and no code changed. The seven rev lines of orchestrator/Cargo.toml name ddef35e; cargo update -p adam-host --precise re-resolved the nine adam-rs packages (the seven and adam-error, adam-model) and, as a side effect of re-resolving and not of adam, tempfile's edge to getrandom (0.4.3 to 0.3.4, both already in the lock, which cargo metadata --locked accepts); nothing else moved. Nothing here calls the new items: orch-agent-adam runs the coder's A2A backend as it is.
  • Verified 2026-10-18 (anonymous ghcr API, HTTP 200): coder:sha-ddef35e is one linux/amd64 manifest (3.01 GB of compressed layers, fourteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revisionddef35eba1b18d42d6db8c6e2df372b40a1067fa, /opt/obscura/bin on its PATH, digest sha256:14a0e0df... (the registry's Docker-Content-Digest and the sha-256 of the manifest it returned), published by adam-rs's coder run 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.sh passes at that commit, and docker compose --profile '*' config -q is clean. In orchestrator/, on a fresh target, cargo fmt --all --check, cargo clippy --workspace --all-targets --locked -- -D warnings and cargo clippy -p orchestrator --features agent-local --all-targets --locked -- -D warnings pass, cargo test -p orchestrator --features agent-local --locked passes (312 tests in four suites) and cargo test -p orch-agent-adam --locked passes (41 tests in five); node tools/docs-check/check-docs.mjs says docs 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 of person.said is proven by adam-rs's own tests at ddef35e (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.yml runs 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's devcontainer.json is not used here.

Status note, 2026-11-19: the coder without OpenCode, parallel tool calls, sessions on every adam card (adam-rs 7418467) &ZeroWidthSpace;

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_opencode is gone and the scripted coder writes hello.txt with write_file. OPENCODE_MODEL is ignored with a warning, so compose.yaml, compose.live.yaml and .env.example drop it; dev/coder-e2e.sh asserts a Write a file step and no Hand to OpenCode sub-agent step, the variant NO_OPENCODE=1 (scenario coder-no-opencode) is gone from the script, dev/e2e-all.sh and coder-e2e.yml, and mock-openai is asked for mock-coder only.
  • 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's files/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.yaml sets ALLOW_COMMANDS_NEXT_TO_SECRETS=true as upstream's copy does, and compose.live.yaml passes the variable from .env, false by 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, both subagents/, and the new commands/ and skills/), coder-script.json and its SSE twin. Removed, as upstream removed them: the devbox and devbox-broken seeds (#208), opencode-script.json and its four bodies (#145), and chat-text.json and chat-text.sse, which only the OpenCode script named; compose.yaml no longer mounts the empty __files folder of mock-openai.
  • The crates move with it. The seven rev lines name 7418467; cargo update -p adam-host --precise re-resolved ten adam-rs packages (adam-agent-fs, now a dependency of adam-a2a-runtime, is new) and added the six crates adam-agent-fs reads YAML with (serde-saphyr, granit-parser, annotate-snippets, arraydeque, encoding_rs_io, unicode-width). RunEvent::Artifact gained id, so orch-agent-adam's testkit sets id: None; nothing here implements adam's Store or Notifier.
  • 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-7418467 is one linux/amd64 OCI manifest (3.13 GB of compressed layers, fourteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision74184670e082766990aff5393ab84ce7f49829b6, digest sha256:980c0ffb... (the registry's Docker-Content-Digest and the sha-256 of the manifest it returned). dev/coder/check-vendored.sh passes; docker compose --profile '*' config -q is clean, with the GitHub App and live overrides too; cargo fmt, both cargo clippy runs and cargo test -p orchestrator --features agent-local and -p orch-agent-adam pass in orchestrator/; docs-check says docs 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/v1 on 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) &ZeroWidthSpace;

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.0 and https://agents.vymalo.com/a2a/extensions/ui-catalog/v2 (the …/a2ui/v0.9.1 and ui-catalog/v1 names are gone), every surface says "version": "1.0" and names v1.0's basic catalog, a catalog is read only as a ui-catalog/v2 document ({catalogId, protocolVersion: "1.0", components}), an agent draws nothing in a turn whose message carries no a2uiRendererCapabilities["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/agent is empty, so no vendored file changed and the skill's step 3 copied none; only commit= in dev/coder/UPSTREAM moved.
  • The dev stack moves with it. compose.yaml's x-adam-image and its comment block; the chart's chat.image (deploy/chart/values.yaml, which the chat and the browser both take) and its comment, and the chat.image row of deploy/chart/README.md. dev/cards-e2e.sh, dev/choices-e2e.sh, dev/artifact-e2e.sh, dev/workspace-e2e.sh and dev/delete-e2e.sh now assert the v1.0 extension URI, "version": "1.0" on every operation of every surface, and the ui-catalog/v2 document the web ships (protocolVersion "1.0"; delete asserts the catalog the thread's log recorded); dev/README.md says 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-local feature (the one agent it hosts is echo, which speaks no A2UI). The range rewrites crates/adam-store-postgres (1841 lines) and crates/adam-runtime (thousands: the store on tokio-postgres, the head and the worker), so porting orch-agent-adam is a slice of its own, not this one. The residual: a build with --features agent-local still links adam at 7418467, 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 seven rev lines move when that slice lands.
  • Verified 2026-11-21 (anonymous ghcr API, HTTP 200): coder:sha-e2bfda9 is one linux/amd64 OCI image manifest (no index; 3.13 GB of compressed layers, fourteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revisione2bfda93429bb36895cc0fdb318f3fdb67bd3451, digest sha256:0541ee92... (the registry's Docker-Content-Digest and the sha-256 of the manifest it returned). dev/coder/check-vendored.sh passes (vendored files match vymalo/another-adam-rs@e2bfda9); docker compose --profile '*' config -q is clean, with compose.live.yaml and dev/compose.github-app.yaml too; dev/check-mocks.sh (178 checks) and dev/check-agent-mocks.sh (225) pass against the stack's mocks; sh deploy/chart/tests/render-check.sh passes on the new chat.image; docs-check says docs OK.
  • Unverified where this was written (the full app profile 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 by deploy.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) &ZeroWidthSpace;

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_environment tool, and the removed DEVCONTAINER_* variables are ignored with a warning that names them (nothing here sets one). A repository's own image is use_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=injector and 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). The adam-engine slices (#295, #300, #302) are not used here.
  • The crates. The seven rev lines name 7ac3281 and 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), and PgNotify::new takes the PgConfig its listener connects with. orch-agent-adam builds their pools with orch-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 (on directUrl behind a pooler). adam's listener reads the URL alone, no PG* variable and no password file, where sqlx read both for the pool and the listener alike: so orch-agent-adam refuses, at startup and as Invalid, a URL that leaves part of its server to the environment (agent-local only; the chart puts everything in the URL). Rolling an agent-local build back to 7418467 after the journal moved to version 6 is unverified: nothing here tried an older adam on a newer journal. With it the last sqlx leaves the orchestrator's workspace (ADR 0076's note of the same day). Nothing here implements adam's Store or Notifier.
  • The vendored adam-* skills move with the skills CLI (skills@1.9.0 add, as bump-adam says) from 7375087 to adam-rs's head, 94a25a5, which is 7ac3281 plus #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, in adam-agent-folder, adam-coder-deploy, adam-embed and adam-upgrade).
  • Verified 2026-11-21 (anonymous ghcr API, HTTP 200): coder:sha-7ac3281 is one linux/amd64 OCI image manifest (no index; 3.11 GB of compressed layers, thirteen layers), uid 10001, entrypoint tini -- adam-coder, /opt/obscura/bin on its PATH, label org.opencontainers.image.revision 7ac32810c0be5d1ab590c8f24d78eceb205865b0, digest sha256:5e5d70db... (the registry's Docker-Content-Digest and the sha-256 of the manifest it returned). dev/coder/check-vendored.sh passes (vendored files match vymalo/another-adam-rs@7ac3281); docker compose --profile '*' config -q is clean, with compose.live.yaml (dummy values for its required variables) and dev/compose.github-app.yaml too; sh deploy/chart/tests/render-check.sh and helm lint (helm v3.19.0, as deploy.yml) pass on the new chat.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) &ZeroWidthSpace;

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.md drops max_output_tokens (the cap follows the model now, #314) and gains the two rules of ADR 0069 decision 3, and subagents/explorer.md and subagents/reviewer.md drop their own max_output_tokens. Re-copied into dev/coder/agent/; no mapping, seed or script changed. Nothing here sets MODEL_MAX_OUTPUT_TOKENS, so the deployment's model default is the cap.
  • The chart and the dev stack. chat.defaultLocale (default en-GB) renders DEFAULT_LOCALE, so the chat's card lists locale/v1 and a request may name a tag; null lists nothing. A chat image older than 7ea653f ignores the variable.
  • Nothing in the run store moved (git diff --stat 7ac3281 7ea653f2 -- crates/adam-store-postgres is empty): no migration.
  • The crates name 7ea653f2 on every rev line, and the lockfile names one rev only.
  • The vendored adam-* skills move with the skills CLI (skills@1.9.0 update -p -y) from 94a25a5 to adam-rs's head, 50bee181, which is 7ea653f2 plus #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-7ea653f is one linux/amd64 OCI image manifest (no index; 3.11 GB of compressed layers, thirteen layers), uid 10001, entrypoint tini -- adam-coder, /opt/obscura/bin on its PATH, label org.opencontainers.image.revision 7ea653f2e9d80eaca493916bcb160d6df314ef29, digest sha256:50339821... (the registry's Docker-Content-Digest). dev/coder/check-vendored.sh passes (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.locale into 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) &ZeroWidthSpace;

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-945208e is one linux/amd64 OCI manifest (no index; 3.11 GB of compressed layers, thirteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision 945208ef3ed8f4bbef60b7d1286f08f4e7624c38, digest sha256: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 by Coder E2E only.

Status note, 2026-11-26: model pick, reasoning and the prompt statement on the real adam (adam-rs 9f90f1e6) &ZeroWidthSpace;

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/v1 on the card (#397, #407, #417: no params; 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, SessionBounds and admit (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/wiremock is empty, so nothing is re-copied and dev/coder/check-vendored.sh still matches.
  • Nothing in the run store moved (git diff --stat 945208e 9f90f1e6 -- crates/adam-store-postgres is empty): no migration, and no Store method 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 9f90f1e6 on every rev line (ten, since adam-engine and adam-store-sqlite joined the list), and Cargo.lock names 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 --locked is 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) from 50bee181 to adam-rs's head, 67dccc5d, which is 9f90f1e6 plus 54 commits. git diff 9f90f1e6 67dccc5d -- .agents/skills is two files: adam-a2a-extensions describes prompt-statement/v1 with a turn key (TURN_SIGNING_KEY_FILE, Turn-Signature, adam-request/v1) and adam-upgrade points 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-deploy kept its 50bee181 pin because its text did not change.
  • Verified 2026-11-26 (anonymous ghcr API, HTTP 200): coder:sha-9f90f1e is one linux/amd64 OCI manifest (no index; 3.11 GB of compressed layers, thirteen layers), uid 10001, entrypoint tini -- adam-coder, label org.opencontainers.image.revision 9f90f1e67b00c5cc7235acce738bced83f2ebd46, digest sha256:8352a52c... (the registry's Docker-Content-Digest). dev/coder/check-vendored.sh passes; docker compose --profile '*' config -q is clean; node tools/docs-check/check-docs.mjs is clean; cargo clippy is clean for the workspace and for -p orchestrator --features agent-local, and cargo test -p orchestrator --features agent-local and -p orch-agent-adam pass 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.