/bugfinding:crash-consistency-testingfrom bugfinding
Searches persistence and recovery boundaries for lost acknowledged data, torn state and incorrect error handling. Use when testing durability across crashes, storage faults, flushes, replacement or restart.
Ships in bugfinding. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Choose a real acknowledgment and a fault model, then test the allowed recovered states. A completed round trip is a different experiment: CrashMonkey records writes, constructs crash images and checks recovered persisted objects: "only files and directories explicitly persisted" at a checkpoint are compared (Mohan et al., §5.1, pp.7-8).
Read the actual caller, enabled durability mode, storage path and recovery entrypoint. Derive which acknowledged effects must survive, which pending effects may survive, and which partial states are forbidden. Linux file sync and directory-entry persistence are separate: fsync() "does not necessarily ensure that the entry in the directory" reached disk (fsync, DESCRIPTION). Atomic replacement is specified against "another process attempting to access newpath", which does not itself specify crash durability (rename, DESCRIPTION). Work through recovered-state oracles.
Select the smallest fitting existing route: a recorded process failure, a compatible filesystem crash harness, an application-facing fault filesystem, or an existing VFS seam. Keep process, kernel-cache, modeled-storage and real-device failure domains distinct; the paper's replayed crash state is not a process termination: "The crash state represents the state of storage" after a completed persistence operation (Mohan et al., §5.1). Read fault routes or Pebble VFS operation only when applicable.
Establish healthy recovery and representative forbidden-state sensitivity through the same producer and oracle; reuse the project's controls and harness-sensitivity. Then vary initial state, dependent operation sequences, persistence placement and the selected model's crash/error choices. Ace is "a bounded, and exhaustive workload generator" whose Workload Adapter is separate from generation, so bounded coverage depends on its declared operation and argument space (Ace, Overview and bounds).
Retain the requested fault and evidence it actually hit/completed before interpreting recovery. LazyFS exposes a separate completion FIFO so a reader "waits before making any post-fault consistency checks"; Pebble's MaybeError "is invoked by an errorfs before an operation is executed", which does not model partial completion (LazyFS, Running and Injecting faults, errorfs, Injector). Do not count an injector miss or unsupported setup as a tested durability guarantee.
Recover using the actual startup path, observe the promised data/metadata and perform a meaningful subsequent operation. Mountability or fsck alone misses data-loss cases: fsck "does not detect the loss or corruption of user data", so CrashMonkey runs it only on an unmountable image and checks recovered objects with read and write checks (Mohan et al., §§4.3 and 5.1, pp.6-8). Preserve unavailable recovery as unresolved evidence.
Save acknowledgment/operation order, starting image/state, selected fault boundary and hit evidence, persisted subset or write pieces, exact build/OS/filesystem/model settings, recovery inputs and raw recovered observations. The workload/checkpoint and replay state are explicit parts of CrashMonkey's reproducer: its log holds the recorded block IOs, "the crash states tested and result at each crash state" (workload interface and Result).
Reduce state, operations and fault choices together while retaining the same forbidden recovered effect; keep the original. Read worked oracle reductions, then use failure-reduction and evidence-based-triage for their mechanics. Report the tested promise, fault model, real violation or inconclusive outcome, actual resources and unsearched bounds. Bounded crash testing does not cover every crash mechanism; the authors call B3 "sound but incomplete" and exclude mid-operation crashes and I/O reordering (Mohan et al., §4.4). Read common mistakes for misleading passes.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ctoth/computational-bugfinding-skills-plugin --plugin bugfinding26 skills in this plugin
/bounded-model-checkingGuides source-linked CBMC, JBMC and Kani checks with explicit input domains, unwind bounds and executable counterexamples. Use when finite hard paths or invariants merit solver search beyond fuzzing, or when interpreting bounded verification, vacuous success or counterexample playback./bugfinding-campaignGuides compute-budgeted bugfinding campaigns by finding gaps in existing generators, execution models and correctness oracles. Use when choosing what to test next, extending an established fuzzing setup, or deciding whether more compute will produce useful evidence./configuration-differential-testingOther plugins' skills for the same job