System map · 30 Oct 2026 · wao.foundation
How WAO is built
? = not decided or built. No keys, contacts or members' data.
4live projectssite, events, bot, /stats
3deploy unitssite, wao-api, reminders
10AI agent rolesin the vault
7Mac jobsscheduled on Kleoth
~65commits a daylast 7 days
01Overall map
PeopleCloudflareWorkMac
One Git repo holds site, server, vault and agents.
02Services and apps
| For | Tool | Use |
|---|---|---|
| Site, EN · UA · RU | Astro, GSAP, Pages | Story, card draw, doors. Prod: manual run. |
| Server, bot, API | Worker wao-api | Bot, events, RSVP, ideas, stats. Ships ~20 s after merge. |
| Reminders | Worker events-reminders | Cron reminders. |
| Data | D1 | wao-events: events, RSVPs, hosts. wao-stats: draws, chat log. |
| Chat | Telegram, prod + test bot | RSVP, notes, /task, /meeting. |
| Tasks, ideas | Linear | 4 projects; triage idea, from-meeting. |
| Code, deploy log | GitHub + Actions | Tags = release notes. |
| Knowledge | Obsidian vault in repo | People, agents, decisions, notes. |
| AI work | Claude Code, Codex | /task loop. |
| Background AI | Haiku / Sonnet via llm.mjs, launchd | Digest, Scribe, intake, keeper. |
| Bot protection | Turnstile | Forms |
| Private pages | Cloudflare Access | /stats/pulse. |
| Recordings | Mac transcriber | Fireflies off 26 Oct. |
| none | Telegram only. | |
| Payments, paid bot tier | ? | ? |
| Social, funnel analytics | ? | ? |
03Build vs. buy
| Task | Bought | Ours |
|---|---|---|
| Hosting, DB, cron | Cloudflare, free | Worker code, D1 migrations |
| Messaging | Telegram Bot API | Router, notes, chat listener |
| Project mgmt | Linear | bug.mjs, Scribe, /task |
| Event cards | Browser canvas | Our template |
| Deploys | Actions, Wrangler | ship, rollback, smoke, tags |
| AI models | Claude | Agents, budgets, judge, stats |
| Transcription | Local model | Kleoth jobs |
| Payments | ? | ? |
06Dashboards
| Page | Shows | For |
|---|---|---|
/stats | Work, ideas, team, status | public |
/stats/tokens | AI tokens, cost per commit | public |
/stats/cards | Card draws, flow | public |
/stats/pulse | Team pulse | core · Access |
| Linear | Issues, triage | team |
| Deploy tags | What shipped when | builders |
| Funnel | post → card → bot → event ? | ? |
04Flows
People
- Sees a post ?
- wao.foundation
- Draws a card
- Talks to the bot
- Joins an event
- Group member
- Host / Angel / Circle
- Core team
- Bot → paid features ?
Information
Money
No income yet. Infra free; AI cost on /stats/tokens.
05Processes and automation
| Process | Automated | Human |
|---|---|---|
| Bot / API deploy | CI on merge to main | Merges |
| Site deploy | ship: build, smoke, upload | Eugene runs it |
| Rollback | rollback | Eugene decides |
| Prod bug | bug.mjs: Urgent issue + chat ask | Taps "I fix it" |
| Core chat → tasks | Scribe drafts | Accept / Drop in chat |
| Meetings → tasks | Intake: note + issues | Triage to Todo |
| Member notes | Bot commits to vault/notes | Eugene applies |
| Events | Reminders, cards, RSVP | Hosts create; admin invites |
| One issue | /task: plan → build → judge | Closes |
| Retro, model check | Mac + cloud routines | Suggestions only |
| Social, campaign | Manual ? | |
| Group moderation | Spam filter planned ? | Bans by hand |
Trust ladder
- 0AI suggestsFlagged notes, model checks, retro
- 1AI drafts, person acceptsScribe, meeting issues
- 2AI does, person mergesEveryone but Eugene: PRs
- 3AI ships, person can roll backFast mode: main,
ship,rollback - 4AI alone, no review ?Nothing yet
07How AI agents work
| Topic | How |
|---|---|
| Rules | Two small files per session (orchestrator, fast context); the rest per task. |
| Roles | Orchestrator, specialists (backend, motion, copy, QA), judge, members' agent, Scribe, intake, keeper. |
| Models | Opus plans, Sonnet codes, Haiku the rest. |
| Memory | Vault, Linear handoffs, git. |
| Identity | WAO_PERSON; one profile per session. |
| Release | Eugene fast mode; others PR. |
| Guards | Branch guard, 300k cap, 45 min, ok above $5. |
| Runtime | Scheduled agents: Mac or cloud. |
08Open questions
- Payments ?What, which provider.
- Launch campaign ?Channels, who posts, metrics.
- Funnel on /stats ?Post to event.
- Bot spec (WAO-21)Waiting for Eugene's review.
- Members' agent ?Model backend for
/ask. - Moderation, weekly post ?When to build.
- One Mac ?Jobs depend on it. Backup?