From 5c016cfdbcb122e2b4f0496ef946642d68953c4b Mon Sep 17 00:00:00 2001 From: T Date: Wed, 27 May 2026 20:39:45 -0600 Subject: tool names prefixed with `std.` --- agent/tools/edit.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'agent/tools/edit.lua') diff --git a/agent/tools/edit.lua b/agent/tools/edit.lua index a56c334..7ad39c2 100644 --- a/agent/tools/edit.lua +++ b/agent/tools/edit.lua @@ -1,5 +1,5 @@ --- Apply a batch of exact-text replacements to a file. Pi-style terse --- tool description; the rules are enforced here rather than re-stated +-- Apply a batch of exact-text replacements to a file. Keep the tool +-- description terse; the rules are enforced here rather than re-stated -- in prose, with the rejection message naming exactly which rule each -- entry tripped so the model can self-correct on the next call. -- @@ -11,7 +11,7 @@ -- progressively against the result of earlier entries. return { - name = "edit", + name = "std.edit", description = "Apply exact-text replacements to a file. Each entry's `old` must match exactly once in the original file (not progressively). Edits whose ranges overlap, match zero times, or match multiple times reject the entire call — no partial edits, file untouched. Keep `old` minimal but unique; widen with surrounding context if needed.", schema = { type = "object", -- cgit v1.3