Skip to content

Add scheduled-tasks docs page #346

Description

@germanescobar

Problem

Issue #339 (PR #343) shipped three scheduling primitives — wake --delay, goal, and monitor — and surfaced them in the agent preamble so the agent can teach itself. There's still no user-facing docs page that walks a human through the same primitives.

Why it matters

The agent preamble is reachable only from inside a running session. New users installing Controller don't see these primitives until they start an agent. A docs/content/docs/scheduled-tasks.mdx page (modeled on worktrees.mdx) would make the feature discoverable from the docs sidebar and double as a reference once an agent is mid-loop.

Scope

Add docs/content/docs/scheduled-tasks.mdx covering:

  • controller sessions wake <self> --message "..." --delay 30s — deferred follow-up
  • controller sessions goal set <self> --condition "..." --max-turns N [--expires-at <iso>] — completion-driven loop
  • controller sessions monitor start <self> --command <shell> [--timeout-ms N] [--persistent] — long-running background watcher
  • The CI / status-check workflow as the worked example (already in the agent preamble; copy over the prose)
  • A short note on each primitive's persistence file (/Users/germanescobar/Library/Application Support/Controller/wakes.json, .../goals.json, .../monitors.json) so users can debug

Register the page in docs/content/docs/sidebar.mdx next to worktrees.

Out of scope

  • The agent preamble itself — leave that as the agent's self-teach surface
  • Implementation work; this is docs-only

Acceptance

  • docs/content/docs/scheduled-tasks.mdx exists and renders in the sidebar
  • Page covers all three primitives with at least one worked example
  • Page references the underlying state files so users know where to look when debugging

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions