run_agent_context_toxicology_scan
Scans agent transcripts, logs, or GitHub Issue comments for reward hacking, context loops, comment bloat, and faucet scraping; returns a diagnostic report and detox checklist.
Instructions
Agent Context-Loop & Reward-Hacking Toxicology Scanner (Free Open-Source Diagnostic Tool): Scans an agent transcript, log, or GitHub Issue comment body for 4 documented failure modes: (1) Unit-Test Reward Hacking (assert True / sys.exit(0) / pytest.skip), (2) Recursive Bliss Attractor Loops (Anthropic Claude 4 System Card Sec 5.5.2), (3) 65KB PATCH Comment-Body Bloat (HTTP 422 Unprocessable Entity), and (4) Testnet Faucet / Wallet Scraping Loops. Returns a structured diagnostic report and the 4-Step Context Detox checklist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transcript_or_log_text | Yes | Agent log, transcript, or comment body text to audit for context loops or reward hacking |