Expand description
GitHub review backend for lziff.
════════════════════════════════════════════════════════════════════════
FUTURE PLUGIN — DO NOT IMPORT FROM lziff INTERNALS
════════════════════════════════════════════════════════════════════════
This crate is the GitHub-specific ReviewProvider implementation.
It will eventually be split out into a separate process speaking the
review-protocol JSON-RPC over stdio. To keep that future viable:
- The crate’s
Cargo.tomldepends onreview-protocolandserde_jsononly. Addinglziff = ...here is a hard policy violation — nothing in the GitHub plugin should know what’s inside the host. - All public types and methods are reachable through the
ReviewProvidertrait. The host (crates/lziff/src/main.rsviacrates/lziff/src/review.rs) only ever obtains aBox<dyn ReviewProvider>frommake_providerand never namesGithubProviderdirectly. - We shell out to the user’s
ghCLI (already authenticated). Going through HTTP+OAuth is left for the eventual stand-alone plugin once we hit a perf/feature wall.