Back to Rustfs

RustFS Adversarial Validation

.agents/skills/adversarial-validation/SKILL.md

1.0.0-rc.4-preview.12.0 KB
Original Source

RustFS Adversarial Validation

Use the risk tier and review shape defined in the root AGENTS.md. This skill routes a review to RustFS-specific probes without loading unrelated domains.

Select Lenses

Read only the references required by the diff:

LensWhen to read
CorrectnessEvery non-exempt adversarial review
SimplicityMechanical/standard changes and production growth
Test coverageBehavior or test changes
SecurityAuthn/authz, IAM, RPC trust, paths, secrets, parsing, browser, encryption
Concurrency/durabilityAsync shared state, locks, storage commit, cancellation, persisted queues
CompatibilityS3 surface, MinIO interop, metadata, wire/disk formats, mixed versions
PerformanceRequest/object hot paths, allocation, blocking work, fsync, fan-out

Do not read all references as a precaution. A path name alone is insufficient; the changed behavior must touch the lens's domain.

For a dedicated security audit or advisory analysis, use security-advisory-lessons instead of loading it automatically during every adversarial review.

Review Protocol

  1. Freeze the exact final diff/head and list the selected lenses.
  2. Run the review shape required by root AGENTS.md.
  3. For each selected lens, either report a concrete finding or a null verdict naming the attacks performed.
  4. A finding needs file:line, a triggering input/state/interleaving, the wrong outcome, and a focused fix or missing regression check.
  5. Fix or rebut every finding with code-path, test, or invariant evidence.
  6. After a non-trivial edit, rerun only lenses affected by that edit against the new exact diff.

Do not turn a null verdict into a long checklist. Record concise evidence that the relevant failure classes were attacked.