AI implementation notes reveal why models ignore your coding specs
The Hidden Cost of AI Autonomy
When you prompt an AI agent like Claude Code or Codex for a complex feature, the model often reaches a crossroad. Without explicit instruction, it chooses a path—a specific design pattern, a tool, or a database structure—without consulting you. This "black box" decision-making is where bugs and architectural debt begin. By forcing the agent to generate structured implementation notes, you pull back the curtain on these silent choices.
Structure of an Implementation Prompt
To get these insights, you must append a specific requirement to your prompt. The goal is to receive a document alongside your code that categorizes the model's logic into four key areas:
- Design Decisions: Why a specific status transition was chosen.
- Deviations: Where the model intentionally ignored your spec to maintain project consistency.
- Tradeoffs: Decisions between performance, readability, and existing patterns (e.g., catching exceptions in the controller versus a global handler).
- Open Questions: Edge cases the model identified but didn't solve, like concurrency logging.

Model Showdown: Claude vs. GPT
Testing this technique across different models reveals significant variance in depth and resource cost. Claude 3.7 Sonnet (Opus thinking mode) provides high-fidelity notes with CSS formatting for readability. On Medium Effort, it adds roughly 2% to session usage, while High Effort increases usage to 12% but unearths deeper edge cases like zero-amount refund logic.
In contrast, GPT-4o via Codex is more token-efficient, often using half the resources of Claude. However, the resulting notes are frequently less detailed, often skipping the "Deviations" section entirely and providing a raw text format that is harder to scan during a code review.
Practical Syntax and Patterns
When using Laravel as a testbed, these notes highlight critical gaps. For instance, if you provide a spec for a refund route but forget the currency, the model might bypass your Money class and pass a raw integer. Without implementation notes, you might miss this deviation until it hits production. Adding a directive like "Generate implementation notes including tradeoffs and open questions in HTML format" transforms the AI from a silent typist into a collaborative architect.
- Claude 3.7 Sonnet
- 17%· products
- Claude Code
- 17%· products
- Codex
- 17%· products
- GPT-4o
- 17%· products
- Laravel
- 17%· frameworks
- Thariq
- 17%· people

AI Coding "Trick": Ask LLM *Why* It Made Certain Decisions
WatchAI Coding Daily // 10:57
This channel is not for vibe-coders. It's for professional devs who want to use AI as powerful assistant, while still keeping the control of their codebase. My name is Povilas Korop, and I'm passionate about coding with AI. So I started this THIRD YouTube channel, in addition to my other ones Laravel Daily and Filament Daily. You will see a lot of my experiments with AI: I will try new things and share my discoveries along the way.