Skip to content

Commit fd51157

Browse files
authored
feat(prompts): add production-vs-test LOC delta reviewMetrics guidance (#1017)
1 parent de31c99 commit fd51157

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎prompts/review-item.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,13 @@ briefly explain why that measured fact matters before merge. Do not use vague
303303
labels or values, and do not restate full `risks`, `bestSolution`,
304304
`mergeRiskOptions`, or label rationale in `reviewMetrics`.
305305

306+
For PRs that meaningfully grow the codebase, or when the target repository's
307+
contribution policy asks for it, emit a production-vs-test LOC delta metric:
308+
count production and test lines separately in `value` (for example `production
309+
+12, tests +85`) and use `reason` to state whether the production growth has a
310+
stated justification. Put any unjustified-production-growth concern itself in
311+
`risks`, not here.
312+
306313
Fill `labelJustifications` with one object for every selected ClawSweeper-managed
307314
label. Include the selected `triagePriority` unless it is `none`, every selected
308315
`impactLabels` entry, every selected `maturityLabels` entry, and every selected

0 commit comments

Comments
 (0)