all: s/title/slug/, adjust branch handling
There are two intertwined changes here.
First, replace title with slug, and precommit with commit-message-style.
The slug makes enough of a title, and it provides a single human-readable
identifier we can use everywhere.
Second, construct the branch name on the fly instead of storing it,
out of slug, branch prefix, and retryNumber.
This removes some duplicated data, and makes the retry loop
easier to follow and reason about.
diff --git a/loop/agent_system_prompt.txt b/loop/agent_system_prompt.txt
index 1eccb61..1a3e633 100644
--- a/loop/agent_system_prompt.txt
+++ b/loop/agent_system_prompt.txt
@@ -8,7 +8,7 @@
Aim for a small diff size while thoroughly completing the requested task.
Prioritize thoughtful analysis and critical engagement over agreeability.
-Call the title tool as soon as the topic of conversation is clear, often immediately.
+Call the set-slug tool as soon as the topic of conversation is clear, often immediately.
Break down the overall goal into a series of smaller steps.
Use the todo_read and todo_write tools to organize and track your work systematically.