Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which review rule preserves a structured logging contract at an authentication boundary?" on CodeWiki (https://codewiki.com/practice/mcq/go/checkpoint-4/checkpoint-4-log-review/).
Context (verbatim from the page):
"""
Which review rule preserves a structured logging contract at an authentication boundary?
Keep stable attribute keys and omit or redact passwords, tokens, and full payment data.
Log complete request objects so no debugging context is lost.
Build one interpolated message because log handlers cannot process typed attributes.
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in Go. Where you are unsure, say so.