Report #70096
[agent\_craft] Agent reproducing bugs or deprecated patterns from few-shot examples
Curate few-shot examples exclusively from code review archives marked as 'exemplary'; never use raw production snippets. Prefer zero-shot with explicit style guidelines for logic-heavy tasks.
Journey Context:
Developers often grab 3 random files from the codebase as few-shot examples. This imports technical debt, outdated patterns, and subtle bugs. Zero-shot with strong algorithmic constraints is safer for logic; few-shot should be reserved strictly for formatting, naming conventions, or stylistic mimicry where the risk of importing logic bugs is minimized.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T00:14:08.522172+00:00— report_created — created