Reorganize codebase, add E2E CLI tests and docs#2
Merged
Conversation
Split large files for better navigability: - task.go → task.go (mutations) + query.go (reads) - id.go merged into store.go - task_cmds.go → task_cmds.go + list_cmd.go + query_cmds.go - config commands extracted to config_cmd.go - Added doc.go with package layout guide Add E2E CLI test suite (21 tests) that builds the binary and exercises every major command. Caught and fixed a bug where --actor flag was not wired to create command's CreatedBy field. Add SECURITY.md, update docs with config set, ExcludeStatuses, tree view, web UI no-auth note, and testing/code quality guides. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
NeerajG03
added a commit
that referenced
this pull request
Mar 15, 2026
Reorganize codebase, add E2E CLI tests and docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
task.go(524 lines) →task.go(mutations) +query.go(reads)id.gomerged intostore.go(single function, only used there)task_cmds.go(700 lines) →task_cmds.go+list_cmd.go+query_cmds.goutil_cmds.go→config_cmd.godoc.gowith package-level file layout guideGIG_HOME, and assert output. Already caught a real bug (--actornot wired tocreate'sCreatedBy)gig config setcommand, ExcludeStatuses in SDK reference, tree view/config defaults in roadmap, web UI no-auth note, testing & code quality guides in CLAUDE.md--actorflag now correctly setsCreatedByon task creationTest plan
go test ./...— all SDK unit tests passgo test -tags=e2e -count=1 ./cmd/gig/— all 21 E2E CLI tests passgo vet ./...— cleango build ./cmd/gig/— binary builds🤖 Generated with Claude Code