From ad8d61bb1945a8d246fab3ebdcc16169e7145a58 Mon Sep 17 00:00:00 2001 From: Noa Himesaka Date: Mon, 16 Nov 2026 20:34:31 +0900 Subject: [PATCH] feat: add LLM policy --- docs/llm-policy.md | 9 +++++++++ mkdocs.yml | 1 + 2 files changed, 10 insertions(+) create mode 100644 docs/llm-policy.md diff --git a/docs/llm-policy.md b/docs/llm-policy.md new file mode 100644 index 00000000..5e0e941d --- /dev/null +++ b/docs/llm-policy.md @@ -0,0 +1,9 @@ +# t2linux LLM Policy + +t2linux project allows LLM-assisted contribution for codes. However, unreviewed, untested, or low quality code generated by LLM (sometimes called vibe coding) is not allowed and can lead to a ban. +Also, you're required to disclose your LLM usage in the PR description and use Co-Authored-By: [model] if you used LLM for significant amount of code. +Moreover, we do not allow usage of LLM for writing issues, and title and description of Pull Requests. (e.g. posting LLM output of bug reports, letting your "Agent" write an issue or PR on your behalf) You will be warned for first offense, but continuation of this behavior could lead to a ban. + +## Special rule for submitting patches that could be submitted to the upstream Linux kernel + +Please follow our LLM policy for PR (and disclose your usage), but follow [upstream Linux kernel guideline](https://docs.kernel.org/process/coding-assistants.html) for the patch file themselves. (tl;dr: no Co-Authored-By or Assisted-by in patches themselves, disclosure in the description is fine.) diff --git a/mkdocs.yml b/mkdocs.yml index a55e1559..e4f77fbb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -80,6 +80,7 @@ nav: - Installation Roadmap: roadmap.md - Contribute: contribute.md - Code of Conduct: code-of-conduct.md + - LLM (AI) Policy: llm-policy.md - Notable Contributors: notable-contributors.md - Guides: - Pre-Install: guides/preinstall.md