feat(competences): extract batch candidates
This commit is contained in:
149
data/competences/observed/open_application_via_run.yaml
Normal file
149
data/competences/observed/open_application_via_run.yaml
Normal file
@@ -0,0 +1,149 @@
|
||||
schema_version: 1
|
||||
id: open_application_via_run
|
||||
name: Ouvrir une application via Executer
|
||||
version: 1
|
||||
learning_state: observed
|
||||
|
||||
intent:
|
||||
fr: ouvrir une application Windows via la boite Executer
|
||||
|
||||
parameters:
|
||||
app_name: notepad
|
||||
expected_process_name: Notepad.exe
|
||||
|
||||
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).*"
|
||||
|
||||
methods_execution: sequence
|
||||
|
||||
methods:
|
||||
- id: step_1_open_run_dialog
|
||||
kind: key_combo
|
||||
primitive_ref: key_combo
|
||||
parameters:
|
||||
keys: ["win", "r"]
|
||||
keys: ["win", "r"]
|
||||
observed: true
|
||||
trace_source: live_events.jsonl
|
||||
trace_event_indices: [3]
|
||||
description: "Ouvre la boite Executer avec Win+R"
|
||||
|
||||
- id: step_2_type_app_name
|
||||
kind: text_input
|
||||
primitive_ref: text_input_focused
|
||||
parameters:
|
||||
text: "notepad"
|
||||
concat_rule: concat_in_order
|
||||
observed: true
|
||||
trace_source: live_events.jsonl
|
||||
trace_event_indices: [6, 7, 9, 10, 11]
|
||||
concat_rule: "join(text_input fragments in segment)"
|
||||
reconstructed_text: "notepad"
|
||||
description: "Saisit le nom de l'application dans la boite Executer"
|
||||
|
||||
- id: step_3_validate_with_enter
|
||||
kind: key_combo
|
||||
primitive_ref: key_combo
|
||||
parameters:
|
||||
keys: ["enter"]
|
||||
keys: ["enter"]
|
||||
observed: false
|
||||
allowed_runtime_substitution: true
|
||||
note: "Trace humaine #13 = mouse_click sur OK. Runtime = key_combo([enter]) equivalent semantique."
|
||||
description: "Valide la boite Executer au runtime"
|
||||
|
||||
success_marker:
|
||||
mode: any_of
|
||||
timeout_ms: 5000
|
||||
markers:
|
||||
- kind: active_process_name_is
|
||||
value: Notepad.exe
|
||||
supervised_requires:
|
||||
- kind: active_process_name_is
|
||||
value: Notepad.exe
|
||||
evidence_state: observed_offline
|
||||
required_for: replay_verified
|
||||
|
||||
failure_message_template:
|
||||
intention: ouvrir l'application demandee via la boite Executer
|
||||
attendu: voir la fenetre principale de l'application attendue au premier plan
|
||||
vu: "{observed_human_state}"
|
||||
demande: confirmer que l'application est installee sur ce poste, ou m'indiquer un autre moyen de l'ouvrir
|
||||
|
||||
chain_refs:
|
||||
source_session: sess_20260324T165824_55b380
|
||||
machine_id: DESKTOP-58D5CAC_windows
|
||||
streaming_session_path: data/training/live_sessions/streaming_sessions/sess_20260324T165824_55b380.json
|
||||
live_events_path: data/training/live_sessions/DESKTOP-58D5CAC_windows/sess_20260324T165824_55b380/live_events.jsonl
|
||||
cleaned_segment:
|
||||
status: documented_offline
|
||||
keep_event_indices: [3, 4, 6, 7, 9, 10, 11, 16]
|
||||
method_event_indices: [3, 6, 7, 9, 10, 11]
|
||||
success_event_indices: [16]
|
||||
excluded_event_indices: [5, 8, 12, 13, 14, 15]
|
||||
stop_before_event_index: 17
|
||||
stop_before:
|
||||
- heartbeat_post_notepad_focus
|
||||
- later_session_activity
|
||||
ignored_between_method_and_success:
|
||||
- action_result_open_run_dialog
|
||||
- heartbeat_without_window_metadata
|
||||
- human_mouse_click_ok_replaced_by_enter_runtime
|
||||
- program_manager_transit_focus
|
||||
- generic_action_result
|
||||
notes:
|
||||
- "Event #3 ouvre la boite Executer via Win+R."
|
||||
- "Events #6/#7/#9/#10/#11 reconstruisent exactement 'notepad'."
|
||||
- "Event #13 est un mouse_click humain sur OK sans anchor_ref; il est exclu de la methode runtime."
|
||||
- "Au runtime, key_combo([enter]) remplace le mouse_click humain pour valider la boite Executer."
|
||||
- "Event #16 prouve le succes par focus_change vers Notepad.exe."
|
||||
workflow_pipeline_id: null
|
||||
graph_node_id: null
|
||||
faiss_state_signatures: []
|
||||
target_memory_keys: []
|
||||
dashboard_knowledge_visible: false
|
||||
|
||||
promotion:
|
||||
candidate_requires:
|
||||
- cleaned_segment_validated
|
||||
- method_trace_present
|
||||
- success_marker_defined
|
||||
- failure_message_template_valid
|
||||
- primitive_ref_satisfied
|
||||
- methods_sequence_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
|
||||
t2_known_gaps:
|
||||
- id: enter_action_not_in_trace
|
||||
description: "Le mouse_click #13 valide la boite Executer; aucun key_combo([enter]) n'est dans la trace."
|
||||
impact: "Au runtime, Lea emet key_combo([enter]) sans preuve directe dans cette trace humaine."
|
||||
proposed_resolution: "Au replay supervise, utiliser active_process_name_is=Notepad.exe comme preuve de validation."
|
||||
acted_by: Dom
|
||||
acted_at: "2026-05-28T12:45:00+02:00"
|
||||
- id: mouse_click_replaced_by_keyboard_at_runtime
|
||||
description: "La methode runtime diverge de la trace humaine: mouse_click remplace par key_combo([enter])."
|
||||
impact: "La validation T2 doit confirmer que key_combo([enter]) est equivalent fonctionnel dans la boite Executer."
|
||||
proposed_resolution: "Verifier au replay supervise sur plusieurs applications Windows simples."
|
||||
acted_by: Dom
|
||||
acted_at: "2026-05-28T12:45:00+02:00"
|
||||
|
||||
generalisation:
|
||||
seen_contexts: []
|
||||
method_success_rate: {}
|
||||
variance_log: []
|
||||
|
||||
failure_log: []
|
||||
|
||||
created_at: "2026-05-28T12:45:00+02:00"
|
||||
last_updated_at: "2026-05-28T12:45:00+02:00"
|
||||
Reference in New Issue
Block a user