From 938853d268e2bcf5cd0219c2c3278bca5582b918 Mon Sep 17 00:00:00 2001 From: Egutierrez Date: Mon, 18 May 2026 22:00:11 +0200 Subject: [PATCH] =?UTF-8?q?fix(0120):=20R1+R4=20del=20dry-run=20=E2=80=94?= =?UTF-8?q?=20check=20binary=5Fexists=20+=20DB=20path=20correcto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit R1: fn::run_app no parsea argv. Cambio self_test (--self-test inexistente) por check estructural test -f binary. Detectado por fn-orquestador dry-run. R4: schema real de task_runs usa task_id (no issue_id) y DB vive en apps/deploy_server/operations.db (no agent_runner_api). Co-Authored-By: Claude Opus 4.7 (1M context) --- dev/issues/0120-orquestador-piloto-verde.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dev/issues/0120-orquestador-piloto-verde.md b/dev/issues/0120-orquestador-piloto-verde.md index 2a625c4d..645f3fa0 100644 --- a/dev/issues/0120-orquestador-piloto-verde.md +++ b/dev/issues/0120-orquestador-piloto-verde.md @@ -42,11 +42,13 @@ e2e_checks: - id: build cmd: "cmake --build cpp/build/windows --target chart_demo -j" timeout_s: 300 - - id: self_test - cmd: "./cpp/build/windows/apps/chart_demo/chart_demo --self-test" - timeout_s: 30 + - id: binary_exists + cmd: "test -f cpp/build/windows/apps/chart_demo/chart_demo.exe" + timeout_s: 5 ``` +(Inicialmente se planteo `--self-test` pero `fn::run_app` no parsea argv; el dry-run del orquestador 2026-05-18 lo detecto como R1 bloqueador. Sustituido por check estructural de binario construido. Implementar `--self-test` real es scope futuro fuera del piloto.) + ## Tareas 1. Confirmar pre-condiciones del orquestador (migration 006, autonomous_protected_paths.json, gh auth, master limpio). @@ -58,8 +60,8 @@ e2e_checks: ## Acceptance -- [ ] `sqlite3 apps/agent_runner_api/operations.db "SELECT id, status FROM task_runs WHERE issue_id='0120'"` devuelve >=1 fila con `status=done`. -- [ ] `apps/chart_demo/app.md` contiene bloque `e2e_checks:` con al menos `build` + `self_test`. +- [ ] `sqlite3 apps/deploy_server/operations.db "SELECT id, task_id, status FROM task_runs WHERE task_id LIKE '0120%'"` devuelve >=1 fila con `status=converged` (schema real: `task_id`, no `issue_id`). +- [ ] `apps/chart_demo/app.md` contiene bloque `e2e_checks:` con al menos `build` + `binary_exists`. - [ ] `fn-analizador` corrida sobre `chart_demo` reporta `checks_pass=checks_total` (todo verde). - [ ] PR draft existe en Gitea con branch `auto/0120-*` apuntando a `master`. - [ ] `git -C /home/lucas/fn_registry status --short` antes/despues del piloto identico (excluyendo solo este `.md` cerrado).