grokkit/cmd
Greg Gauthier f0322a84bd
Some checks failed
CI / Test (push) Successful in 33s
CI / Lint (push) Failing after 17s
CI / Build (push) Successful in 21s
chore(lint): enhance golangci configuration and add security annotations
- Expand .golangci.yml with more linters (bodyclose, errcheck, etc.), settings for govet, revive, gocritic, gosec
- Add // nolint:gosec comments for intentional file operations and subprocesses
- Change file write permissions from 0644 to 0600 for better security
- Refactor loops, error handling, and test parallelism with t.Parallel()
- Minor fixes: ignore unused args, use errors.Is, adjust mkdir permissions to 0750
2026-03-04 20:00:32 +00:00
..
agent_test.go chore(build): add Makefile and tests for commands and utilities 2026-03-01 00:24:48 +00:00
agent.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
changelog_test.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
changelog.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
chat_test.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
chat.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
client.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
commit_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
commit.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
commitmsg.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
completion_test.go test(cmd): improve error handling in completion test writer close 2026-03-02 22:19:47 +00:00
completion.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
docs_test.go refactor(tests): improve error handling and defer usage 2026-03-02 21:33:11 +00:00
docs.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
edit_helper_test.go test: add unit tests for chat history, edit helper, and code cleaning 2026-03-01 12:44:20 +00:00
edit_test.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
edit.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
history_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
history.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
lint_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
lint.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
prdescribe_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
prdescribe.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
query.go feat(cmd): add query command for one-shot technical questions 2026-03-04 15:39:41 +00:00
review_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
review.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
root_test.go test(cmd): add unit tests for completion, root execution, config, errors, and logger 2026-03-02 22:12:54 +00:00
root.go feat(cmd): add query command for one-shot technical questions 2026-03-04 15:39:41 +00:00
run_test.go feat(prdescribe): add configurable base branch flag 2026-03-04 18:11:28 +00:00
scaffold_test.go fix(cmd): use Fprintf for efficiency and handle Chdir error in tests 2026-03-03 15:50:30 +00:00
scaffold.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
testgen_test.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
testgen.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00