/bugfinding:distributed-fault-testingfrom bugfinding
Searches real distributed deployments for correctness bugs under network, process and clock faults. Use when extending a Jepsen-style campaign, injecting network faults into a Node.js service with Toxiproxy, testing failover or recovery, or investigating whether injected faults and ambiguous requests were represented faithfully.
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 promised result or effect that a real deployment can violate during failure or recovery. Jepsen combines a target client, workload generator, nemesis and history checker. Its checker analyzes "the test's history for correctness", while its performance and availability graphs help "characterize how a system responds to different faults"; an outage or performance plot is not itself a consistency counterexample (Jepsen README, intro and Design Overview).
Read the actual target adapter, operation/acknowledgment contract, enabled read/durability mode and checker. Keep known acknowledgments, definite no-effect failures and uncertain requests distinct: :ok "must logically affect the system", :fail "must have no logical effect", and "An :info may do either." Jepsen's timeout wrapper returns (assoc op :type :info, :error ::timeout), not a known abort (jepsen.history README, Operation Semantics, jepsen.client, Timeout).
Use an existing fitting integration and owned disposable nodes. Check the selected build, dependencies, host requirements and actual runner options in Jepsen operation. Do not substitute framework names for a working target client and oracle; node operations can alter firewalls, processes and clocks: "tests may mess with clocks, add apt repos, run killall -9 on processes" (Jepsen README, VMs, Real Hardware, etc.).
Inventory the baseline first. If concurrent histories and injected checker controls already exist, choose an additional real deployment boundary: acknowledged-write failover, a lease holder paused past ownership change, asymmetric communication, or an applicable recovery transition. Treat these as target-specific hypotheses, not generic bug claims; fault model and activation develops the experiments, and its Node.js section covers Toxiproxy, process control and MSW limits.
Specify affected nodes/roles/links, directions and timing relative to meaningful operations. Select faults supported by the target adapter. Jepsen's combined nemesis packages (partition, packet, file corruption, clock, kill/pause) come with the docstring warning "Consider this API unstable."; kill and pause modes exist only when the DB implements db/Process or db/Pause, and the file-corruption package has no final repair generator. The package "is not intended for complex sequences of faults"; for those, "you'll write your own generator instead" (jepsen.nemesis.combined, ns docstring, db-generators, file-corruption-package and nemesis-package).
Observe fault activation independently of the request log, then observe healing. Jepsen 0.3.15 documents that control.util/grepkill! "has silently done nothing since 0.3.12", so kill and pause/resume faults built on it "did nothing"; a named nemesis event cannot establish that the intended fault occurred (Jepsen CHANGELOG, 0.3.15 Bugfixes).
Budget setup, calls, load, healing, final observations, analysis and teardown separately. gen/time-limit "will only emit operations for dt seconds" after its first operation; --time-limit is "Excluding setup and teardown"; and --seed "does not guarantee determinism in general" because behavior depends on "the timing and responses to each request" (jepsen.generator, time-limit, jepsen.cli, test-opt-spec).
Use the target's final repair and observation phases. The etcd producer logs "Healing cluster", runs the nemesis final generator, sleeps 10 seconds, then runs the workload's final client generator; that fixed sleep is an implementation choice, not proof another target has converged (jepsen.etcd, etcd-test). The checker runs only after the database is torn down (step "7. Teardown the database" precedes step 9, "When the generator is finished, invoke the checker with the history"), so every observation the oracle needs must be a recorded operation (jepsen.core, run!). Read recovery and evidence before teardown.
Inspect explicit checker and subchecker results, admission and witnesses. check-safe turns a checker exception into {:valid? :unknown ...}; valid-priorities ranks true 0, :unknown 0.5 and false 1, which makes a false sub-result dominate unknown in composition (jepsen.checker, check-safe, valid-priorities and Compose). Record the checker version: Jepsen 0.3.15 notes that Elle 0.2.8 fixed a bug that made rw-register workloads "incorrectly infer cyclic version orders for keys", so a verdict from an affected version needs re-analysis (Jepsen CHANGELOG, 0.3.15 Bugfixes). Use linearizability-checking or transactional-history-testing for the promised history model, crash-consistency-testing for storage-failure semantics, and deterministic-simulation for controlled environment replay.
Return the tested guarantee, actual activated faults/topology, reached successful operations, uncertain outcomes, recovery observations, explicit verdict/witness, resource use and artifact paths. Preserve source/build/configuration, raw history and actual replay attempts; traceable observations enable inspectable contradictions but have model limits. Blind register writes "destroy history"; detected cycles "can be presented to the user as a witness of an anomaly"; yet "In practice, we typically fail to observe the results of some transactions", and "Our approach ignores predicates and deals only in individual objects" (Elle, §§3, 4.3, 6 and 9).
Use failure-reduction to shrink workload and fault sequence while retaining the same violation; use evidence-based-triage for attribution and bugfinding-campaign for further allocation. Read common mistakes when requested faults, completed reads and checked guarantees diverge. Invocation preserves existing execution and publication authority.
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