Generate an AI-assisted summary of PR review discussions grouped by file and severity:
frankie \
--summarize-discussions \
--pr-url https://github.com/owner/repo/pull/123 \
--token ghp_example \
--ai-api-key sk_example
The CLI output groups discussion threads by file and severity, and prints a stable Frankie deep-link token for each host-neutral review-view reference:
PR discussion summary for #123
File: src/main.rs
Severity: high
- Handle panic path
Rationale: Root discussion flagged an unchecked failure path.
Link: frankie://review-comment/1?view=detail
Summary generation works at the discussion-thread level. Replies are collapsed into the root thread, so a reply does not create a second summary item with its own reference.
If the selected pull request has no review comments, Frankie returns an explicit error instead of printing an empty summary.