Global infra ยท review & notes system ยท 2026-06-24
All house-style review HTML now lives on a single Cloudflare project with hierarchical paths, and auto-mirrors to one Notion DB. No more one-project-per-file (which exhausted the Pages cap).
clientsflow-notes.pages.dev
๐ต path: /<repo>/<doc>/
๐ฃ Notion: master "Reports" DB
| Piece | Rule | Example |
|---|---|---|
| Root | one Pages project | clientsflow-notes.pages.dev |
| Top folder | git repo basename of the file | /ghl-funnel/ |
| Leaf folder | doc slug โ note folder name (climbs past site/dist/build); filename stem otherwise | /journey-visualizer/ |
| Index | auto-generated root page lists every note grouped by repo | clientsflow-notes.pages.dev/ |
| File | Role |
|---|---|
~/.claude/hooks/notes_lib.py | shared lib: slug/hierarchy, house-style root index, single-project deploy, Notion create-or-update |
~/.claude/hooks/cf-staging-deploy.py | Stop hook: place reviewable notes โ one deploy โ mirror to Notion (fail-open) |
~/.claude/clientsflow-notes/ | persistent local root that accumulates every note (the deploy source) |
Reports DB 74f54118โฆ | master Notion DB under "Databases" โ every note gets a row + live embed |
clientcompanyname-yy-mm-dd โ clientcompanyname-yy-mm-dd.pages.dev. This is separate from the notes system (review docs go to clientsflow-notes; client sites stay one project per client, now consistently named).