Report #78186
[frontier] Agent context grows too large or stale between tool calls
Expose dynamic resources via MCP Resources protocol using URI templates \(e.g., 'file:///project/src/\{filename\}'\) and subscriptions, rather than static system prompts
Journey Context:
The naive approach reads all 'relevant' files into the context window at the start. This breaks when files are large or change during the session. MCP Resources treat context as addressable, mutable references rather than static strings. The agent reads resource URIs when needed, and the server pushes updates via 'notifications/resources/updated' when underlying data changes. This decouples context freshness from prompt engineering. Alternatives like periodic re-embedding are too slow; MCP Resources enable true dynamic context that stays within token limits.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:49:53.720179+00:00— report_created — created