honcho/tests/unified/test_cases/config_deriver_hierarchy.json

104 lines
2.1 KiB
JSON

{
"description": "Test deriver configuration hierarchy (Session > Workspace)",
"steps": [
{
"step_type": "set_workspace_config",
"config": {
"deriver": {
"enabled": true
}
}
},
{
"step_type": "create_session",
"session_id": "session_disabled",
"config": {
"deriver": {
"enabled": false
}
}
},
{
"step_type": "add_messages",
"session_id": "session_disabled",
"messages": [
{
"peer_id": "alice",
"content": "I love testing."
},
{
"peer_id": "alice",
"content": "Configuration is key."
}
]
},
{
"step_type": "wait",
"target": "queue_empty"
},
{
"step_type": "query",
"target": "get_representation",
"observer_peer_id": "alice",
"session_id": "session_disabled",
"assertions": [
{
"assertion_type": "json_match",
"key_value_pairs": {
"explicit": [],
"deductive": []
}
}
]
},
{
"step_type": "set_workspace_config",
"config": {
"deriver": {
"enabled": false
}
}
},
{
"step_type": "create_session",
"session_id": "session_enabled",
"config": {
"deriver": {
"enabled": true
}
}
},
{
"step_type": "add_messages",
"session_id": "session_enabled",
"messages": [
{
"peer_id": "bob",
"content": "I love testing too."
},
{
"peer_id": "bob",
"content": "Override works."
}
]
},
{
"step_type": "wait",
"target": "queue_empty"
},
{
"step_type": "query",
"target": "get_representation",
"observer_peer_id": "bob",
"session_id": "session_enabled",
"assertions": [
{
"assertion_type": "llm_judge",
"prompt": "Check if there are explicit observations about testing or overriding in the representation.",
"pass_if": true
}
]
}
]
}