Skip to content

Leave ignored files out of landings, plus ten improvements from the agent trial - #1

Merged
lydakis merged 6 commits into
mainfrom
claude/project-thread-wdmsae
Oct 26, 2026
Merged

lydakis merged 6 commits into
mainfrom
claude/project-thread-wdmsae

Conversation

@lydakis

@lydakis lydakis commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Why

Ten agents worked on Graft at once, each in its own gft copy. They landed through gft land into a local stand-in for GitHub, a bare git repository behind the same REST calls. I merged each landing into its main as it arrived, so later agents had to gft 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)

  • Ignored files left out of changes, ls and land. Building in a copy put target/ 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, and land uploaded them all. Landing those copies took 60 to 78 s, against 0.2 s once ignored files were filtered with git check-ignore. gft ls overlap lines were also mostly target/CACHEDIR.TAG. Files git tracks are never filtered.
  • Clear message when a copy is in use. Every agent hit fusermount3: ... Device or resource busy when running gft sync from 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 status
  • gft ls outside a copy lists every project
  • gft undo --list
  • gft rm refuses 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 description
  • gft changes --count
  • parse_repo hardened: only a github.com host counts, --github is checked, with tests
  • clearer errors for missing, taken and invalid copy names, with tests
  • README: "Many agents at once" and "Configuration" sections

Merging

Merging the ten raised two README conflicts, which gft sync marked and I resolved by hand. One test broke only after two changes were combined: the copy-name checks ran after the new rm test 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 two changes() call sites updated.

Testing

Still open (follow-ups)

  • sync, rm, and undo across a sync still unmount, so a shell inside the copy blocks them.
  • gft ls | head panics on a broken pipe.
  • Commands that take a copy name don't work from outside the project's folders.
  • gft ls gets long when many copies overlap.
  • sandfs: a long SANDFS_HOME fails with "path must be shorter than SUN_LEN" after a 10 s wait.

Generated by Claude Code

…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
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T01:56:26.282334Z fd17855 New commits
🔒 Security Review ✅ Completed 2026-10-26T01:57:26.452625Z fd17855 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/land.rs Resolved

lydakis commented Oct 26, 2026

Copy link
Copy Markdown
Owner Author

The rust check fails before any step runs. GitHub's annotation says: "The job was not started because recent account payments have failed or your spending limit needs to be increased." That's an Actions billing limit on this private repository, not this change, and pushing won't fix it. Locally, cargo fmt --check, cargo clippy --all-targets -D warnings and cargo test (with sandfs installed, GRAFT_REQUIRE_SANDFS=1) all pass on 2f8be35.


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/land.rs Resolved
Comment thread src/land.rs Resolved
Comment thread src/tools.rs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/tools.rs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/tools.rs Resolved
@lydakis
lydakis merged commit d512742 into main Oct 26, 2026
1 of 2 checks passed
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.

2 participants