Report #96483
[tooling] Agent using stale resource data after mutations causing 'file not found' or outdated context errors
Emit \`notifications/resources/list\_changed\` immediately after any mutation that affects resource content; do not wait for polling
Journey Context:
Developers often treat resources as static filesystem snapshots, but agents cache resource listings to avoid expensive re-listing operations. Without explicit invalidation notifications, agents continue using stale URIs or cached content, leading to consistency errors. The notification acts as a cache-bust signal; without it, the protocol falls back to periodic re-listing which wastes tokens and increases latency. This is particularly critical for filesystem resources after write operations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T20:31:49.184807+00:00— report_created — created