Skip to content

Fix prompt delivery and suppress stderr noise#13

Merged
juhgiyo merged 1 commit intomainfrom
claude/fix-prompt-delivery
Mar 17, 2026
Merged

Fix prompt delivery and suppress stderr noise#13
juhgiyo merged 1 commit intomainfrom
claude/fix-prompt-delivery

Conversation

@juhgiyo
Copy link
Copy Markdown
Contributor

@juhgiyo juhgiyo commented Mar 17, 2026

Summary

  • Fix: GEMINI.md in --include-directories was not auto-discovered by gemini CLI (only cwd ancestors are scanned)
  • Combine role prompt + memory prompt + task into a single -p argument instead
  • Suppress stderr noise ("YOLO mode enabled", "Loaded cached credentials") via 2>/dev/null

Test plan

  • All 13 tests pass including new TestCmdBuild_PromptsInTask and TestCmdBuild_PromptsOnly
  • Run a session via strawpot-gemini and verify role/memory prompts are received by the model

🤖 Generated with Claude Code

GEMINI.md placed in --include-directories is not auto-discovered
by gemini CLI (only cwd ancestors are scanned). Fix by combining
role prompt, memory prompt, and task into a single -p argument.

Also suppresses stderr noise (YOLO mode, credentials) via 2>/dev/null.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@juhgiyo juhgiyo merged commit af4b5cd into main Mar 17, 2026
1 check passed
@juhgiyo juhgiyo deleted the claude/fix-prompt-delivery branch March 17, 2026 19:07
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.

1 participant