Page MenuHomeFreeBSD

D54817.id170217.diff
No OneTemporary

D54817.id170217.diff

diff --git a/documentation/content/en/articles/committers-guide/_index.adoc b/documentation/content/en/articles/committers-guide/_index.adoc
--- a/documentation/content/en/articles/committers-guide/_index.adoc
+++ b/documentation/content/en/articles/committers-guide/_index.adoc
@@ -2410,6 +2410,16 @@
Detailed information on how to access these branches can be found in
crossref:committers-guide[admin-branch, "admin" branch].
+[[ai-policy]]
+== Generative AI Contributions
+
+The extref:{ai-guide}[A Developer's Guide to Generative AI in FreeBSD] supplements this document with AI-specific best practices:
+
+* You are responsible for every line you commit. Review, understand, and test AI output. Do not commit code you do not understand.
+* Check AI suggestions against authoritative sources (for example, man pages and header files). AI can hallucinate, be outdated, or suggest insecure patterns.
+* Consider licensing and the AI service terms, including any attribution requirements. For large outputs, use them as a reference and rewrite them instead of copy-pasting.
+* Protect privacy. Do not paste undisclosed security patches, experimental features, or vendor-sensitive code into a public AI chat service unless the terms say your prompts are private and not used for training. Remove secrets and other sensitive details from prompts. Prefer local models for sensitive work.
+
[[pre-commit-review]]
== Pre-Commit Review
diff --git a/shared/en/urls.adoc b/shared/en/urls.adoc
--- a/shared/en/urls.adoc
+++ b/shared/en/urls.adoc
@@ -25,6 +25,7 @@
:fdp-primer: {main-site}/books/fdp-primer/
// articles
+:ai-guide: {main-site}/articles/ai-guide/
:bsdl-gpl: {main-site}/articles/bsdl-gpl/
:building-products: {main-site}/articles/building-products/
:committers-guide: {main-site}/articles/committers-guide/

File Metadata

Mime Type
text/plain
Expires
Fri, May 15, 7:38 AM (14 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33076769
Default Alt Text
D54817.id170217.diff (1 KB)

Event Timeline