# ADR 0012: the Discovery report comes from code, and the approval gate moves to it Status: Proposed. Date: 2026-11-01. ## Context The workflow ended at the critic's verdict and produced no report for the Engagement Lead, who approved from the verdict alone. ## Decision Add `cp1-discovery-report-agent` as the last step. Its `pre_process` hook renders the report in code, as Markdown and as a self-contained HTML page, and replies without calling a model, so it can only repeat what the steps recorded. The approval gate moves from the critic to this step, so approval is given on the whole report. This updates ADR 0006. A Format for UI step after the gate takes `final_html`, so an approved run ends with an artifact of the clean page. This is on trial. ## Consequences The report has no written narrative. The verdict still isn't enforced: a person can approve a `fail`, and the report marks one at the top. The saved workflow must be imported again, and a run that fails before the report step produces no report.