Cavecrew Reviewer Prompt
Cavecrew Reviewer Prompt
Dieser Prompt dient als Vorlage für Code-Reviews im Rahmen des Cavecrew-Projekts. Er fokussiert sich auf spezifische Datei-Strukturen und sicherheitskritische Importe sowie Konfigurationsanpassungen.
Prompt-Vorlage
# Task: Review and fix the recent changes for correctness Do a read-only pass over these files and fix any obvious errors: `main.py`, `handlers.py`, `config.py`, `memory.py`, `formatter.py`, `proactive.py` ## What to check 1. `main.py` — imports from handlers must include: `retry`, `remember`, `memories` All three must also be registered with `app.add_handler(CommandHandler(...))`. 2. `handlers.py` — `longterm` must be imported at the top. Check that `retry`, `remember`, `memories` are all present and complete. 3. `config.py` — `MAX_RESPONSE_SENTENCES` must be gone. `MAX_RESPONSE_CHARS` must be present with default `1200`. 4. `formatter.py` — `check_response_length` must use `max_chars` not `max_sentences`. 5. `proactive.py` — after `send_message` succeeds, `memory.save_message` must be called. Fix only what is actually broken or missing. Do not refactor anything that works. Do not change logic, only fix import errors, missing registrations, and typos.
Hinweis: Der Prompt sollte je nach aktuellem Projektstatus und spezifischen Datei-Anforderungen angepasst werden.
No comments to display
No comments to display