This is an automated email from the ASF dual-hosted git repository.

viirya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark-connect-rust.git


The following commit(s) were added to refs/heads/master by this push:
     new 04075d88 [MINOR] Remove contributor- and vendor-specific instructions 
from AGENTS.md
04075d88 is described below

commit 04075d884227a82f3bfa79bd60cd9162e44829af
Author: Liang-Chi Hsieh <[email protected]>
AuthorDate: Tue Nov 10 18:08:38 2026 -0800

    [MINOR] Remove contributor- and vendor-specific instructions from AGENTS.md
    
    ### What changes were proposed in this pull request?
    
    This PR removes two instructions from `AGENTS.md` that only apply to one 
contributor or one company:
    
    - `AGENTS.md` told agents to run `gh auth switch -u HyukjinKwon` before 
pushing, in three places ("0. Golden rules", "7. Pre-push discipline" and "9. 
Condensed checklist"). Those are replaced with account-neutral guidance: before 
pushing, confirm with `gh auth status` that `gh` is authenticated as the 
account you intend to push with.
    - "0. Golden rules" told agents to end every commit message with 
`Co-authored-by: Isaac <no-replydatabricks.com>` and every PR body with "This 
pull request and its description were written by Isaac." That rule is removed.
    
    The general guidance around them is unchanged: delegated agents should not 
run `gh`, hooks are never bypassed, and PRs are merged with 
`dev/merge_connect_rust_pr.py`.
    
    ### Why are the changes needed?
    
    `AGENTS.md` is checked in and read by every contributor's agents. An 
instruction to switch to one specific contributor's GitHub account only makes 
sense on that contributor's machine; for anyone else it either fails or points 
the agent at the wrong account. Likewise, the "Isaac" trailer is one company's 
internal agent attribution, not a convention of this Apache project, and other 
contributors' agents should not be told to add it.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Documentation-only change. `grep -n -i -E "HyukjinKwon|Isaac" AGENTS.md` 
returns nothing.
    
    Closes #499 from viirya/agents-md-account-neutral.
    
    Authored-by: Liang-Chi Hsieh <[email protected]>
    Signed-off-by: Liang-Chi Hsieh <[email protected]>
---
 AGENTS.md | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/AGENTS.md b/AGENTS.md
index db75de3c..fbca09c1 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -57,12 +57,11 @@ the Rust and Python sides, no stubs, green CI.
   autonomously committed+pushed against instructions. If you delegate, give 
each
   agent a **disjoint file set**, tell them **no git, no gh, no 
cargo-collision**,
   and commit centrally yourself. Only one process may run cargo at a time.
-- **Never let an agent run `gh`** — it flips the active account
-  (`gh auth switch`) and breaks your pushes. Run `gh auth switch -u 
HyukjinKwon`
-  before pushing.
-- Commit messages end with `Co-authored-by: Isaac <[email protected]>`.
-  PR bodies end with `This pull request and its description were written by 
Isaac.`
-  Never bypass git hooks (`--no-verify`).
+- **Never let a delegated agent run `gh`** — it can flip the active account
+  (`gh auth switch`) and break your pushes. Before pushing, confirm with
+  `gh auth status` that `gh` is authenticated as the account you intend to push
+  with.
+- Never bypass git hooks (`--no-verify`).
 - **Always merge PRs with the dev merge script** `dev/merge_connect_rust_pr.py`
   (never `gh pr merge` or a manual `git push`). It produces the 
Apache-canonical
   squashed commit — `Closes #<n>`, `Authored-by:`/`Co-authored-by:`, 
`Signed-off-by:`
@@ -268,7 +267,8 @@ cargo clippy --workspace --all-targets                      
       # advisory (|
 Then re-run the step-2 diff (0 user-facing gaps) and the parity gate
 `scripts/run_official_tests.py` (runs the official connect suite through our 
Rust
 transport; `FLAKY_FILES` = retry, not skip). Only then
-`gh auth switch -u HyukjinKwon` and push.
+confirm `gh` is authenticated as the account you intend to push with
+(`gh auth status`) and push.
 
 **Run the NEW version's own official test cases — they change every release.**
 Do not rely on the previous version's suite. When bumping to vX.Y.Z:
@@ -318,7 +318,7 @@ Do not rely on the previous version's suite. When bumping 
to vX.Y.Z:
 6. Re-audit the packaging manifest for newly-shipped client files (step 5 / 
step 10).
 7. Coverage >90% both sides (step 6).
 8. Pre-push discipline: compile-all-tests, fmt, clippy, parity gate, 
prove-diff (step 7).
-9. Push (after `gh auth switch`), monitor CI, fix.
+9. Push (after confirming the active `gh` account), monitor CI, fix.
 
 ---
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to