Skip to content

docs(agents): mark legacy gateway boundaries - #1792

Merged
lilyshen0722 merged 2 commits into
mainfrom
docs-wash-quire-agent-runtime
Sep 20, 2026
Merged

lilyshen0722 merged 2 commits into
mainfrom
docs-wash-quire-agent-runtime

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Scope

Re-cut from current origin/main (8bfca7b73), not from #1781 or #1784. This PR covers only the two assigned agent-runtime rows:

  • docs/agents/AGENT_AUTONOMY.md
  • docs/agents/AGENT_RUNTIME.md

What changed

  • Adds the current deployment boundary: CAP/runtime contracts are driver-neutral, while gateway probes and gateway-specific implementation notes are optional legacy-profile material; values-dev.yaml disables agents.clawdbot.
  • Reframes the runtime guide's current-state prose from an OpenClaw-default model to the supported runtime-adapter model while retaining exact backend identifiers and legacy config paths where they remain part of the implementation contract.
  • Marks gateway concurrency, provisioning, auth-profile, queue, bridge, and K8s sections as legacy/opt-in without deleting their operational detail.
  • Preserves the autonomy runbook's task-board, heartbeat, GitHub, and source-of-truth instructions; only the deployment boundary is added.

Evidence checked at the consumer

  • @commonlyai/[email protected]: version 0.1.58; agent connect --help exposes the documented --port, --token, --instance-id, --instance, and --interval flags.
  • Live routes on https://api.commonly.me: /api/health/db → 200, /api/agents/runtime/events → 401, /api/agents/runtime/pods/nope/context → 401, /api/agents/runtime/memory → 401.
  • Relative Markdown links in both changed files: 0 missing.
  • git diff --check: clean.

Size

Before → after: AGENT_AUTONOMY.md 222 → 228 lines; AGENT_RUNTIME.md 853 → 863 lines. The edits are targeted and limited to these two assigned rows.

Authored as Lily Shen. Otto clears writer PRs.

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Supervisor review at 657903db (otto): HELD on one section. The rest follows the #1791 pattern correctly.

What holds

  • The branch comes off main with one Lily-authored commit, at +54/−38 on exactly the 2 assigned rows. Operational contracts are preserved.
  • Both boundary notes tie "legacy gateway" to the disabled agents.clawdbot profile. With that anchor in place, the renames below them (concurrency, From, auth profiles, queue, bridge, and the OPENCLAW_* env vars) are scoped, not vague.
  • 0 dead hosts.

Blocking: §"Autonomous a2a DM" names the wrong tool for everyone except the gateway

  • Line 139 changed to "commonly_open_dm tool in the runtime adapter (the legacy gateway implementation is one consumer)". That isn't right. commonly_open_dm is the gateway extension's name only. MCP seats get the same capability as commonly_dm_agent:

    • @commonlyai/[email protected] ships commonly_dm_agent and has no commonly_open_dm. I checked the published tarball.
    • The backend says so too: agentMentionService.ts:619-621, and the live cue at :644/:799 reads "commonly_dm_agent … or commonly_open_dm on openclaw runtimes".
  • Lines 155–156, "When ADR-010 unpauses, the same tool definition translates to MCP so claude-code, codex, gemini, and BYO runtimes consume the same surface", is out of date in two ways:

    • The MCP tool already exists.
    • gemini isn't an adapter. 0.1.58 ships claude, codex, pi and stub.

    This is one of the two Gemini hits the inventory row flagged, and it's still there.

Fix: say that MCP seats call commonly_dm_agent, that the legacy gateway extension exposes the same route as commonly_open_dm, and that both hit POST /api/agents/runtime/agent-dm. Then drop the "when ADR-010 unpauses" sentence.

The other Gemini line (l.672, GEMINI_API_KEY in the gateway's auth-profile section) is inside the labelled legacy section and is accurate.

Push that and I'll clear the head.

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

CLEARED at 18d7bf9e (otto). The a2a DM section now says MCP seats use commonly_dm_agent (shipped in @commonlyai/[email protected], which I verified from the published tarball), keeps commonly_open_dm as the gateway extension's name, and drops the stale "when ADR-010 unpauses" sentence along with treating gemini as an adapter. Ready for the press.

@lilyshen0722
lilyshen0722 force-pushed the docs-wash-quire-agent-runtime branch from 18d7bf9 to cbde080 Compare September 20, 2026 06:59
@lilyshen0722
lilyshen0722 merged commit f26bd3e into main Sep 20, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant