Repository navigation
App: Git tab, where a note on a diff line goes to the agent (G1) - #117
Conversation
…iff line goes to the agent The app reads the folder's repository with plain git (status, log, worktree list, one diff at a time, all bounded) and only reads. A click on a diff line writes a note; Enter sends it to the agent working in the folder as an ordinary message naming the file and line and quoting it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
|
You have reached your Codex usage limits for security reviews. Please try again later. |
|
@codex review Generated by Claude Code |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f4c027d004
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…p a note on its line, pin who the tab was opened from Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
|
You have reached your Codex usage limits for security reviews. Please try again later. |
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cf7b6a0861
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ad stay chosen, sent notes follow their line, standard diff prefixes, a vanished file fails Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
1 similar comment
|
You have reached your Codex usage limits for security reviews. Please try again later. |
|
Codex Review: Something went wrong. Try again later by commenting “@codex review”. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1a35f5a1fb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ws under only its own copy of a repeated line, a new store forgets who opened a tab, views fetch nothing a partial clone left out Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
|
You have reached your Codex usage limits for security reviews. Please try again later. |
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7b852862e7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
1 similar comment
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4c1215ef08
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…it tabs Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
|
You have reached your Codex usage limits for security reviews. Please try again later. |
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f85cd757fe
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Before: to see what an agent changed you opened a terminal in its worktree, and to tell it about a line you typed the path and line number into its chat by hand.
After: an agent's ⎇ branch chip, or Git in its ⋯ menu, opens a Git tab for its folder, laid out like lazygit: changes, commits and worktrees on the left, the chosen diff on the right. Click a diff line, type a note, press Enter, and the note goes to the agent working there as an ordinary message that names the file and line and quotes it.
Screenshots are the demo mode in headless Chromium (synthetic data). The native side could not be built here (the app crate does not build on Linux);
git.rsand thefiles.rsrefactor were tested in a scratch crate against real git repositories.Picks (PLAN.md owes no decision for G1; these are mine, simplest first):
path:line, a quoted line, then the text; a removed line is named by its old number, a commit's note names the commit.How
app/src-tauri/src/git.rs(new):viewrunsstatus --porcelain=v1 -z --branch --untracked-files=all(streamed, at most 2,000 changes or 4 MiB, git killed past either),log -z -n50andworktree list --porcelain -z;diffdiffs a change against HEAD (or the empty tree before the first commit), an untracked file against/dev/null, or a hex commit against its first parent, with--literal-pathspecs, no external diff or textconv,GIT_OPTIONAL_LOCKS=0so it never holds a lock an agent's git waits on, and a 1 MiB bound cut at a line.files.rsnow shares its repository-top and clean-env git helpers with it.main.rs:git_viewandgit_diffcommands, refused in a window on a host like the file commands.app.js: a page tab keyed⎇+ folder, like a file tab (no composer, Home's list beside, saved with the tabs). Only the tab in view reads: when it comes into view, onr/↻, when the window regains focus, and 600 ms after a step or turn ends for an agent in that repository. One diff read at a time, at most 5,000 drawn rows. Keys: j/k, 1–3 or h/l, Enter opens a change's file tab or another worktree's Git tab, o opens the agent.docs/APP.md: a Git section with the screenshots and the bounds.Tests:
node --test app/tests/state.test.cjs(213 pass; 6 new for the tab, its notes, refresh, restore and diff parsing) and 2 Rust tests forgit.rsin the scratch crate, clippy clean.🤖 Generated with Claude Code