Ver código fonte

chore: remove agent question guidance

Alvin Unreal 3 meses atrás
pai
commit
fb6f11cbc7

+ 0 - 1
src/agents/designer.ts

@@ -47,7 +47,6 @@ const DESIGNER_PROMPT = `You are a Designer - a frontend UI/UX specialist who cr
 - Respect existing design systems when present
 - Leverage component libraries where available
 - Prioritize visual excellence—code perfection comes second
-- If you need clarification, ask a targeted question with the \`question\` tool. If you can proceed reasonably, mark the assumption with [ASSUMED: ...] and continue working
 
 ## Review Responsibilities
 - Review existing UI for usability, responsiveness, visual consistency, and polish when asked

+ 1 - 1
src/agents/explorer.ts

@@ -28,7 +28,7 @@ Concise answer to the question
 - READ-ONLY: Search and report, don't modify
 - Be exhaustive but concise
 - Include line numbers when relevant
-- If you need clarification, ask a targeted question with the \`question\` tool. If you can proceed reasonably, mark the assumption with [ASSUMED: ...] and continue working`;
+`;
 
 export function createExplorerAgent(
   model: string,

+ 0 - 1
src/agents/fixer.ts

@@ -20,7 +20,6 @@ const FIXER_PROMPT = `You are Fixer - a fast, focused implementation specialist.
 - If context is insufficient: use grep/glob/lsp_diagnostics directly — do not delegate
 - Only ask for missing inputs you truly cannot retrieve yourself
 - Do not act as the primary reviewer; implement requested changes and surface obvious issues briefly
-- If you need clarification, ask a targeted question with the \`question\` tool. If you can proceed reasonably, mark the assumption with [ASSUMED: ...] and continue working
 
 **Output Format**:
 <summary>

+ 1 - 1
src/agents/librarian.ts

@@ -20,7 +20,7 @@ const LIBRARIAN_PROMPT = `You are Librarian - a research specialist for codebase
 - Quote relevant code snippets
 - Link to official docs when available
 - Distinguish between official and community patterns
-- If you need clarification, ask a targeted question with the \`question\` tool. If you can proceed reasonably, mark the assumption with [ASSUMED: ...] and continue working`;
+`;
 
 export function createLibrarianAgent(
   model: string,

+ 1 - 1
src/agents/observer.ts

@@ -17,7 +17,7 @@ const OBSERVER_PROMPT = `You are Observer — a visual analysis specialist.
 - Save context tokens — the Orchestrator never processes the raw file
 - Match the language of the request
 - If info not found, state clearly what's missing
-- If you need clarification, ask a targeted question with the \`question\` tool. If you can proceed reasonably, mark the assumption with [ASSUMED: ...] and continue working`;
+`;
 
 export function createObserverAgent(
   model: string,

+ 1 - 1
src/agents/oracle.ts

@@ -22,7 +22,7 @@ const ORACLE_PROMPT = `You are Oracle - a strategic technical advisor and code r
 - READ-ONLY: You advise, you don't implement
 - Focus on strategy, not execution
 - Point to specific files/lines when relevant
-- If you need clarification, ask a targeted question with the \`question\` tool. If you can proceed reasonably, mark the assumption with [ASSUMED: ...] and continue working`;
+`;
 
 export function createOracleAgent(
   model: string,