feat: Launch workflow boton via agent_runner_api (issue 0116)

- Anade boton 'Launch workflow' (TI_ROCKET) que hace POST async a
  http://localhost:8486/api/runs con {issue_id, mode:'fix-issue'}.
- HTTP async via std::thread + fn_http::request (de http_request_cpp_core)
  con timeout 3s. NO bloquea el frame.
- Feature flag 'legacy_claude_fix' (default OFF) controla la visibilidad
  del boton 'Claude fix' legacy (terminal externa + claude --dangerously-
  skip-permissions). Flag leido al arrancar desde dev/feature_flags.json.
- Toast 3s con run_id devuelto por el API (o error si :8486 down /
  transport fail / HTTP non-2xx). Render thread-safe con mutex.
- CMakeLists.txt linkea cpp/functions/core/http_request.cpp.
- app.md: version 0.1.0 -> 0.2.0, uses_functions anade http_request_cpp_core,
  capability growth log con entrada v0.2.0.
This commit is contained in:
agent
2026-05-18 18:46:02 +02:00
parent 202bfc5ccb
commit 9ee3be8e4e
3 changed files with 171 additions and 12 deletions
+13
View File
@@ -2,6 +2,7 @@
name: skill_tree
lang: cpp
domain: tools
version: 0.2.0
description: "Mapa interactivo de issues+flows en anillos concentricos por estado, click para spawn agentes"
tags: [dashboard, meta, imgui]
icon:
@@ -10,6 +11,7 @@ icon:
uses_functions:
- parse_md_frontmatter_cpp_core
- compute_ring_layout_cpp_core
- http_request_cpp_core
uses_types: []
framework: "imgui"
entry_point: "main.cpp"
@@ -51,3 +53,14 @@ cd cpp && cmake --build build --target skill_tree -j
## Estado
MVP fase A — sub-issue 0109a: shell + parsers issues/flows. Sin render de grafo todavia.
## Capability growth log
Una linea por bump SemVer. Bump-type segun `.claude/commands/version.md`:
- `major`: breaking observable (CLI args, schema BBDD propia, formato wire).
- `minor`: feature aditiva (nuevo panel, endpoint, opcion).
- `patch`: bugfix sin cambio observable.
- v0.1.0 (2026-05-18) — baseline.
- v0.2.0 (2026-05-18) — boton `Launch workflow` (async POST :8486/api/runs via fn_http::request) + feature flag `legacy_claude_fix` que oculta el boton `Claude fix` (terminal externa). Toast con run_id 3s. Issue 0116.