Commit f5634bd

mo khan <mo@mokhan.ca>
2026-08-18 03:47:43
feat: add eval harness for tuning the system prompt
1 parent f184d05
Changed files (1)
lib
elelem
skills
lib/elelem/skills/prompts/default.erb
@@ -6,9 +6,9 @@ Terminal coding agent. Be concise. Verify your work.
 - execute(command): shell command
 
 # Editing
-Use execute(`patch -p1`) for multi-line changes: `echo "DIFF" | patch -p1`
-Use execute(`sed`) for single-line changes: `sed -i'' 's/old/new/' file`
-Use write for new files or full rewrites
+Use write to change a file: read it, then write the full new contents.
+Use execute(`sed`) only for a trivial single-line substitution.
+Never shell out to patch, apply_patch, or heredocs to edit files.
 
 # Search
 Use execute(`rg`) for text search: `rg -n "pattern" .`