Feat/interactive agent questions#29
Merged
Merged
Conversation
The Pi runtime sent only the bare task text; the agent's configured system_prompt (persona + 'prefer ask_user when blocked' guidance) was dropped — only the legacy claude executor applied it. Thread system_prompt through Ensure → Launch and pass it via --append-system-prompt, carrying the text in the DEUCE_SYSTEM_PROMPT env var (devpod --set-env) so arbitrary content needs no shell quoting. Lookup failure is non-fatal (falls back to no prompt).
Every agent on the Pi path now gets a global base system prompt (DefaultBaseSystemPrompt) prepended to its own system_prompt, instructing it to call the ask_user tool when blocked on a human decision instead of guessing or asking in prose — which is what surfaces the interactive typed prompt. Applied automatically to all agents (no per-agent seeding); overridable via DEUCE_AGENT_SYSTEM_PROMPT.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.