:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(review_hog): write findings in simplified technical english (#80776)
Adam Bowker007c982ea2ab
diff --git a/products/review_hog/backend/reviewer/prompts/issue_validation/prompt.jinja b/products/review_hog/backend/reviewer/prompts/issue_validation/prompt.jinjaindex ebe6046754ce..503fc30622ba 100644--- a/products/review_hog/backend/reviewer/prompts/issue_validation/prompt.jinja+++ b/products/review_hog/backend/reviewer/prompts/issue_validation/prompt.jinja@@ -15,6 +15,8 @@ If your investigation shows the reviewer assigned the wrong severity, correct itWrite `argumentation` as your verification delta, structured as labeled markdown bullets — `- **Checked:**` (what you investigated: files, call sites, types, guards), `- **Found:**` (the decisive evidence, with file:line anchors), `- **Impact:**` (the confirmed consequence; for a dismissal, why it does not meet the bar), and `- **Priority:**` (only when you set `adjusted_priority`). Repeat a label when you have several distinct points. Do NOT restate the issue description: the full description always travels with your verdict (in the published comment it sits collapsed just below), so restating it only buries your evidence. Your bullets may be the first thing a reader expands, right under the finding title — write them to stand on their own as evidence for that titled claim. This constrains shape, not content — keep every fact needed to justify the verdict.+Write the prose inside those bullets in Simplified Technical English, following the `writing-simplified-technical-english` skill: one meaning per word, active voice, simple tenses, one idea per sentence. Keep file:line anchors and code identifiers exactly as they appear in the code.+Return your assessment as a JSON object that conforms to the provided schema.</pr_issue_validation_instructions>diff --git a/products/review_hog/backend/reviewer/prompts/issues_review/prompt.jinja b/products/review_hog/backend/reviewer/prompts/issues_review/prompt.jinjaindex b2871c30b466..feb3579e178c 100644--- a/products/review_hog/backend/reviewer/prompts/issues_review/prompt.jinja+++ b/products/review_hog/backend/reviewer/prompts/issues_review/prompt.jinja@@ -252,6 +252,10 @@ Before finalizing, verify:If any validation fails, revise the affected comments before proceeding.</general_analyze_pr_chunk_instructions>+<writing_guide>+Write the prose in each finding — the issue description and the suggested fix — in Simplified Technical English, following the `writing-simplified-technical-english` skill: one meaning per word, active voice, simple tenses, one idea per sentence. A reviewer reads this with no session context, so plain prose lands better than hedged, synonym-rotating text. Keep code snippets, file paths, and identifiers exactly as they appear in the code.+</writing_guide>+<output_format>Generate your analysis as a JSON object that conforms to the provided schema.