Thanks for contributing to texvec.
- Keep CLI behavior and defaults stable unless the change intentionally updates user-facing UX.
- Keep reusable logic out of
cmd/. Put business logic incore/orstore/. - Update
README.mdfor user-visible changes. UpdateREADME.ja.mdtoo when practical. - Prefer the standard library and existing dependencies before adding new ones.
- If a change touches model behavior, update the model registry, help text, and docs together.
go test ./...
go build -o texvec- Prefer deterministic unit tests in
core/andstore/. - Do not make unit tests depend on model downloads, ONNX Runtime downloads, or external services.
- Use temp directories and temp databases instead of writing to the real home directory.
- Keep smoke tests separate from unit tests. Manual validation with
test_texts/is fine, but it should not be required for CI.
- Keep changes focused and explain the user-facing impact.
- Add or update tests when behavior changes.
- Update docs and examples when commands, flags, models, storage, or workflows change.
- Call out any new model downloads, runtime requirements, or compatibility assumptions.
If you use an AI coding agent, read AGENTS.md before making changes.
By submitting a contribution, you agree that your work will be licensed under the MIT License.