Files
rpa_vision_v3/data/competences/candidate/open_windows_search.yaml

131 lines
3.8 KiB
YAML

schema_version: 1
id: open_windows_search
name: Ouvrir la recherche Windows
version: 1
learning_state: candidate
intent:
fr: ouvrir la recherche Windows
parameters: {}
preconditions:
- id: windows_session_active
kind: heartbeat_present
max_age_ms: 3000
- id: no_blocking_system_dialog
kind: not_window_title_matches
pattern: "^(UAC|Windows Security|SmartScreen).*"
- id: search_not_already_open
kind: not_active_window
any_of:
- title_in: ["Rechercher", "Search"]
- process_active: SearchHost.exe
on_violation: already_satisfied
methods:
- id: keyboard_win_s
kind: key_combo
primitive_ref: key_combo
parameters:
keys: ["win", "s"]
keys: ["win", "s"]
observed: true
trace_source: live_events.jsonl
gesture_ref: null
- id: keyboard_win
kind: key_combo
primitive_ref: key_combo
parameters:
keys: ["win"]
keys: ["win"]
observed: false
allowed_fallback: true
gesture_ref: sys_start_menu
success_marker:
mode: any_of
timeout_ms: 5000
markers:
- kind: active_window_title_in
values: ["Rechercher", "Search"]
- kind: active_process_name_is
value: SearchHost.exe
supervised_requires:
- kind: ocr_contains
text: Rechercher
region_hint: search_panel
evidence_state: hypothesis_offline
required_for: supervised_or_replay_verified
failure_message_template:
intention: ouvrir la recherche Windows
attendu: voir la fenetre Rechercher avec un champ de saisie actif
vu: "{observed_human_state}"
demande: ouvrir la recherche Windows puis me rendre la main
chain_refs:
source_session: sess_20260527T185155_98ad9a
machine_id: DESKTOP-58D5CAC_windows
streaming_session_path: data/training/live_sessions/streaming_sessions/sess_20260527T185155_98ad9a.json
live_events_path: data/training/live_sessions/DESKTOP-58D5CAC_windows/sess_20260527T185155_98ad9a/live_events.jsonl
cleaned_segment:
status: documented_offline
keep_event_indices: [0, 1, 2, 3, 4, 7]
method_event_indices: [3]
success_event_indices: [7]
excluded_event_indices: [5, 6]
stop_before_event_index: 8
stop_before:
- continuing_search_text_input_after_success
- systray_interaction
- pythonw_focus
ignored_between_method_and_success:
- text_input_search_query_fragment
- text_input_search_query_space
ignored_after_success:
- text_input_search_query
- explorer_systray_overflow
- pythonw_unknown_window
notes:
- "Le focus Rechercher/SearchHost.exe apparait juste avant key_combo a cause de la capture sur release."
- "La preuve de succes durable est le heartbeat post-action #7, strictement apres key_combo #3."
- "Le segment observe est non contigu: les text_input #5/#6 appartiennent a la competence suivante et sont exclus."
- "Le segment observe s'arrete avant la suite de saisie et les clics systray/pythonw."
workflow_pipeline_id: null
graph_node_id: null
faiss_state_signatures: []
target_memory_keys: []
dashboard_knowledge_visible: false
promotion:
history:
- at: "2026-05-28T08:28:36+02:00"
from: observed
to: candidate
by: Dom
reason: "GO explicite apres revue finale Claude/Qwen du socle competences courtes."
candidate_requires:
- cleaned_segment_validated
- method_trace_present
- success_marker_defined
- failure_message_template_valid
supervised_requires:
- replay_verified_once
- success_marker_matched_after_action
- human_validation
stable_requires:
min_successes: 3
distinct_contexts: 3
max_unexplained_failures: 0
generalisation:
seen_contexts: []
method_success_rate: {}
variance_log: []
failure_log: []
created_at: "2026-05-27T18:51:55+02:00"
last_updated_at: "2026-05-28T08:28:36+02:00"