Skip to content

feat/review spd json output - #45

Open
zhangweildlh wants to merge 3 commits into
zhu1090093659:mainfrom
zhangweildlh:feat/review-spd-json-output
Open

feat/review spd json output#45
zhangweildlh wants to merge 3 commits into
zhu1090093659:mainfrom
zhangweildlh:feat/review-spd-json-output

Conversation

@zhangweildlh

Copy link
Copy Markdown
  • feat(review-spd): add structured JSON output compatible with open-code-review-delegate
  • fix(review-spd): align JSON output with open-code-review-delegate downstream schema

…e-review-delegate

- Phase 6 now emits both findings-first text and a structured JSON block
- Add reviewer-focus -> JSON category mapping (Correctness/Regression -> bug, Tests -> test, Security -> security, Performance -> performance)
- output-format.md gains Severity Rollup + Structured JSON schema mirroring open-code-review-delegate
- Enables Agent consumption and downstream tooling without changing the existing text report
…nstream schema

- M1: JSON mode now uses ocr-compatible values (workspace/range/commit); drop separate branch mode
- M2: rules[] now carries rule field; document path_pattern intentionally absent (downstream tolerate)
- L3: document start_line/end_line source = diff hunk line numbers (matches text file:line)
- L4: Severity Rollup low no longer hunts style; consistent with findings-first discipline
- L5: document category limited to 5 values by design; downstream should tolerate
…ranch from/to, add JSON consistency example

- L1: output-format.md Severity Rollup now references SKILL.md Phase 5 as the authoritative severity definition, removing the medium/low wording fork.
- L2: branch mode JSON target.from = base, target.to = head, aligned with review-context.py base/head.
- M1: Structured JSON section gains a text<->JSON consistency example proving the Phase 6 same-findings-list discipline.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant