What problem does it solve?
Fixing a bug in the personhog leader path (leader, router, writer, replica, coordination protocol) without a permanent regression test leaves the door open for the same failure to return. This Skill guides you through adding chaos scenarios, new failure modes, and correctness invariants to the personhog e2e test harness so every fix becomes a reproducible, CI-enforced regression test.
Core Features & Use Cases
- Chaos scenario authoring: Add new disruptions (SIGKILL crashes, SIGTERM drains, SIGSTOP/SIGCONT zombies, writer lag, coordinator kills, etcd lease revocations) via GateArgs flags, ChaosEvent variants, and chaos_timeline entries.
- Invariant extension: Add new correctness properties to the acked-write journal in state.rs, with unit-tested decision tables so verifiers cannot silently false-negative.
- Fix validation workflow: Run the harness against fix-branch binaries to show a scenario red on the base branch and green on the fix, then wire rehearsed scenarios into the personhog-gate CI job.
- Use Case: After fixing an eviction data-loss bug in the personhog leader, add a chaos scenario that reproduces the eviction mid-write, verify it fails on the base branch and passes on your fix, and register it in ci-rust.yml as a permanent regression gate.
Quick Start
Ask the assistant to add a chaos scenario to the personhog test harness that reproduces the leader-path bug you just fixed and validate it against your fix branch binaries.