Repository navigation
Add the Open Home Foundation AI Policy - #4911
Conversation
📝 WalkthroughWalkthroughAdds ChangesAI contribution policy
Estimated code review effort: 1 (Trivial) | ~5 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@AI_POLICY.md`:
- Line 27: Update the wording in the AI policy text to hyphenate “open-source”
when it modifies “nature,” changing the phrase to “foundational open-source
nature” while preserving the rest of the statement.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
|
|
||
| ## Code and documentation contributions | ||
|
|
||
| AI can be a helpful tool for writing code and documentation. However, due to the foundational open source nature of our projects, we require a human in the loop who understands the work produced by AI. |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Hyphenate “open-source.”
Use “foundational open-source nature” when the phrase modifies “nature.”
Suggested fix
-AI can be a helpful tool for writing code and documentation. However, due to the foundational open source nature of our projects, we require a human in the loop who understands the work produced by AI.
+AI can be a helpful tool for writing code and documentation. However, due to the foundational open-source nature of our projects, we require a human in the loop who understands the work produced by AI.📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| AI can be a helpful tool for writing code and documentation. However, due to the foundational open source nature of our projects, we require a human in the loop who understands the work produced by AI. | |
| AI can be a helpful tool for writing code and documentation. However, due to the foundational open-source nature of our projects, we require a human in the loop who understands the work produced by AI. |
🧰 Tools
🪛 LanguageTool
[grammar] ~27-~27: Use a hyphen to join words.
Context: ...n. However, due to the foundational open source nature of our projects, we requir...
(QB_NEW_EN_HYPHEN)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@AI_POLICY.md` at line 27, Update the wording in the AI policy text to
hyphenate “open-source” when it modifies “nature,” changing the phrase to
“foundational open-source nature” while preserving the rest of the statement.
Source: Linters/SAST tools
There was a problem hiding this comment.
@michauMiau, it is purely a style/grammar suggestion: when “open source” jointly modifies the following noun (“nature”), many English style guides hyphenate it as the compound modifier “open-source.”
It does not change the policy’s meaning, so feel free to ignore it if the project’s preferred style is “open source” unhyphenated.
Adds the Open Home Foundation AI Policy to this repository. This is part of a rollout across all repositories in the
home-assistantandhome-assistant-libsorganizations, announced in this blog post.AI_POLICY.mdto the repository root.The policy describes how we handle AI-assisted contributions: AI tools are welcome as an aid, but contributors must fully understand and be able to explain every change they submit, and contributions made by autonomous agents are not accepted. The canonical version lives in our developer documentation.
Summary by CodeRabbit