chore: add retoor header to all devplacepy source files and update style agent header rule

The diff adds the mandatory `retoor <retoor@molodetz.nl>` header comment to every `.py` file under `devplacepy/` (including `__init__.py` and `routers/__init__.py`), and updates the `StyleAgent` in `agents/style.py` to instruct agents to only add the header on created or already-edited files rather than sweeping the entire repo. The `agents/base.py` operating protocol is also revised to reorder and clarify tool discipline rules.
This commit is contained in:
2026-06-11 23:58:46 +00:00
parent fd64a6f1a7
commit 7fc9b0f715
127 changed files with 267 additions and 25 deletions
@@ -1,3 +1,5 @@
# retoor <retoor@molodetz.nl>
from devplacepy.services.openai_gateway.service import GatewayService
__all__ = ["GatewayService"]
@@ -1,3 +1,5 @@
# retoor <retoor@molodetz.nl>
UPSTREAM_URL_DEFAULT = "https://api.deepseek.com/chat/completions"
MODEL_DEFAULT = "deepseek-v4-flash"
TIMEOUT_DEFAULT = 300
@@ -1,3 +1,5 @@
# retoor <retoor@molodetz.nl>
import asyncio
import json
import logging
@@ -1,3 +1,5 @@
# retoor <retoor@molodetz.nl>
import json
import logging
import os
@@ -1,3 +1,5 @@
# retoor <retoor@molodetz.nl>
import asyncio
import hashlib
import logging