chore: auto-commit (7 archivos)

- app.md
- call_monitor
- main.go
- operations.db
- operations.db-shm
- operations.db-wal
- daemon.go

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-19 00:31:34 +02:00
parent 1375815826
commit fa2d4a3177
7 changed files with 102 additions and 0 deletions
+25
View File
@@ -2,6 +2,7 @@
name: call_monitor
lang: go
domain: infra
version: 0.1.0
description: "Telemetria de invocaciones del agente al fn_registry. Persiste eventos (calls, code_writes, test_runs, e2e_runs_fn, violations, patterns, sessions) en su propia operations.db. Vista agregada function_stats por function_id alimenta el bucle reactivo (proposals automaticas). Issue 0085."
tags: [service, telemetry, monitoring, registry, sqlite]
uses_functions:
@@ -14,6 +15,20 @@ framework: "stdlib"
entry_point: "main.go"
dir_path: "projects/fn_monitoring/apps/call_monitor"
repo_url: ""
service:
port: null
health_endpoint: null
health_timeout_s: 3
systemd_unit: call_monitor.service
systemd_scope: user
restart_policy: always
runtime: systemd-user
pc_targets:
- aurgi-pc
- home-wsl
is_local_only: true
# Runtime: subcomando `daemon` mantiene loop cada `--interval` (default 5m)
# llamando snapshot + sequences --detect --propose. Ver daemon.go.
e2e_checks:
- id: build
cmd: "CGO_ENABLED=1 go build -tags fts5 -o call_monitor ."
@@ -143,3 +158,13 @@ Para correr manualmente fuera del schedule: `systemctl --user start call_monitor
- BD vive **junto al binario** (`<exe_dir>/operations.db`) por defecto, no en el cwd del agente. Hook puede pasar `--db` explicito si conviene.
- `operations.db` gitignored — telemetria es local por PC, no se sincroniza.
- Sin `repo_url`: aun no se ha hecho `gitea_create_repo`. Se inicializara con `/full-git-push` cuando este la fase 0085b lista para evitar repos vacios.
## 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.