grokkit/CHANGELOG.md
Greg Gauthier 4e334c7d24
All checks were successful
CI / Test (push) Successful in 33s
CI / Lint (push) Successful in 26s
CI / Build (push) Successful in 21s
docs(changelog): add entry for v0.2.0
Summarize changes including new features like recipe support, safe shell commands, and refactoring improvements; updates to configurations and security; fixes for various bugs and handling.
2026-03-08 12:59:34 +00:00

6.0 KiB

[v0.2.0] - 2026-03-08

Version 0.2.0: Recipes are cooking—now with extra safety and a dash of refactoring flair.

Added

  • Add tests for recipe package covering loading, parameters, safety, and patches.
  • Add read-only shell support with user confirmation and whitelisting.
  • Add configurable safe shell commands from YAML with fallback.
  • Add project exploration step using safe read-only commands.
  • Add numeric argument support in read-only shell commands.
  • Add logging for safe commands config loading.
  • Add smart defaults for package_path in file discovery.
  • Add --param flag for passing key=value parameters to recipes.
  • Add refactorJSONs to collect JSON from refactor steps.
  • Add one-file-at-a-time refactoring handler.
  • Add file discovery and special step handling in runner.
  • Add apply/patch step handling with code extraction and application.
  • Add LLM-powered recipe execution with parameters and streaming.
  • Add recipe run command with path resolution.
  • Add recipe system for Result[T] refactoring.
  • Add --base flag to prdescribe for custom base branch.
  • Add admin tool entry to TODO.

Changed

  • Change coverage badge from 68% to 54% and update quality section.
  • Lower CI coverage gate from 65% to 50%.
  • Remove t.Parallel() from cmd tests modifying global state.
  • Refactor README and docs structure into user-guide and developer-guide.
  • Remove root command addition from query init.
  • Reorganize commit commands and add sections for new features.
  • Enhance shell command security with global safe list and prefix checking.
  • Update allowed shell command validation to exact match or space-separated.
  • Tighten trigger conditions for read-only shell steps.
  • Expand safe shell commands to include GNU utilities and test runners.
  • Consolidate resolveWorkDir and remove resolvePackagePath.
  • Rename and expand resolvePackagePath to resolveWorkDir.
  • Update .gitignore to add .grok/ and *.patch ignores.
  • Add template recipe and update final summary heading.
  • Make search pattern configurable in file discovery.
  • Make file discovery generic using recipe metadata.
  • Improve boolean param handling and refine project root detection.
  • Change default package_path to internal/git.
  • Switch refactor step to strict JSON output.
  • Update regex for Grok output matching.
  • Improve regex flexibility and simplify patch creation.
  • Enhance parsing for multi-line step content.
  • Simplify apply step to dry-run only.
  • Update result-refactor recipe for broader package path.
  • Improve recipe loading and execution logic.
  • Clean up comments, error handling, and output formatting.
  • Simplify golangci-lint configuration.
  • Remove priorities from queued TODO items.
  • Remove auto-complete TODO workflow.

Fixed

  • Fix unsafe shell command error message.
  • Fix recipe by adding error handling to unified patch creation.
  • Fix import path and add error handling for user input in cmd/recipe.
  • Fix testgen to distinguish C and C++ based on file extension.
  • Fix regex to match Grok's current output style.

[v0.1.9] - 2026-03-04

Grokkit gets a quick-query upgrade—because who has time for chit-chat?

Added

  • Implement query command in cmd/query.go for non-interactive Grok queries focused on programming.
  • Add wordy flag for detailed responses in query command.
  • Add .grok/settings.json with fast model configuration.
  • Set default model for query in config.go.
  • Add entry for query command to commands list in README.
  • Create new section in README with query command usage examples and features.
  • Add spec for grokkit non-interactive query tool in TODO.
  • Add detailed description, examples, and ROI for query feature in TODO.
  • Introduce initial CHANGELOG.md with v0.1.8 entries.

Changed

  • Update root.go to include queryCmd.
  • Reorder and update queued task list in TODO with new entries like non-interactive-query.md.
  • Move changelog.md to completed tasks in TODO with version note.
  • Standardize link formats and list markers in README.md.
  • Rename TODO entry from "grokkit query Go tools integration" to "grokkit query Simple Query Tool".
  • Revise TODO description to focus on one-shot prompt/answer tool for concise queries.

Changelog

All notable changes to this project will be documented in this file.

[v0.1.8] - 2026-03-03

Another step towards automated bliss, with AI changelogs and Git taking the safety wheel.

Added

  • Add release.sh script for automating releases with version validation, tagging, changelog generation, committing, and pushing.
  • Add grokkit changelog command with flags for version, since, stdout, and commit reminder.
  • Add git helpers for retrieving latest/previous tags and formatted logs since a reference.
  • Add tests for changelog message building and full construction.
  • Add todo/README.md as a table of contents for queued and completed tasks.
  • Add section in README.md documenting grokkit changelog command with usage examples.
  • Add detailed Git workflow for managing changes in README.md.
  • Add detail in changelog.md about using generated CHANGELOG.md for Gitea release notes.

Changed

  • Change version flag shorthand from "v" to "V" in changelog command and update test assertion.
  • Disable coverage threshold enforcement in CI workflow by commenting out the 65% minimum step.
  • Update README.md to include grokkit changelog in the command features list.
  • Reprioritize queued tasks in README.md to place changelog first, followed by interactive-agent, make, tea, and gotools.
  • Update priorities in individual queued/*.md files to match new order.
  • Adjust priorities for features including audit, changelog, gotools, interactive-agent, and rg in todo docs.
  • Replace file backups with Git-based change management in safety features.
  • Remove mentions of backups from README.md, cmd/lint.go, ARCHITECTURE.md, and TROUBLESHOOTING.md.
  • Update troubleshooting guide with Git rollback instructions.
  • Modify feature lists and safety descriptions to emphasize Git integration.
  • Remove automatic .bak backup creation from edit, docs, lint, testgen, and agent commands.
  • Update README.md, architecture docs, troubleshooting, TODOs, and tests to reflect removal of backups.