grokkit/internal/recipe
Greg Gauthier 0ba427aaf6 feat(recipe): add apply/patch step handling with code block extraction and application
- Introduce special case in Runner.Run() for steps containing "apply" or "patch" in title.
- Add handleApplyStep to parse code blocks from previous results, support dry-run patch creation, or real application with user confirmation and backups.
- Implement extractCodeBlocks using regex to identify labelled Go code blocks.
- Add createUnifiedPatch for generating unified diff patches in dry-run mode.
- Remove final summary prompt and streamline recipe completion.
- Adjust system prompt for clarity.
2026-03-06 21:01:01 +00:00
..
loader.go refactor(recipe): improve loading and execution logic 2026-03-06 20:46:30 +00:00
runner.go feat(recipe): add apply/patch step handling with code block extraction and application 2026-03-06 21:01:01 +00:00
types.go feat(recipe): add recipe system for Result[T] refactoring 2026-03-06 18:35:58 +00:00