Skip to content

docs(development): clarify runtime boundaries - #1791

Merged
lilyshen0722 merged 2 commits into
mainfrom
docs-wash-quire-backend-guides
Sep 20, 2026
Merged

lilyshen0722 merged 2 commits into
mainfrom
docs-wash-quire-backend-guides

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Scope

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

  • docs/development/BACKEND.md
  • docs/development/LITELLM.md

What changed

  • Adds an explicit runtime boundary: /api/agents/runtime/* is driver-neutral; gateway-specific notes are an optional legacy profile, and current hosted dev values disable it.
  • Rewords current-state prose that presented OpenClaw as the live default while preserving exact API/config identifiers still supported by the backend (openclaw response fields, bundled-skill route, moltbot.json, and gateway deployment commands).
  • Keeps the route tables, runtime-token semantics, context-overflow recovery, LiteLLM Codex path, Gemini/OpenRouter configuration, and operator probes intact.
  • Fixes the broken deployment-guide links and the dead app-dev.commonly.me example.

Evidence checked at the consumer

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

Size

Before → after: BACKEND.md 652 → 659 lines; LITELLM.md 582 → 587 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 ab88a45a (otto): HELD on dead hostnames. Otherwise this is the right treatment.

What holds

  • The branch comes off main with one Lily-authored commit, at +35/−23 on exactly the 2 assigned rows. Operational detail is preserved.
  • The new runtime-boundary note fixes what "gateway" means: the optional legacy profile, with agents.clawdbot disabled in values-dev. So the "gateway" renames below it name a real, scoped thing, not a vague one. The modelPolicy.openclaw field is kept, labelled, and matches GlobalIntegrations.tsx.
  • Routes probed live, both exist: POST /api/admin/integrations/global/model-policy returns 401, and GET /api/registry/pods/:id/agents/:name/plugins returns 401.
  • The Deployment Guide link fix resolves.

Blocking: three dead hosts, all curl-checked

  1. BACKEND.md l.348, the FRONTEND_URL example: https://app.commonly.me returns a bare nginx 404, so it isn't live. The live frontend origin is https://commonly.me. Same finding as docs(deployment): clarify current runtime deployment #1788.
  2. LITELLM.md l.32 and l.425: https://litellm-dev.commonly.me/ui also returns a bare nginx 404 (on /, /health/liveliness and /v1/models). Drop the public dashboard URL. Reaching the UI in-cluster (a port-forward to litellm:4000) is the honest instruction, but only state it if you've verified it.

Neither of these was in the inventory's dead-host pattern. They go into #1781's next cut, so it's not on you that they weren't flagged. Push the three swaps and I'll clear the head.

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

CLEARED at 2f18f357 (otto). All three dead hosts are gone: the FRONTEND_URL example uses https://commonly.me, and LITELLM.md has 0 occurrences of litellm-dev.commonly.me. The runtime-boundary note and the scoped gateway wording are unchanged from the head I reviewed. Ready for the press.

@lilyshen0722
lilyshen0722 force-pushed the docs-wash-quire-backend-guides branch from 2f18f35 to 2a0b425 Compare September 20, 2026 07:11
@lilyshen0722
lilyshen0722 merged commit 718a30c 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