Author SHA1 Message Date
ilia 7d34172241 Fix weekly report kwargs; close backup task in handoff 2026-07-26 15:33:20 -04:00
ilia 454684b646 Mark deploy-pote and 07:00 email verified.
CI / skip-ci-check (pull_request) Successful in 8s
CI / secret-scan (pull_request) Successful in 8s
CI / python-ci (pull_request) Successful in 25s
2026-07-12 11:38:25 -04:00
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -117,16 +117,15 @@ make beszel-install-agents BESZEL_ONLY=pote-236 # if agent not yet installed
| P | Task | Owner | Status |
|---|------|-------|--------|
| **P1** | `make deploy-pote` — sync server to `main` | @agent | ⏳ |
| **P1** | Confirm 07:00 cron email delivered | @agent | ⏳ |
| **P1** | Proxmox backup schedule for LXC **236** on pve10 | @you | ⏳ |
| **P3** | Dedicated `pote@levkine.ca` mailbox (vs shared `alerts@`) | @you | optional / low |
| **P3** | Git deploy on LXC (replace rsync-only) | @agent | optional / low |
| **P3** | Kuma LAN health monitor | @agent | optional / low |
| **P3** | Mattermost / webhook alerts (email only today) | @agent | optional / low |
| **P3** | Full history ingest (second data source beyond kadoa cap) | @agent | optional / low |
**Closed 2026-07-11:** Beszel agent on pote-236 (`beszel-agent` active).
**Closed 2026-07-11:** Beszel agent on pote-236 (`beszel-agent` active).
**Closed 2026-07-12:** `make deploy-pote` synced to LXC 236; 07:00 cron email delivered (`idobkin@gmail.com`, log OK). DB ~1129 trades / 80 officials.
**Closed 2026-07-15:** Proxmox backup — LXC 236 confirmed in pve10 vzdump job vmid list. Daily email re-verified through Jul 15 (44 successes logged); DB now 85 officials / 1161 trades. **Weekly report bug fixed** — caller in `report_generator.py` passed stale kwarg names (`days_lookback`/`min_suspicious_trades`/`min_timing_score`) to `PatternDetector.identify_repeat_offenders(lookback_days, min_suspicious_rate)`; had been failing silently every Sun 08:00 since ≥2026-07-05. Fixed + deployed to `.48` + verified `generate_weekly_summary()`/`format_as_text()` run clean (next real send: Sun 08:00).
### Not planned (unless you want them)
+1 -1
View File
@@ -147,7 +147,7 @@ class ReportGenerator:
# Get top suspicious patterns
repeat_offenders = self.detector.identify_repeat_offenders(
days_lookback=7, min_suspicious_trades=2, min_timing_score=40
lookback_days=7, min_suspicious_rate=0.4
)
return {