Commit Graph

12 Commits

Author SHA1 Message Date
0aa806be70 feat(cmd): add AI documentation generation and command tests
Some checks failed
CI / Test (push) Failing after 25s
CI / Lint (push) Has been skipped
CI / Build (push) Has been skipped
- Implemented `grokkit docs` command for generating language-specific documentation comments (godoc, PEP 257, Doxygen, etc.) with previews, backups, and auto-apply option
- Extracted message builder functions for commit, history, pr-describe, and review commands
- Added comprehensive unit tests for all command message builders (commit_test.go, docs_test.go, history_test.go, lint_test.go, prdescribe_test.go, review_test.go)
- Enforced 70% test coverage threshold in CI workflow
- Added .golangci.yml configuration with linters like govet, errcheck, staticcheck
- Updated Makefile to include -race in tests and add help target
- Updated README.md with new docs command details, workflows, and quality features
- Added .claude/ to .gitignore
- Configured default model for docs command in config.go
2026-03-02 20:13:50 +00:00
6e3a52728e chore(todo): complete feature suggestions TODO and queue individual tasks
All checks were successful
CI / Test (push) Successful in 30s
CI / Lint (push) Successful in 26s
CI / Build (push) Successful in 20s
- Update CI workflow runner from ubuntu-latest to ubuntu-gitea for auto-complete-todo.
- Move 3-new-feature-suggestions.md to completed/.
- Create queued TODOs for testgen, changelog, and profile features.
2026-03-02 19:33:34 +00:00
d0a4b8922d chore(ci): add auto-complete TODO workflow
All checks were successful
CI / Test (push) Successful in 33s
CI / Lint (push) Successful in 26s
CI / Build (push) Successful in 20s
Introduce Gitea Actions workflow to automatically move TODO files from queued to completed on PR events for feature branches.
Update README with setup instructions and benefits.
2026-03-02 19:20:11 +00:00
30b07df5a4 chore(ci): remove raw binaries from build after packaging
All checks were successful
CI / Test (push) Successful in 31s
CI / Lint (push) Successful in 27s
CI / Build (push) Successful in 20s
Release / Create Release (push) Successful in 35s
Add a cleanup step in the release workflow to delete raw binary files for each platform,
retaining only the tar.gz archives, checksums.txt, and install script.
2026-03-02 00:19:10 +00:00
9278c2c718 fix(build): use consistent dashed naming for release assets
All checks were successful
CI / Test (push) Successful in 25s
CI / Lint (push) Successful in 19s
CI / Build (push) Successful in 13s
Release / Create Release (push) Successful in 1m57s
- Move `-trimpath` flag before `-ldflags` in go build command for correct ordering.
- Update asset filename in install script from underscores to dashes for consistency.
2026-03-01 23:33:51 +00:00
b8482b6fb0 feat(release): add automated release workflow and install script
Some checks failed
CI / Test (push) Successful in 26s
CI / Lint (push) Successful in 20s
CI / Build (push) Successful in 14s
Release / Create Release (push) Failing after 10s
- Embed version info in binaries via ldflags
- Create multi-platform builds, archives, and checksums
- Add Gitea release creation and asset upload in CI
- Introduce GoReleaser config for standardized builds
- Add version command and install script for easy deployment
- Update README with pre-built installation instructions
2026-03-01 23:25:31 +00:00
b8906e44c1 ci: replace codecov upload with coverage summary display
All checks were successful
CI / Test (push) Successful in 25s
CI / Lint (push) Successful in 19s
CI / Build (push) Successful in 15s
Remove the Codecov action for uploading coverage reports and instead add a step to display a summary of test coverage in the CI output.
2026-03-01 14:35:27 +00:00
18ac7a9f9a chore(ci): replace artifact upload with binary verification
Remove the upload-artifact step in the CI workflow and add verification
steps to run the binary with --help and list its details.
2026-03-01 14:25:52 +00:00
cdcbd245d7 fix(cmd): add error handling for user input in edit and lint commands
Some checks failed
CI / Test (push) Successful in 27s
CI / Lint (push) Successful in 18s
CI / Build (push) Failing after 33s
- Handle errors from fmt.Scanln in cmd/edit.go and cmd/lint.go to prevent crashes on input failures, providing user feedback and preserving backups.
- Update .gitea/workflows/release.yml to use 'ubuntu-gitea' runner for CI consistency.
2026-03-01 14:14:55 +00:00
47e7b51d1e ci(workflow): add XAI_API_KEY env to tests and switch lint/build to ubuntu-gitea runner
Some checks failed
CI / Test (push) Successful in 1m3s
CI / Lint (push) Failing after 39s
CI / Build (push) Failing after 33s
- Inject XAI_API_KEY from secrets for test execution.
- Update lint and build jobs to run on ubuntu-gitea instead of ubuntu-latest.
2026-03-01 14:01:13 +00:00
e7eb17c564 chore(ci): change runner to ubuntu-gitea
Some checks failed
CI / Test (push) Failing after 54s
CI / Lint (push) Failing after 5s
CI / Build (push) Failing after 4s
Update the CI workflow to use the ubuntu-gitea runner instead of ubuntu-latest.
2026-03-01 13:40:22 +00:00
e355142c05 feat: add CI/CD workflows, persistent chat, shell completions, and testing
- Add Gitea CI workflow for testing, linting, and building
- Add release workflow for multi-platform builds and GitHub releases
- Implement persistent chat history with JSON storage
- Add shell completion generation for bash, zsh, fish, powershell
- Introduce custom error types and logging system
- Add interfaces for git and AI client for better testability
- Enhance config with temperature and timeout settings
- Add comprehensive unit tests for config, errors, git, grok, and logger
- Update README with installation, features, and development instructions
- Make model flag persistent across commands
- Add context timeouts to API requests
2026-03-01 12:17:22 +00:00