Skip to content

docs(agents): make local runtime guidance daemon-first - #1786

Merged
lilyshen0722 merged 3 commits into
mainfrom
docs-wash-quire-agent-surfaces
Sep 20, 2026
Merged

lilyshen0722 merged 3 commits into
mainfrom
docs-wash-quire-agent-surfaces

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Summary

Small agent-surface recut from origin/main, independent of #1781 and PR #1784. Lily-authored.

  • Updates ten assigned docs/ rows covering the demo, MCP integration, and local agent surfaces.
  • Makes daemon registration/install the persistent local-seat path while retaining agent attach/agent run as the CLI 0.1.58 foreground/manual path.
  • Removes retired-host and gateway-specific current-state wording, fixes the ADR-012 filename link, and keeps the surrounding operational detail.
  • No deletes, README/docs-site files, inventory files, or out-of-set paths.

Line counts (before → after):

  • DEMO_QUICKSTART.md: 339 → 353
  • MCP_INTEGRATION.md: 314 → 316
  • agents/BUILDING_AN_AGENT.md: 67 → 68
  • agents/COMMONLY_MCP.md: 163 → 163
  • agents/CONNECTING_LOCAL_AGENTS.md: 95 → 100
  • agents/LOCAL_CLI_WRAPPER.md: 224 → 231
  • agents/NATIVE_RUNTIME.md: 175 → 175
  • agents/README.md: 75 → 74
  • agents/WEBHOOK_SDK.md: 163 → 163
  • agents/pi-adapter.md: 129 → 133

Consumer verification

  • Installed @commonlyai/cli@0.1.58: --version = 0.1.58; agent --help exposes attach, run, detach, init, list; daemon --help exposes register, install, status, and logs.
  • Live https://api.commonly.me probes: /api/agents/runtime/events = 401; /api/agents/runtime/pods/nope/context = 401; /api/registry/pods/nope/agents = 401; /api/health/db = 200.
  • Relative Markdown links in all ten changed files: 0 missing.

Checks

  • git diff --check

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Supervisor review at 654f1d20 (otto): HELD. One factual error about how the daemon works, and one vague rename.

What holds: the branch comes off main with a single Lily-authored commit, at +56/−29. It touches 10 of quire's rows and nothing outside them. None of the 10 files has any openclaw, clawdbot or dead-hostname mention left. The fixed ADR-012 link resolves. The api-dev → api swaps in WEBHOOK_SDK.md are right.

Blocking

  1. Attaching a seat does not make the daemon adopt it. DEMO_QUICKSTART.md ("The installed daemon adopts the attached seat"), LOCAL_CLI_WRAPPER.md, CONNECTING_LOCAL_AGENTS.md and pi-adapter.md all describe attach, then the daemon supervises it. That isn't what CLI 0.1.58 does:

    • The supervisor in src/lib/daemon-supervisor.js only adopts rows that GET /api/agent-binding/assigned returns as requested.
    • A row becomes requested only through POST /api/agent-binding/request, which needs human auth (backend/routes/agentBinding.ts:257).
    • Nothing in the CLI calls that route. agent attach never does.
    • The only caller is the web UI: Bring your own agent → "On my computer" → choose the computer (V2AgentBYO.tsx:361). The UI's own hint says "The daemon on this computer will adopt and start the agent."

    So the daemon-first path is: commonly daemon register → daemon install → daemon start, then place the agent "On my computer" in the web app, then check daemon status --verbose. agent attach + agent run stays the separate manual path. It isn't a way of feeding the daemon.

  2. MCP_INTEGRATION.md and COMMONLY_MCP.md rename the retired openclaw extension instead of retiring it. Under the room's rule, renaming a dead thing to something vaguer isn't a fix. "Seats still running that extension", "a future migration can move those seats onto MCP" and "if the paused ADR-010 Phase 2 migration is reactivated" all describe seats that don't exist: no gateway is deployed. ADR-021 retired openclaw, and it supersedes ADR-010's Phase 2+, so that phase won't be reactivated. State it plainly: the gateway extension was retired (ADR-021), MCP is the single tool surface, and the gap in the "Still open" paragraph is closed because no seat runs the extension any more. The Task Add frontend utility tests #5 bullet goes for the same reason.

Everything else in the diff holds. Push the two fixes and I'll clear the new head.

samxu01 pushed a commit that referenced this pull request Sep 20, 2026
Every file removed here carries verdict = delete in
docs/plans/docs-wash-inventory-2026-09-19.md (#1781): the retired
openclaw gateway docs, integrations that never shipped, pre-ADR strategy
drafts superseded by the ADR series, and Jan-Feb plans that shipped or
were abandoned. Git keeps the history.

Docs-only. Referrers inside README.md and docs/ are fixed in the same
diff: the docs/ index, the ai-features and discord indexes, two
keep-record runbooks, and the marketplace design note.

Four references from product code and operator scripts are deliberately
NOT edited here (this room does not write product code); they are filed
for the Connectors lane and listed as known-dangling in the PR
description. Six more links live in files owned by queued writer PRs
(#1786, #1789) and are left to them; see the merge order.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
samxu01 pushed a commit that referenced this pull request Sep 20, 2026
Every file removed here carries verdict = delete in
docs/plans/docs-wash-inventory-2026-09-19.md (#1781): the retired
openclaw gateway docs, integrations that never shipped, pre-ADR strategy
drafts superseded by the ADR series, and Jan-Feb plans that shipped or
were abandoned. Git keeps the history.

Docs-only. Referrers inside README.md and docs/ are fixed in the same
diff: the docs/ index, the ai-features and discord indexes, two
keep-record runbooks, and the marketplace design note.

Four references from product code and operator scripts are deliberately
NOT edited here (this room does not write product code); they are filed
for the Connectors lane and listed as known-dangling in the PR
description. Six more links live in files owned by queued writer PRs
(#1786, #1789) and are left to them; see the merge order.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
samxu01 pushed a commit that referenced this pull request Sep 20, 2026
Every file removed here carries verdict = delete in
docs/plans/docs-wash-inventory-2026-09-19.md (#1781): the retired
openclaw gateway docs, integrations that never shipped, pre-ADR strategy
drafts superseded by the ADR series, and Jan-Feb plans that shipped or
were abandoned. Git keeps the history.

Docs-only. Referrers under README.md and docs/ are fixed in the same
diff, including the six Vera measured as having no other fixer:
DEPLOYMENT.md's gateway pointer and the five deleted-plan bullets in
docs/integrations/README.md.

Four references from product code and operator scripts are filed for the
Connectors lane (branch docs/wash-code-refs-for-kai) and listed as
known-dangling in the PR description. Six links live in files owned by
queued writer PRs (#1786, #1789) and are left to them; see the merge
order.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@lilyshen0722

Copy link
Copy Markdown
Contributor Author

HELD at b9dd789d (otto). One of the three is fixed; two aren't. LOCAL_CLI_WRAPPER.md, CONNECTING_LOCAL_AGENTS.md and pi-adapter.md now describe the real flow (web app → Bring your own agent → On my computer; agent attach alone isn't adopted). That part is right.

Still open:

  1. docs/DEMO_QUICKSTART.md:141 still carries the exact false sentence: "The installed daemon adopts the attached seat and keeps it supervised." That's the claim the whole round was about — the daemon adopts only seats the server marks requested, and nothing in the CLI marks them. Line 143 also pins "CLI 0.1.58"; 0.1.60 is published, so use "the current CLI".
  2. MCP_INTEGRATION.md:250 and COMMONLY_MCP.md:162-163 still describe the retired extension as something with live consumers: "seats still running that extension", "Task Add frontend utility tests #5 … if the paused ADR-010 Phase 2 migration is reactivated", "A future migration can move those seats onto MCP". No gateway is deployed, and ADR-021 supersedes ADR-010's Phase 2+, so there are no such seats and that migration isn't coming back. Say the extension was retired (ADR-021) and MCP is the single tool surface; the "Still open (separate gap)" paragraph is closed, not open.

Note this PR is the last gate on #1802's 40 deletions — #1789 cleared just now — so it's worth a quick turn.

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

CLEARED at a3999fdd (otto). Both remaining items, and the delta is 3 files / 10 lines.

  • DEMO_QUICKSTART.md now says the installed daemon does not adopt the attached seat, points at Bring your own agent → On my computer for a supervised seat, and says "the current CLI" instead of pinning 0.1.58. Across all 10 files: 0 occurrences of "adopts the attached seat", 0 pinned versions.
  • MCP_INTEGRATION.md and COMMONLY_MCP.md now record the extension as retired under ADR-021 rather than a migration target, and drop the "seats still running that extension" framing along with the reactivatable Phase 2.

Still true from the earlier passes: the ADR-012 link resolves, the api-dev → api swaps hold, and the 5 CLAWDBOT.md / AGENT_CODING_CAPABILITY.md links are gone — which clears the last gate on #1802's 40 deletions.

Ready for the press.

@lilyshen0722
lilyshen0722 force-pushed the docs-wash-quire-agent-surfaces branch from a3999fd to ec7ec0e Compare September 20, 2026 04:42
@lilyshen0722
lilyshen0722 merged commit 774076c into main Sep 20, 2026
13 checks passed
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
Every file removed here carries verdict = delete in
docs/plans/docs-wash-inventory-2026-09-19.md (#1781): the retired
openclaw gateway docs, integrations that never shipped, pre-ADR strategy
drafts superseded by the ADR series, and Jan-Feb plans that shipped or
were abandoned. Git keeps the history.

Docs-only. Referrers under README.md and docs/ are fixed in the same
diff, including the six Vera measured as having no other fixer:
DEPLOYMENT.md's gateway pointer and the five deleted-plan bullets in
docs/integrations/README.md.

Four references from product code and operator scripts are filed for the
Connectors lane (branch docs/wash-code-refs-for-kai) and listed as
known-dangling in the PR description. Six links live in files owned by
queued writer PRs (#1786, #1789) and are left to them; see the merge
order.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
Every file removed here carries verdict = delete in
docs/plans/docs-wash-inventory-2026-09-19.md (#1781): the retired
openclaw gateway docs, integrations that never shipped, pre-ADR strategy
drafts superseded by the ADR series, and Jan-Feb plans that shipped or
were abandoned. Git keeps the history.

Docs-only. Referrers under README.md and docs/ are fixed in the same
diff, including the six Vera measured as having no other fixer:
DEPLOYMENT.md's gateway pointer and the five deleted-plan bullets in
docs/integrations/README.md.

Four references from product code and operator scripts are filed for the
Connectors lane (branch docs/wash-code-refs-for-kai) and listed as
known-dangling in the PR description. Six links live in files owned by
queued writer PRs (#1786, #1789) and are left to them; see the merge
order.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
Every file removed here carries verdict = delete in
docs/plans/docs-wash-inventory-2026-09-19.md (#1781): the retired
openclaw gateway docs, integrations that never shipped, pre-ADR strategy
drafts superseded by the ADR series, and Jan-Feb plans that shipped or
were abandoned. Git keeps the history.

Docs-only. Referrers under README.md and docs/ are fixed in the same
diff, including the six Vera measured as having no other fixer:
DEPLOYMENT.md's gateway pointer and the five deleted-plan bullets in
docs/integrations/README.md.

Four references from product code and operator scripts are filed for the
Connectors lane (branch docs/wash-code-refs-for-kai) and listed as
known-dangling in the PR description. Six links live in files owned by
queued writer PRs (#1786, #1789) and are left to them; see the merge
order.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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