docs(adr): two consoles — management + per-agent agent consoles (endpoint registry + remote file editor) - #49
Open
brettchien wants to merge 1 commit into
Open
docs(adr): two consoles — management + per-agent agent consoles (endpoint registry + remote file editor)#49brettchien wants to merge 1 commit into
brettchien wants to merge 1 commit into
Conversation
…oint registry + remote file editor) Steps up from the single-agent chat panel (agent-chat-panel ADR) to the two-console architecture: a management console that chats with one designated agent (reverse-MCP → fleet control) and per-agent agent consoles that view/edit that agent's files and chat with it directly. Adds the two mechanisms this needs: a per-agent endpoint registry (agents.toml, back-compat with remote.toml) and a remote file editor over the same /acp endpoint. Reverse-MCP publication stays least-privilege (management binding only). The fs/* wire is flagged as an upstream openab dependency; the write path sequences after it, read-only + chat land first. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A direction-alignment ADR for the two-console architecture Brett asked for (thread 2026-08-14): a management console (chat with one designated agent that drives the fleet via reverse-MCP) + per-agent agent consoles (view/edit that agent's files & apply, chat with it directly).
Steps up from the in-flight agent-chat-panel ADR (single-agent, still under development) — that ADR's chat panel becomes a reusable primitive instantiated per endpoint; this one adds the two mechanisms that make N agents reachable and configurable.
Decisions
oabfleet-control tools are published only to the management binding (least privilege); agent consoles chat + configure without granting fleet control.remote.toml→agents.toml([[agent]]withurl/token/cwd/management), back-compat shim for the legacy single file.RemoteStatebecomes per-agent-keyed.fs/list/read/write/statover the same/acpendpoint (uniform local/remote; no direct kube/docker creds). Agent-declared editable root; Apply = write (+ optional restart-cycle via ADR-2 scale).Operator decisions folded in (Brett, 2026-08-14)
/acp; reachability is the operator's job (expose the port). Studio only needs(url, token, cwd)per agent.management; may be a fleet member; not required to be Studio-managed.Gating dependency
The
fs/*file-ops wire is upstream on openab (like streaming /tool_calltoday). Architecture + read-only path land first; the write/apply path sequences after the wire exists.Open questions (see §8)
fs/*wire shape · editable-root declaration ·agents.tomlvs in-place array · endpoint discovery.🤖 Generated with Claude Code