بنقرة واحدة
audit-subsystem-safety
Audit one cache subsystem for concurrency correctness defects
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Audit one cache subsystem for concurrency correctness defects
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Audit the adaptive window hill-climber and region-resize logic for implementation defects (not algorithm quality)
JSR-107 (JCache) spec-conformance audit
Audit explicit state machines (drain status, node lifecycle, async-value lifecycle) for illegal or missed transitions
Heavyweight history-mining bug audit. Walks the caffeine module's git history chronologically (oldest to HEAD), maintains a forward-tracked issue database, and surfaces concerns introduced by past commits that were never resolved. Catches bugs that snapshot mining cannot — half-fixes invisible from current state, latent+trigger pairs across multi-commit interactions, and partial refactors. Slow (model/effort-dependent; ~24h on Opus + max effort) and rare-run (every several months or before a major release).
Differential audit comparing matched code paths that should behave identically. Spawns one auditor per sibling pair (sync/async, bounded/unbounded, view consistency, bulk vs single, generated node variants, read fast vs slow, adapter conformance) and requires a concrete witness scenario where the two paths diverge observably.
Find places where documented API contracts and the implementation diverge
| name | audit-subsystem-safety |
| description | Audit one cache subsystem for concurrency correctness defects |
| argument-hint | [subsystem: eviction|refresh|write-buffer|compute|expiration|references|read] |
| context | fork |
| agent | auditor |
| disable-model-invocation | true |
Audit the following subsystem for correctness defects: $ARGUMENTS
Subsystem scopes (if no argument given, audit ALL subsystems one at a time):
DO NOT analyze code outside your scope unless it is directly called by your scoped methods.
Key cross-cutting invariants your subsystem must preserve:
For each method in your scope:
For each candidate defect:
If no defects are found, output the invariants that are preserved and WHY (which synchronization mechanism protects each one).
Do not provide praise, style suggestions, or performance observations.