diff --git a/CHANGELOG.md b/CHANGELOG.md index 372347a..3c2f7e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,52 @@ +## [v0.3.0] - 2026-03-28 + +Grokkit levels up with deep project analysis—because who doesn't love a good codebase dissection? + +### Added +- Add "analyze" command for educational codebase analysis using AI prompts. +- Add Go-specific analysis prompt in .grokkit/prompts/go.md. +- Add feature specification for "analyze" command in todo/queued. +- Add project name inference in Go analysis prompts. +- Add documentation page for "analyze" command in docs/user-guide. +- Add link to "analyze" guide in index.md. +- Add project analysis Markdown report example in docs/analyze.md. +- Add Rexx language detection with extensions .rx, .rex, .rex, .rexlib, .rexx, .cls. +- Add empty Linters array for Rexx in internal/linter/linter.go. +- Add "none" linter configuration for Rexx language. +- Add internal/linter/language.go for primary language detection. +- Add internal/prompts/analyze.go for loading analysis prompts. +- Add error handling for confirmation input in analyze command. + +### Changed +- Update Go analysis prompt for clarity, structure, and educational focus. +- Update cmd/analyze.go to include detected language in AI prompt. +- Update analyze command to infer project name from directory or go.mod. +- Enhance prompt formatting with bold text and rephrased sections. +- Enhance discoverSourceFiles to skip noise directories like "build" and "dist". +- Refine buildProjectContext with better labeling and git remote handling. +- Update DetectPrimaryLanguage to normalize "C/C++" and "C++" to "c". +- Revise function comments and internal comments in DetectPrimaryLanguage. +- Remove redundant comment on finding most common language. +- Change default output filename in analyze command from analyze.md to analysis.md. +- Update .grokkit/recipes/result-refactor.md. +- Move analyze-command task file from queued to completed. +- Update feature spec for "analyze" command with educational details and prompt discovery. +- Revise acceptance criteria, implementation plan, CLI usage, and flags in spec. +- Switch to package-level logger functions in analyze command. +- Update git.IsRepo to take no arguments. +- Simplify linter language detection comments. +- Adjust Grok client creation to NewClient().StreamSilent. +- Refine comments in linter and string adjustments for clarity. +- Implement DetectPrimaryLanguage with counting logic and Go bias. +- Enhance LoadAnalysisPrompt with better language handling and fallbacks. +- Expand cmd/analyze.go to discover files, detect language, load prompts, and generate reports. +- Integrate analyzeCmd into root command. + +### Fixed +- Remove misplaced rootCmd.AddCommand(analyzeCmd) from cmd/analyze.go init function. +- Fix config.GetModel to use command name and flag in analyze command. +- Update safety check to use package-level logger without .Get(). +- Remove unnecessary imports in linter. ## [v0.2.0] - 2026-03-08 Version 0.2.0: Recipes are cooking—now with extra safety and a dash of refactoring flair.