Skip to content

orchestration: a remote child's completion never reached its parent; add at-least-once delivery and a reconcile #386

Closed

Description

@scuttletoby

A delegated review finished, but its parent orchestrator was never told, so a NOT SAFE verdict sat unseen for about an hour.

What happened (2026-11-17):

  • The orchestrator started a read-only review child on a second linked environment with delegate_task (remote delegate). The child ran, posted its PR comment (verdict NOT SAFE, two majors), and its run ended as completed.
  • The parent thread never got the usual "Delegated task ... [completed]" wake-up. Reports from about 30 other remote children in the same hour did arrive.
  • The parent counted that slot as busy, so the environment ran 6 of 9 agents while the orchestrator believed it ran 9. Two older children started by an earlier orchestrator had also finished, unnoticed.

Two problems:

  1. Lost completion. Find why this one completion was not delivered (remote-delegate result path, the run ending while the child's last turn looked mid-work, a reconnect, or a dedupe). Fix it so delivery is at-least-once.
  2. No reconcile. Nothing checks "every child I started either reported or is still running". Proposal to evaluate:
    • a way to list a parent's delegated tasks with an undelivered result (task_status already marks a result delivered when read);
    • the parent is reminded (or cannot end a turn quietly) while an undelivered result exists;
    • the parent's slot count comes from live child status, not from its own notes.

General vs project: all of this is general T3 orchestration (any parent, any environment). No project facts.

🤖 Generated with Claude Code

Activity

  1. 11 remaining items

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions