Skip to content

docs: add set-up-the-daemon guide (guides checkpoint 4)#39

Merged
BunsDev merged 2 commits into
mainfrom
docs/guides-daemon
Jul 22, 2026
Merged

docs: add set-up-the-daemon guide (guides checkpoint 4)#39
BunsDev merged 2 commits into
mainfrom
docs/guides-daemon

Conversation

@BunsDev

@BunsDev BunsDev commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary

Checkpoint 4 of the guides-section goal, stacked on #38: the Set Up the Daemon guide — start, verify health over CLI and socket API, exercise with a session, restart/stop cleanly.

Changes

  • content/docs/guides/set-up-the-daemon.mdx — 5 steps: daemon startdaemon statuscurl --unix-socket … /api/v1/health → run a session → restart/stop; stale-socket and service-manager pointers; troubleshooting footer
  • content/docs/guides/index.mdx — catalog row linked
  • content/docs/guides/meta.json — page registered
  • scripts/check-guides-docs.mjs — pins for daemon commands, /api/v1/health, coven.daemon.v1, and the lifecycle cross-link

Verified against source (../coven @ 2850c53)

  • run_daemon_command (main.rs:2714+): exact output strings — Coven daemon: running (pid …, socket …), restarted, stopped, was not running, not running + optional hint
  • Health response shape matches content/docs/daemon/socket-api.mdx and the OpenAPI get-health page (both generated from openapi/coven.daemon.v1.yaml)

Validation

  • check-guides-docs, english-only, no-leading-h1, mermaid-parse, validate-links (0 errors) ✅
  • npx tsc --noEmit + npx fumadocs-mdx && npx next build ✅ — /docs/guides/set-up-the-daemon prerendered (build initially omitted the new page silently until the .source map was regenerated — worth knowing for review)

Third catalog entry: start the daemon, verify via status and the
/api/v1/health socket handshake, exercise with a session, restart/stop
cleanly. Output strings verified against coven-cli run_daemon_command;
health shape matches the socket-api reference and OpenAPI get-health.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 22, 2026 00:02
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
coven-docs Ready Ready Preview Jul 22, 2026 12:29am

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Guides-section walkthrough for setting up and validating the Coven daemon, and wires it into the guides navigation and CI/doc validation pins so it’s treated as a first-class guide in the docs site.

Changes:

  • Adds a new Set Up the Daemon guide covering daemon start/status, health check over the Unix-socket HTTP API, session exercise, and restart/stop.
  • Registers the new guide in the Guides index and meta.json nav.
  • Extends check-guides-docs to require the new page and pin key daemon command/API strings and a required lifecycle cross-link.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
scripts/check-guides-docs.mjs Adds the new guide page to required pages and pins daemon lifecycle mentions/links.
content/docs/guides/set-up-the-daemon.mdx New step-by-step guide for starting/validating/exercising/restarting/stopping the daemon.
content/docs/guides/meta.json Registers set-up-the-daemon in the Guides nav pages list.
content/docs/guides/index.mdx Links the new guide from the Guides catalog table.

Comment thread content/docs/guides/set-up-the-daemon.mdx Outdated
Comment thread content/docs/guides/set-up-the-daemon.mdx Outdated
Comment thread content/docs/guides/set-up-the-daemon.mdx Outdated
Comment thread content/docs/guides/set-up-the-daemon.mdx
Comment thread content/docs/guides/set-up-the-daemon.mdx
Comment thread content/docs/guides/set-up-the-daemon.mdx
- Simplify doctor prerequisite wording; add connect-a-harness prereq
  cross-link before the coven run step
- Replace macOS-specific socket paths with <coven-home> placeholders
- Derive the curl socket path from COVEN_HOME with a default

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@BunsDev
BunsDev changed the base branch from docs/guides-connect-harness to main July 22, 2026 00:38
@BunsDev
BunsDev merged commit 0703ba4 into main Jul 22, 2026
1 check passed
@BunsDev
BunsDev deleted the docs/guides-daemon branch July 22, 2026 00:39
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.

2 participants