Covers: Chapter 19 - AI and third-party code policy

AI-Generated and Third-Party Code Policy

Disclosure

  • Non-trivial code from AI tools or external sources must be disclosed: discuss it in the submission issue and state it in the PR description.
  • Cite provenance directly in the contributed code (in-code comment).
  • Use an attribution line. Prefer the trailer form, which GitHub renders as a co-author on the commit:
    • Co-authored-by: [AI name] <email@provider.com>, e.g. Co-authored-by: Antigravity <gemini@google.com> or Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
    • Assisted-by: [AI name]
    • Code copied from: [source/URL]

Licensing

  • All newly contributed code must be redistributable under the package’s existing license.
  • The developer is responsible for confirming license compatibility before incorporating any external or AI-generated code.

Maintainer responsibility

  • The maintainer retains full accountability for all incorporated code, regardless of origin, including its reliability, ongoing maintenance, and bug fixes.

Scope

  • The policy targets “non-trivial portions.” Minor snippets or standard boilerplate may fall outside it, but when in doubt, disclose.

Source: AI policy and third-party code Fetched 2026-08-14 from contributions.bioconductor.org (Bioconductor devel guide).


This site uses Just the Docs, a documentation theme for Jekyll.