Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

Keep lean shell description under the 200-byte cap

Cursor Agente95f7c4bdd20
diff --git a/src/no_local_tools.zig b/src/no_local_tools.zig
index fdfe8279..0cca97ee 100644
--- a/src/no_local_tools.zig
+++ b/src/no_local_tools.zig
@@ -139,7 +139,7 @@ pub const lean_subagent_desc = "Spawn a sidecar for a self-contained task. Child
/// One-shot tool prose (ADR 0046). Same names and JSON schemas; shorter
/// descriptions so flash models start and finish instead of rereading
/// essays. Do not drop to four tools (ADR 0024).
-pub const lean_shell_desc = "Run /bin/sh -c in cwd. action=run returns stdout/stderr/exit. Foreground still running after 15s (or a shorter timeout) backgrounds. Persistent servers snapshot immediately — do not poll. Finite action=output wait_ms>0 waits until exit.";
+pub const lean_shell_desc = "Run /bin/sh -c in cwd. action=run returns stdout/stderr/exit. After 15s (or a shorter timeout) backgrounds. Persistent servers snapshot now — do not poll. Finite wait_ms>0 waits until exit.";
pub const lean_bash_desc = lean_shell_desc;
pub const lean_read_file_desc = "Read a UTF-8 file. Call before editing. contains=exact-key numbered lines; start_line/end_line for a window.";
pub const lean_edit_file_desc = "Replace exact text. Prefer one batched edits[] over many calls. Prefer over write_file for an existing file.";