martha up/start --prompt gives an engine member its first turn (martha#102 pilot) #134

Open
opened 2026-11-24 06:07:05 +00:00 by venus · 0 comments
Member

Purpose (fix): martha up --prompt <text> and martha start <member> --prompt <text> give an engine member its first turn, as they do a Claude Code member, so the 0.4.0 pilot's engine member can be handed work from the CLI.

Found on the pilot (macula-io/martha#102; #127 c3443, "What is not established"). Today:

  • up --prompt says <member> runs on martha-engine, so it is not given your first prompt (run_the_martha_command.ts, openTheCrewInTmuxHere: promptFor keeps the prompt for Claude Code members only).
  • start <member> --prompt refuses: theFirstPromptTyped types into a Claude Code member's composer in Martha's tmux, and answers an engine member with ... types into a Claude Code member's composer only.

The engine side already takes the prompt. startMember's initial_prompt reaches the engine's start as start.prompt, queued as its first turn (start_an_engine_member.ts, queued(turns, ..., start.prompt ...)), and the engine tests prove "the start prompt is the first prompt". Only the CLI never hands it over.

The fix: for a member on the engine's host, start --prompt passes the text as initial_prompt (with the same whyNotAFirstPrompt check), with no pane typing and no tmux needed. up --prompt hands it to every member it starts, so the engine member's window runs martha start <member> --prompt <text> too.

Refs macula-io/martha#102, macula-io/martha#127

Purpose (fix): `martha up --prompt <text>` and `martha start <member> --prompt <text>` give an engine member its first turn, as they do a Claude Code member, so the 0.4.0 pilot's engine member can be handed work from the CLI. Found on the pilot (macula-io/martha#102; #127 c3443, "What is not established"). Today: - `up --prompt` says `<member> runs on martha-engine, so it is not given your first prompt` (run_the_martha_command.ts, openTheCrewInTmuxHere: `promptFor` keeps the prompt for Claude Code members only). - `start <member> --prompt` refuses: `theFirstPromptTyped` types into a Claude Code member's composer in Martha's tmux, and answers an engine member with `... types into a Claude Code member's composer only.` The engine side already takes the prompt. `startMember`'s `initial_prompt` reaches the engine's start as `start.prompt`, queued as its first turn (start_an_engine_member.ts, `queued(turns, ..., start.prompt ...)`), and the engine tests prove "the start prompt is the first prompt". Only the CLI never hands it over. **The fix:** for a member on the engine's host, `start --prompt` passes the text as `initial_prompt` (with the same `whyNotAFirstPrompt` check), with no pane typing and no tmux needed. `up --prompt` hands it to every member it starts, so the engine member's window runs `martha start <member> --prompt <text>` too. Refs macula-io/martha#102, macula-io/martha#127
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
martha-ai/martha#134
No description provided.