Skip to content

contributing: AI-assisted contributions section, PR template checkbox, AGENTS.md pointer - #10680

Closed
jatorre wants to merge 1 commit into
visgl:masterfrom
jatorre:ai-contributions
Closed

jatorre wants to merge 1 commit into
visgl:masterfrom
jatorre:ai-contributions

Conversation

@jatorre

@jatorre jatorre commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Draft: depends on visgl/tsc#20. This wires the repository side of the AI-assisted contributions page proposed for the vis.gl developer process; it should merge only after the TSC adopts that page, and its link assumes the page lands on master there.

Summary

  • CONTRIBUTING.md: a short "AI-assisted contributions" section with the rules that matter day to day (you are the author; disclose substantial assistance in the PR description; understand and verify; keep it reviewable; newcomer issues are for people; no unattended agents) and a link to the process page.
  • .github/pull_request_template.md: one checkbox, "I have read the AI-assisted contributions section of CONTRIBUTING.md and disclosed any substantial AI assistance above", with an HTML comment explaining the threshold. Same weight as MapLibre GL JS's template line.
  • AGENTS.md: a "Contribution Policy" section so agents include the disclosure, never add Signed-off-by, stay off newcomer issues and do not open PRs on their own; the existing "prepare a copyable PR description" instruction now says the contributor edits, verifies and discloses it.

Why

PR descriptions in this repository have lengthened sharply since late 2025: the monthly median was about 400 characters through mid-2025 and has been 1,200 to 2,500 since (772 human-authored PRs since September 2024, authors anonymized; data and method in https://github.com/jatorre/deckgl-ai-ready). That is consistent with agent-prepared descriptions, which AGENTS.md itself asks for, so it is a proxy rather than a measurement of AI-written code. The Foundation policy already applies to every submission; nothing in the repository says so or says how. Disclosure is cheap and is not penalized.

Validation

Documentation and template changes only. This PR follows the practice it proposes: the commit carries an Assisted-by: trailer and this description names the tool.

Disclosure

Drafted with an AI coding agent (Claude Code) and reviewed by me. Revised once after an independent review pass (link target, template weight, AGENTS.md consistency).

https://claude.ai/code/session_01RszQw7B8p94Hyxy4LFsxYj

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 8, 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-09-08T11:08:41.831335Z 3d21abe PR opened
ℹ️ 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.

@greptile-apps

greptile-apps Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Greptile Summary

Adds repository guidance for AI-assisted contributions, including disclosure and human-oversight expectations. The linked developer-process page is explicitly dependent on visgl/tsc#20 landing first.

  • Adds an AI-assistance acknowledgment to the pull request template.
  • Documents contribution requirements in CONTRIBUTING.md.
  • Extends AGENTS.md with disclosure, DCO, newcomer-issue, and autonomous-submission rules.

Confidence Score: 5/5

The documentation-only PR appears safe to merge after the explicitly stated visgl/tsc#20 dependency is satisfied.

No blocking failure remains within the eligible follow-up review scope.

Important Files Changed

Filename Overview
.github/pull_request_template.md Adds a checkbox requiring contributors to acknowledge the AI-assistance policy and disclose substantial assistance.
AGENTS.md Adds contribution-policy instructions for coding agents and clarifies the human verification and disclosure handoff.
CONTRIBUTING.md Introduces the repository’s AI-assisted contribution policy and links it to the proposed vis.gl developer-process page.

Reviews (2): Last reviewed commit: "contributing: AI-assisted contributions ..." | Re-trigger Greptile

@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: 3d21abe02c

ℹ️ 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 CONTRIBUTING.md Outdated

## AI-assisted contributions

You may use AI coding assistants and agents to help with contributions. deck.gl is an OpenJS Foundation project and follows the [OpenJS Foundation Policy on Use of AI Coding Assistants](https://ai-coding-assistants-policy.openjsf.org/); the vis.gl [developer process](https://github.com/visgl/tsc/blob/main/developer-process/ai-assisted-contributions.md) spells out how that applies here. In short:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Point the developer-process link at the existing branch

The new URL targets visgl/tsc's main branch, while that repository's developer-process and charter links already use master (see lines 80 and 101), so contributors following this policy link receive a 404. Change the URL to the branch where ai-assisted-contributions.md is published, or link to PR #20 until that document is merged.

Useful? React with 👍 / 👎.

…, AGENTS.md pointer

Applies the OpenJS Foundation Policy on Use of AI Coding Assistants (March 27,
2026) in this repository, following the vis.gl developer-process page proposed
in visgl/tsc#20: a short AI-assisted contributions section in CONTRIBUTING.md, a
single checkbox in the pull request template, and a contribution-policy section
in AGENTS.md so agents that prepare pull requests include the disclosure, never
add Signed-off-by tags, stay off newcomer issues and do not open PRs on their own.
The existing AGENTS.md instruction to prepare a PR description now says the
contributor edits, verifies and discloses it.

Assisted-by: a coding agent
Claude-Session: https://claude.ai/code/session_01RszQw7B8p94Hyxy4LFsxYj
@felixpalmer

Copy link
Copy Markdown
Collaborator

Appreciate the initiative, but closing in favor of #10701 - I think our AI policy should be drafted by humans, not AI

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