Use compact investigation working sets with durable local evidence recall

This commit is contained in:
Nico committed 2026-10-17 18:54:14 +02:00
1 parent e8d0602ed3
commit d81f2f67f3
21 files changed
+1614 -29

No files matched your search

@@ -202,6 +202,8 @@ def test_v14_positive_early_review_reaches_independent_diagnosis_with_rest_budge
reply['next']={'kind':'request_diagnosis','reason':'Scoped defect with countercheck.','countercheck_refs':[other]}
else:reply['next']={'kind':'tool','operation':'project.query','arguments':rows()}
loop=Investigator(tool_case[0],gateway(LoopAdapter(change)),router=InvestigationToolRouter(project_research=service))
original=loop._context
loop._context=lambda *args:dict(original(*args),prompt_version='investigation_project_v14')
done=run(loop,steps=10)
assert done.status=='COMPLETED' and state(done)['early_stop']['status']=='requested'
budget=BudgetManager(tool_case[0]).snapshot(*CASE).state