Skip to content

feat(review): add the review crate diff engine and patch synthesis - #78

Draft
lettertwo wants to merge 18 commits into
mainfrom
review/01-engine
Draft

feat(review): add the review crate diff engine and patch synthesis#78
lettertwo wants to merge 18 commits into
mainfrom
review/01-engine

Conversation

@lettertwo

@lettertwo lettertwo commented Sep 4, 2026

Copy link
Copy Markdown
Owner

This PR adds the git-workon-review crate as a library plus an empty binary, holding the engine the TUI is built on: a diff model built from git2 diffs, line-precise patch synthesis with direction rules, patch appliers over both git2 and the git CLI, a FIFO staging queue, and a refresh coordinator with generation supersede.

The crate is publish = false and dist = false, so landing it changes nothing about releases. Placement is recorded in ADR-033 (review crate workspace placement); the git2-vs-CLI verdict and the exec-bit and EOFNL divergences it turned up are in the RFC.

Outside the crate: git-workon-fixture gains a has_index_mode predicate and index-state builders, which the round-trip corpus tests use to pin file-mode behavior.

@lettertwo lettertwo changed the title review/01 engine feat(review): add the review crate diff engine and patch synthesis Sep 4, 2026
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