AI Fix Prompts for Wintermute

Copy any prompt below into Claude, ChatGPT, or your AI coding assistant to automatically fix the issue. Each prompt includes full context, code location, and step-by-step fix instructions.

2
Total Prompts
0
Critical (P0)
1
High (P1)
1
Medium (P2)
0
Low (P3)
Download All (Markdown) Download All (JSON) Feed these prompts to any AI coder: Claude Code, Cursor, Copilot, GPT, Ollama
HIGH ⚙ moderate #1

Review high-risk license: AGPL-3.0

license legal compliance
Expected outcome: License risk assessed and documented
Files to modify: LICENSE
Prompt (copy this into your AI assistant)
Repository 'overcuriousity__wintermute' uses AGPL-3.0 which is classified as high-risk (copyleft/proprietary). Review whether this is intentional. If distributing commercially, consider re-licensing or isolating copyleft dependencies.
Same scanner, your repo: https://repobility.com — Repobility
MEDIUM ⚒ significant #2

Simplify 5 high-complexity files

complexity refactoring quality
Expected outcome: All listed files reduced to medium or low complexity
Files to modify: wintermute/core/sub_session.py, wintermute/interfaces/matrix_thread.py, setup.sh, wintermute/core/llm_thread.py, wintermute/tools.py
Prompt (copy this into your AI assistant)
These files in 'overcuriousity__wintermute' have high cyclomatic complexity:

- **wintermute/core/sub_session.py**: complexity=311, max nesting=11, longest function=160 lines
- **wintermute/interfaces/matrix_thread.py**: complexity=298, max nesting=9, longest function=125 lines
- **setup.sh**: complexity=292, max nesting=3, longest function=744 lines
- **wintermute/core/llm_thread.py**: complexity=229, max nesting=11, longest function=160 lines
- **wintermute/tools.py**: complexity=162, max nesting=8, longest function=389 lines

For each file:
1. Break large functions into smaller, focused functions
2. Reduce nesting depth (extract early returns, use guard clauses)
3. Simplify conditional logic
4. Extract complex expressions into named variables