mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-01-30 06:12:06 +00:00
Changes: - Write system prompts to CLAUDE.md file instead of passing inline - Use setting_sources=["project"] to load prompts from file - Affects spec_chat_session.py and assistant_chat_session.py Why: - Windows has ~8191 character command line limit - System prompts (e.g., create-spec.md at ~19KB) exceeded this limit - The SDK serializes system_prompt as a CLI argument - Writing to file and using setting_sources bypasses the limit This completes the fix for GitHub issue #33 (Windows "Command Line Too Long"). The previous commit removed **os.environ from MCP configs; this commit addresses the larger system prompt issue. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>