# 2025-01-28 Session Notes

## ClawdNode Android - BREAKTHROUGH ✅
- Built custom gateway at `/home/johan/dev/clawdnode-gateway/server.js`
  - HTTP: 9877, WebSocket: 9878
  - Bypasses Clawdbot gateway restrictions entirely
- App connects via Tailscale (phone: 100.102.141.81 → server: 100.123.216.65)
- **Working:**
  - Notifications captured (Signal, Teams, all apps)
  - Calls detected and forwarded
  - Bidirectional WebSocket commands
  - Phone acknowledges answer command with OK
- **Not implemented yet:** Actual call control (InCallService/TelecomManager)
- Wife's number: +17272253810 (used for test call)

## Evening Sprint Plan (7pm Jan 29)
See: `memory/2025-01-29-clawdnode-sprint.md`

**PRIORITY 1:** Flutter Styleguide rebuild (blocking deployment!)
- Trash current version, rebuild from exact CSS values
- Source: https://inou.com/static/style.css
- Font: Sora, Base: 15px, line-height 1.5

**PRIORITY 2:** ClawdNode phone features
- InCallService to actually answer/reject calls
- Spam handling with legal disclaimer
- Known caller greeting + relay
- SMS auto "STOP" on spam

## Dashboard Fixes
- Fixed "Updated 0m ago" bug - now uses briefing.timestamp
- Cron jobs updated to MANDATORY POST to dashboard before Signal
- Afternoon brief phone number fixed (was NL, now US)
- HEARTBEAT.md updated with dashboard posting requirement

## Open Task
- **Azure Files** - Johan wants significant progress before he wakes
- NEED CONTEXT: What is this? Kaseya project? Where's the code/docs?

## Git Commits (clawdnode-android)
- `b8d1705` - fix: NotificationManager is a Kotlin object, no getInstance needed
- `4462bf4` - fix: Resolve NotificationManager import conflict
- `e3b68c9` - feat: Add DirectGateway for bidirectional WebSocket

## Key Files
- Custom gateway: `/home/johan/dev/clawdnode-gateway/server.js`
- Gateway log: `/tmp/clawdnode-gateway.log`
- Debug server: `/home/johan/dev/clawdnode-debug-server/server.js`
- Debug log: `/tmp/clawdnode-debug.log`
- Android app: `/home/johan/dev/clawdnode-android/`
- Dashboard: `/home/johan/dev/james-dashboard/` (port 9200)
