# AI Transformation Review

A Hebrew, RTL review log for an office AI transformation: the home page is the latest review, earlier reviews stay archived. Currently covers OpenCode model security and the six AI pricing options.

**Status:** Live · Websites · 2026

- **Local checkout:** `/Users/simon/Developer/ai-pricing-office` (branch `main`, last commit f23efe0, 2026-11-07 — Drop the RustFS MCP review; the documentation lives in the PIL project)
- **Uncommitted changes:** 25 file(s) at brief generation time
- **Repository:** https://github.com/ShimonNavon/ai-pricing
- **On another machine:** `git clone https://github.com/ShimonNavon/ai-pricing` — the paths below are Simon's Mac
- **Live:** https://ai-pricing.navonsimon.com/
- **Where it runs:** namespace ai-pricing · NodePort 30116
- **Note:** Unlisted (noindex) CEO review log. Home = latest review; #/reviews archive; #/pricing is review #1.

## Stack

Single-file HTML/CSS + vanilla JS hash tabs, Hebrew RTL, nginx, Kubernetes ConfigMap, local-path PVC for media

## Start here

- `index.html` — the whole site: #/home latest review, #/reviews archive, #/agents cost tab (real today OpenRouter spend + 3-hour forecast, plus a demo monthly office-agent plan from the AGENTS array; live feed planned once the secure pod and a budget exist: OpenRouter / Anthropic Admin API / Vast / HF credits, one key per agent)
- `deploy/app.yaml` — namespace, nginx deployment and NodePort service (30116)
- `deploy/nginx.conf` — in-pod nginx: static file serving with no-cache and security headers
- `deploy/edge.conf` — ubuntu01 edge nginx: GET/HEAD only, rate limits, hidden paths blocked, proxy to the NodePort over Tailscale
- `deploy/route_domain.py` — idempotent Cloudflare tunnel route + proxied CNAME for the subdomain
- `deploy/deploy.sh` — builds ConfigMaps from index.html and nginx.conf, applies, restarts the rollout
- `media/` — pil-karav.mp4 (84s film), pil-podcast.mp3 (5:20, 13 chapters), pil-karav-poster.jpg — served from the media PVC at /media/ (never ConfigMaps)
- `files/pil-presentation.html` — 13-slide presentation synced to the podcast audio; chapter start times inline; served from the files ConfigMap

## Commands

- **Deploy:** `./deploy/deploy.sh`
- **Deploy + edge conf:** `./deploy/deploy.sh edge`
- **Create DNS/tunnel route:** `python3 deploy/route_domain.py`

## Deploy and where it runs

- Namespace ai-pricing, NodePort 30116: one nginx:1.27.5-alpine pod serving the site and nginx-conf ConfigMaps, plus a local-path PVC mounted at /usr/share/nginx/media.
- deploy/deploy.sh builds ConfigMaps, rolls out, then tars media/ to ubuntu03 and kubectl cp's it into the pod.
- Public https://ai-pricing.navonsimon.com/ via ubuntu01 edge nginx (conf.d/ai-pricing.conf) + Cloudflare tunnel ubuntu01; noindex.

## Current state

Live CEO-facing review log for an office AI transformation. Home is Review #12 (day report, 6 Nov 2026): the work built that day (reviews #8-#11, three films, two podcasts, two decks, Magic-to-Postgres copy code) and a 3-hour cost forecast. #/agents shows real OpenRouter spend ($23.18 to 22:04) plus the forecast, with a monthly office-agent plan still in demo. Archive keeps earlier reviews. Static, no backend, noindex.

## Watch out

- The first deploy must create the site and nginx-conf ConfigMaps BEFORE the pod can start: run ./deploy/deploy.sh, not just kubectl apply on app.yaml.
- Updating just the ConfigMap is not enough — the pod caches files; deploy.sh runs rollout restart.
- The Mac's local DNS resolver can be stale right after creating the record; query @1.1.1.1 or use --resolve to confirm.
- Media is on a local-path RWO PVC: it is not in ConfigMaps (1 MiB limit), the pod stays on ubuntu03, and deploy.sh re-uploads media/ on every deploy. Deleting the PVC deletes the film and podcast.

## Secrets — locations only, never print values

- CLOUDFLARE_API_TOKEN in the Mac shell env, needed only by deploy/route_domain.py; not stored in the repo.

## Links

- [Open](https://ai-pricing.navonsimon.com/)

## Tags

Hebrew RTL, Kubernetes, nginx, OpenCode

---

Brief generated 2026-11-08 from `~/Developer/my-projects/context/`. Canonical URL: https://projects.navonsimon.com/context/ai-pricing.md
