Skip to content

Clarify AGENTS.md around pushing to a fork - #165310

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
Manishearth:Manishearth-patch-1
Nov 2, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
Manishearth:Manishearth-patch-1

Conversation

@Manishearth

Copy link
Copy Markdown
Member

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 2, 2026
@rustbot

rustbot commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Error: Failed to set assignee to jyn514: invalid assignee

Note: Only org members with at least the repository "read" role, users with write permissions, or people who have commented on the PR may be assigned.

Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #triagebot on Zulip.

@jieyouxu jieyouxu left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks. I'm going to just r+ this since it's about forks.
@bors r+ rollup

View changes since this review

@rust-bors

rust-bors Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

📌 Commit e84b595 has been tentatively approved by jieyouxu

It will be put into the queue for this repository once PR CI succeeds.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 2, 2026
@chenyukang

chenyukang commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

for this part:

provided they acknowledge that they will not later
make a PR on the upstream rust-lang/ repo with that LLM-generated code.

I'm wondering how to acknowledge, the agent will prompt waiting for an answer from dev?
maybe just remove this part? since it's only a fork.

@jhpratt

jhpratt commented Nov 2, 2026

Copy link
Copy Markdown
Member

Forcing so I don't have to wait for PR CI to include this in a rollup. I don't see how this could possible fail anyway.

@bors r=jieyouxu force

@rust-bors

rust-bors Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

📌 Commit e84b595 has been approved by jieyouxu

It is now in the queue for this repository.

jhpratt added a commit to jhpratt/rust that referenced this pull request Nov 2, 2026
…=jieyouxu

Clarify AGENTS.md around pushing to a fork

We should not forbid users from experimenting on their own forks.

https://x.com/0xalpharush/status/2116964999000478125

r? @jyn514
rust-bors Bot pushed a commit that referenced this pull request Nov 2, 2026
Rollup of 9 pull requests

Successful merges:

 - #162018 (Recover inner attributes in algebraic data types)
 - #162819 (Make the suggestion message of `unused_must_use` scarier.)
 - #163053 (Use verbose suggestion for type literal with wrong syntax)
 - #163245 (Fix multiple pattern comma suggestions in diagnostics)
 - #163369 (Don't lint unused_qualifications when the unqualified path is ambiguous)
 - #165282 (Improve span for unused_mut lint)
 - #165285 (Forward `AbiAlign` `Debug` impl to `Align`)
 - #165294 (unstable.rs: add missing `]` in description of `cfg_ub_checks`)
 - #165310 (Clarify AGENTS.md around pushing to a fork)
@Manishearth

Copy link
Copy Markdown
Member Author

I'm wondering how to acknowledge, the agent will prompt waiting for an answer from dev?

There is already text in this document of this form.

The reason I'm leaving it in is because pushing to a fork is also how you make PRs and it would be pretty easy to make a PR without hitting that checkpoint otherwise.

Not talking about malicious workarounds, just saying that there are workflows where someone may never hit the checkpoint, unintentionally. When I write code agentically I am almost never having the agent open the PR, for example.

@rust-bors
rust-bors Bot merged commit ab3fd54 into rust-lang:main Nov 2, 2026
14 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Nov 2, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 2, 2026
Rollup merge of #165310 - Manishearth:Manishearth-patch-1, r=jieyouxu

Clarify AGENTS.md around pushing to a fork

We should not forbid users from experimenting on their own forks.

https://x.com/0xalpharush/status/2116964999000478125

r? @jyn514
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants