grokkit/internal/recipe
Greg Gauthier aedf9cdf03 refactor(recipe/runner): enhance working directory resolution and shell command safety
- Rename and expand resolvePackagePath to resolveWorkDir, which now appends project_name if provided
- Update discoverFiles to use workDir and add default search pattern if none specified
- Modify executeShellCommands prompt to include workDir and enforce relative paths only
- Add safety checks to reject shell commands with ".." or absolute paths to prevent directory escapes
- Minor prompt and formatting adjustments for clarity and consistency
2026-03-07 16:18:29 +00:00
..
loader.go refactor(recipe): add ResolvedParams for better param handling 2026-03-07 00:07:21 +00:00
runner.go refactor(recipe/runner): enhance working directory resolution and shell command safety 2026-03-07 16:18:29 +00:00
types.go refactor(recipe): make search pattern configurable in file discovery 2026-03-07 00:34:25 +00:00