...join(sorted(allowed_codes))
prompt = f"""
STRICT CODING. No interpretation. No diagnosis.
Use ONLY these codes:
{codes_list}

Return ONE JSON object only:
{{"block_id":"{block_id}","codes":[{{"code":"...","quote":"...","line":"L0123"}}]}}

Text:
{numbered}
""".strip()
```

### 2) Harte Output-Limits setzen (sonst “läuft” es ewig)
Im `options` Block:

```python
"options": {
  "temperature": 0,
  "num_...