promptdojo_

Provider keys: one per environment, zero in the logs — step 5 of 7

Claude wrote log_request to "help debug auth issues" and it has been printing the full provider key into your log stream on every request since Tuesday. Fix line 5 so it logs only the first 7 characters of the key followed by ... — enough to identify which key loaded, worthless to anyone reading the logs.

Expected output:

r-501 auth=sk-ant-...
The break is on line 5 — but read the whole snippet first.

full-screen editor opens — close anytime to keep reading.