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:
@@ -23,6 +23,7 @@ from transcript_archive import outcomes, write
|
||||
from loop_state import paths
|
||||
from transcript_archive.location import project_archive
|
||||
from model_routing.ladder import ProjectRung, Rung
|
||||
from agent_cycle.doubles import PROMPTS, WINDOW
|
||||
from model_routing.ladder_file import read_ladder, SHIPPED
|
||||
from model_routing.route import Route
|
||||
from agent_cycle import routing
|
||||
@@ -31,8 +32,6 @@ from claude_code import session
|
||||
from loop_effects.child_shells import Shell
|
||||
from agent_cycle.stop import Stop
|
||||
from text_files.utc_stamp import utc
|
||||
from agent_cycle.test_tmux import WINDOW
|
||||
from agent_cycle.worker_prompts import WorkerPrompts
|
||||
|
||||
|
||||
LADDER = read_ladder(SHIPPED)
|
||||
@@ -51,16 +50,6 @@ SONNET_179 = '{"model": "claude-sonnet-5-5", "effort": "high", "item": 179, "lik
|
||||
OPUS_179_AT_3 = '{"model": "claude-opus-5-5", "effort": "medium", "item": 179, "likelihood": 2, "escape_and_impact": 5, "escalated_at": 3}'
|
||||
OPUS_179_AT_6 = '{"model": "claude-opus-5-5", "effort": "medium", "item": 179, "likelihood": 2, "escape_and_impact": 5, "escalated_at": 6}'
|
||||
JUDGE_RUN_LINE = re.compile(r"^Judge run: judge/[0-9a-f]{64}\.json\n", re.MULTILINE)
|
||||
# The prompts of an entry point that exists only here, 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",
|
||||
)
|
||||
|
||||
|
||||
class QuestionFor(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user