Report #53842
[frontier] Agent forgets project-specific API constraints \('never call /admin'\) while retaining general coding capabilities after 50\+ turns
Implement a Model Context Protocol \(MCP\) server that exposes constraints as read-only resources; the agent queries this server at each turn to fetch current constraints, treating them as external immutable state rather than prompt text
Journey Context:
Hard-coding constraints in system prompts leads to drift because prompts get compressed and polluted. The frontier pattern \(emerging 2025\) is treating constraints as infrastructure via MCP—similar to environment variables for software. The agent fetches constraints fresh each turn via the protocol, ensuring they survive context window compression entirely because they live outside the context window. This requires architectural shift to MCP client-server model.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:52:04.453997+00:00— report_created — created