Thanks for your interest in contributing to thts!
- Go 1.26+
- trunk for linting
- Git
go build -o thts ./cmd/thtsgo test ./... # Unit tests
go test -tags=integration ./internal/cmd/... # Integration tests
go test -tags=integration ./... # All testsAll checks must pass before submitting:
trunk check # Run all linters
trunk fmt # Auto-format
trunk check --fix # Auto-fix where possible- Fork the repository
- Create a feature branch from
main - Make your changes with tests
- Ensure
trunk checkandgo test ./...pass - Submit a pull request
This project uses Conventional Commits:
feat: add new feature
fix: resolve bug in sync
chore: update dependencies
docs: improve user guide
refactor: simplify config loading
test: test improvements
- Keep PRs focused on a single change
- Include tests for new functionality
- Update documentation if behavior changes
thts aims to stay mostly compatible with
HumanLayer's thoughts subcommand.
Changes to directory structure, symlink layout, or config fallback behavior
should preserve this compatibility.
Currently supported: Linux and macOS (amd64/arm64). Windows is not supported.