Auto-Bug Generator
Automatically generate a structured, Jira-ready bug report from a failed execution's logs — with a single click.
Requires:
autoBugGenerationfeature flag enabled in Settings → Features.
How It Works
- Open any FAILED or ERROR execution in the Investigation Hub drawer.
- Click Auto Bug (Sparkles icon) at the top of the drawer.
- Agnox fetches the execution's full log output. If the output exceeds 80,000 characters, it is smart-truncated:
- First 10% (container start-up context) — preserved
- Last 90% (where errors concentrate) — preserved
- A
[LOG TRUNCATED]marker is inserted so you always know where the crop occurred
- The AI analyses the truncated log and generates a structured report:
- Title — concise bug title
- Steps to Reproduce — ordered list
- Expected Behavior and Actual Behavior
- Severity —
critical/high/medium/low - Code Patches — file path + suggested fix snippet (where detectable)
- Review and edit any field in the Auto Bug modal before submitting.
- Click Submit to Jira to pre-fill the Jira ticket creation modal with the finalized content, or click Submit to Linear to open the Linear issue creation modal pre-filled with the AI-generated report (requires Linear integration enabled in Settings → Connectors).
AI Pipeline
The Auto-Bug Generator uses the Dual-Agent (Actor-Critic) architecture:
- Analyzer (temperature 0.4) — reads the logs and generates the initial structured report
- Critic (temperature 0.0) — validates every field against the raw log evidence; overrides any hallucinated file paths or unsupported claims