fix(cache): scope Evidence display refresh to matching snapshot bindings

This commit is contained in:
morluto
2026-10-24 01:32:07 +08:00
parent f8b65e7872
commit 8aa40e9a61
11 changed files with 327 additions and 113 deletions
+5 -1
View File
@@ -309,7 +309,11 @@ an exact result when the target bytes, operation, parameters, provider and
settings match. Mutations and cursor-dependent calls are excluded from the
cache. Snapshot files are local and use owner-only permissions.
Dispatching a metadata write invalidates the active session's snapshot cache,
Importing an Evidence bundle refreshes retained subject display names and paths.
It preserves cached analysis results, including observations for other targets.
Snapshot bindings that use a replaced record retain its updated display path.
Dispatching a provider metadata write invalidates the active session's snapshot cache,
even if its reply fails: the provider may already have applied the write.
Close and reopen the target before importing or saving another snapshot.