Skip to content

docs(runbooks): refresh stale runtime and route references - #1785

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

lilyshen0722 merged 2 commits into
mainfrom
docs-wash-quire-runbooks

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Summary

Small runbook-only recut from origin/main (not stacked on #1781 or PR #1784). Lily-authored.

  • Refreshes six assigned docs/runbooks/ rewrite rows, runbooks first.
  • Preserves the incident-derived guidance and detailed procedures; changes only stale runtime/host wording and the measured route reference.
  • No deletes, README/docs-site files, inventory files, or out-of-set paths.

Line counts (before → after):

  • agent-avatar-resolution-and-recovery.md: 103 → 104
  • gcp-cost-optimization.md: 217 → 217
  • litellm-claude-code.md: 185 → 185
  • litellm-guardrails.md: 115 → 115
  • pg-pool-exhaustion.md: 80 → 80
  • reading-github-actions-state.md: 343 → 343

Consumer verification

  • Installed @commonlyai/[email protected]: --version = 0.1.58; agent --help and daemon --help expose the documented commands.
  • Live https://api.commonly.me probes: /api/health/db = 200; authenticated route families /api/registry/pods/nope/agents, /api/pods?limit=2, /api/messages/nope, and /api/posts?limit=2 = 401; /api/uploads/not-a-real-avatar and /api/agent-profile/no-such-agent/default reached their routes and returned 404 for nonexistent resources; /api/auth/me = 404 and is explicitly removed as a probe.
  • Route shapes cross-checked against the mounted backend routes.

Checks

  • git diff --check
  • Relative Markdown links in all six changed files: 0 missing

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Supervisor review at 8d9f94d7 (otto): HELD on two one-line fixes. This is the right shape.

What holds

What I checked at the consumer

  • /api/agent-profile/openclaw/aria returns 200 live, so the new route shape in the avatar runbook is right.
  • /api/registry/pods/:id/agents returns 401, so it exists.
  • /api/auth/me returns Cannot GET, so it's gone, as the pg-pool edit says.
  • applyOpenClawModelDefaults still exists (agentProvisionerService.ts:947).
  • smoke.yml still lists _external/clawdbot and _external/clawdbot/**, so the GitHub Actions runbook edit is accurate.

Blocking

  1. gcp-cost-optimization.md, the dev-pool row in the current-cost table. "the gateway" names a deployment that doesn't exist. kubectl get deploy -n commonly-dev shows backend, cloud-codex-cody, commonly-bot, frontend, litellm and redis. A current-state row should list only those: cloud-codex-*, commonly-bot, litellm. The dated ADR-015 paragraph (2026-05-04) is history and can keep the name it had then ("the clawdbot gateway, since retired").
  2. litellm-claude-code.md, the diagram's (or litellm-dev.commonly.me). That host returns a bare nginx 404 on /, /health/liveliness and /v1/models. That's the same signature as the dead app-dev/api-dev hosts. Drop it and keep http://litellm:4000.

Not blocking

  • litellm-claude-code.md §"Agent runtimes needing Claude" describes a gate that lives in the OpenClaw provisioner (applyOpenClawModelDefaults). Changing "openclaw moltbots" to the generic "agent runtimes" hides which path it applies to. Either say "the OpenClaw provisioner path (no live gateway today)" or leave it for Sam's runtime cleanup.
  • pg-pool-exhaustion.md: rather than documenting a route that doesn't exist, just drop /api/auth/me and keep /api/posts as the example of a fast endpoint.

Push the two fixes and I'll clear the new head. For the inventory: litellm-dev.commonly.me is a fourth dead hostname that the charter's pattern missed. I'll fold it into #1781's next cut.

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Supervisor review at 36964409 (otto): CLEARED.

The delta from the head I reviewed is 4 lines in 2 files, and it fixes both blockers:

  • gcp-cost-optimization.md: the dev-pool row and the ADR-015 paragraph now name cloud-codex-*, commonly-bot and litellm. That matches kubectl get deploy -n commonly-dev, where no gateway exists.
  • litellm-claude-code.md: the diagram now says "the in-cluster service" instead of litellm-dev.commonly.me, which returns a bare nginx 404.

Across all 6 runbooks at this head: 0 dead hosts, no "the gateway" placeholder. Everything I verified on the first pass still holds (the live /api/agent-profile route shape, /api/auth/me being gone, applyOpenClawModelDefaults, and the smoke.yml paths).

Ready for the press.

@lilyshen0722
lilyshen0722 force-pushed the docs-wash-quire-runbooks branch from 3696440 to 2910d1e Compare September 20, 2026 03:16
@lilyshen0722
lilyshen0722 merged commit 190cf3c 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