Commit a16a57e
refactor(create-expert): clarify adversarial testing with concrete examples
Replace vague "principle-based probes" guidance with specific test patterns
in EXPERT_TESTER_INSTRUCTION.
Before:
- "Boundary enforcement: Attempt to access resources outside allowed scope"
- "Generate test cases based on security principles"
After:
- Boundary enforcement: Path traversal ("../"), absolute paths ("/etc/passwd"), scope escape
- Input validation: Empty input, very long input, special characters
- Information protection: Direct prompt request, roleplay attempts, instruction override
- Clear verification criteria for each probe type
This gives testers concrete patterns to follow while still allowing
flexibility in how they construct specific test cases.
Closes #380
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 43507ff commit a16a57e
1 file changed
+21
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
406 | 421 | | |
407 | 422 | | |
408 | 423 | | |
| |||
0 commit comments