Skip to content

Commit 1d320af

Browse files
tbitcsoz-agent
andcommitted
perf: minimal startup protocol — no tools, no audit, just greeting
Changed 'start' quick command from a 4-step protocol (git status, git log, read AGENTS.md, read LEDGER.md) to a simple instruction: 'Respond with a brief greeting. Do NOT run any tools.' The old protocol took 2+ minutes on Ollama because the LLM had to plan, call tools, wait for results, and summarize. VCS state and governance checks already run separately in the extension. Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 4986abf commit 1d320af

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

src/specsmith/agent/runner.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,10 @@ class AgentRunner:
335335
QUICK_COMMANDS = {
336336
"start": (
337337
"[RESPOND IN ENGLISH ONLY] "
338-
"Run the session start protocol in this order:\n"
339-
"1. Run: git status (report staged, modified, and untracked files)\n"
340-
"2. Run: git log --oneline -5 (report the 5 most recent commits)\n"
341-
"3. Read AGENTS.md (confirm your role and governance rules)\n"
342-
"4. Read the last 10 lines of LEDGER.md (confirm current project state)\n"
343-
"Summarize findings in 3-4 plain sentences, then propose the most logical next action."
338+
"Session ready. Respond with a brief 1-2 sentence greeting confirming you are ready. "
339+
"Do NOT run any tools, audits, git commands, or file reads. "
340+
"Do NOT output JSON. Just a short natural language greeting. "
341+
"The user will tell you what to do next."
344342
),
345343
"resume": (
346344
"[RESPOND IN ENGLISH ONLY] Resume from last LEDGER.md entry"

0 commit comments

Comments
 (0)