This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule MyApp.Prompts.Audit do | |
| @moduledoc """ | |
| Prompts for the audit pipeline. Two entry points: | |
| * `audit_file/4` — embeds a single source file in the prompt and | |
| runs `MyApp.CodingAgent` against it. Style is `:simple` or | |
| `:deep`; the executor picks based on `audit.strategy`. | |
| * `audit_directory/2` — whole-package audit. Spawns the agent with | |
| `:cwd` set to the source dir so it can use Read/Grep/Bash. | |
| """ |