We are building the safety layer for the Agentic Era. We welcome contributions from everyone, especially those with experience in security, cryptography, and distributed systems.
- Fork the repo and clone it locally.
- Install Go 1.22+.
- Run
go mod downloadto install dependencies.
Before writing code, make sure your environment passes our compliance checks:
./scripts/safety-check.sh- Keep functions under 60 lines (NASA Rule #4).
- Use
assert.Checkheavily (Goal: 2.0 assertion density). - Avoid recursion and unbounded loops.
go test -v ./...- Create a branch:
git checkout -b feature/amazing-feature. - Commit your changes (please use conventional commits, e.g.,
feat: add new policy). - Push to the branch:
git push origin feature/amazing-feature. - Open a Pull Request.
Logryph is safety-critical software. All PRs must maintain or improve the safety score. Features that introduce memory leaks, race conditions, or unchecked errors will be rejected.
Releases are automated via GitHub Actions when a version tag is pushed:
# 1. Ensure main branch is clean and all CI checks pass
git checkout main
git pull origin main
# 2. Create and push a version tag (semantic versioning)
git tag v0.1.0
git push origin v0.1.0This triggers:
- Multi-platform builds (Linux, macOS, Windows for amd64/arm64)
- SBOM (Software Bill of Materials) generation
- SHA256 checksum generation
- Automatic GitHub release with changelog
- Archive creation with LICENSE, README, and sample configs
- All CI checks passing on main
- Safety checks clean (
./scripts/safety-check.sh) - Version number follows semantic versioning
- CHANGELOG.md updated (if maintained manually)
- No open security issues
# Test the build without publishing
goreleaser build --snapshot --clean --single-target
# Check the dist/ folder for artifacts
ls -lah dist/If automated release fails, trigger manually:
- Go to GitHub Actions → Release workflow
- Click "Run workflow"
- Ensure the tag exists first
Each release includes:
logryph_<version>_<os>_<arch>.tar.gz- Main proxy binarylogyctl_<version>_<os>_<arch>.tar.gz- CLI tool binarychecksums.txt- SHA256 checksums for verificationlogryph-sbom.spdx.json- Software Bill of Materials (supply chain security)
Users can verify release integrity:
# Download release and checksums
wget https://github.com/[org]/logryph/releases/download/v0.1.0/logryph_0.1.0_linux_x86_64.tar.gz
wget https://github.com/[org]/logryph/releases/download/v0.1.0/checksums.txt
# Verify checksum
sha256sum -c checksums.txt --ignore-missingBy contributing, you agree that your contributions will be licensed under its Apache 2.0 License.