From 3965e42b5ce81acaabb1c1a3254bb4e1fecc89dd Mon Sep 17 00:00:00 2001 From: James Date: Sun, 8 Feb 2026 17:28:45 -0500 Subject: [PATCH] Update HEARTBEAT.md: MC listing now auto-excludes actioned messages --- HEARTBEAT.md | 6 +++--- memory/2026-02-08.md | 27 +++++++++++++++++++++++++++ memory/claude-usage.db | Bin 16384 -> 16384 bytes memory/claude-usage.json | 12 ++++++------ memory/heartbeat-state.json | 2 +- 5 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 memory/2026-02-08.md diff --git a/HEARTBEAT.md b/HEARTBEAT.md index 991fb50..6267a65 100644 --- a/HEARTBEAT.md +++ b/HEARTBEAT.md @@ -198,13 +198,13 @@ No heartbeat polling needed. ### Inbox Cleanup (every heartbeat) Webhook handles real-time, but messages can slip through (restarts, migration, webhook downtime). -Always check BOTH accounts for unprocessed mail: +Check for un-actioned messages (listing now auto-excludes archived/deleted): ```bash curl -s "http://localhost:8025/messages?source=tj_jongsma_me" | jq 'length' curl -s "http://localhost:8025/messages?source=johan_jongsma_me" | jq 'length' ``` -**Don't filter by `seen`** — messages can be marked seen (fetched) but never actioned (orphaned by a crash/restart). Anything still returned by the listing endpoint is still in the inbox and needs triage. -If anything's sitting there, triage it per `memory/email-triage.md`. Don't wait for the webhook. +These counts reflect only messages with NO action taken. If anything's sitting there, triage it per `memory/email-triage.md`. +Use `?all=true` to see everything including actioned messages (for debugging only). ### New Messages Check **Check:** diff --git a/memory/2026-02-08.md b/memory/2026-02-08.md new file mode 100644 index 0000000..9c5a65c --- /dev/null +++ b/memory/2026-02-08.md @@ -0,0 +1,27 @@ +# 2026-02-08 (Sunday) + +## Document Processing +- **Sophia Protocol PDF** (21 pages) processed from `~/documents/inbox/` +- Author: Monica Sanchez (functional medicine practitioner, also known as Monica Rodriguez) +- Content: Comprehensive Phase 1 protocol for Sophia — oxalate management, mineral rebalancing, gut microbiome rebuilding +- Key findings from HTMA (12/18/25) + Biomesight: zinc overload → copper depletion, mercury+thallium burden, bifido almost absent +- Follow-up appointment was 2/6/26 +- Full record: `~/documents/records/medical/sophia-protocol-monica-sanchez.md` +- PDF stored: `~/documents/store/4469ae75cdd5.pdf` +- OCR service hung on page 3 (PDF→PNG conversion needed), used vision model for remaining pages, restarted OCR service + +## Email Triage +- Airlearn marketing ("January stats") → Trashed + +## Weekly Tasks (spawned) +- Docker/HAOS update subagent running +- Memory synthesis subagent running + +## Infrastructure +- OCR service (forge) hung processing multi-page PDF — needs investigation. PDFs must be converted to PNG first (pdftoppm), and large batches can hang the service. + +## Weekly Docker/HAOS Update +- **Docker (192.168.1.253):** All containers up-to-date, no version changes. All healthy. +- **HAOS (192.168.1.252):** BLOCKED — forge SSH key not authorized. Need Johan to add key. + - Key: `ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK+9hJSfMkbe68VPbkRmaW/sFFmd3+QBmisJYLY+S6Cj james@forge` + - Run on Mac or HAOS: `echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK+9hJSfMkbe68VPbkRmaW/sFFmd3+QBmisJYLY+S6Cj james@forge' >> /root/.ssh/authorized_keys` diff --git a/memory/claude-usage.db b/memory/claude-usage.db index ad931ba5e079051cd4a9948a8fc12e37c46b3a6e..caefcc775fe9ee91798fe95636d6ab66da183dad 100644 GIT binary patch delta 110 zcmZo@U~Fh$oFL68Gf~EwQD$Sp5`JbWp8J#81&o<^?r&^d%p)%=#l~RD$jE49U}UCi zV5Dnc5n^OyWnf@sU=k(7$F}*O45KiI6c+;ngA{N1WOf5%Cf@Rmjn=%AC)f&b!W2qv Jo?u(R1OUj<8ZrO? delta 62 zcmZo@U~Fh$oFL68JyFJ)QF>#-5`Jb$o_~|s1&lW~9^u*iPli#LLz0VufkBdY!en*> RplBHH