# WORK-CONTEXT.md — Infrastructure, Work & Automation

*A living document to inform discussions about workflow improvements.*

---

## Infrastructure

### OS & Config Management
- **NixOS** for all servers

### Home Network (FW Host)
- Acts as firewall
- **Forgejo** (container) — all code hosted here
- **2 VMs** — Forgejo Action runners
- Smaller services:
  - AI mail answer bot (for a customer)
  - *More TBD*
  - Home Assistant, Audiobookshelf, Jellyfin, FiveFilters, Moltbot

### Hetzner Cloud

**VM 1 — Mail/LDAP:**
- OpenLDAP
- Dovecot2, Postfix (mail)

**VM 2 — Web-ARM:**
- Websites (static sites, TYPO3)
- Grafana
- Authelia (auth)
- Vaultwarden (passwords)
- Nextcloud (storage, CalDAV, CardDAV)
- 1× Laravel project
- 1× SolidJS frontend
- Stage systems (pattern: `customer-domain.cloonar.dev`)

**VM 3 — Customer "amzebs":**
- Laravel API + React frontend
- Both production and stage

### Backups
- **Borg** → Hetzner Storage Box (all machines)

---

## Work

### Primary Work
- Developer (home office)
- Customer projects:
  - Mostly **TYPO3** websites (e.g., GBV)
  - Static sites built with **Hugo**
  - 1× Laravel + SolidJS
  - 1× Laravel + React (amzebs)

### Accounting
- **SevDesk**

### Side Projects
- AI-powered workout tracker & planner app
- Moltbot/Clawd integrations

---

## Current Automation Level

### Automated ✅
- Morning briefing (HA → Moltbot hook)
- News summaries (Der Standard + AI news, 4× daily)
- Calendar reminders for in-person events
- Evening check-ins for wind-down
- Recurring reminders (nose shower, brain dump nudges)
- Home arrival detection → reminders
- Backups via Borg

### Semi-Automated ⚡
- Git workflows (Forgejo Actions, migrated from GitHub)
- Stage deployments (pattern exists, details TBD)
- *To be expanded*

### Manual / Pain Points 🔧
- *To be filled — what takes time? what's repetitive?*

---

## Tools & Stack

### Development
- **TYPO3** — PHP CMS
- **Hugo** — Static site generator
- **Laravel** — PHP framework
- **SolidJS** — Frontend framework
- **React** — Frontend framework
- *IDEs, local dev setup TBD*

### Communication
- WhatsApp (via Moltbot)
- *Others?*

### Task Management
- None currently (brain-dump.json as interim)

---

## Improvement Ideas

*Captured ideas for future discussion:*

- MCP server for Forgejo (Phase 1: fork + PR workflow, Phase 2: automated issue-solving)
- *More to come*

---

*Last updated: 2026-02-01*
