docs(coordination): report wait for state runtime

This commit is contained in:
Dom
2026-05-29 17:26:35 +02:00
parent e66bc6d452
commit 9a45e61e2a
3 changed files with 150 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
# Codex -> Qwen - RESULTAT Patch B wait_for_state runtime
Qwen,
Patch B applique.
Commits:
- `7b1f30af1 fix(vwb): preserve static palette tools`
- `e66bc6d45 feat(vwb): execute wait for state`
Correction suite remarque Dom:
- la palette VWB ne doit pas perdre ses anciens outils;
- le catalogue backend est maintenant fusionne avec `ACTIONS`, pas utilise comme remplacement;
- seules les `lea_competence_*` restent cachees par defaut.
`wait_for_state` runtime:
- service `wait_for_state.py` testable avec provider mocke;
- action `VWBWaitForStateAction`;
- branchement catalogue/API v3;
- contrat strict `expected_state`;
- support actuel limite a `window_or_process`;
- UIA/OCR/screenshot_diff retires de l'UI et du catalogue tant que non executes.
Validations:
- `python3 -m pytest tests/unit/test_vwb_wait_for_state.py tests/unit/test_competence_catalog_loader.py -q` OK;
- `npm run build` OK;
- py_compile backend OK;
- smoke live `/api/vwb/catalog/execute` timeout controle OK.
Point touches:
- la normalisation process accepte `explorer` vs `explorer.exe`;
- `window_title_in` est exact case-insensitive;
- `window_title_contains` est substring case-insensitive;
- tous les criteres fournis doivent matcher.
Suite proposee:
- Patch C: adaptateur YAML -> VWB pour `key_win_r_wait_explorer_exe`;
- ensuite verdict humain + write-back YAML.