Docs: Index · Architecture · OAuth Setup · Privacy Boundary
- Long-lived branches:
main,dev - Feature branches:
feat/*orfeature/*(branch fromdev)
- Create a feature branch from
dev. - Implement changes in small, reviewable commits.
- Run targeted tests first, then full suite:
go test ./...
go test -race ./...- Open PR into
dev. - After validation, merge
devintomainfor release.
Use Angular-style conventional commits:
feat:new user-visible capabilityfix:behavior correctiondocs:documentation onlychore:tooling or maintenance- Agent-authored commits must include:
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Examples:
feat: add oauth device login commandfix: map upstream 5xx to gateway 502docs: add oauth setup guide
- Tag releases from
mainasv*(for examplev0.1.0). - Tag push triggers
.github/workflows/package.yml, which runsgo test ./...andgo test -race ./...before packaging. - Release build targets:
macos-arm,windows-x64,linux-x64,linux-arm. - Each release archive includes: binary,
README.md,README.zh-CN.md, andconfig.example.yaml.