feat(vwb): log supervised competence verdicts
This commit is contained in:
@@ -202,7 +202,17 @@ VWB_ACTION_CONTRACTS: Dict[str, ActionContract] = {
|
||||
action_type="wait_for_state",
|
||||
description="Attendre qu'un etat semantique d'ecran soit observe",
|
||||
required_params=["expected_state"],
|
||||
optional_params=["timeout_ms", "poll_interval_ms", "evidence_required"],
|
||||
optional_params=[
|
||||
"timeout_ms",
|
||||
"poll_interval_ms",
|
||||
"evidence_required",
|
||||
"supervised_popup_detection",
|
||||
"popup_policy",
|
||||
"competence_id",
|
||||
"source",
|
||||
"source_method_id",
|
||||
"write_back_enabled",
|
||||
],
|
||||
param_validators={
|
||||
"expected_state": lambda p: isinstance(p, dict) and any(
|
||||
p.get(key)
|
||||
@@ -214,6 +224,25 @@ VWB_ACTION_CONTRACTS: Dict[str, ActionContract] = {
|
||||
)
|
||||
}
|
||||
),
|
||||
"pause_for_human": ActionContract(
|
||||
action_type="pause_for_human",
|
||||
description="Suspendre l'execution pour une validation humaine",
|
||||
required_params=["message"],
|
||||
optional_params=[
|
||||
"phase",
|
||||
"verdict_required",
|
||||
"verdict_endpoint",
|
||||
"competence_id",
|
||||
"source",
|
||||
"write_back_enabled",
|
||||
"intention",
|
||||
"attendu",
|
||||
"demande",
|
||||
"safety_level",
|
||||
"safety_checks",
|
||||
],
|
||||
param_validators={"message": lambda p: bool(p and isinstance(p, str))}
|
||||
),
|
||||
|
||||
# --- ACTIONS DE SCROLL ---
|
||||
"scroll_to_anchor": ActionContract(
|
||||
|
||||
Reference in New Issue
Block a user