Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e2d70667f9 | |||
| 4e334c7d24 |
@ -67,6 +67,7 @@ Refactors all error handling in the target package to use the new Result[T] patt
|
||||
### Step 4: Apply or patch
|
||||
**Objective:**
|
||||
Safely write changes or create reviewable output.
|
||||
|
||||
**Instructions:**
|
||||
- If dry_run is true → create a unified diff patch file for review.
|
||||
- If false → write the new files (backup originals as .bak).
|
||||
|
||||
60
CHANGELOG.md
60
CHANGELOG.md
@ -1,3 +1,63 @@
|
||||
## [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?
|
||||
|
||||
Loading…
Reference in New Issue
Block a user