Remove auto-submit status prompt from /project command

The /project command was auto-invoking a status report ("what is the
current state of the project?") as the first user message after loading
project files. This was inconsistent with the --project flag behavior,
which only loads files and displays status without auto-prompting.

Removed the auto-submit lines so /project now behaves identically to
the --project CLI flag: load files, set context, display status, done.
This commit is contained in:
Dhanji R. Prasanna
2026-02-06 16:12:33 +11:00
parent f7a240a99b
commit 799b4ced8e

View File

@@ -367,10 +367,6 @@ pub async fn handle_command<W: UiWriter>(
// Store active project // Store active project
*active_project = Some(project); *active_project = Some(project);
// Auto-submit the project status prompt
let prompt = "what is the current state of the project? and what is your suggested next best step?";
execute_task_with_retry(agent, prompt, show_prompt, show_code, output).await;
} else { } else {
output.print("❌ Failed to set project content in agent context."); output.print("❌ Failed to set project content in agent context.");
} }