Skip to content

Add an AI assistance section to the PR template and the dev-docs - #1875

Merged
sequba merged 5 commits into
developfrom
docs/ai-assistance-disclosure
Nov 4, 2026
Merged

sequba merged 5 commits into
developfrom
docs/ai-assistance-disclosure

Conversation

@sequba

@sequba sequba commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Context

The PR adds a place to declare AI-generated code: a section in the PR template, and the rules for AI-assisted changes in dev-docs/.

  • Why: The team uses Claude Code, Cursor and Copilot, and agents push their own branches. Reviewers can't tell which parts of a PR a tool wrote, so they can't give those parts the scrutiny they need, such as a licence check for copied code.
  • What changed:
    • .github/pull_request_template.md: new AI assistance section after "How did you test your changes?". It asks for the tool and the parts it wrote, or "None".
    • dev-docs/DEFINITION-OF-DONE.md: new AI-assisted changes section. It defines "substantial" and the checks before review: approved tools on a company account, nothing sensitive in prompts, licence checked, every line understood.
    • dev-docs/CODE-REVIEW.md: one checklist item for reviewers, next to the existing agent-mistakes item.
    • dev-docs/README.md: index row pointing to the new section.
  • Result: Every PR states whether AI wrote part of it, and both authors and reviewers have one page that says what that means for the review.

How did you test your changes?

Not run locally: the edits were made in the GitHub web editor. I checked the link targets: AGENTS.md#common-ways-agents-fail and SECURITY.md exist on develop, and #ai-assisted-changes matches the new heading.

AI assistance

Claude Code wrote all four edits and this description.

Compatibility with Excel and Google Sheets

Not applicable.

Public API changes

None.

Out of scope and follow-ups

  • AGENTS.md is not changed: agents fill in the template, and the template comment links the new section.

Types of changes

  • Breaking change (existing functionality no longer works as before) – agreed with the maintainers
  • New feature or improvement (a non-breaking change that adds functionality)
  • Bug fix (a non-breaking change that fixes an issue)
  • Additional language file, or a change to an existing language file (translations)
  • Change to the documentation

Developer documentation and the PR template only; nothing in docs/ changes.

Related issues

None.

Checklist

  • My pull request meets the Definition of Done.
  • I have signed the Contributor License Agreement.
  • I read my own diff end to end before requesting a review.
  • I added a CHANGELOG.md entry – or none is needed (docs, tests or tooling only).
  • I updated the documentation and JSDoc to match the change.
  • Breaking change only: I added a section to the migration guide.
  • I updated the dev-docs/ pages this change affects – or none needed it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KD7f9X9Hm2z4bZzpssoqcP


Note

Low Risk
Process and developer-documentation updates only; no engine, API, or runtime behavior changes.

Overview
Pull requests must now declare when AI wrote a substantial part of the change, so reviewers know which sections need extra scrutiny (including licence checks).

The GitHub pull request template gains an AI assistance section (tool name, what it wrote, or "None"), with a pointer to the new dev-docs rules. dev-docs/DEFINITION-OF-DONE.md adds AI-assisted changes: what counts as substantial, and pre-review requirements (approved company tools, no sensitive prompts, licence compatibility, understanding every line). dev-docs/CODE-REVIEW.md adds a matching reviewer checklist item alongside the existing agent-mistakes check.

Reviewed by Cursor Bugbot for commit daac140. Bugbot is set up for automated code reviews on this repo. Configure here.

sequba and others added 4 commits November 4, 2026 08:43
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
🔵 In progress
View logs
hyperformula-docs daac140 Nov 04 2026, 07:51 AM

Comment thread dev-docs/README.md Outdated
| Writing a documentation page | [`DOCS-CONTENT-GUIDE.md`](DOCS-CONTENT-GUIDE.md) |
| Installing the workspace, deploying the portal, cutting a release, scripts and CI, dependencies | [`BUILD.md`](BUILD.md) |
| Opening a pull request | [`DEFINITION-OF-DONE.md`](DEFINITION-OF-DONE.md#opening-the-pull-request) |
| A change an AI tool helped write | [`DEFINITION-OF-DONE.md`](DEFINITION-OF-DONE.md#ai-assisted-changes) |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@cursoragent remove this line

@cursor cursor Bot Nov 4, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Done. Removed the "A change an AI tool helped write" row from dev-docs/README.md and pushed the change.

Open in Web Open in Cursor 

Co-authored-by: Kuba Sekowski <sequba@users.noreply.github.com>
@sequba
sequba merged commit 0f902d9 into develop Nov 4, 2026
32 of 34 checks passed
@sequba
sequba deleted the docs/ai-assistance-disclosure branch November 4, 2026 07:52
@codecov

codecov Bot commented Nov 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.36%. Comparing base (98e374c) to head (daac140).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1875   +/-   ##
========================================
  Coverage    97.36%   97.36%           
========================================
  Files          209      209           
  Lines        16524    16524           
  Branches      3636     3636           
========================================
  Hits         16089    16089           
  Misses         427      427           
  Partials         8        8           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Performance comparison of head (daac140) vs base (98e374c)

                                     testName |   base |    head | change
-------------------------------------------------------------------------
                                      Sheet A | 486.09 |  494.15 | +1.66%
                                      Sheet B | 153.91 |     153 | -0.59%
                                      Sheet T | 137.48 |     138 | +0.38%
                                Column ranges |  468.1 |  467.85 | -0.05%
                                Sorted lookup |  13847 | 14136.2 | +2.09%
Sheet A:  change value, add/remove row/column |  15.24 |   14.56 | -4.46%
 Sheet B: change value, add/remove row/column | 136.74 |  131.28 | -3.99%
                   Column ranges - add column | 151.74 |  143.65 | -5.33%
                Column ranges - without batch | 460.82 |  440.47 | -4.42%
                        Column ranges - batch | 113.97 |  111.38 | -2.27%

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