Skip to content

Add the Open Home Foundation AI Policy - #176917

Merged
frenck merged 3 commits into
devfrom
frenck/add-ai-policy
Jul 21, 2026
Merged

frenck merged 3 commits into
devfrom
frenck/add-ai-policy

Conversation

@frenck

@frenck frenck commented Jul 20, 2026

Copy link
Copy Markdown
Member

Breaking change

Proposed change

Adds the Open Home Foundation AI Policy to this repository. This is part of a rollout across all repositories in the home-assistant and home-assistant-libs organizations, announced in this blog post.

  • Adds AI_POLICY.md to the repository root.
  • Adds a reference to the policy in CONTRIBUTING.md.
  • Adds a reference to the policy in AGENTS.md, which CLAUDE.md symlinks to.

This is a documentation and policy change. It does not touch any Python code, so none of the code-related type-of-change options below apply.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Deprecation (breaking change to happen in the future)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:
  • Link to developer documentation pull request:
  • Link to frontend pull request:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • The code has been formatted using Ruff (ruff format homeassistant tests)
  • Tests have been added to verify that the new code works.
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • For the updated dependencies a diff between library versions and ideally a link to the changelog/release notes is added to the PR description.

To help with the load of incoming pull requests:

Copilot AI review requested due to automatic review settings July 20, 2026 16:00
@frenck
frenck requested a review from a team as a code owner July 20, 2026 16:00
@home-assistant home-assistant Bot added cla-signed small-pr PRs with less than 30 lines. labels Jul 20, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the Open Home Foundation AI Policy and contributor guidance.

Changes:

  • Adds the canonical AI policy.
  • Links it from contributor documentation.
  • Adds AI-agent guidance.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
AI_POLICY.md Adds the policy text.
CONTRIBUTING.md Links and summarizes the policy.
AGENTS.md Adds policy instructions for AI agents.

Copilot AI review requested due to automatic review settings July 20, 2026 16:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread .github/copilot-instructions.md
Copilot AI review requested due to automatic review settings July 20, 2026 16:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

.github/copilot-instructions.md:187

  • Use an AI-policy link that remains valid after generation. gen_copilot_instructions.py copies AGENTS.md verbatim, so this relative link resolves to the nonexistent .github/AI_POLICY.md here; update the source to a suitable absolute URL (or teach the generator to rewrite it) and regenerate this file.
This project follows the [Open Home Foundation AI Policy](AI_POLICY.md).

Comment thread .github/PULL_REQUEST_TEMPLATE.md
@frenck
frenck merged commit d58f280 into dev Jul 21, 2026
49 checks passed
@frenck
frenck deleted the frenck/add-ai-policy branch July 21, 2026 14:34
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants