Skip to content

bug(company-os): CEO heartbeat runs complete with "No response requested." and no tool calls after auth succeeds #20247

Open
1 of 2 issues completed

Description

@mrveiss

Found during the ABR Gate 3 re-test on MV-Stealth, 2026-10-31, after the autobot Claude login was renewed (#20202) and the CEO budget raised by the owner. Related: #19189, #20202. Earlier ABR notes also recorded no mission context in the heartbeat prompt.

What happens: the CEO heartbeat authenticates and completes, but does nothing.

Evidence (host, read-only):

  • Three consecutive transcripts for agent 0ff39c7a, at 16:45:11, 16:52:09 and 17:00:37 local, each have subtype=success, is_error=false, num_turns=1, no tool calls, and the only assistant text No response requested.
  • The 16:45 and 17:00 runs log ClaudeCodeAdapter: resuming session 35ec8b49-d6db-4ffb-ac3d-5124da0015a8; that session was also resumed at 11:15 and 11:30, before the login was renewed. The 16:52 log line was not checked.
  • The stream transcript does not record the prompt. The prompt is built by render_context_markdown (llc/adapters/subprocess_base.py:365).

Not established: the cause. Candidates only: the resumed session's history, or what the rendered prompt contains. The session file /home/autobot/.claude/projects/-opt-autobot-autobot-backend/35ec8b49-*.jsonl was not readable from my user, so it was not inspected. Whether this happens on a fresh session is untested. The status these runs get in llc_heartbeat_runs was not read.

Acceptance criteria

  • The cause is established from the prompt actually sent and the session history
  • A scheduled CEO run with pending work makes tool calls on the deployed host
  • A test covers the established cause

Generated by Claude Code

Activity

  1. added
    needs-structureMissing goal milestone, matching phase label or native parent (#19522)
    on Oct 31, 2026
  2. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor

    needs-structure cleared: goal milestone, matching phase label and native parent (or sub-issues) are all present (#19522).

  3. mrveiss commented on Oct 31, 2026

    @mrveiss
    OwnerAuthor

    Re-read on the update finished at 17:19 local time, from the Gate 3 re-test: runs ending 17:00:37 and 17:15:22 are both is_error=false, num_turns=1, no tools, No response requested., with no adapter or budget errors after the 16:45 run. The defect persists on that build.

  4. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor

    Landed via the merge train (#20421, merge 7f39520607) via #20264

  5. mrveiss commented on Nov 1, 2026

    @mrveiss
    OwnerAuthor

    Host evidence: criterion 2 is met. The install was updated to 45f10d1773 by the builtin updater; the backend restarted at 09:59 Riga time on 2026-11-01. A scheduled CEO run at 10:15 with pending work (ABRG-3), resuming its existing session:

    Before (2026-10-31, 17:00 and 17:15) Now (2026-11-01, 10:15)
    Turns 1 11
    Tool calls None 69 across the agent and a sub-agent it started
    Answer No response requested. A written report on ABRG-3
    Result is_error=false success, is_error=false

    Its first calls went through the granted command, and worked: GET /llc/agent/work-items/next and GET /llc/agent/context/<id>.

    Read from the run's output and the backend log; nothing on the host was changed.

    A new defect stops it finishing the work: its run key was revoked about 20 seconds in, while it kept working for 7 minutes, so its comment could not be posted (401 Invalid or revoked token). Filed separately and linked below. That doesn't change this issue's defect, which is that the run did nothing.

  6. mrveiss commented on Nov 1, 2026

    @mrveiss
    OwnerAuthor

    Follow-ups from this run: #20466 (run key revoked early) and #20467 (tools offered to the agent).

  7. removed
    needs-structureMissing goal milestone, matching phase label or native parent (#19522)
    on Nov 1, 2026
  8. mrveiss commented on Nov 1, 2026

    @mrveiss
    OwnerAuthor

    Naming note: the maintainer has ruled the agent called CEO in this issue is named Dispatcher (#20497). The code still says CEO until that lands.

  9. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor

    Landed via the merge train (#20455, merge 25ab945e81) via #20383

  10. mrveiss commented on Nov 1, 2026

    @mrveiss
    OwnerAuthor

    Landed via the merge train (PR #20455), from #20383: the heartbeat prompt module autobot-backend/llc/adapters/heartbeat_prompt.py has a small change and test_heartbeat_prompt_20247.py is extended. Refs only; this comment does not claim the issue's criteria are met. The issue stays open.

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions