Files
agent 255e8dcf71 feat: initial scaffold of kanban_cpp v2 (issue 0130)
Frontend C++ ImGui (main.cpp + 4 paneles) + backend Go (HTTP + SQLite + fsnotify + SSE).
Reusa parse/scan/watch funcs del registry (issue 0130a).
2026-05-22 22:19:47 +02:00

2.3 KiB

name, lang, domain, version, description, tags, uses_functions, uses_types, framework, entry_point, dir_path, repo_url, service, e2e_checks
name lang domain version description tags uses_functions uses_types framework entry_point dir_path repo_url service e2e_checks
kanban_cpp_backend go tools 0.1.0 Backend HTTP del kanban_cpp v2: sirve dev/issues y dev/flows con parser MD bidireccional + SQLite cache + fsnotify watcher + SSE
service
kanban
go
sqlite
sse
parse_issue_md_go_infra
write_issue_md_go_infra
scan_issues_dir_go_infra
scan_flows_dir_go_infra
watch_dir_fsnotify_go_infra
issue_go_infra
flow_go_infra
fs_event_go_infra
main.go apps/kanban_cpp/backend https://gitea.organic-machine.com/dataforge/kanban_cpp
port health_endpoint health_timeout_s systemd_unit systemd_scope restart_policy runtime pc_targets is_local_only
8487 /api/health 3 null null none manual
home-wsl
true
id cmd timeout_s
build cd apps/kanban_cpp/backend && CGO_ENABLED=1 go build -o kanban_cpp_backend . 180
id cmd timeout_s
tests cd apps/kanban_cpp/backend && CGO_ENABLED=1 go test -count=1 ./... 60
id cmd timeout_s
smoke_health cd apps/kanban_cpp/backend && ./kanban_cpp_backend --port 18487 --db /tmp/kanban_cpp_e2e.db --registry /home/lucas/fn_registry & sleep 2 curl -fsS http://127.0.0.1:18487/api/health pkill -f kanban_cpp_backend || true 30

kanban_cpp_backend

Servicio HTTP local que sirve dev/issues/ y dev/flows/ al frontend C++ ImGui (apps/kanban_cpp/).

Endpoints

  • GET /api/health — counts + version.
  • GET /api/issues?status=&priority=&scope=&domain=&tag=&completed= — lista.
  • GET /api/issues/{id} — detalle + body.
  • PATCH /api/issues/{id} — reescribe frontmatter en disco. Body intacto.
  • GET /api/flows — lista.
  • GET /api/flows/{id} — detalle.
  • GET /api/meta — enums (statuses, priorities, scopes, types).
  • GET /api/sse — stream cambios (incl. mods externas en disco).

Run

cd apps/kanban_cpp/backend
CGO_ENABLED=1 go build -o kanban_cpp_backend .
./kanban_cpp_backend --port 8487 --registry /home/lucas/fn_registry

El binario auto-detecta el root del registry buscando registry.db hacia arriba si no se pasa --registry.

Esquema

Ver migrations/001_init.sql. SQLite WAL. Las filas se upsertean en cada ingest/watch event.