diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-08 10:09:42 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-08 10:09:42 +0200 |
| commit | 80808d42c257823feb873f80d06b325430c9350e (patch) | |
| tree | f622fc46969db9fa332bbc5d3d0d4210d4baebb7 /AGENTS.md | |
| parent | af28afa66ae58925eed076072927f54c149dd81e (diff) | |
add per-project .hexaiconfig.toml config override and lower coverage target to 80%
Introduce support for a .hexaiconfig.toml file at the git repository root
that selectively overrides the global config. Precedence order:
defaults → global config → project config → env vars.
Also lower the coverage threshold from 85% to 80%.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,7 +10,7 @@ - Avoid duplication of code when the functions are larger than 5 lines. - If possible, construct individual methods so that they can be unit tested. But only if it doesn't add too much boilerplate to the code base. -- Aim for at least 85% unit test coverage of all source code. The command to check the coverage is "mage coverage" +- Aim for at least 80% unit test coverage of all source code. The command to check the coverage is "mage coverage" - Ensure that all unit tests pass before commiting any changes. - Always run the gofumpt code reformatter on all go files modified. - There should be no source code file larger than 1000 lines. If so, split it up into multiple. @@ -25,3 +25,4 @@ - Whenever incrementing the version, update the version number in the project, commit to git, tag the version and push to git. - When a major feature was introduced, increment ?.X.? - When only minor changes were done or only bugs were fixed, increment the version as ?.?.X + |
