AI Usage in LunyScript Development

Transparency statement about artificial intelligence assistance in this project

Intro

A uniform high-level API layer across engines doesn’t exist partly due to the tedious, boring work writing engine adapters and abstractions. Nobody likes doing that.

But now, we can outsource this to AI. It will accurately map one API to another.

In that sense, AI is truly transformative: We are no longer bound to the APIs we get fed by vendors. We can build our own on top, make it consistent, simple, uniform.

Since LunyScript is an open source project, certain rules and guidelines for using AI needed to be established.

So, allow me to let the AI do the detailed, boring legal/regulatory text for me. If reading this bores you, feed that text into your AI to provide you with a quick summary. 😉

FOSS Compliance

This project’s use of AI complies with Free and Open Source Software (FOSS) principles. We ensure FOSS compatibility through:

This approach protects the project from license contamination while maintaining the transparency and legal clarity expected in FOSS development.

Purpose

This document records how AI tools are used in the design, documentation, and implementation of LunyScript to maintain transparency with contributors and users.


⚠️ Critical Policy: Legally Disputed AI Models ⚠️

AI models currently involved in relevant legal disputes MUST NOT be used for contributions to this project!

🚫 List of Prohibited AI Tools 🚫

🚫 GitHub Copilot - FORBIDDEN for contributions to this project 🚫

🚫 OpenAI GPT Models (ChatGPT, GPT-4, etc.) - FORBIDDEN for contributions to this project 🚫

If other AI models become subject to similar legal disputes, they will be added to this prohibited list.


AI Tools Approved for Use

Co-authoring with AI is restricted to the models listed in this section.

Claude (Anthropic)

JetBrains AI (including Junie)

Our AI Usage Policy

What We Use AI For

Human Oversight

Quality Standards

  1. Review every suggestion - AI output is a draft, not final
  2. Understand the code - if AI generates it, we must comprehend it
  3. Test thoroughly - AI-assisted code receives same testing as hand-written code
  4. Document rationale - explain why, not just what AI suggested

License Compatibility

MIT License and AI

Why This Matters

Transparency about AI usage:

For Contributors

Contributor Responsibilities and Indemnification

By contributing to this project, you represent and warrant that:

  1. Legal Right: You have the legal right to submit your contributions
  2. No Infringement: Your contributions do not infringe any third-party intellectual property rights
  3. Compliance: You comply with this AI-USAGE.md policy for all AI-assisted contributions
  4. Indemnification: You agree to indemnify and hold harmless the project maintainers from any claims, damages, or legal costs arising from your contributions

Consequences of policy violations:

Developer Certificate of Origin (DCO)

All commits must include a Signed-off-by line certifying you agree to the Developer Certificate of Origin.

See CONTRIBUTING.md for easy setup instructions - we provide scripts to automate this.

Manual sign-off:

git commit -s -m "Your commit message"

This certifies that you have the right to submit the work under the project’s license.

Required: First AI-Assisted Contribution

Your first AI-assisted commit MUST include this declaration:

I am using AI to co-author my contributions and will comply with AI-USAGE.md as updated.

AI tool(s): [e.g., Claude, JetBrains AI]

Signed-off-by: Your Name <your.email@example.com>

If You Use AI Tools

Want to Use an Unlisted AI Tool?

If You Don’t Use AI Tools

General Caution Guidelines

⚠️ Exercise caution with any AI model that:

When in doubt:

  1. Open a discussion before using the tool
  2. Do not submit contributions until the tool is approved

Note: This is project policy based on risk assessment, not legal advice.

Code Review and Verification

All contributions undergo review to verify:

We reserve the right to:

This review process demonstrates due diligence in maintaining license compliance and code quality.

Attribution

While not required by our license or AI terms of service:

Questions?

If you have questions about AI usage in this project, please:


Last Updated: 2025-11-12

Status: Living document - will be updated as AI tools and practices evolve