Back to Directus

AI Usage Policy

ai_policy.md

11.17.41.7 KB
Original Source

AI Usage Policy

Overview

We welcome the use of AI tools to assist with development in this repository. However, AI is a tool, not a substitute for understanding or accountability.

Contributors are responsible for any code they submit. Maintainers are responsible for any code that is reviewed, merged, and released. To protect the integrity of this project, we maintain a high bar for all contributions.

Code Contributions

AI may be used to assist with writing, reviewing, or improving code. However:

  • You must fully understand any AI-assisted code you submit
  • You are responsible for verifying correctness, security, and performance
  • Submissions must meet all project standards and guidelines

We require a human in the loop at all times.

The use of fully autonomous agents to create issues, pull requests, or other contributions is not allowed. Contributions suspected to be generated without meaningful human involvement will be closed.

Communication

AI may be used to help draft, refine, or translate your written communication. However, all communication must ultimately be your own:

  • Do not copy-paste or use entirely AI-generated text for issue descriptions, pull requests, comments, or replies
  • Comments that appear to be AI-generated may be removed

When including AI-generated content for context (e.g. error analysis, translation):

  • Clearly disclose that it is AI-generated
  • Use a quote block (e.g., >)
  • Provide your own explanation of why it is relevant

Enforcement

Maintainers may take the following actions if this policy is not followed:

  • Remove or hide comments
  • Close issues or pull requests
  • Restrict repository access for repeated violations