Skip to content

The board shows attempts:1 for a job that ran 9 times, asks for help with no reason or timestamp, and offers takeover of ended sessions #592

Description

@serge-ivo

The board under-reports attempts by up to 9×, points "Needs you" at ended sessions, and carries neither reason nor timestamp

Measured live 2026-08-15 across 83 cards on 5 boards.

1. attempts is 1 on all 83 cards, contradicting the board's own note

The board states: "retries of the same job collapse into one; attempts = run count". Counter-evidence from check_instance_loop on the same instances:

instance card runs carrying that sessionId card
f8ddc272 csess-csess_c960d431… 9 (9f3cf5ab, 026d4255, f19d0654, 0dce25fb, 2ab928b6, 86a7ad7f, ea27fbfb, 0cba259e, c7a03659) attempts:1, completed
bd43f4de csess_c306e923 3 (one needs_human, one completed, one failed) attempts:1
e4d2d031 csess_9228b52f 2 attempts:1

One of the nine (9f3cf5ab) failed. The board shows a single clean success where nine runs happened, one of them a failure.

2. Four of five "Needs you" cards point at sessions that ended

instance card card status session ended
e4d2d031 csess-csess_88a4de4b… needs_human ended 09:29:44
f8ddc272 csess-csess_f7a6fcec… needs_human ended 09:27:41
e26f69d0 csess-csess_f6266368… needs_human ended 09:29:01
5219a03a csess-csess_e94eb26a… needs_human ended 09:28:22
bd43f4de csess-csess_c306e923… needs_human active (capture-verified)

Both halves are true in isolation — the run needs a human, the session is over — but the card is keyed on the session (jobKey: csess-<id>) and its affordance is "take over" something closed. board.ts:334 is write-through with no read-time join; closeCodingSessionCards' openOnly:true guard is correct for failed/completed and leaves needs_human pointing at a dead session.

3. The card that asks for help carries no reason and no timestamp

All 5 needs_human cards have detail: "" while the run carries the full explanation ("the limit does not reset until 2026-08-17 16:00 +10:00 … beyond the 6 hours a run may wait"). No card on any of the 5 boards carries a timestamp.

Concrete cost: e4d2d031's "Waiting"/queued card task_fbf2744e… is undated on the board; instance_task_events dates it 2026-08-15T08:55:25.916Z — queued 1h13m before the audit and, given the engine limit, unable to run until Aug 17. Neither fact appears where the owner looks.

Why this misleads into a wrong action

The board is the "does anything want me?" surface (#553). It currently asks for attention without saying why, offers to take over something that no longer exists, and hides that a job was retried nine times with a failure among them.

Acceptance criteria

  1. attempts reflects the run count, or the note stops claiming it does. Verify against a card with a known multi-run session — csess_c960d431 has nine.
  2. A needs_human card whose session has ended either resolves, or states that the session is over and offers the action that is actually available.
  3. A card asking for human attention carries the run's reason and a timestamp.
  4. A guard asserts board card state agrees with the run/session it is keyed on, denominator stated per ADR 0002 over all cards on a fixture board — not one card.
  5. Red demonstrated on the nine-run case.

Verified vs inferred

  • Verified: all counts and card values read live; board.ts:334; the nine run ids; the task-event timestamp.
  • Inferred: that attempts is never incremented anywhere. It reads 1 on 83/83 and the note says otherwise, but the writer was not traced — that is the first thing to establish.

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

    P1: blocks external usersMust be true before someone who is not the owner can run an agent (#68)backendBackend / Worker / API workbugSomething isn't workingcoderThe Coder wedge agent (#68) — Engine, Pilot, Co-pilot, Loop, OverseerfrontendFrontend / UI workobservabilityA displayed value the code cannot produce, or that means something other than its label

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions