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
@@ -56,8 +56,6 @@ NAT64_PREFIXES = (
def _effective_address(address: Any) -> Any:
"""Resolve NAT64 / IPv4-mapped IPv6 to the embedded IPv4 so DNS64 networks
don't make public sites look like reserved addresses."""
if isinstance(address, ipaddress.IPv6Address):
if address.ipv4_mapped is not None:
return address.ipv4_mapped