Contributing
Pull requests are welcome, localization parity is mandatory.
Amber Guard Laboratory is open source. Contributions are welcome — but the build will fail if you break localization parity between RU and EN.
How to contribute
- Fork the repository
- Create a feature branch from
main - Write code, tests, and documentation
- Run
scripts/i18n_gate.sh— it enforces RU/EN parity - Open a pull request with a clear description
Go conventions
- Standard Go formatting (
gofmt,goimports) - Error handling: explicit, never swallowed
- Journal events: machine codes with human-readable descriptions in both languages
- Fail-safe first: every configuration value has a safe fallback
Docs live with the code
Every feature requires documentation in both docs/*.md and site content (content/en/*.php + content/ru/*.php). The i18n gate verifies parity at build time.
Security issues first
If you find a security vulnerability, do not open a public issue. Report it privately via GitHub Security Advisory. See Security Policy.