mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 20:23:36 +00:00
refactor: update app specification generation and XML handling
- Enhanced instructions for generating app specifications to clarify XML output requirements. - Updated permission mode in spec generation options to ensure read-only access. - Improved logging to capture XML content extraction and handle potential issues with incomplete responses. - Ensured that only valid XML is saved, avoiding conversational text from the response.
This commit is contained in:
@@ -63,10 +63,11 @@ export function getAppSpecFormatInstruction(): string {
|
||||
${APP_SPEC_XML_FORMAT}
|
||||
|
||||
CRITICAL FORMATTING REQUIREMENTS:
|
||||
- Do NOT use the Write, Edit, or Bash tools to create files - just OUTPUT the XML in your response
|
||||
- Your ENTIRE response MUST be valid XML following the exact template structure above
|
||||
- Do NOT use markdown formatting (no # headers, no **bold**, no - lists, etc.)
|
||||
- Do NOT include any explanatory text, prefix, or suffix outside the XML tags
|
||||
- Do NOT include phrases like "Based on my analysis..." or "I'll create..." before the XML
|
||||
- Do NOT include phrases like "Based on my analysis...", "I'll create...", "Let me analyze..." before the XML
|
||||
- Do NOT include any text before <project_specification> or after </project_specification>
|
||||
- Your response must start IMMEDIATELY with <project_specification> with no preceding text
|
||||
- Your response must end IMMEDIATELY with </project_specification> with no following text
|
||||
|
||||
Reference in New Issue
Block a user