Thanks for your interest in contributing to the AI Anonymizing Proxy.
- Fork the repository
- Create a feature branch from
main - Make your changes
- Run the full check suite:
make check - Open a pull request against
main
Build, test, lint, and security scanning instructions are in docs/development.md. The key commands:
make build # compile
make check # lint + test + security + vulncheck (must pass before PR)
go test -race ./... # race detector- All code must pass
golangci-lintwith the project's.golangci.ymlconfiguration - Tests must accompany new functionality
- Coverage must stay above 85% overall
- Security-sensitive paths require 100% coverage
New patterns go in internal/anonymizer/packs/. Each pack is a self-contained
file that self-registers via init(). Every pattern must include a source comment
linking to the specification or reference it was derived from. See existing packs
for the expected structure.
Test sets for each pack are documented in docs/test-plans/.
Use GitHub Issues. If reporting a false positive or false negative in PII detection, include a minimal reproduction string (with synthetic data, never real PII).
By contributing, you agree that your contributions will be licensed under the MIT License.