docs: ai policy

Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
Jan Larwig
2026-08-24 11:39:04 +02:00
parent 81ff034fe2
commit c5529b42b7
3 changed files with 66 additions and 4 deletions
@@ -10,11 +10,32 @@ If you find a bug, please open an Issue. When opening an Issue or Pull Request p
If you want to fix a bug, add a new feature or extend existing functionality, please create a fork, create a feature branch and open a PR back to this repo.
Please mention open bug issue number(s) within your PR if applicable.
We suggest using [Visual Studio Code](https://code.visualstudio.com/docs/languages/go) with the official [Go for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=golang.go) extension.
## AI use
OAuth2 Proxy is built by humans for humans. Authentication and authorization
depend on trust between people and systems. That trust also matters in how we
work together.
You may use AI tools when contributing, but YOU must not replace human
communication or judgment using those tools. You must understand, test, and
review every AI-assisted change yourself. Write a clear, concise pull request
description and respond to review comments yourself.
Listing AI tooling as a co-author, co-signing commits using an AI tool, or
using the `assisted-by`, `co-developed` or similar commit trailer is not allowed.
The project maintainers will review contributions regardless of their origin.
But we may close issues or pull requests without comment when they appear to be
unreviewed automated output, low-quality slop, or contain essay-length descriptions
or comments that waste reviewer time.
If a contribution does not show the care needed for a high-quality change,
maintainers will not spend time reviewing it.
# Go version
We suggest using [Visual Studio Code](https://code.visualstudio.com/docs/languages/go) with the official [Go for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=golang.go) extension.
See the `go.mod` file in the root of this repository for the version of Go used by this project.
You can follow [the installation guide for Go](https://go.dev/doc/install),
and you can find this specific Go version on [the Go downloads page](https://go.dev/dl/).
@@ -88,4 +109,3 @@ The docker compose setups expose the services with a dynamic reverse DNS resolve
- OAuth2 Proxy: http://oauth2-proxy.localtest.me:4180
- Upstream: http://httpbin.localtest.me:8080
- Dex: http://dex.localtest.me:5556