potiuk opened a new pull request, #65965:
URL: https://github.com/apache/airflow/pull/65965

   Adds a `### GitHub messages drafted by agents` subsection under
   "Commits and PRs" requiring any agent-drafted message that ends up
   posted on the user's GitHub account — PR / issue comments, PR-level
   reviews, line-level review comments, discussion replies — to end
   with a `Drafted-by:` attribution footer.
   
   Two forms, depending on whether a human read the draft first:
   
   - **No prior human review** (autonomous / scheduled work):
   
     ```
     ---
     Drafted-by: <Agent Name and Version> (no human review before posting)
     ```
   
   - **Reviewed and approved by a named human maintainer before
     posting:**
   
     ```
     ---
     Drafted-by: <Agent Name and Version>; reviewed by @<github-handle> before 
posting
     ```
   
     The handle names the human who actually read the draft, not the
     account the agent is running on behalf of.
   
   The footer is in addition to, not a replacement for, the existing
   PR-body `Generated-by:` disclosure and the no-self-as-co-author rule
   on commits. The footer applies regardless of message length —
   attribution is the point, not summarisation.
   
   ## Test plan
   
   - [X] `prek run insert-license` passes on the changed file (no header 
changes)
   - [X] Diff is one file, 40 lines added, all inside the
         "Commits and PRs" section, before "Boundaries"
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.7)
   
   Generated-by: Claude Code (Opus 4.7) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to