Repository navigation
docs: next-phase plan (scheduler review, ACP for other harnesses, ideas from OpenClaw) - #158
Conversation
…ience review Candidate work, nothing started: a review of the scheduler, a general ACP adapter for other agent harnesses, twelve ideas from OpenClaw ranked for a single owner on a large-window model, what is left from the survey of roundhouse's own Telegram experience, what not to copy, and the security comparison.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c26089d98d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ccc4922b9a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| - **What does a scheduled run cost and say?** Every heartbeat and cron result is posted with a header, whether or not there was anything to say, and each run is a fresh full agent with the whole standing context. See B5 for what OpenClaw does instead. | ||
| - **What happens when a job keeps failing?** Today it fails again at full price on every tick. There is no backoff, no auto-disable and no "one alert per incident". | ||
| - **How do scheduled runs interact with the chat?** They do not go through `accept()` in `src/gateway/gateway.ts`, so they take no part in the per-chat queue, the interrupted-request markers, or `/cancel` (`runningTurns`). Each run also gets its own session (`buildCronThreadId(job.id, runId)` in `src/cron/runner.ts`) and its own adapter, so it never shares a transcript or a queue with a chat turn. The questions that follow from that: a run starts cold every time (no prompt cache, and nothing from the chat or from the job's previous run), runs are serial among themselves (`p-queue`, concurrency 1, in `src/cron/scheduler.ts`) but run alongside a chat turn on the same host and workspace, and the owner cannot stop a run from chat. |
There was a problem hiding this comment.
Qualify the claim that cron runs have no prompt cache
When a cache-enabled provider runs jobs again within its cache TTL, a fresh adapter and buildCronThreadId isolate Pi’s session but do not guarantee a provider cache miss for an identical system/tool prefix. Anthropic, for example, can reuse an identical marked prefix across requests (prompt caching docs), so this categorical claim may overstate re-caching costs in the scheduler analysis; describe the session as cold and make cache reuse provider- and TTL-dependent.
Useful? React with 👍 / 👎.
Adds
futureplans/next-phase.md: candidate work for after #153 to #157. Nothing in it is started.src/cron/), and turning the existing ACP client (src/agents/kiro/acp/) into a general adapter for other agent harnesses.e695c13a, nothing run), ranked for one owner on a large-window model: steering the running turn, sending files back, trimming stale tool output when the cache is cold, approval buttons, quieter scheduled runs, background commands, and others. Each has where it would land, a size, traps and open questions.Docs only; the folder is not in
package.jsonfiles, so it is not published.