Red-team strategy
Context Compliance (fabricated assistant turn)
context-compliancePlants a fake prior turn where the assistant already answered a benign version of the request and offered to continue; the model stays consistent with the planted history and complies with the harmful follow-up.
YAML config
evalguard.config.yaml
redteam:
strategies:
- context-complianceCLI
bash
# "context-compliance" is layered onto attacks during red-team scans.
# List every available encoding/obfuscation strategy:
evalguard list strategies