-
Notifications
You must be signed in to change notification settings - Fork 918
website: Add Kubeflow AI Policy #4336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+20
−0
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
816172f
add Kubeflow AI Policy
szaher 5fcea8b
use short and concise ai policy message instead of long structured one
szaher c947620
Update content/en/docs/about/ai_policy.md
szaher 829095a
use bullet points for the ai policy guide
szaher 4ee8746
Merge branch 'ai-policy' of github.com:szaher/website into ai-policy
szaher 57e8105
update the quality bullet
szaher 04f2acc
Apply suggestion from @franciscojavierarceo
franciscojavierarceo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| +++ | ||
| title = "AI Policy" | ||
| description = "Guidelines for using AI and coding agents" | ||
| weight = 30 | ||
| aliases = ["/docs/ai-policy/"] | ||
| +++ | ||
|
|
||
| Please review the Kubeflow [contributing](contributing.md) guide first. | ||
|
franciscojavierarceo marked this conversation as resolved.
Outdated
|
||
|
|
||
| The use of AI to generate code or documentation is permitted, but contributors must adhere to the following guidelines. | ||
|
|
||
| - **Verification:** Do not blindly submit AI outputs. All AI-generated code must be locally built, linted, and tested against the Kubeflow test suite before a PR is opened. | ||
| - **Explainability:** You must be able to explain and justify any AI-generated logic during the review process. If you can't explain it, don't submit it. | ||
| - **Disclosure:** If a contribution is substantially generated or refactored by AI (e.g., Claude, Codex, Cursor), include a note in the PR description or use a footer in the commit message: `Assisted-by: [Agent Name]`, or `Co-authored-by: [Agent Name]`. | ||
| - **Quality:** All contributions must still meet Kubeflow’s quality and security standards and comply with [DCO](https://developercertificate.org/), the [Apache-2.0](https://github.com/kubeflow/kubeflow/blob/master/LICENSE) license, and third-party IP/licensing requirements. | ||
| - **Authentic Communication:** AI should be used for code and technical drafting, not for automated responses to maintainer feedback or community discussions. We value human-to-human collaboration. | ||
|
|
||
|
|
||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also specify that if
AGENTS.mdfiles are present in Kubeflow sub-projects, agents should be configured to read them for additional context.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I remember @thesuperzapper mentioned this is not a policy but more of contributing guide or suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes agents.md and copilot-instructions.md
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@szaher Please can you add this, so we can merge this PR.
You can say that if those files are available, please review them for additional context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i added it