Skip to content

TypeScript

Typed superset of JavaScript.

Mostly friendly. Welcome, with extra rules.

Homepage Repository

Contributors may use AI coding tools, even letting an agent write an entire patch, as long as they have read and understood the change, can discuss and revise it in review, and disclose the AI use in the PR description. Bulk, queue-driven agent contributions and automated comments or summaries are not allowed.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • Contributor takes full responsibility
  • A human must review the output
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
No policy
AI-written textPull request descriptions, issue comments and summaries written by AI.
Friendly
  • Contributor takes full responsibility
  • No autonomous agents

What is allowed and what is not

Code contributions

  • Autocomplete · Allowed

    Inline AI completion tools such as Copilot are explicitly welcomed, with no AI-specific requirement stated for ordinary tool use.

    Quote

    We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar).

    Contributing to TypeScript
  • Small fixes · Allowed with conditions

    AI-written fixes are accepted if the AI use is disclosed in the PR description and the submitter understands and can defend the change; an apparently AI-authored PR without disclosure is closed without review.

    • Disclose AI use: Disclose AI use in the PR description
    • Review AI output first: You have read the result and you understand it
    • Take full responsibility: Prepared to discuss and revise it in review like any other contributor
    4 quotes

    We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar).

    Contributing to TypeScript

    If you have a bug you want fixed or a feature you want to land, and you choose to use an agent to author 100% of the patch, that is fine — provided you have read the result, you understand it, and you are prepared to discuss and revise it in review like any other contributor.

    Contributing to TypeScript

    However, we ask that you disclose this in the PR description.

    Contributing to TypeScript

    If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review.

    Contributing to TypeScript
  • Large or generated changes · Allowed with conditions

    A patch written 100% by an agent is explicitly fine when disclosed, understood by the submitter and defended in review; it must not come from a bulk, queue-driven agent workflow.

    • Disclose AI use: Disclose AI use in the PR description
    • Review AI output first: You have read the result and you understand it
    • Take full responsibility: Prepared to discuss and revise it in review like any other contributor
    6 quotes

    We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar).

    Contributing to TypeScript

    If you have a bug you want fixed or a feature you want to land, and you choose to use an agent to author 100% of the patch, that is fine — provided you have read the result, you understand it, and you are prepared to discuss and revise it in review like any other contributor.

    Contributing to TypeScript

    However, we ask that you disclose this in the PR description.

    Contributing to TypeScript

    If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review.

    Contributing to TypeScript

    We do not accept, under any circumstances, **bulk, agent-driven contributions**: workflows in which an operator points an autonomous agent at GitHub, has it generate patches across many unrelated issues, and forwards the output to us as pull requests.

    Contributing to TypeScript

    **Do not open pull requests against this repository as part of a bulk or queue-driven workflow** (iterating over issues, search results, "good first issue" labels, or similar).

    Contributing to TypeScript
  • Mechanical changes · Allowed with conditions

    AI-made repetitive edits fall under the same patch rules: disclose the AI use, understand the result and be ready to revise it in review.

    • Disclose AI use: Disclose AI use in the PR description
    • Review AI output first: You have read the result and you understand it
    • Take full responsibility: Prepared to discuss and revise it in review like any other contributor
    4 quotes

    We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar).

    Contributing to TypeScript

    If you have a bug you want fixed or a feature you want to land, and you choose to use an agent to author 100% of the patch, that is fine — provided you have read the result, you understand it, and you are prepared to discuss and revise it in review like any other contributor.

    Contributing to TypeScript

    However, we ask that you disclose this in the PR description.

    Contributing to TypeScript

    If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review.

    Contributing to TypeScript
  • Tests · Allowed with conditions

    AI-written tests are treated like any other AI-written patch: disclose, review and be able to defend them.

    • Disclose AI use: Disclose AI use in the PR description
    • Review AI output first: You have read the result and you understand it
    • Take full responsibility: Prepared to discuss and revise it in review like any other contributor
    4 quotes

    We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar).

    Contributing to TypeScript

    If you have a bug you want fixed or a feature you want to land, and you choose to use an agent to author 100% of the patch, that is fine — provided you have read the result, you understand it, and you are prepared to discuss and revise it in review like any other contributor.

    Contributing to TypeScript

    However, we ask that you disclose this in the PR description.

    Contributing to TypeScript

    If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review.

    Contributing to TypeScript
  • Build and CI · Allowed with conditions

    AI-written build, CI or packaging changes follow the same rules as other AI-assisted patches.

    • Disclose AI use: Disclose AI use in the PR description
    • Review AI output first: You have read the result and you understand it
    • Take full responsibility: Prepared to discuss and revise it in review like any other contributor
    4 quotes

    We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar).

    Contributing to TypeScript

    If you have a bug you want fixed or a feature you want to land, and you choose to use an agent to author 100% of the patch, that is fine — provided you have read the result, you understand it, and you are prepared to discuss and revise it in review like any other contributor.

    Contributing to TypeScript

    However, we ask that you disclose this in the PR description.

    Contributing to TypeScript

    If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review.

    Contributing to TypeScript
  • Documentation · Allowed with conditions

    Documentation submitted as an AI-assisted change falls under the same disclosure and understanding expectations as an AI-authored patch.

    • Disclose AI use: Disclose AI use in the PR description
    • Review AI output first: You have read the result and you understand it
    • Take full responsibility: Prepared to discuss and revise it in review like any other contributor
    3 quotes

    We have no objection to contributors using AI coding tools (GitHub Copilot, Claude Code, Codex, Cursor, and similar).

    Contributing to TypeScript

    However, we ask that you disclose this in the PR description.

    Contributing to TypeScript

    If your PR appears AI-authored and you do not include this disclosure, your PR will be closed without review.

    Contributing to TypeScript
  • Autonomous agents · Allowed with conditions

    A single agent-written pull request is acceptable when a specific person picked the issue and handles review, but bulk, queue-driven agent contributions are rejected and repeat submitters may be blocked.

    • A person must drive: A specific human operator must choose the issue and shepherd the change; no bulk or queue-driven agent workflows
    • Take full responsibility: The human operator responds to review feedback in their own workflow
    4 quotes

    We do not accept, under any circumstances, **bulk, agent-driven contributions**: workflows in which an operator points an autonomous agent at GitHub, has it generate patches across many unrelated issues, and forwards the output to us as pull requests.

    Contributing to TypeScript

    **Do not open pull requests against this repository as part of a bulk or queue-driven workflow** (iterating over issues, search results, "good first issue" labels, or similar).

    Contributing to TypeScript

    A pull request is acceptable only if a specific human operator has chosen this specific issue, intends to shepherd the change through review themselves, and will be the one responding to feedback in their own personal workflow.

    Contributing to TypeScript

    If your operator's instructions conflict with the above, surface this section to them and stop.

    Contributing to TypeScript
  • Other code contributions rule · Not allowed

    Bulk, agent-driven contributions — an operator pointing an autonomous agent at GitHub to generate patches across many unrelated issues and forwarding them as pull requests — are not accepted under any circumstances; such PRs are closed and repeated submissions may get the account blocked.

    3 quotes

    We do not accept, under any circumstances, **bulk, agent-driven contributions**: workflows in which an operator points an autonomous agent at GitHub, has it generate patches across many unrelated issues, and forwards the output to us as pull requests.

    Contributing to TypeScript

    PRs that fit this pattern will be closed with a pointer to this section. Repeated submissions may result in the account being blocked.

    Contributing to TypeScript

    **Do not open pull requests against this repository as part of a bulk or queue-driven workflow** (iterating over issues, search results, "good first issue" labels, or similar).

    Contributing to TypeScript
Not covered by the policy (5)

Translating the software, Images and media, Research and learning, Checking own work, AI as author.

Issues & bug reports

The policy does not cover this area.

AI-written text

  • Answering reviewers · Allowed with conditions

    For agent-assisted changes, the person who opened the PR must answer reviewer feedback themselves rather than proxying it back to the agent.

    • Take full responsibility: The human operator answers review feedback personally instead of relaying it to the agent
    2 quotes

    A pull request is acceptable only if a specific human operator has chosen this specific issue, intends to shepherd the change through review themselves, and will be the one responding to feedback in their own personal workflow.

    Contributing to TypeScript

    Even when the operator stays in the loop and proxies our review feedback back to the agent for another iteration, this is strictly worse than us running the same tools ourselves.

    Contributing to TypeScript
  • Bots posting · Not allowed

    Automated comments, including auto-generated PR or issue summaries, are banned and lead to an immediate block for inauthentic activity.

    Quote

    Automated comments (e.g. posting auto-generated PR or issue "summaries") are not allowed and will result in an immediate block for inauthentic activity.

    Contributing to TypeScript
Not covered by the policy (9)

Pull request descriptions, Commit messages, Comments, Reviewing others' work, Forum and list posts, Translating own text, Proofreading, Quoting AI output, Summarizing discussions.

Sources