Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
3f4eb6b
feat(review): scaffold git-workon-review lib+bin crate
lettertwo Jul 5, 2026
742eb9f
docs: record review crate workspace placement in ADR-033
lettertwo Jul 5, 2026
dac8172
docs(review): add stale-metadata-head trap to RFC corpus
lettertwo Jul 5, 2026
bf2690c
feat(review): build diff model from git2 diffs
lettertwo Jul 6, 2026
4db37fd
feat(review): synthesize whole-hunk patches from the model
lettertwo Jul 6, 2026
e62cf4f
feat(review): add patch applier over git2 and git CLI
lettertwo Jul 6, 2026
83d1674
fix(review): preserve real file mode when synthesizing patches
lettertwo Jul 6, 2026
f47a689
feat(review): line-precise patch synthesis with direction rules
lettertwo Jul 6, 2026
0449b69
fix(review): splice EOFNL del-to-context lines in partial patches
lettertwo Jul 6, 2026
81357e2
fix(review): splice kept-deletion EOFNL and thread patch mode
lettertwo Jul 6, 2026
bbb1d81
feat(review): route whole-file ops for added and deleted files
lettertwo Jul 6, 2026
3d96611
feat(review): add FIFO staging queue with live-index direction
lettertwo Jul 6, 2026
b6d0f04
feat(review): add refresh coordinator with generation supersede
lettertwo Jul 6, 2026
411d205
fix(review): fix staging pathspec glob and retry error swallow
lettertwo Jul 6, 2026
c2cad21
test(review): round-trip corpus across git2 and CLI appliers
lettertwo Jul 6, 2026
ffe7519
docs(rfc): record git2-vs-CLI verdict and write-path decision
lettertwo Jul 6, 2026
9bcfca5
fix(review): downcast corpus panics and pin exec-bit scenario
lettertwo Jul 6, 2026
7a4b10a
docs(rfc): record review-found exec-bit and EOFNL divergences
lettertwo Jul 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co

## Workspace Structure

This is a Cargo workspace with three crates:
This is a Cargo workspace with four crates:

- **git-workon** (git-workon/): The CLI binary that provides the user-facing commands
- **git-workon-lib** (git-workon-lib/): Core library (published as `workon`) containing the git worktree manipulation logic
- **git-workon-fixture** (git-workon-fixture/): Testing utilities that provide fixture builders and custom predicates for git repository tests
- **git-workon-review** (git-workon-review/): Lib+bin crate for the review TUI domain — diff parsing, staging, changeset views; the binary is the TUI

## File Location Quick Reference

Expand All @@ -32,6 +33,9 @@ This is a Cargo workspace with three crates:
- Add integration tests → `git-workon-lib/tests/` or `git-workon/tests/`
- Find workon root logic → `git-workon-lib/src/workon_root.rs`
- Smart routing logic → `git-workon/src/main.rs` (lines 20-38)
- Add review domain logic → `git-workon-review/src/`
- Add review CLI entry → `git-workon-review/src/main.rs`
- Add review error types → `git-workon-review/src/error.rs` (ADR-008 pattern: concrete enums with `#[derive(Error, Diagnostic)]`)

## Key Architecture Concepts

Expand Down Expand Up @@ -73,7 +77,7 @@ Inline test/clippy runs go through `cargo-gate test`/`clippy` (a raw `cargo test

**Valid types**: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`

**Scopes** (optional): `cli`, `lib`, `fixture`, `config`, `worktree`, `hooks`, `copy`, `pr`, `completions`, `build`, `release`
**Scopes** (optional): `cli`, `lib`, `fixture`, `review`, `config`, `worktree`, `hooks`, `copy`, `pr`, `completions`, `build`, `release`

**Breaking changes**: append `!` — e.g. `feat(cli)!: change output format`

Expand Down
Loading