aa4a2e8ae7
feat(digest): add memory persistence step to Daily Digest
...
- Parallel branch: Estrai Fatti (GPT) → Upsert Memoria (Postgres)
- Extracts structured facts from non-trash emails with pompeo_note + entity_refs
- Upserts into memory_facts with thread dedup via memory_facts_dedup_idx
- Fix: added newer_than:1d filter to Gmail fetch nodes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-21 17:29:52 +00:00
95ac871a71
feat(media): Jellyfin Playback Agent Blocco A + fix SSL/webhook/queryParams
...
- Workflow AyrKWvboPldzZPsM: PlaybackStart/Stop → behavioral_context + agent_messages
- Fix: webhookId top-level nel nodo per path statico in n8n queue mode
- Fix: NODE_TLS_REJECT_UNAUTHORIZED=0 su n8n-app/worker per Patroni self-signed cert
- Fix: inline SQL expressions invece di additionalFields.queryParams (n8n v2.5.2 bug)
- Fix: Calendar Agent stesso set di fix (SSL + queryParams)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-21 17:11:20 +00:00
70b668954e
feat(db): schema v2 — contacts, memory_facts_archive, entity_refs, pompeo_note
...
- New table: contacts (multi-tenant person graph with aliases, details, GIN indexes)
- New table: memory_facts_archive (expired facts cleanup destination)
- memory_facts: added pompeo_note TEXT and entity_refs JSONB columns
- Applied live to Patroni primary (postgres-1, namespace persistence, DB pompeo)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-21 15:43:46 +00:00
668210694f
docs: add Actual Budget CSV import workflow to CHANGELOG
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-21 14:33:58 +00:00
7e86d6cb04
fix: Calendar Agent - upsert, cleanup cancellati, schedule 30min
...
- ON CONFLICT DO UPDATE: aggiorna subject/category/detail/expires_at se evento cambia
- Cleanup step: DELETE eventi non più in HA nella finestra 7gg (eventi cancellati)
- Schedule: */30 * * * * (ogni 30 min, prima era 06:30 daily)
- Flusso: Parse GPT → Cleanup → Riemetti → Postgres Upsert → Aggrega → Telegram
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-21 13:53:10 +00:00
90d9faacca
feat: Calendar Agent + IoT Agent design + DB migration
...
- Deployed Calendar Agent (n8n ID: 4ZIEGck9n4l5qaDt)
- 12 Google Calendars via HA proxy, cron 06:30
- GPT-4.1 batch classification -> memory_facts
- Telegram daily briefing
- DB: added source_ref column + dedup index on memory_facts
- DB: created ha_sensor_config table (IoT Agent sensor allowlist)
- 9 seed entries (Pixel 10, Pixel Watch, EY HP, Spotify, GPS)
- README: full IoT Agent design documentation
- Sensor allowlist (regex), LLM-based activity inference
- Three-layer data flow, confidence-gated clarification
- README: Calendar Agent design + workflow diagram
- README: updated infra table, ADR broker, credentials
- CHANGELOG: Calendar Agent milestone
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-21 13:45:12 +00:00
a6e286c9cb
docs: ADR message broker — PostgreSQL + webhook n8n, no NATS/Redis Streams
...
Documenta la decisione architetturale di non deployare un broker dedicato.
agent_messages su Postgres copre il flow normale; webhook n8n diretto
gestisce il bypass high-priority.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-21 11:03:18 +00:00
adb36c0c48
feat: Phase 0 bootstrap — Qdrant deploy e schema PostgreSQL
...
- README.md: contesto ALPHA_PROJECT, architettura multi-agent, stack infrastrutturale
- CHANGELOG.md: documenta deploy Qdrant v1.17.0 e creazione database pompeo
- db/postgres.sql: schema DDL database pompeo (user_profile, memory_facts,
finance_documents, behavioral_context, agent_messages) con multi-tenancy user_id
- db/qdrant.sh: script per creazione/ripristino collections Qdrant
(episodes, knowledge, preferences) con payload indexes
Design decisions:
- Multi-tenancy via user_id su Qdrant e PostgreSQL (estendibile a nuovi utenti
senza modifiche infrastrutturali)
- agent_messages come blackboard persistente per il Proactive Arbiter
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-21 10:55:39 +00:00