Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/architecture/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ The rules append their errors to one pooled buffer of the validation, and `Valid
- Commits follow [Conventional Commits](https://www.conventionalcommits.org/), the changelog is generated from them by git-cliff.
- `go test -race ./...` and the examples modules run in CI. Programs in the documentation and in the skill for AI agents are built and run by `scripts/check-examples.sh`.
- Fuzz tests check the formats of strings against the parsers of the standard library and the patterns of their JSON Schema, the reading of the fields by the offsets against the fields themselves, and that any tag either configures the rules or panics with its error. `scripts/fuzz.sh` runs every target for `FUZZTIME`, 30s in CI; a failing input is saved in `testdata/fuzz` of the package and stays a regression test.
- A release: `git-cliff --tag vX.Y.Z -o CHANGELOG.md` in a pull request, then the tag of the core pushed alone — GitHub doesn't run the workflows of the release and of the documentation for more than three tags in one push — then the tags of the modules, `rules/uuid/vX.Y.Z`, `integrations/huma/vX.Y.Z`. A module that needs the new core requires it in its `go.mod` before its tag: the users ignore the `replace` of the module, `scripts/check-modules.sh` checks in CI that the modules require a released core.
- A new rule of an existing type is a method of its configurator over `Check` or `Required`, with a locale key in `translator/locales/*/data.yaml`.
Loading