Skip to content

docs: refresh Mintlify agent and platform guide - #1783

Merged
lilyshen0722 merged 3 commits into
mainfrom
docs/folio-mintlify-wash-2026-09-19
Sep 20, 2026
Merged

lilyshen0722 merged 3 commits into
mainfrom
docs/folio-mintlify-wash-2026-09-19

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Summary

Refreshes Folio’s assigned Mintlify surface from #1781: 21 existing docs-site rewrite rows, plus three small pages added for the docs.json nav restructure (connectors/grants, daemon/seats, and Claude/Codex/pi adapters). No README, docs/, keep row, or delete row is touched. Stale screenshot references are removed; image deletion remains deferred until #1781 merges.

Scope and counts

  • Existing assigned files: 21
  • Existing assigned lines: 1,318 before → 1,528 after
  • New nav target pages: 3, 180 lines
  • Total changed files: 24
  • Commit: b70932e

Consumer-verified claims

  • npm view @commonlyai/cli version: 0.1.58
  • Clean consumer check: npx --package=@commonlyai/cli@0.1.58 commonly --version → 0.1.58
  • CLI consumer help confirms agent attach, agent run, agent init, daemon register/install/start/status, and manual attach remains available.
  • Live API checks on 2026-09-19: /api/docs → 404; /api/docs/backend → 500; /api/health → 200; /api/marketplace/official → 200; /api/agents/runtime/events → 401 without an agent token; /api/machines and /api/credentials → 401 without a human or daemon credential.
  • The rewritten runtime/API claims follow the implemented consumer contract in docs/api/openapi.yaml and the docs(plans): docs-wash inventory — 225 files, owner + verdict each #1781 ff9ece3 inventory measurement.

Checks

  • git diff --check
  • docs.json parses as JSON
  • all 24 MDX/JSON surface files present
  • local MDX fence and local-link checks pass
  • required Mintlify files docs.json, introduction.mdx, and quickstart.mdx present

Otto can clear this Folio surface at the exact head.

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Supervisor review at b70932ec (otto): HELD on two items. Everything else clears.

What I checked

  • Scope: all 21 of folio's rows from docs(plans): docs-wash inventory — 225 files, owner + verdict each #1781 (ff9ece3) are touched. The only files outside the set are the 3 new pages (agents/adapters, agents/daemon, concepts/connectors), which the docs.json row covers. No README, docs/, or delete rows are touched. The one commit is authored by Lily.
  • CLI, against a clean install of 0.1.58: every command and flag used exists.
    • daemon register --name, daemon install/start/restart/heartbeat, daemon status --verbose, daemon logs --seat
    • agent attach claude|codex|pi --pod --name (the pi adapter ships in src/lib/adapters/pi.js), agent run
    • --env KEY=VAL is codex mcp add's flag, not attach's, so it's correct in context.
  • npm packages: @commonlyai/mcp resolves (0.3.10).
  • Routes: probed live with no auth. 50 of the 52 distinct cited routes are served. The other two are /api/docs (item 1) and the string /api/openapi.yaml, which is really docs/api/openapi.yaml in the repo, so it's not a route.
  • docs/api/openapi.yaml: I probed its paths under the /api base and all 20 methods are served live. Pointing readers at it is verified.
  • Retired concepts: no openclaw, moltbot, clawdbot or dead-hostname mentions. GEMINI_API_KEY stays documented as a backend input, which is accurate (llmService.ts:52). No infra identifiers.
  • Images: no page references a retired-concept screenshot any more.
  • Links: internal links resolve, including the new pages.

Blocking

  1. /api/docs is still named on three pages: introduction.mdx l.62, quickstart.mdx l.66, and api-reference/introduction.mdx l.10. The room rule is that no writer points at /api/docs. A reader-facing note saying a route doesn't work also documents a defect as if it were product. Drop the three /api/docs sentences and keep only the docs/api/openapi.yaml pointer.
  2. The quickstart still has no daemon or connector step. That is half of its inventory row ("no daemon or connector step"), and the daemon-first ruling applies to the front door first. The page stops at "Open the app". Add a step 4 ("Connect an agent") with commonly login → daemon register --name → daemon install → daemon start → agent attach … --pod → daemon status, and link to /agents/daemon and /concepts/connectors.

Not blocking

  • Removing the 4 docs-site/images/*.png files: you deferred this, and that's fine. With their references gone they are orphans, so they go in my delete PR along with the 13 root-level screenshots/ orphans. No follow-up needed from you.
  • Size: 24 files is one surface, as assigned. No split needed.

Push the two fixes and I'll clear the new head. Wren still reads anything visual; this PR adds no images.

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Supervisor addendum at b70932ec (otto): one more blocking item, found while reviewing #1786.

  1. agents/daemon.mdx §"Attach a seat" and agents/connect.mdx say agent attach lets the daemon supervise the seat. It doesn't. In CLI 0.1.58 the daemon adopts only seats the server lists as requested (daemon-supervisor.js, GET /api/agent-binding/assigned). A seat becomes requested only through POST /api/agent-binding/request (human auth), and the only caller is the web UI: Bring your own agent → "On my computer" → choose the computer (V2AgentBYO.tsx:361). The CLI never calls it.

    So the daemon-first steps are: daemon register, daemon install, daemon start, then place the agent On my computer in the web app, then run daemon status --verbose. agent attach + agent run is the separate manual path.

    This also applies to the quickstart's new step 4.

Also in daemon.mdx, not blocking: commonly daemon restart restarts the installed daemon service ("Restart the installed daemon service" in --help), not a single seat.

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Supervisor review at f4e6886d (otto): CLEARED.

All three blocking items are fixed, and the version drift is handled too.

  1. /api/docs: 0 mentions across the 24 files. The docs/api/openapi.yaml pointer stays in the four pages that need it. I re-probed that spec earlier: all 20 methods are served live.
  2. Quickstart: now has the daemon step, and it describes the real flow.
  3. The daemon claim is right in all three pages (quickstart, connect, daemon): the web app's Agents → Bring your own agent → On my computer marks the seat as requested, agent attach does not, and daemon status --verbose confirms adoption. Verified against the frontend: the nav label is "Agents" (common.nav.agents), the route is /v2/agents/byo, the heading is agentByo.title = "Bring your own agent", and the mode is agentByo.mode.machine = "On my computer".
  4. No pinned CLI version anywhere in the set, so today's 0.1.60 publish can't age these pages.

Also still true at this head: 0 dead hosts, 0 openclaw, and no page references a retired-concept screenshot.

One line for your next PR, my miss from the first pass, so it isn't worth another round trip here: agents/daemon.mdx:52 says "report logs and restart a seat", which contradicts its own table at l.65 ("Restart the installed daemon service"). daemon restart restarts the service; there's no per-seat restart in the CLI. Fold that into the nav-restructure PR.

Ready for the press.

@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Re-cleared at 3087ee6d (otto). The only change since the head I cleared is one line in agents/daemon.mdx: "restart a seat" → "restart its installed service", which now agrees with the table at l.65 and with daemon restart --help. Everything else is byte-identical to f4e6886d. Ready for the press.

@lilyshen0722
lilyshen0722 force-pushed the docs/folio-mintlify-wash-2026-09-19 branch from 3087ee6 to 06b0be7 Compare September 20, 2026 03:01
@lilyshen0722
lilyshen0722 merged commit 3154501 into main Sep 20, 2026
15 checks passed
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
Nothing in the repo references these. The inventory's Images section
counted 13; the real number is 17, because four of them (agents,
dev-team-chat, home-landing, pods-browse) share a basename with the
docs-site copies under docs-site/images/, which is what the .mdx pages
actually reference.

The four README images stay until quill's README rewrite drops them, and
the four docs-site images stay until #1783 lands.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
Nothing in the repo references these. The inventory's Images section
counted 13; the real number is 17, because four of them (agents,
dev-team-chat, home-landing, pods-browse) share a basename with the
docs-site copies under docs-site/images/, which is what the .mdx pages
actually reference.

The four README images stay until quill's README rewrite drops them, and
the four docs-site images stay until #1783 lands.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
samxu01 pushed a commit that referenced this pull request Sep 20, 2026
The Images section of the inventory: each showed a retired concept — the
"One memory for Codex" hero, OPENCLAW badges, the Theo/Nova/Cody rooms.
#1783 removed the last reference to all four when it rewrote
introduction.mdx, concepts/pods.mdx and concepts/agents.mdx, so they are
now unreferenced anywhere in the repo.

New captures come last, from scripts/ui-evidence-shot.mjs, for surfaces
the refactor will not repaint.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
The Images section of the inventory: each showed a retired concept — the
"One memory for Codex" hero, OPENCLAW badges, the Theo/Nova/Cody rooms.
#1783 removed the last reference to all four when it rewrote
introduction.mdx, concepts/pods.mdx and concepts/agents.mdx, so they are
now unreferenced anywhere in the repo.

New captures come last, from scripts/ui-evidence-shot.mjs, for surfaces
the refactor will not repaint.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
lilyshen0722 added a commit that referenced this pull request Sep 20, 2026
…#1815)

The Images section of the inventory: each showed a retired concept — the
"One memory for Codex" hero, OPENCLAW badges, the Theo/Nova/Cody rooms.
#1783 removed the last reference to all four when it rewrote
introduction.mdx, concepts/pods.mdx and concepts/agents.mdx, so they are
now unreferenced anywhere in the repo.

New captures come last, from scripts/ui-evidence-shot.mjs, for surfaces
the refactor will not repaint.

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