mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-08 06:57:46 +00:00
ignore negated memory evidence references
This commit is contained in:
parent
727ab12e5c
commit
5fe4b11dd9
1 changed files with 10 additions and 0 deletions
|
|
@ -2280,6 +2280,16 @@ def test_explicit_native_web_workflow_preserves_workspace_artifact_tools():
|
|||
assert requested_capabilities(message) == {"search_browser", "shell_files"}
|
||||
|
||||
|
||||
def test_negative_memory_evidence_rule_does_not_select_personal_memory():
|
||||
message = (
|
||||
"Use Odysseus web_search and web_fetch for every paper, then write "
|
||||
"/tmp_workspace/results/paper_digest.md. Every value must come from "
|
||||
"the fetched page, never memory. Sort every paper list and show the result."
|
||||
)
|
||||
assert required_read_operation_for_request(message) is None
|
||||
assert requested_capabilities(message) == {"search_browser", "shell_files"}
|
||||
|
||||
|
||||
def test_typoed_webhook_inventory_selects_admin_reader():
|
||||
message = "list my webhoks again"
|
||||
assert selected_tools_for_request(message) == {"manage_webhooks"}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue