Commit Graph

15 Commits

Author SHA1 Message Date
3e24b8b193 fix: Disable buggy health check alerts
- Temporarily disabled automated health check cron job
- Script had parsing issues causing repeated false alerts
- Will fix script properly before re-enabling
- Manual monitoring in place until then
2026-04-08 14:32:56 -04:00
1bd3e724fe feat: Proactive agent health monitoring system
- Created AGENT-MONITORING-PROTOCOL.md - formal monitoring procedures
- Added automated health check script (runs every 4 hours)
- Monitors all cron jobs for errors and consecutive failures
- Alerts Chris via Telegram when issues detected
- Documents escalation paths and standard fixes
- Establishes success metrics: zero undetected failures

This ensures system reliability through proactive detection.
2026-04-08 11:52:53 -04:00
311d498941 docs: Complete agent health audit and remediation
- Audited all 9 cron jobs/agents
- Fixed 7 agents with Telegram delivery failures (@heartbeat → telegram:8269921691)
- Removed duplicate bash sales-lead monitor (replaced with Python version)
- Total errors before fix: 201+ consecutive errors
- All agents now configured to deliver to correct Telegram channel
- Created comprehensive audit report in AGENT-HEALTH-AUDIT.md
2026-04-08 11:49:42 -04:00
1774148418 feat: Add interest form endpoint and fix lead parsing
- Updated to check https://hoaledgeriq.com/api/leads
- Fixed JSON parsing (uses 'leads' key not 'submissions')
- Added proper handling for interest form fields
- Notifications now include first name, last name, org
- Detected 5 historical interest form leads
- Both endpoints now fully functional
2026-04-08 10:30:50 -04:00
a009cf7d70 feat: Rewrite sales lead monitor in Python with dual API support
- Created monitor.py to replace bash script
- Checks ROI Calculator API (interest form endpoint not found)
- Properly parses JSON responses and tracks processed leads
- Sends Telegram notifications for NEW leads only
- Fixed timeout issues from bash script
- State file now tracks both ROI and interest form leads
- 3 test leads (IDs 5, 6, 7) detected and notifications sent
2026-04-08 08:32:48 -04:00
872c82f7ab fix: Correct GA4 scroll event counting
- Fixed bug where scroll events showed percentage values instead of actual counts
- Now queries scroll_25, scroll_50, scroll_75 individually with EXACT match
- Properly extracts event counts from GA4 API response
- Scroll tracking now shows real engagement numbers
2026-04-06 08:57:47 -04:00
ad8bec29ff Update heartbeat-state.md with 2026-04-05 run 2026-04-05 09:03:52 -04:00
eca39f0242 Add 2026-04-05 daily log - marketing content workflow completed 2026-04-05 09:03:19 -04:00
30991fedd7 docs: Add OpenClaw cron job documentation to TOOLS.md
- Documented that ALL cron jobs must use OpenClaw native cron system
- Listed all active cron jobs with schedules
- Added CLI reference and documentation links
- Emphasized NOT using system crontab
2026-04-01 19:57:00 -04:00
b55c9162c2 fix: Restore Reddit Scout cron job schedule
- Added Reddit Scout back to install-all-crons.sh
- Schedule: 8 AM and 3 PM daily
- Last run: March 20 (cron was missing)
- Added README with restoration instructions
- User needs to run: bash install-all-crons.sh
2026-04-01 19:52:19 -04:00
ba066f9984 feat: Enhanced GA4 integration with engagement tracking
- Added scroll depth tracking (25%, 50%, 75%)
- Track form interactions and outbound clicks
- Added engagement rate, avg session duration, page views
- Updated daily report with comprehensive engagement metrics
- Created ga4-list-events.py to discover tracked events
- All metrics now flow to morning brief
2026-04-01 19:40:51 -04:00
e59ddd045d docs: Add GA4 integration documentation 2026-04-01 19:23:51 -04:00
eb1a65b661 feat: Integrate GA4 analytics into SEO agent
- Added GA4 traffic monitoring to seo-agent.py
- Tracks sessions, users, bounce rate from GA4
- Detects traffic anomalies (>50% drop triggers alert)
- Maintains 30-day traffic history in state
- Updated daily-report.sh with enhanced GA4 metrics
- GA4 data now flows to morning brief
- Hourly checks every 6 hours to avoid API fatigue
2026-04-01 19:23:00 -04:00
5319bcd30b feat: Add Chatwoot Agent Bot prototype and FAQ knowledge base
- Created chatwoot-agent-bot/ with Node.js webhook server
- Bot detects intent (greeting, billing, technical, features, account)
- Auto-responds from FAQ knowledge base or escalates to human
- FAQ-KB.md: Living knowledge base that grows with customer questions
- CHATWOOT-SETUP.md: Complete deployment and configuration guide
- Supports Telegram notifications on escalation
- Bot runs on port 3001, ready for Chatwoot webhook integration
2026-04-01 16:26:05 -04:00
7ba19752de Add deployment files and marketing content
- deploy.sh: Zero-downtime deployment script for HOALedgerIQ
- content/: Generated content files (blog outlines, social posts, images)
- marketing/: Marketing content and daily summaries
- marketing-content/: Archived marketing content with research and tracking
- marketing-content-2026-03-25.md: Initial marketing content archive
2026-04-01 08:02:28 -04:00