Аудит взаимодействий функций кэша Caffeine
testing
audit-feature-interaction is a Claude Code skill that analyzes defects arising from multiple Caffeine cache features operating simultaneously on the same entry. It systematically covers all 28 pairwise combinations of eight features — eviction, expiration, reference collection, refresh, loading, async completion (CompletableFuture), listener notification, and weight change — and then examines high-risk triple interactions. For each pair, the skill constructs the most adversarial thread interleaving and traces step-by-step whether processing, notifications, and final entry state are correct. Priority follows confirmed historical bugs: Refresh + Expiration tops the list, followed by Reference Collection with any feature, Async Completion with any feature, and Eviction + Weight Change. Designed for auditors and engineers hunting race conditions, counter drift, and future lifecycle edge cases in concurrent cache implementations.
- #feature-interaction
- #concurrency
- #cache-correctness
- #race-conditions
- #eviction
- #expiration