Skip to main content
Version: v5.8.1

OpsChain GA Release 5.8.1

OpsChain 5.8.1 is a generally available release, published on 2026-11-28. Every release is listed on the releases index.

Added​

  • A coding assistant can work on the estate as an agent you own, not as you. opschain mcp serve --as-agent <code> enrols the session once with a registration token (--token; the keypair kept under --dir, default <opschain home>/mcp-agents/<code>) and from then on sends every tool call over the agent channel as the agent's service account: the agent's trust tier applies on the server (under SUPERVISED a run it creates holds behind the injected approval gate and the tool returns the gate state without waiting), the agent is on the fleet and posture pages, and halting the agent plane cuts the session off with the halt's text. Your own login identifies you and is declared as the agent's owner; a session whose login does not own the agent, a state directory holding another agent, or an agent not enrolled without a token is refused by name, and enrolment needs packs:agents. Each tool call takes an optional correlation_id (one id for every call of one task, minted per call when omitted), recorded on the agent's request event and stamped on the run it creates. A run on a target an approval policy covers with require_change_record is refused by name unless the call names an approved change record in the new change_record argument of create_change and run_workflow (which also take rationale); coverage comes from the server's compiled policy matcher through the new GovernanceService.GetPolicyCoverage read (read on the node, 404-on-deny; uncovered on the SQLite store, which has no approval policies), never from a path's name, and a target no such policy covers behaves as before. Every result and refusal is masked before it leaves the process (secret-shaped fields at any depth, bearer values, the registration token and OPSCHAIN_*TOKEN* values read ******). The approval verbs are not offered to an agent and a call to one is refused by name. Eight tools join the vocabulary for every session: list_change_records, get_change_record, create_change_record, link_run_to_change_record, get_run_story, coverage, list_my_work and policy_coverage. The local lane is refused as before; on the SQLite store the agent enrols with no owner. No setting or migration changes. Reference: opschain docs integrations-mcp, cli/mcp-serve, identity, api-v2; opschain learn 12.9.
  • An organisation can require every opschain mcp serve session on its estate to be a registered agent. The new global setting agents.mcp_requires_agent_identity (default false, so nothing changes until an administrator turns it on) refuses opschain mcp serve on a person's own login or API token: the command stops at start with exit code 2, and the server refuses every call such a session makes, both with the same text — this estate reaches its assistants only as registered agents — run `opschain mcp serve --as-agent <code> --token <registration token>`; ask an administrator for an agent code. A session started with --as-agent is never affected, nor is ordinary CLI and API use on the same login — the lever governs the OpsChain MCP server lane, recognised by its client identification, and is not an API control; each server re-reads the setting at most every 30 seconds, and a value other than true, false or null is refused when written. A server on the SQLite store holds no global settings document, so the setting cannot be turned on there.
  • A workflow's leg on an environment or project node can be run by hand in one line. opschain runs create change takes --git-remote-name <name> and --git-rev <ref> on the server lane, so naming the git remote and the branch, tag or commit no longer needs a -f payload file; --git-rev defaults to HEAD when a remote is named, and like --action both overlay the payload's git_remote_name and git_rev. An asset's commit details still come from its template version: either flag on an asset path is refused by name, as is --git-rev with no remote. The local lane refuses both by name (it runs the working copy, or --ref), and a server on the SQLite store has no project nodes to target. Reference: opschain docs cli/runs-create-change.
  • A manual step can name an approval policy, so a second person approves the risky act at the moment the run reaches it. approval: <policy name> beside manual: holds the step when the run gets there: it opens an approval request under that policy and reads held until the policy's approvers release it, then awaits attestation with its own timeout: starting at the release. The request is decided with the existing verbs by the id opschain runs show prints — opschain approvals approve|reject|break-glass <request-id> (human verbs; read on the run's target) — and is listed in opschain approvals list as kind manual_step. Whoever created the run is the requester, so a self_approval: false policy never lets them approve it; the policy's quorum, strict flag and clocks apply. A rejection fails the step by name with the approver's principal id and reason (manual step <path> was rejected under policy <name> by <id>: <reason>), an expired request fails it the same way, and on_error: applies to both; attesting or refusing a held step is refused by name. The policy opts in with --subject manual_step and must cover the run's target (its action patterns are not consulted); a policy that does not exist, is disabled, does not hold manual steps or does not cover the target fails the step by name when it is reached. The step hold is independent of any approval that held the whole run at creation. ListStepAttestations serves the hold (ManualStep.approval, states held, rejected, expired), the checklist carries the step (ApprovalChecklist.manual_step), and the run's chain records audit:runs:held and audit:runs:hold_released beside the approval family's events. It needs the packs:change-governance entitlement and the PostgreSQL store: without the pack, in the local lane and on the SQLite store a run carrying the key is refused by name at creation. PostgreSQL migration 00158 admits the manual_step checklist kind; no setting changes. Reference: opschain docs change-governance, resources/step_attestation, resources/approval, orchestration, events; opschain learn 10.1.
  • A customer with only the opschain binary can build an agent. The binary embeds the OpsChain Agent SDK at its own version (the Python runtime and its adapters); opschain agent init <dir> --lang python [--adapter claude|openai|none] writes a complete agent repository offline (a hello agent with a chat and a custom capability, manifest.json with disclosures, a smoke test, a Makefile with dev, test and release, the SDK under opschain_sdk/ with VERSION and MANIFEST.sha256, and with --adapter claude the bridge plus claude-agent-sdk pinned to the tested version), carrying no token, key or server URL and refusing a non-empty target without --force; make dev runs it against opschain agent dev. agent init --upgrade refreshes only the SDK files after an upgrade and refuses, naming each file, when one was changed locally; agent init --add-adapter adds a bridge later. opschain agent sdk export --lang python <dir> writes the SDK files alone and opschain agent sdk version [--verify <dir>] prints the version, every file digest and the supported matrix and checks a tree against the embedded digests. make sdk-wheel VERSION=… builds the opschain-agent-sdk wheel from the same bytes and tests it from the installed package; The native SDK is Python only: --lang is required and any other language is refused by name, because an agent in any other language runs as a separate process behind opschain agent --target. Lesson 12.7 is rewritten around agent init and agent dev.
  • An agent reports the SDK version it was built with, and the server holds it to a supported window. The agent manifest gains sdk_version: the Python SDK stamps its own version (a source checkout reports 0.0.0+dev) on every registration, and the built-in runtime (opschain agent, opschain agent dev, opschain mcp serve --as-agent) stamps the binary's version. At registration the server compares major and minor versions with its own: an SDK up to two minor versions behind is supported silently; one further behind (or on an earlier major) is admitted with one warn:agent:sdk_skew event; one ahead of the server is refused by name (this agent was built with SDK 5.9; this server is 5.8 — upgrade the server or rebuild with opschain agent init --upgrade from this server's binary) and the refusal is recorded as the same event with refused: true. An agent that reports no version, and development builds on either side, are admitted silently. The version shows on the fleet row (sdk_version on AgentService.ListAgents/GetAgent and the /api/agents JSON), as SDK VERSION in opschain admin agent show, and on the agent's info surface; a Python adapter adds its own facts there under adapter (the Claude bridge's describe(), and the chat-completions adapter's new describe(): adapter, version, model and custody mode). Reference: opschain docs agent-plane, opschain docs events, opschain docs resources/agent.
  • The Claude bridge says what it runs, and runs the Claude Code you already have when it is current. The Claude adapter in the Python agent SDK is tested against claude-agent-sdk 0.2.174 (proven end to end with a system Claude Code 2.1.330) and picks its Claude Code CLI in a fixed order: the path in OPSCHAIN_AGENT_CLAUDE_CLI when set, else the system claude on PATH when it is at or above the tested floor (2.1.330), else the CLI bundled with the framework. At start the agent logs one line naming the framework version, the CLI it chose (pinned, system or bundle) and that CLI's version, whether a newer system CLI is on PATH, and the model in effect; adapter.describe() returns the same facts. The OpenAI adapter is now described for what it is: the chat-completions lane for OpenAI-compatible endpoints (OpenAI, Azure OpenAI, vLLM, Ollama and similar), with the model required and no default. The supported matrix claims no model: no model has been proven end to end, so opschain agent sdk version reports the Claude lane's models as framework default (none pinned), and opschain agent init --adapter claude discloses claude-agent-sdk-default as the manifest's model so the agent enrols and runs on the framework's default.

Changed​

  • Each entry in a change record's story can be opened. On a change record's page, a story entry (an approval, an attestation, a refusal, a close) that has more to show now starts with an arrow in place of its bullet: open it for the event's id, the run it belongs to with a link, and every detail the event carries. An entry with nothing more keeps a plain bullet. An entry used to show only its type and a few facts, with nothing to follow. The record's people — created by, owner, approved by, closed by, and the same values inside an entry — read as the username with the principal id in brackets, where some showed only the id.
  • A decided approval's submission packet can be exported from the console. On Reviews & approvals, the Decided tab now has Export submission on every decided run: the fingerprint-stamped packet with who requested it, each approval line, the window stamp and the release. It was offered only in the inbox, while the run was still waiting. opschain approvals export is unchanged.
  • An agent's instances are grouped by lane, and each lane says whether it serves. On an agent's page in the console, the Instances section now leads with the lane: the stable lane first, marked serving; the shadow lane last, marked not serving, with the note that it receives a copy of the stable lane's work and may only recommend; any other lane marked standing by until a rollover gives it the serving label. A summary line counts them (2 serving in stable, 1 not serving in shadow). Releases are shown inside each lane, so two instances on one release in different lanes no longer read as two serving instances. The agents list does the same for its rows: an agent's instances sit together, each numbered (instance 2 of 3), with serving or not serving beside its lane, so three rows for one agent read as three instances and not as three agents. An instance that is halted, offline or draining carries no serving mark at all: its state says so, and it is never shown as serving. opschain admin agent instances is unchanged.
  • Notifications now run on the shared notification store — nothing changes for you. On a PostgreSQL server, connectors, routes, subscriptions and delivery records move at the first boot of this release onto the shared notify tables, with OpsChain's own columns (a connector's encrypted credential, a subscription's name, domain, event kinds, metadata predicates, mute, snooze and team mirror, the feed's read, archived and collapsed state) beside them; every notification API field, id and timestamp, every opschain admin notifications command, the bell and every event read exactly as before. What reads differently: a connector delivery now re-checks, at each attempt, that its recipient may still read the event — a recipient whose read was revoked after dispatch, or who was disabled, gets no delivery and the row records suppressed (authz_revoked); a connector credential the server cannot decrypt is retried 5 times before it fails; retention never deletes a queued delivery; an outbound delivery's summary and thread key are cut at 4096 and 256 bytes (the in-app feed keeps them whole); an outbound message for an event with no node path names / where it named nothing before; a connector of an unknown kind is refused when stored. The new config.yaml key notifications.store (core, the default, or legacy — OpsChain's own notification tables, the way back for one release) is read at boot; when it changes the server copies what the previous store held into the chosen one before it serves and records a notifications:store:converged event. Upgrade this release with a fleet restart — stop every replica, upgrade, start — never a rolling one; it is required: a replica left on the old binary after the first new boot dispatches into the old tables, which are never copied again, so its notifications are invisible on the new store and deleted by a later move back to legacy, and it would deliver a copied queued notification twice. Migrations: the notify tables' own lineage (notify_goose_db_version) and PostgreSQL 00159_notification_store_convergence_v1 (additive). The local lane and a server on the SQLite store have no notifications, before or after (the key is ignored there with a notice). Reference: opschain docs notifications, config, storage, events, resources/notification.

Fixed​

  • The agent's transcript opens from an approval. In the approval context of a run an AI agent requested, the Transcript entry was a link to an address that did not exist (the project was named without /projects/), and a correct address would still have opened nothing, because it is an API address. The server now returns the right address, and the console reads the transcript with your session and shows it in a dialog (View the transcript).
  • An agent's recommendations appear on its sheet in the console. The Recommendations section of an agent's sheet (Governance → Agents) always read "No recommendations filed": the console asked for them under the project's path with a leading slash, which matched no project. It now asks by the project's code, and the agent's recent recommendations are listed with their status, lane and target. opschain recommendations list was never affected.
  • The rollover dialog on an agent's page can be used. Opening Rollover… from an agent's sheet in the console showed the dialog underneath the sheet's own overlay, so a click on any of its fields landed on the overlay and closed the sheet. A dialog opened from a sheet now sits above it and takes its clicks. This affected every dialog opened from a side sheet; the rollover itself, by opschain admin agent rollover, was never affected.
  • Token usage is counted for agents whose model client asks for a compressed answer. The model gateway forwarded the caller's Accept-Encoding to the provider, so a client that asks for compression (the Claude bridge does) received a compressed answer the gateway could not read usage from: the agent's Usage showed 0 tokens and "No model calls were brokered", info:agent:model_call carried no token figures, and a token budget on the provider or the grant was never charged. The gateway now negotiates compression with the provider itself, reads the usage, and hands the caller a plain answer. Calls made before the upgrade stay uncounted.
  • A local run in a repository holding a nested git worktree names it, instead of failing on a filesystem type. When the local lane materialises the working copy for a run and meets a directory with its own .git file (a git worktree left inside the repository, for example by an editor or a coding assistant), the run now fails with working-copy path "<path>/" is a nested git worktree (its .git is a file): remove it with "git worktree remove <path>" or move it out of the repository; a directory holding its own .git directory (a nested clone) is named as a nested git repository, to be moved out or listed in .gitignore. Both used to read is neither a regular file nor a symlink. The run is refused exactly as before — only the message changes; no setting, command or API changes.
  • Retrying a run no longer asks again for the approval of a step that already succeeded. A retry keeps the steps the first attempt finished successfully and runs only the rest, but the approval policies were matched against every step, so retrying a release whose approved publish succeeded and whose verify failed raised a fresh publish approval and sat pending_approval (and, under a policy with self-approval off, the operator who retried could not release it). The approval policies are now matched on the steps the retry has not already completed: the run's own target and action and every step that neither succeeded nor was skipped in the first attempt. A kept step is left out of the match, so the verify-only retry runs at once; a retry with a covered step still to run — because it failed, or because an earlier failure or a cancel stopped the run before it — is held exactly as before. The match errs on the side of holding: a covered step the retry's own skip list will skip, or an unfinished one beneath a kept step, still holds the retry, and a policy requiring a change record (require_change_record) is still evaluated over the run's whole composition, kept steps included. Change runs and workflow runs alike; the first attempt's approval stays on the first attempt. The local lane and a server on the SQLite store have no approval policies, so nothing changes there. Reference: opschain docs change-governance, cli/runs-retry.
  • A run held behind an approval gate says so, instead of reading queued. While an approval checklist holds a run before it starts, the change and workflow-run reads carry the new approval_hold (RunApprovalHold: the checklist's id and status, when it was raised, the display names its open lines still wait on with their principal ids, the groups and policies they name, and why an approved checklist still holds the run). opschain runs show prints Status: awaiting approval and the hold on the tree's root line — ◦ — held for approval (checklist <id>; waiting on priya, group cab) — followed by review: opschain approvals show <run-id>; an approved run held for its window reads approved, held. opschain runs list shows awaiting approval in STATUS, and -o json carries approval_hold while status keeps the stored value. The GUI's run page shows the same hold in the run's header card, linked to the checklist. A list page reads its holds in one query by run id. The local lane and a server on the SQLite store keep no checklists, so nothing changes there; no setting or migration changes. Reference: opschain docs cli/runs-show, cli/runs-list, change-governance, resources/approval, resources/change, resources/workflow_run.
  • Approval reads name people, not principal ids. Approvers, the requester, approval rows, the finaliser, the identities a line waits on and a history row's deciders now carry a display name beside the stored value — users_display, requested_by_display (with requested_by_id), approved_by_display (with approved_by_id), finalised_by_display (with finalised_by_id), waiting_on (with the new waiting_on_ids) and decided_by_display — on the checklist reads, the inbox, the decision history, approval policies and asset owner declarations. A display name is the account's current username, <username> (removed) for a disabled account, and the id itself for an id no account answers; a line now stops waiting on its own requester even when the requester's account cannot be named, because the requester is matched by principal id as well as by username. Each response resolves its names in one set-based read, and names appear only in the API answer, never in events or logs. A pending checklist also says why you cannot decide, in the new caller_eligibility_reason ("you raised this request; self-approval is off on ", "you are not an approver; the gate waits on ", …). opschain approvals show prints the names, each line's approvers and your standing:; opschain approvals list gains a WAITING ON column and prints the requester by name; opschain approvals history prints deciders by their current names; -o json keeps the ids beside the names. The GUI's approval cards show names with the id on hover and tell a requester excluded by self-approval why the Approve button is off. Nothing changes in the local lane or on the SQLite store (no checklists there); no setting or migration changes. Reference: opschain docs change-governance, resources/approval, cli/approvals-show, cli/approvals-list, cli/approvals-history.
  • An AI agent's chat no longer hangs when its model name is a placeholder or one the endpoint does not know. The placeholder model names claude-agent-sdk-default and felix-diagnosis now mean "no model pinned", so the framework's default model answers instead of a 400 "unrecognized model" on every call. A model the endpoint does not recognise ends that exchange at once with refused: the model <id> is not recognised by Claude Code <version> (<kind>); pin a model it knows or upgrade the CLI on the chat stream, and any other invalid-request refusal ends it with its reason.
  • A Python agent whose registration token is refused stops with one line, not a traceback. When the server does not accept the registration token — at the first start, or when the agent re-registers after the server stopped recognising it — the agent logs platform: registration refused — the registration token was not accepted (expired, used up, or issued by a different server); mint a fresh token with opschain admin agent-token create and restart the agent with it; exiting (re-registration refused on the second path) and run() raises RegistrationRefused, an AgentError, instead of dying on an internal exception. The new agent.run_forever() runs an agent as a script's main loop and, on any refusal it cannot recover from, exits with status 1 after that one line, without a Python traceback; the opschain agent init scaffold and the SDK's examples use it, and agent.run() still raises for code that wants the exception.

Security​

  • A run held for approval can no longer be started by pausing and resuming it. On a PostgreSQL server with approval policies, pausing and then resuming a run that was waiting for its approval started it with no approval given. A held run is now written held together with the run itself, no server starts it until it is approved, and pausing or resuming it is refused by name ("… is held for approval: approve or reject its checklist"). Pausing or resuming the parent of a held nested run is allowed and never releases the nested run. Cancelling a held run — directly, or by cancelling the run waiting on it — now rejects its approval request with the reason and who cancelled it, and clears its hold in the same cancel, so an approval arriving afterwards cannot start it. An approval is released only from an approved request (break-glass also from a pending one), so an approval whose validity lapsed while it was being released is no longer released anyway. The local lane and a server on the SQLite store have no approval policies, so nothing changes there. Reference: opschain docs change-governance, cli/runs-pause, cli/runs-resume.
  • An approval policy can no longer be walked around by how a workflow is written. A run was matched on its own target and action and its plain change steps only, so several shapes ran with no approval request at all: a change step inside a for_each; a step whose target or action is a ${{ … }} expression; a relative change target (including a change: step in an action file); and a governed change one level down — inside a nested workflow, or inside the action a change step runs. The match now reads every change step and nested workflow step, fan-out templates included, and relative targets under the run's project. A target or action computed by an expression is not known until the step runs, so the run is held against every policy that could match it: the match takes the path up to the last / before the first expression and reads each computed part of the action as "anything" — a fully computed target is held by every policy that admits the action, in every project, each of those policies adds a line to the request so all their approvers are asked, and a policy requiring a change record applies. Write the fixed part of the path literally (for example /projects/limebank/environments/${{ env }}/assets/db) to narrow it. A policy whose approvers are the impacted asset owners is the exception: the run is created, and the change the step creates is held once its target is resolved, signed by that target's owner. Runs a step creates are matched when the step is reached and held before they start unless every target a policy matches was already approved under that policy: on the released checklist (by approval or break-glass) of the parent, or of an earlier run in the same chain, which declared the target. A run that was never held covers nothing — so a policy holding only changes holds the change a workflow step creates, a policy added after the parent was created or one the parent's checklist did not carry holds its children (a change made to a policy the checklist already carried does not reach runs already approved under it), a retry covers only with its own checklist, and a parent admitted ungated under a non-strict lapse of the entitlement leaves each nested run to meet the lapse posture itself (a non-strict policy degrades loudly again and lets it run, a strict one refuses it). A retry is now also matched on the expression a step it runs again was written with, not only on the target that expression rendered last time, so a retried step can no longer reach a target nobody approved. The parent's step waits on a held nested run; approval lets it carry on, and a rejection, expiry or cancel fails the step by name. A policy requiring step-up that matches only a nested run cannot ask for an elevated session mid-run, so the nested run is held and the pending approval event names the policy. A run is refused by name ("The approval policies could not be evaluated: …") when the node metadata its policies' predicates read cannot be loaded, where before every predicate-carrying policy was treated as not matching; a change record linked to an ITSM change is no longer read as approved locally in that case, and a manual step waiting on a policy stays held and is tried again. Runs with none of these shapes are matched exactly as before; the local lane and a server on the SQLite store are unchanged. Upgrading with runs in flight: a run created before this release carries an approval request only for what the previous release matched, so a nested run its steps create after the upgrade is matched against the policies itself and may now be held for approval where it was not before; approve it as usual. Reference: opschain docs change-governance; opschain learn 10.1.
  • A run that needs approval can no longer start because its approval request failed to save. A change, workflow run, retry or nested run that a policy covers was created first and held afterwards, so a failure while recording its approval request — or the server stopping at that moment — left a run that a server then started within seconds, with no approval. A covered run is now created already held. If its approval request cannot be recorded, the run is cancelled before any step runs, a request already opened for it is rejected with the reason, and the create or retry reports the error (for a nested run, the step that created it fails with the error). A run left held without a request because the server stopped is cancelled at least 10 minutes after it was created, and a run waiting on it fails its step; a held run with an open request is never touched; an approved run whose start was interrupted is started by the server within seconds, exactly once; and a held run whose request was rejected, expired or withdrawn without the run being finished is cancelled with a reason that says so. An approved run that is cancelled while its release is starting it is never started afterwards, and a step waiting on a nested run that repeatedly cannot be read keeps waiting and records warn:runs:nested_unreadable naming it. A retry the policies refuse after its new run was created is cancelled and the retry reports the refusal. Each such run records the new audit:approvals:cancelled event with the reason; create or retry it again. A run of any kind whose preparation fails after it was created — its pack pins cannot be recorded, or a nested run cannot be linked to its step — is now cancelled before it starts, where before it was started a few seconds later. The local lane and a server on the SQLite store are unchanged. Reference: opschain docs change-governance, events.
  • A maintenance window no longer starts its declared workflow when an approval policy holds it. When a window opened, it created and started its declared workflow even when a policy covered it. The declared workflow is now created held like any other covered run and waits for its approval; meanwhile it counts as the window's unfinished declared work, so an auto-end window stays open and an auto-extending one extends up to its cap. Approval starts it through the usual release check, and a rejection or expiry finishes it without any step running. A declared workflow no policy covers starts as before, and a governed step inside it is held when it is reached, like any nested run. The local lane and a server on the SQLite store are unchanged. Reference: opschain docs change-governance, maintenance-windows.
  • The agent's hop to your sidecar process is locked down. opschain agent --target now accepts a unix:// socket (the default for a process agent dev supervises on Unix), a loopback http:// port only when every request is signed with a hop secret (--target-secret-file, or the secret handed to a supervised process), or an https:// host verified with --target-ca-cert that is signed or presented a client certificate. Plain HTTP to another host, an unsigned loopback port outside agent dev, an https:// target with neither a secret nor a client certificate, a target URL carrying credentials, a socket another user owns, a symlink in place of the socket, a socket in a directory other users can write (unless the directory carries the sticky bit, like /tmp), a socket, secret file or client key others can read, and a hop secret or TLS option given without --target are refused at start by name. The platform and the runtime remove any principal, correlation, agent tier or hop header a caller sent, under any spelling, then the runtime sets and signs its own principal and correlation headers: the principal is the calling user or service account id, and empty for any other caller (a static administration token, a step token, an anonymous call). The agent is told the calling principal and the correlation id for its own records; authorisation is decided by the platform, so no tier is sent, and a caller cannot make the agent believe one. The Python stub (opschain_sidecar) verifies the signature for you, refuses a negative, oversized or malformed Content-Length and a Transfer-Encoding body, times out a slow sender and answers a handler failure with a fixed 500; a process in another language verifies the canonical string and test vector in opschain docs cli/agent ("The signed hop"). A loopback http:// target that worked before now needs --target-secret-file, a socket, or (under agent dev) --target-insecure; an https:// target now needs --target-secret-file or a client certificate.
  • opschain agent dev --child-transport tcp supervises a process that can only listen on TCP. On macOS and Linux the supervised process still binds an owner-only unix socket by default; with --child-transport tcp (the Windows default) it gets a loopback port in OPSCHAIN_AGENT_PORT and a secret generated for this start in OPSCHAIN_AGENT_HOP_SECRET, every request is signed, the secret is never printed, and copies of those variables inherited from your shell are dropped. --child-transport socket on Windows is refused (target_socket_unsupported). Reference: opschain docs cli/agent-dev.