Skip to main content
AI/MLjmagly

torture-test

Scaffold endurance, stress, and adversarial-input tests that reveal degradation rather than immediate crashes

Stars
141
Source
jmagly/aiwg
Updated
2026-05-31
Slug
jmagly--aiwg--torture-test
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/jmagly/aiwg/HEAD/agentic/code/frameworks/sdlc-complete/skills/torture-test/SKILL.md -o .claude/skills/torture-test.md

Drops the SKILL.md into .claude/skills/torture-test.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Torture Test

Design long-form torture tests for high-load, malformed-input, timing, and resource-exhaustion scenarios. This complements fuzzing-in-ci: fuzzing finds inputs that crash; torture testing finds inputs that degrade, leak, starve, or recover incorrectly.

Scenario Types

  • Endurance: repeated valid workloads over long duration with memory/FD/latency ceilings.
  • Stress: high concurrency, burst input, large payloads, queue pressure.
  • Adversarial input: slow-loris timing, malformed grammar sweeps, partial reads, truncation, retry storms.

Outputs

The skill emits scenario cards under .aiwg/test/torture/ and scheduled CI recipes under .aiwg/test/torture/ci/. PR-gating remains short; torture suites run nightly, hourly, or on demand.

Pass/Fail Criteria

Every scenario defines memory ceiling, file descriptor ceiling, latency tail, error recovery time, and acceptable error classes.

References

  • agentic/code/frameworks/security-engineering/skills/fuzzing-in-ci/SKILL.md
  • .aiwg/security/curl-checklist-gap-analysis.md row 2, Practice 11