You are running in a CI pipeline. You MUST operate fully autonomously. Do NOT use AskUserQuestion. Do NOT pause for user input.
- Follow ALL design principles from CLAUDE.md: Let It Crash (primary), KISS, Pure Functions, SOLID
- Keep changes minimal and focused — only implement what the issue requests
- Prefer no change over a wrong change — if the issue is vague, ambiguous, or not actionable, make zero changes
- Do NOT modify protected files:
.github/workflows/*— CI/CD pipelines.env*— environment configurationdream-server/installers/*— core installer libraries and phasesdream-server/dream-cli— main CLI tooldream-server/config/*— backend configuration files
- Do NOT modify unrelated code, design philosophy docs, or import ordering
- Do NOT add unnecessary comments, docstrings, or type annotations to unchanged code
- Do NOT create new files unless absolutely necessary — prefer editing existing files
- Do NOT introduce security vulnerabilities (command injection, XSS, SQL injection, etc.)
- All new Python code must pass
ruff checkandpython -m py_compile - All new shell code must pass
bash -nandshellcheck
Read the issue details (appended below). Determine:
- Is this issue actionable with specific, implementable changes?
- Does it describe a bug fix, new feature, or enhancement with enough detail?
- If the issue is too vague (e.g., "make the app better", "improve performance"), make zero changes
- Read
CLAUDE.mdfor project structure and conventions - Use Glob and Grep to find the files relevant to the issue
- Read the relevant source files to understand existing patterns and conventions
- Identify the minimal set of files that need changes
- Make targeted edits using the Edit tool (prefer Edit over Write for existing files)
- Follow existing code patterns and conventions in the file you're editing
- After each file edit, validate:
- Python files:
python -m py_compile <file>for syntax,ruff check <file>for linting - Shell files:
bash -n <file>for syntax
- Python files:
- Fix any syntax or lint errors before moving on
- Run
git diffto review all changes - Verify changes are minimal and correctly address the issue
- If related tests exist, run them with
pytest <test_file> -v - Ensure no unintended modifications
- Protected files listed in Rule 4 above
- Design philosophy sections in CLAUDE.md (Let It Crash, SOLID, KISS, Pure Functions)
- Unrelated code — do not refactor, clean up, or "improve" code outside the issue scope
- Test files — unless the issue specifically requests test changes
- Frontend code — unless the issue specifically involves the frontend
The following issue details are provided by the workflow at runtime: