Skip to content

Fix local Auto Run Codex prompt transport on Windows#376

Merged
pedramamini merged 1 commit intoRunMaestro:mainfrom
chr1syy:fix-codex-autorun-context
Feb 16, 2026
Merged

Fix local Auto Run Codex prompt transport on Windows#376
pedramamini merged 1 commit intoRunMaestro:mainfrom
chr1syy:fix-codex-autorun-context

Conversation

@chr1syy
Copy link
Copy Markdown
Contributor

@chr1syy chr1syy commented Feb 15, 2026

Summary

  • enable stdin-based prompt delivery for local Windows Auto Run spawns in useAgentExecution
  • keep SSH sessions unchanged (they continue using SSH stdin script handling)
  • apply the same transport behavior to background synopsis spawns
  • add regression tests for Windows local vs SSH flag behavior in useAgentExecution.test.ts

Why

Local Auto Run prompt delivery on Windows was using CLI args, which can hit command-length/escaping limits. This led to AutoRuns not being able to be executed since they only received # context as prompt. SSH runs were unaffected because they already use stdin passthrough.

Validation

  • AutoRun started working again after change

  • pm ci

  • pm run -s test -- src/tests/renderer/hooks/useAgentExecution.test.ts

  • passed (8/8)

@pedramamini pedramamini merged commit 219d22e into RunMaestro:main Feb 16, 2026
1 check failed
@chr1syy chr1syy deleted the fix-codex-autorun-context branch February 16, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants