feat: harden video analysis and runtime resilience
This commit is contained in:
1 parent
5ada543a09
commit
bb16991f2c
55 files changed
+5023
-437
No files matched your search
@@ -47,6 +47,18 @@ def test_operator_prompt_omits_environment_trust_and_explorer_directives():
|
||||
assert "Visual Explorer Rule" not in prompt
|
||||
|
||||
|
||||
def test_operator_prompt_keeps_large_list_traversal_single_pass_until_boundary():
|
||||
for template in load_operator_prompts().values():
|
||||
prompt = apply_operator_prompt_contract(template)
|
||||
|
||||
assert "do not advance to another milestone or mark it complete" in prompt
|
||||
assert "A single scroll that reveals no new content is not sufficient evidence" in prompt
|
||||
assert "one additional successful swipe in the same direction" in prompt
|
||||
assert "never reverse direction merely to prove completion" in prompt
|
||||
assert "even if older execution history has been pruned" in prompt
|
||||
assert "Terminate exploration when a definitive boundary is reached" not in prompt
|
||||
|
||||
|
||||
def test_compatibility_builder_uses_canonical_operator_template():
|
||||
expected = apply_operator_prompt_contract(load_operator_prompts()["main_template"])
|
||||
|
||||
|
||||
Reference in new issue
Block a user