Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
<!--- The commands you ran and what they showed – not "added tests". -->
<!--- Internal team: name the paired branch in `hyperformula-tests`. External contributors: put your tests in `hyperformula/test/`. -->

### AI assistance
<!--- Did an AI tool (Claude Code, Cursor, Copilot or another) write a substantial part of this change? Name the tool and the parts it wrote: code, tests, docs. Write "None" if it didn't. -->
<!--- AI-written code gets the same review, CI and tests as any other code. See dev-docs/DEFINITION-OF-DONE.md#ai-assisted-changes. -->

### Compatibility with Excel and Google Sheets
<!--- List the formulas you checked in real Excel (and in Google Sheets, where relevant) and the results. -->
<!--- If HyperFormula deliberately behaves differently, explain why here and add it to docs/guide/list-of-differences.md. -->
Expand Down
1 change: 1 addition & 0 deletions dev-docs/CODE-REVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Each line names the page that owns the rules and when it applies. Where reviews
- [ ] Nothing breaks the [sensitive information rules](SENSITIVE-INFORMATION.md) — *always: code, comments, commits, pull request text, changelog, docs*
- Most often missed: client names; personal data; credentials; private URLs; internal ticket content.
- [ ] None of the mistakes in [Common ways agents fail](../AGENTS.md#common-ways-agents-fail) slipped through — *pull requests written with an AI agent*
- [ ] The AI assistance section of the description names the tool and what it wrote, and those parts meet [AI-assisted changes](DEFINITION-OF-DONE.md#ai-assisted-changes), licence check included — *pull requests written with an AI tool*
- [ ] An external contribution follows the [contributing guide](../CONTRIBUTING.md): CLA signed, tests in `hyperformula/test/` — *pull requests from outside the team*

## Review-specific checks
Expand Down
13 changes: 13 additions & 0 deletions dev-docs/DEFINITION-OF-DONE.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,19 @@ A pull request contains a single atomic, self-contained functional change: one b

**Keep the description current.** A description written once and never revisited is the most common failure in this repository. When the branch changes scope, update it in the same push.

## AI-assisted changes

When an AI tool wrote a substantial part of a change, the pull request says so in the template's [AI assistance](../.github/pull_request_template.md#ai-assistance) section: which tool, and which parts it wrote. Substantial means code, tests or docs you did not write yourself; a one-line completion does not count.

An AI-assisted change gets the same review, CI and tests as any other, and you answer for every line of it. Before you request a review:

- **Approved tools only.** Use only AI tools the company has approved, signed in with a company account, never a personal one.
- **Nothing sensitive in the prompt.** No credentials, tokens, production data or client data. What else must stay out is in [`SENSITIVE-INFORMATION.md`](SENSITIVE-INFORMATION.md).
- **Licence checked.** Generated code must not copy code under a licence incompatible with HyperFormula's, copyleft above all.
- **Understood.** You can explain every generated line in review, and you have checked it against the mistakes in [Common ways agents fail](../AGENTS.md#common-ways-agents-fail).

A vulnerability introduced by AI-generated code is reported like any other security issue, as [`SECURITY.md`](../SECURITY.md) describes.

## Changes that implement a spec

This applies to tasks that come with a spec: a document with numbered decisions. How a spec is written and approved belongs to the internal delivery process, not this page.
Expand Down
1 change: 1 addition & 0 deletions dev-docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Repository-wide standards and process live here. Each package documents its own
| 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 

| Reviewing a pull request | [`CODE-REVIEW.md`](CODE-REVIEW.md) |
| What must never appear in code, commits, pull requests, or docs | [`SENSITIVE-INFORMATION.md`](SENSITIVE-INFORMATION.md) |
| Which package holds what, and what the monorepo move still owes | [`STRUCTURE.md`](STRUCTURE.md) |
Expand Down
Loading