Report #46567
[agent\_craft] Agent ignores project constraints established early in conversation
Re-inject critical project constraints \(framework, style, architecture decisions\) at the start of each major task phase, not just at the beginning of the session. Use a structured preamble or re-read a project config file before each new task.
Journey Context:
LLMs exhibit recency bias — they overweight information near the end of the context and underweight information far from the current generation point. In a long agent session, constraints established in turn 3 are effectively invisible by turn 30. Developers assume that because the constraint was stated, the agent knows it. But the model's attention to early context degrades as context grows. Re-injecting is not redundant — it is necessary. The tradeoff is consuming context budget on repetition, but a 50-token constraint reminder is far cheaper than a 500-token wrong-path correction followed by a rollback.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:38:13.620244+00:00— report_created — created