From 7dddbc476434dac93cdad761d488eb1a81cd5841 Mon Sep 17 00:00:00 2001 From: komkida91 Date: Sat, 14 Feb 2026 19:37:53 +0100 Subject: [PATCH] docs(ops): estandarizar arranque UB24 y registrar hashes --- codex/ARRANQUE_RAPIDO_UB24.md | 6 +++--- codex/VERSIONADO_IA.md | 16 ++++++++++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/codex/ARRANQUE_RAPIDO_UB24.md b/codex/ARRANQUE_RAPIDO_UB24.md index d67b73e..7350519 100644 --- a/codex/ARRANQUE_RAPIDO_UB24.md +++ b/codex/ARRANQUE_RAPIDO_UB24.md @@ -7,7 +7,7 @@ Desde `c:\word`: ```powershell -python demo/_run_elementor_temp.py +python -m demo.app ``` ## Verificar que quedo arriba @@ -27,12 +27,12 @@ Si responde `StatusCode: 200`, esta listo. Desde `c:\word`: ```powershell -Start-Process -FilePath python -ArgumentList @('demo/_run_elementor_temp.py') -WorkingDirectory 'c:\word' -RedirectStandardOutput 'c:\word\logs_demo_app.txt' -RedirectStandardError 'c:\word\logs_demo_app.err' +Start-Process -FilePath python -ArgumentList @('-m','demo.app') -WorkingDirectory 'c:\word' ``` ## Parar servidor ```powershell -Get-CimInstance Win32_Process | Where-Object { $_.Name -eq 'python.exe' -and $_.CommandLine -match '_run_elementor_temp.py' } | ForEach-Object { Stop-Process -Id $_.ProcessId -Force } +Get-CimInstance Win32_Process | Where-Object { $_.Name -eq 'python.exe' -and $_.CommandLine -match 'demo.app' } | ForEach-Object { Stop-Process -Id $_.ProcessId -Force } ``` ## Logs diff --git a/codex/VERSIONADO_IA.md b/codex/VERSIONADO_IA.md index 2cbeb27..0a3b14a 100644 --- a/codex/VERSIONADO_IA.md +++ b/codex/VERSIONADO_IA.md @@ -74,6 +74,18 @@ - Revert: - `git revert dd98e9d` +### Runtime unificado (app + elementor) +- Commit: `1a5778b` +- Objetivo: unificar arranque con `python -m demo.app` y registrar blueprint de Elementor en runtime principal. +- Revert: + - `git revert 1a5778b` + +### Fix SQLite wrapper (arranque sin error SQL) +- Commit: `f6d8ab1` +- Objetivo: evitar conversiones SQL invalidas en SQLite que rompian inicializacion y generaban reintentos. +- Revert: + - `git revert f6d8ab1` + ## URL local canonica (unificada) - Base local: `http://127.0.0.1:5001` - Builder local: `http://127.0.0.1:5001/elementor/1` @@ -81,14 +93,14 @@ ## Arranque rapido local (Windows) 1. Desde `c:\word`, ejecutar: - - `python demo/_run_elementor_temp.py` + - `python -m demo.app` 2. Abrir: - `http://127.0.0.1:5001/elementor/1` 3. Verificacion rapida: - `Invoke-WebRequest http://127.0.0.1:5001/elementor/1 -UseBasicParsing` Notas: -- En el primer arranque puede tardar ~40-50 segundos antes de quedar escuchando en `5001`. +- En el primer arranque puede tardar unos segundos adicionales por inicializacion de DB. - Logs: - `c:\word\logs_demo_app.txt` - `c:\word\logs_demo_app.err`