Simplify investigation replies and derive controller bookkeeping

This commit is contained in:
Nico committed 2026-10-17 00:52:09 +02:00
1 parent 57984e5793
commit 49095ac803
26 files changed
+2072 -207

No files matched your search

+2
View File
@@ -105,6 +105,8 @@ def test_invalid_review_is_atomic_before_assessment_or_tool_spending(tool_case):
if context['previous_result']:
reply['update']['causal_review']=review(against=['E999999'])
loop=Investigator(store,gateway(LoopAdapter(change)),router=InvestigationToolRouter(project_research=service))
original=loop._context
loop._context=lambda *args:dict(original(*args),prompt_version='investigation_project_v13')
run(loop,steps=3)
before=BudgetManager(store).snapshot(*CASE).state
result=asyncio.run(loop.step(*CASE))