You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cron-fired prompts against a paused goal still make full-context LLM calls (~7M tokens spent answering 'goal is paused') #2390
A cron job created inside a goal-mode session (via CronCreate) keeps firing while the goal is paused. Each fire injects the prompt and produces a full-context LLM turn whose only content is "goal still paused, reply 'continue' to resume". In one session this happened 14 times across two windows (~17:41–20:41 and ~21:11–00:41 UTC), burning ~7.2M cache-read tokens in total just to answer "I'm paused".
Mode: /goal + yolo; cron job created by the agent itself (cron-fire jobId="b73dc518" cron="9,39 * * * *", firing every 30 min)
Session context ~550–600K tokens at the time, so each paused-cron turn re-read the full cached context
Evidence
From the session's agents/main/wire.jsonl and logs/kimi-code.log:
6 cron-fired turns between 17:41 and 20:41 UTC (2026-07-28), each a full LLM call answering along the lines of "目标仍在暂停中…回复"继续"即可恢复" — ~3.1M cache-read tokens for the window.
8 more cron-fired turns between 21:11 (2026-07-28) and 00:41 (2026-07-29) — ~4.1M cache-read tokens.
Each turn's assistant text explicitly states no work was done because the goal is paused.
Expected vs actual
Expected: a cron-fired prompt against a paused goal should be skipped or queued without an LLM call (deliver it on resume, or drop it with a log line).
Actual: the paused-goal short-circuit happens after the model call instead of before it — 14 full-context turns spent saying "I'm paused".
Suspected cause (speculation)
Cron-fire steers are injected unconditionally; the paused-goal check short-circuits post-generation rather than pre-dispatch.
Repro
In a goal-mode session, create a recurring cron job (CronCreate) with a short interval.
Pause the goal (/goal pause).
Observe: each cron fire still produces a full LLM turn.
Attachments (available on request)
Full session artifacts preserved (main-agent wire.jsonl with per-turn usage.record, kimi-code.log, state.json). Happy to attach.
Activity