Update HEARTBEAT.md: MC listing now auto-excludes actioned messages
This commit is contained in:
parent
46e6d2afb3
commit
3965e42b5c
|
|
@ -198,13 +198,13 @@ No heartbeat polling needed.
|
||||||
|
|
||||||
### Inbox Cleanup (every heartbeat)
|
### Inbox Cleanup (every heartbeat)
|
||||||
Webhook handles real-time, but messages can slip through (restarts, migration, webhook downtime).
|
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
|
```bash
|
||||||
curl -s "http://localhost:8025/messages?source=tj_jongsma_me" | jq 'length'
|
curl -s "http://localhost:8025/messages?source=tj_jongsma_me" | jq 'length'
|
||||||
curl -s "http://localhost:8025/messages?source=johan_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.
|
These counts reflect only messages with NO action taken. If anything's sitting there, triage it per `memory/email-triage.md`.
|
||||||
If anything's sitting there, triage it per `memory/email-triage.md`. Don't wait for the webhook.
|
Use `?all=true` to see everything including actioned messages (for debugging only).
|
||||||
|
|
||||||
### New Messages Check
|
### New Messages Check
|
||||||
**Check:**
|
**Check:**
|
||||||
|
|
|
||||||
|
|
@ -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`
|
||||||
Binary file not shown.
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"last_updated": "2026-02-08T21:19:36.257197Z",
|
"last_updated": "2026-02-08T22:00:04.103881Z",
|
||||||
"source": "api",
|
"source": "api",
|
||||||
"session_percent": 5,
|
"session_percent": 14,
|
||||||
"session_resets": "2026-02-09T01:00:00.223629+00:00",
|
"session_resets": "2026-02-09T01:00:00.062105+00:00",
|
||||||
"weekly_percent": 16,
|
"weekly_percent": 18,
|
||||||
"weekly_resets": "2026-02-14T19:00:00.223651+00:00",
|
"weekly_resets": "2026-02-14T19:00:00.062126+00:00",
|
||||||
"sonnet_percent": 5
|
"sonnet_percent": 6
|
||||||
}
|
}
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"briefing": "2026-02-08T10:02:20-05:00",
|
"briefing": "2026-02-08T10:02:20-05:00",
|
||||||
"techScan": "2026-02-08T10:02:20-05:00",
|
"techScan": "2026-02-08T10:02:20-05:00",
|
||||||
"memoryReview": "2026-02-07T06:11:00-05:00",
|
"memoryReview": "2026-02-07T06:11:00-05:00",
|
||||||
"email": "2026-02-07T06:11:00-05:00",
|
"email": "2026-02-08T16:44:00-05:00",
|
||||||
"calendar": null,
|
"calendar": null,
|
||||||
"weather": "2026-02-04T11:09:52-05:00"
|
"weather": "2026-02-04T11:09:52-05:00"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue