Put the README's Goals and Audience into every fresh worker prompt, under the item's scope

This commit is contained in:
2026-10-13 09:23:37 +02:00
parent cff8a26d45
commit a90deafd9b
8 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ class ModelPrompt(unittest.TestCase):
class WorkerArgs(unittest.TestCase):
def test_opens_a_fresh_session_by_name_and_resumes_an_open_one(self):
opened = session.session_named("A proj loop-claude", pathlib.Path("/h/.claude/projects"))
fresh = worker.worker_args(opened, "m", prompts.fresh("Do it."), resume=False)
fresh = worker.worker_args(opened, "m", prompts.fresh("Do it.", "## Goals\n1. g\n\n## Audience\nme"), resume=False)
self.assertEqual(fresh[fresh.index("--session-id") + 1], str(opened.id))
self.assertEqual(fresh[fresh.index("--name") + 1], "A proj loop-claude")
resumed = worker.worker_args(opened, "m", prompts.resumed(""), resume=True)