feat(review): walkthrough/risk_verdict/test_coverage schema
This commit is contained in:
@@ -47,4 +47,10 @@ replacement); include a sketch only if a one-line test is obvious.
|
||||
{"findings":[{"severity":"...","path":"...","line":0,"problem":"...","fix":"...","suggestion":"","reference":""}]}
|
||||
```
|
||||
|
||||
`line` must be a post-change line in a source or test file. No prose outside JSON.
|
||||
`line` must be a post-change line in a source or test file. No prose outside JSON.
|
||||
|
||||
The full review-level JSON shape (used by the pragent primary) also
|
||||
includes three optional top-level fields — `walkthrough` (list[str]),
|
||||
`risk_verdict` (str), and `test_coverage` (str) — that the synthesizer
|
||||
fills in across all lenses. Lens output is free to omit them; the parser
|
||||
defaults to `[]` / `""` when absent (backward compatible).
|
||||
Reference in New Issue
Block a user