Skip to content

developer-process: apply the OpenJS AI coding assistants policy in vis.gl - #20

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

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

Conversation

@jatorre

@jatorre jatorre commented Sep 8, 2026 •

Copy link
Copy Markdown

Summary

Adds developer-process/ai-assisted-contributions.md: what the OpenJS Foundation Policy on Use of AI Coding Assistants (Board, March 27, 2026) says, quoted, and how vis.gl projects would apply it in practice. Linked from the developer-process README. Adoption is the TSC's decision; this PR is the text to decide on.

The Foundation policy already covers submissions to vis.gl repositories, DCO or not: submitter responsibility, licensing compliance, humans-only Signed-off-by, and a strongly recommended Assisted-by tag. None of our contributing guides, PR templates or process documents mention it today. The page fills that gap with ten practices that recur across Node.js, MapLibre, LLVM and the Linux kernel:

  1. Disclose substantial assistance in the PR description; a trailer where commits are preserved. Not penalized.
  2. Understand and be able to defend the change; answer review yourself.
  3. Verify before review, including render and browser tests for rendering changes.
  4. Respect reviewer time; unexplained, untested or misrepresented PRs may be closed; repeated cases go to the TSC under the Code of Conduct.
  5. Newcomer-labelled issues are for people.
  6. No unattended automation beyond what maintainers have approved (dependency bots, reviewed workflows).
  7. Verified bug reports and review comments.
  8. Own words in communication; an agent-drafted description you edited, verified and disclosed is fine.
  9. Copyright and provenance, pointing at the Linux Foundation guidance.
  10. Expectations for agents working from AGENTS.md.

A companion draft, visgl/deck.gl#10680, wires the repository side (CONTRIBUTING section, one PR-template checkbox, AGENTS.md pointer) and depends on this PR.

Why now

PR descriptions in visgl/deck.gl 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, and deck.gl's AGENTS.md asks agents to prepare one, so it is a proxy rather than a measurement of AI-written code. Either way the assistance is here and is welcome; what is missing is a shared norm for saying how a change was made and what its author verified.

Node.js landed its guidelines in August 2026; MapLibre has had a policy since December 2025 and a PR-template checkbox since April. This text follows both and the Foundation policy rather than inventing rules.

Follow-ups if adopted

luma.gl's docs/developer-guide/working-with-ai.md currently states that its workflow page "does not add an AI disclosure requirement"; that sentence and the equivalent in the luma skill would need a one-line update to point here. deck.gl's AGENTS.md instruction to "prepare a copyable Markdown PR description" is compatible with practice 8 once the contributor edits, verifies and discloses it; #10680 adds that wording.

For discussion

Opened for the "Future of Vis.gl" session at the Open Visualization Summit on Thursday. Revised once after an independent review pass (Foundation quotes checked against the PDF; trailer rule made squash-merge aware; closing and blocking language returned to the TSC).

Disclosure

Drafted with an AI coding agent (Claude Code) from a review of the primary policy texts, and reviewed by me; the commit carries an Assisted-by: trailer.

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:26.339767Z 7df6fc8 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.

@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: 7df6fc8b71

ℹ️ 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".


Disclose in two places:

- In the commit message, with a trailer naming the tool, for example `Assisted-by: Claude Code` or

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 Add the promised Assisted-by trailer

For this AI-drafted policy commit, the new rule requires disclosure through an Assisted-by: trailer, and the commit message even claims that it carries one, but parsing the message with git interpret-trailers --parse confirms that no such trailer exists. Add the trailer before merging so the commit introducing the policy complies with its own machine-readable disclosure requirement.

Useful? React with 👍 / 👎.

Comment on lines +33 to +34
history, `Assisted-by: a coding agent` is acceptable, with the specific tool named in the pull
request description.

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 Name the assistant in the trailer

When a contributor uses the permitted Assisted-by: a coding agent form, the trailer does not identify the assistant as required by the Foundation policy quoted above; the actual identity exists only in the pull-request description and is lost when the commit is consumed as a patch or cherry-picked without that PR context. Require the specific assistant in the trailer, or avoid presenting the generic form as compliant with the adopted policy.

Useful? React with 👍 / 👎.

…s.gl

Adds developer-process/ai-assisted-contributions.md: what the OpenJS Foundation
Policy on Use of AI Coding Assistants (March 27, 2026) says, quoted, and ten
practices for applying it in vis.gl repositories, drawn from Node.js, MapLibre,
LLVM and the Linux kernel: disclosure in the PR description (trailer where commits
are preserved), understand and defend, verify including render tests, respect
reviewer time, newcomer issues for people, no unattended automation, verified bug
reports and reviews, own words in communication, copyright and provenance, and
expectations for agents. Linked from the process README.

Assisted-by: a coding agent
Claude-Session: https://claude.ai/code/session_01RszQw7B8p94Hyxy4LFsxYj
@jatorre
jatorre force-pushed the ai-assisted-contributions branch from 7df6fc8 to 4cee0a1 Compare September 8, 2026 11:12
@jatorre jatorre changed the title developer-process: adopt the OpenJS AI coding assistants policy for vis.gl developer-process: apply the OpenJS AI coding assistants policy in vis.gl Sep 8, 2026
jatorre pushed a commit to jatorre/deck.gl that referenced this pull request Sep 8, 2026
…, 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
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.

1 participant