Skip to content

An Experiment shows as Silent in Needs you while a Trial runs longer than inbox.silent_minutes #1495

Closed

Description

@JacobStephens2

This was generated by AI during an A/A Experiment for #1434.

Problem

A healthy Experiment shows up as Silent in status, show and the Console, and lands in Needs you, whenever one Trial runs for more than inbox.silent_minutes.

An Experiment's Command log gets a line only when a Trial starts or ends, and the Command has no Session trace of its own. With two workers, both can be mid-Trial for longer than 10 minutes, the default inbox.silent_minutes, while the Bar allows each Trial 1800 seconds. So the silence check fires while the Trials are progressing normally.

Evidence (2026-10-27)

thirdshift show '<…>/commands/experiment/20261027T153510-0400~JF2XjMR6pNk3x5Yc.command.json::experiment-20261027T153510-0400' --json at 19:29 gave:

"health": {"state": "silent", "step": 1, "seconds": 659, "threshold_seconds": 600}

status listed it under "Needs you: … Silent … silent 11 min". The last log line was a Trial start at 19:18:23. Both Trial processes were alive, and their sandboxed Codex sessions were working: one was running tests, the other was on minute 11 of a normal review. One of them later hit the timeout, which is a separate problem covered by #1494.

Expected

Silence for an Experiment's Trials stage should reflect whether the Trials are progressing. Possible ways to get there:

  • count growth in the running Trials' session logs;
  • set the threshold from the Bar's timeout_seconds;
  • have the Experiment write a periodic waiting line, as CI watch stages do with logs.waiting_line_minutes.

The Day shift picks one. Choosing it isn't a policy question, so this could become a Ticket once the approach is chosen.

Related

#1434, #1494.

Activity

  1. added
    needs-triage
    on Oct 27, 2026
  2. added
    in-progress
    and removed
    needs-triage
    on Nov 10, 2026
  3. JacobStephens2 commented on Nov 10, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    Confirmed against main at 84c5856. Implement one standalone Ticket adding periodic Trial waiting lines to the Experiment's Command log, using the existing waiting-line mechanism.

    Diagnosis and evidence

    • src/logs/reading/captured_activity.rs:35 observes only the owning Command log and its current Session trace. Active Trial session logs are excluded.
    • src/logs/reading/health.rs marks live, non-dispatch stages Silent when that observed activity exceeds the configured threshold. src/logs/reading/inbox.rs:940 maps Silent health into Needs you.
    • src/evals/experiment/workers.rs:57 enters Trials and joins two workers. src/evals/experiment/execution.rs:202 logs each Trial's start; src/evals/experiment/trial.rs:123 logs its outcome. The supervised execution between these points has no periodic waiting line.
    • An isolated retained-record fixture reproduced the symptom with a live Experiment identity, Trials stage aged 900 seconds, Command log aged 660 seconds, no parent Session trace, fresh logs for two Trials and Bar timeout_seconds=1800. Both status --json and show --json reported silent, step=1, seconds=660, threshold_seconds=600. Text status placed it in Needs you / Silent. Further Trial-log growth left it Silent. Appending one parent waiting line changed health to ok and its group to Working.

    Implementation

    Use poll::WaitingLine during the existing Trial supervision callback around process::output_until in src/evals/experiment/execution.rs. After successful existing monitoring checks, periodically write a stamped progress::step line identifying the Trial and saying it is still running. This reports supervised waiting without claiming agent progress. Reuse the configured effective waiting interval from UserConfig::effective_waiting_line_interval, including its half-silence fallback. Keep reporting within the existing supervision lifecycle so completion, timeout, interruption and plan-limit handling naturally end it. Preserve the two-worker behavior, Bar, outcome classification and resume behavior. Trials remain private Experiment work under ADR 0027.

    Acceptance and verification

    1. A supervised Trial lasting beyond inbox.silent_minutes continues producing waiting lines before the silence threshold. With no Slow condition, its Experiment stays Working in shared Inbox observations, status and show.
    2. Cover both workers remaining mid-Trial and a configured waiting interval greater than or equal to the silence threshold. Use THIRDSHIFT_WAITING_MINUTE_MS and aged fixture timestamps rather than a ten-minute test.
    3. Cover termination of waiting output on completion, timeout, interruption and plan-limit stop; existing timeout and resume behavior must remain intact. Ordinary silent Commands must still be detected.
    4. Update the waiting_line_minutes descriptions in src/config.rs and docs/guide.md to include Trials, regenerate the manual, and check relevant hand-written site descriptions for consistency.
    5. Run focused Experiment regressions, cargo test --test run_health, and scripts/affected-tests main.

    This is one bounded fix and needs no split. Related #1499 concerns scheduled session wakeups; #1500 proposes a global default change. Neither duplicates this Trial-waiting fix.

  4. added
    bug
    ready-for-agent
    in-progress
    and removed
    in-progress
    ready-for-agent
    on Nov 10, 2026
  5. removed
    in-progress
    on Nov 11, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions