Skip to content

Launcher daemon: spawn headless workers from launch_requested batches #5

Description

@justin808

Migrated from pre-split shakacode/agent-coordination-state#9.

Context

Launching a batch currently means manually pasting prompts into Codex or Claude sessions. Once the HTTP backend and registered batch records exist, coordination state can also act as a launch queue.

Proposal

Add a launcher daemon that turns launch_requested batches into running headless workers on the matching machine.

Suggested scope

  • Poll the HTTP API for batches tagged for the local machine.
  • Claim before spawning workers.
  • Create isolated git worktrees per lane.
  • Spawn codex exec or Claude headless workers according to lane host choice.
  • Record spawn events and lane thread handles.
  • Enforce safety: max concurrency, duplicate-spawn prevention, dry-run mode, stop/pause controls, and no secret logging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmigrated-from-stateMigrated from pre-split agent-coordination-state issue or PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions