Skip to content

Mission runner worker exits before feature execution with exit code 0 #889

@rlgrpe

Description

@rlgrpe

Summary

When starting a mission run, the selected worker can exit before executing any feature work. The runner returns control with:

Worker process exited unexpectedly: Droid process exited unexpectedly (exit code 0)

Impact

A mission with valid artifacts cannot start. Retrying the run does not recover.

Reproduction

  1. Create and accept a mission with valid mission artifacts (validation-contract.md, validation-state.json, features.json, mission AGENTS.md, and required .factory skills).
  2. Start the mission run.
  3. Observe that the first worker is selected and starts.
  4. Before any feature work or handoff, the worker exits and the runner returns control.
  5. Retry the mission run once; the same failure occurs.

Observed behavior

  • No feature work is completed.
  • No worker handoff is produced.
  • The runner returns a failure message containing:
    • Worker process exited unexpectedly: Droid process exited unexpectedly (exit code 0)

Expected behavior

The worker should stay alive long enough to begin the assigned feature or return a normal handoff with a concrete error.

Notes

  • This report is sanitized and omits local paths, session IDs, account details, and tokens.
  • The failure happened repeatedly on macOS.

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