generate_forensic_report
Generate structured forensic investigation reports in Markdown or JSON from evidence, findings, and conclusions; default to read-only and write files only when explicitly enabled.
Instructions
Generate a structured forensic investigation report as Markdown, JSON, or both. The default is read-only; writing files requires RETRACE_ALLOW_WRITE=1 and write=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build | No | ||
| risks | No | ||
| title | Yes | Investigation title | |
| write | No | Persist under the configured .retrace/reports directory | |
| branch | No | ||
| format | No | Output format; defaults to both | |
| evidence | No | ||
| findings | No | ||
| addresses | No | ||
| toolsUsed | No | ||
| conclusion | Yes | Evidence-based conclusion; state uncertainty explicitly | |
| hypotheses | No | ||
| repository | No | ||
| architecture | No | ||
| proposedFixes | No | ||
| filesInspected | No | ||
| testsPerformed | No | ||
| detectedProblems | No | ||
| relatedFunctions | No |