Persist AI synthesis output to cache and support file output #78
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The AI synthesis (brief + detailed + flags) is printed to the terminal and then discarded. For a tool whose entire purpose is producing investigation results, the output should not be ephemeral.
Two parts:
Write synthesis to cache. Save
synthesis.json(containing brief, detailed, and flags) to the investigation cache alongsideplan.jsonandplan_evaluation.json. This makes the investigation results a permanent artifact that survives the terminal session and can be reviewed later.Support
--output/-ofor the full investigation report. The existing--json -oflag writes the base scan report. The AI synthesis should be included in that output (it currently may not be), and there should be a straightforward way to get the investigation results into a file.This is the investigation tool's primary deliverable. It should be treated as a first-class artifact, not a side effect of running the command.