Answer architecture round 3: 0 🔴, 1 🟡 (0 misread); every suite sits beside the module it tests, and test_loop_claude.py holds only loop-claude's own
CI / tests (pull_request) Successful in 5m17s
CI / tests (pull_request) Successful in 5m17s
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
"""Test doubles for the suites that run a cycle: the tmux window it runs in, and the prompts of an entry point that exists only in tests."""
|
||||
from agent_cycle import tmux
|
||||
from agent_cycle.worker_prompts import WorkerPrompts
|
||||
|
||||
WINDOW = tmux.Window("loop-proj", "item-7", "%4")
|
||||
# The prompts of an entry point that exists only in tests, so a cycle's tests read no real entry point's wording.
|
||||
PROMPTS = WorkerPrompts(
|
||||
driver="a-driver",
|
||||
fresh=lambda task, premises, route, project, facts: f"Fresh: {task}\n\n{premises}\n\n{facts}",
|
||||
resumed=lambda evidence, route, project: f"Resumed: {evidence}",
|
||||
rungs_held=lambda route, project: f" You hold {route.rung}.",
|
||||
quote_sources="the project's records",
|
||||
answer_destinations="the plan or a comment",
|
||||
records_named="the project's decisions",
|
||||
)
|
||||
Reference in New Issue
Block a user