Repository navigation
Leave ignored files out of landings, plus ten improvements from the agent trial - #1
Conversation
…opy is in use In a trial of ten agents working at once, building in a copy put target/ into five of the pull requests: sandfs lists every file a copy wrote, and landing sent them all. Files git ignores in the copy are no change anyone means to land, so they are left out wherever changes are listed. An unmount refused because a shell sits in the copy now says so, instead of fusermount's "Device or resource busy". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq
Ten agents, each in its own Graft copy, worked on Graft at once and landed through `gft land` into a stand-in for GitHub; these are their changes, merged: - gft status: the current copy, or the project from its home copy - gft ls outside any copy lists every project - gft undo --list: snapshots, newest first, numbered as undo N counts - gft rm refuses copies whose changes never landed, unless --force (landing records each file's mode and hash to tell) - gft land --body / --body-file, updating an open pull request's text - gft changes --count - parse_repo: only a github.com host counts, OWNER/NAME checked, more URL forms, with tests - clearer errors for missing, taken and invalid copy names, with tests - README: "Many agents at once" and "Configuration" sections Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2f8be35aa1
ℹ️ 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".
|
The Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2c18405715
ℹ️ 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".
…ngerprints; ignore-check only added files Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8175960c91
ℹ️ 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_01CboUL9BU7nvDEZKfQBSkkq
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 53395fce3d
ℹ️ 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_01CboUL9BU7nvDEZKfQBSkkq
Why
Ten agents worked on Graft at once, each in its own
gftcopy. They landed throughgft landinto a local stand-in for GitHub, a bare git repository behind the same REST calls. I merged each landing into itsmainas it arrived, so later agents had togft sync. All ten landed. The trial turned up one serious bug and a few rough edges. This PR fixes them and brings in the agents' changes.Bug fix (bd94b66)
lsandland. Building in a copy puttarget/into five of the ten pull requests (829 to 1,526 files for a 1 to 5 file change). sandfs lists every file a copy wrote, andlanduploaded them all. Landing those copies took 60 to 78 s, against 0.2 s once ignored files were filtered withgit check-ignore.gft lsoverlap lines were also mostlytarget/CACHEDIR.TAG. Files git tracks are never filtered.fusermount3: ... Device or resource busywhen runninggft syncfrom a shell inside its copy. The error now says the copy is in use and to leave it. Removing the cause needs sandfs to move a mounted copy in place, which is a follow-up.The agents' changes (2f8be35, squashed)
gft statusgft lsoutside a copy lists every projectgft undo --listgft rmrefuses copies whose changes never landed, unless--force. Landing records each file's mode and hash so it can tell.gft land --body/--body-file, which also updates an open pull request's descriptiongft changes --countparse_repohardened: only agithub.comhost counts,--githubis checked, with testsMerging
Merging the ten raised two README conflicts, which
gft syncmarked and I resolved by hand. One test broke only after two changes were combined: the copy-name checks ran after the newrmtest had removed the copies. I fixed it from a copy as well (gft new fixup, land, merge). Merging this branch with the bug fix also needed twochanges()call sites updated.Testing
cargo fmt --checkandcargo clippy --all-targets -D warningsare clean.cargo testwithGRAFT_REQUIRE_SANDFS=1passes on Linux, against sandfs withupdate(Add sandfs update: move a workspace onto a newer source sandfs#156).target/doesn't count as a change.Still open (follow-ups)
sync,rm, andundoacross a sync still unmount, so a shell inside the copy blocks them.gft ls | headpanics on a broken pipe.gft lsgets long when many copies overlap.sandfs: a longSANDFS_HOMEfails with "path must be shorter than SUN_LEN" after a 10 s wait.Generated by Claude Code