# 2026-02-01

## Flutter Development - inou-mobile

### Theme Update Complete
- Rewrote `/home/johan/dev/inou-mobile/lib/core/theme.dart` with inou styleguide colors
- **Colors from inou.com/styleguide:**
  - Accent: `#B45309` (amber)
  - Text: `#1C1917`, Muted: `#78716C`
  - Background: `#F8F7F6` (cream), Surface: white
  - Success: `#059669`, Danger: `#DC2626`
- Created `InouColors` class with all color constants
- Both light and dark themes available, light is default
- Fixed build errors: `CardTheme` → `CardThemeData`, added `secondaryColor` for backward compat
- Committed and pushed to Zurich

### App Status
- App builds and runs on ThinkPhone (ZY22J5H4FQ)
- Theme visible: cream background, amber accent on nav
- WebView shows error because `https://inou.com/app` doesn't exist yet
- Phone had connectivity issues (ERR_INTERNET_DISCONNECTED)

### Screenshot Command (working)
```bash
ssh johanjongsma@192.168.1.14 'PATH=/opt/homebrew/bin:$PATH adb -s ZY22J5H4FQ exec-out screencap -p' > /tmp/phone_screenshot.png
```

### Keep Screen On
Johan set screen to stay on during testing - no more sleep issues.

## Pending Tasks
1. **Login screen** - needs to be created
2. **Biometric auth flow** - default to biometric after initial login setup
3. **Web content** - need content at `inou.com/app` OR change `AppConfig.webAppUrl`

## Earlier Work (from compacted context)
- Cleaned up flutter agent from openclaw
- Set up Git server documentation in TOOLS.md (zurich.inou.com)
- Synced 21 repos from /home/johan/dev/ to Zurich
- Trashed x-scraper and email-triage (redundant)
- Fixed widget tree errors (_elements.contains, negative height)
- Upgraded AGP to 8.3.0, Kotlin 1.9.22, Gradle 8.7

## Flutter Session
- Sessions kept getting killed (SIGKILL from Android buffer disconnect)
- Need to restart flutter run after phone goes to background

---

## Document Management System (12:18 UTC)

**Built and deployed:** Full document processing pipeline

**Components:**
- `~/dev/doc-processor/processor.py` - Main processor (OCR, classify, store, index)
- `~/dev/doc-processor/search.py` - Search CLI
- Systemd service: `doc-processor.service` (runs every 60s)

**Pipeline:**
1. Drop file in `~/documents/inbox/` (SMB share for scanner)
2. Daemon auto-processes: OCR → classify → extract fields → store → index → export
3. Creates markdown record in `~/documents/records/{category}/`
4. Updates `~/documents/index/master.json`
5. Exports expenses to `~/documents/exports/expenses.csv`

**Categories:** taxes, bills, medical, insurance, legal, financial, expenses, vehicles, home, personal, contacts, uncategorized

**Test:** Duke Energy bill classified correctly with vendor, date ($147.32), amount extracted

**Commands:**
- `systemctl --user status doc-processor` - daemon status
- `python3 ~/dev/doc-processor/search.py --stats` - document stats
- `python3 ~/dev/doc-processor/search.py "query"` - search documents

## bird CLI Fixed (12:15 UTC)

Fixed `~/.config/bird/config.json5` - needs env vars for now:
```bash
export AUTH_TOKEN="..." CT0="..."; bird whoami
```
Config file format wasn't being read properly. Works with env vars.

## SOC2 / Security Updates (12:21 UTC)

- Added security headers to zurich.inou.com Caddy config:
  - HSTS, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy
- OpenVAS redeployment in progress (docker compose with new community registry)
- Created git repo: `git@zurich.inou.com:doc-processor.git`

## Tasks Queue Updated

See `memory/tasks-queue.md` for current status:
- inou-mobile: Blocked on backend content (`inou.com/app`)
- Doc Management: ✅ Complete
- Azure Backup: **UNBLOCKED!** Azure free account exists (signed up Jan 28)
- ClawdNode: Blocked on pairing test
- SOC2: In progress (OpenVAS redeploying)

---

## Weekend Work Queue (12:25 UTC)

### Weekly Memory Synthesis ✅
- Reviewed all daily logs (Jan 26 - Feb 1)
- Updated MEMORY.md with:
  - Mail system (Proton Bridge + Mail Bridge API)
  - inou Mobile project (WebView hybrid architecture)
  - SOC2 security scanning infrastructure
  - Work principles from corrections.md
- Updated heartbeat-state.json

### Azure Files Backup - Unblocked! 🎉
- Found Azure welcome email in johan@jongsma.me inbox from Jan 28
- **FREE ACCOUNT EXISTS**: $200 credit, 12 months free services
- **EXPIRES ~Feb 27** (30 days from Jan 28)
- Installed Azure CLI 2.82.0
- **Need Johan** for `az login --use-device-code` (MFA required)
- Updated task notes in dashboard

### Nuclei Scan
- Attempted weekly light scan (critical/high only)
- Scan was killed (timeout) - will try again or let cron handle it
## 9:00 AM ET - Morning Briefing Delivered

**Key Items:**
- Gold crashed -11.4% (biggest story) — Chinese speculators blamed
- OpenClaw: Wikipedia page, HN discussion, Fortune article (security concerns), hosted platform launch
- Anthropic: Bengaluru office opening, 50B valuation raise, 40% enterprise market share
- Florida cold snap: 38°F (unusual)
- Markets: /ES +0.2%, /CL +0.6%, TSLA +3.3%, NABL +2.7%
- Trump picked Kevin Warsh for Fed chair

## Monthly Nuclei Scan Complete (14:19 UTC)

**Target:** https://inou.com
**Results:** 16 findings, ALL informational
- 0 Critical, 0 High, 0 Medium, 0 Low
- Security headers (CSP, COEP, Clear-Site-Data) missing — known, low priority
- TLS 1.2/1.3 both supported — good
- Domain expires 2026-06-29 — needs renewal reminder

**Report:** ~/dev/docs/soc2/nuclei-report-2026-02-01.md
**Raw scan:** ~/dev/docs/soc2/nuclei-scan-2026-02-01.txt

**Status: ✅ PASS for SOC2 compliance**

## Brother ADS-4300N Scanner Arriving (19:30 UTC)

**Order:** #112-7614761-1552234 ($427.99)
**Status:** Out for delivery today (no specific time window in email)
**Dashboard:** Added to deliveries tracker

**Relevance:** This scanner will feed into the document management system built earlier today. The ADS-4300N is a network-capable duplex scanner - will configure to scan directly to `~/documents/inbox/` via SMB share for automated processing.
