Go monorepo for within.website services. JS tooling via npm.
| Command | Description |
|---|---|
npm test |
Generate + go test ./... |
npm run format |
goimports + Prettier |
npm run generate |
Protobuf, codegen, formatters |
go build ./... |
Compile all packages |
go run ./cmd/<app> |
Run a specific binary |
- Always ask the user for intent before writing code.
internal.HandleStartup()callsflag.Parse()— binaries must not callflag.Parse()themselves.- All git commits require
--signoff.
Follow Conventional Commits:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
- Add
!after type/scope for breaking changes or includeBREAKING CHANGE:in the footer. - Descriptions: concise, imperative, lowercase, no trailing period.
- Reference issues/PRs in the footer when applicable.
- All commits require
--signoff.
AI-generated commits must include these footers:
Assisted-by: [Model Name] via [Tool Name]
Reviewbot-request: yes