CODE_OF_CONDUCT.md

# Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
  and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
  community

Examples of unacceptable behavior:

* The use of sexualized language or imagery, and sexual attention or advances of
  any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
  without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
  professional setting

## AI Agent Conduct

This project welcomes contributions from both human developers and AI coding
assistants. The following standards apply to AI-assisted and AI-generated
contributions:

### Human Accountability

**The human contributor is always the author.** Regardless of what tools
produced the code, the person submitting a contribution is fully responsible
for its correctness, quality, security, and compliance with this project's
standards. "The AI wrote it" is not an acceptable explanation for bugs,
security vulnerabilities, or standard violations.

### Quality Parity

AI-assisted contributions must meet the same quality bar as any other
contribution:

* Code must compile, pass all tests, and meet formatting standards
* Changes must be focused and relevant -- do not submit unfocused rewrites
* Contributors must be able to explain their changes in their own words
* Review feedback must be addressed thoughtfully, not delegated back to an AI

### Transparency

* **Disclose AI assistance** in PRs when it produced substantial portions of
  the contribution. Use `Assisted-by: <tool name>` in commit trailers.
* **Write PR descriptions and issue comments in your own words.** Do not paste
  raw AI output into project communication channels.
* Do not use AI tools to generate fabricated bug reports, inflate issue counts,
  or spam discussions.

### Autonomous Agents

AI agents that take action in project spaces (opening issues, commenting on
PRs, pushing code) without human review and approval for each action are not
permitted. Every interaction with this project must have a human in the loop.

### Respect for Learning

Do not use AI tools to claim credit for work you do not understand. Issues
labeled `good first issue` are intended as learning opportunities for new
contributors -- AI-generated solutions to these issues may be declined.

### Anti-Extraction

A contribution should be worth more to the project than the time it takes to
review it. Submitting large volumes of unreviewed AI output extracts review
effort from maintainers without adding proportional value. Such contributions
may be closed without review.

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the project maintainers at **david@balneariodecofrentes.es**.

All complaints will be reviewed and investigated promptly and fairly.

## Attribution

This Code of Conduct is adapted from the
[Contributor Covenant](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html),
version 2.1.

The AI Agent Conduct section is informed by policies from the
[LLVM Project](https://llvm.org/docs/AIToolPolicy.html),
[Jellyfin](https://jellyfin.org/docs/general/contributing/llm-policies/),
and the [AGENTS.md](https://agents.md/) specification.