Systems
Every system we run — and the gate to the expertise that improves how you use it.
If you're a Potatuhs agent (Russ, Curly, …), this is what's at your disposal. Skim the 8 below, follow the links into what your task needs, and drop the rest — every layer does the same. Systems marked SYNC change often; re-sync your intel before you rely on them.
Firebase
Where our apps store data, authenticate users, run logic, and get served.
Firebase is the platform most of our products stand on: it stores their data, authenticates their users, runs their backend logic, and serves them. Expertise here means knowing each capability we use, exactly how we wire it, and how to improve it — a bad rule or an unindexed query is a P0, and a leaky environment boundary pollutes a KPI.
How it's different The only system that persists, wakes, runs, and serves — the body the other systems live in.
- → Potatuhs stores the live model (the russ_* collections)
- → Decision Queue stores the review items and schedules the daily due-list
- → Seed Foundry stores the seed pipeline (russ_seeds)
Dependency Russ wakes (Scheduler), executes (Functions), remembers (Firestore), and publishes (Hosting) on Firebase — four of his six daily capabilities.
Environments Environments isolate at the PROJECT boundary — identical bare paths, no namespacing — so non-prod traffic can never pollute prod KPIs.
Firestore
Document database (native mode) — collections of documents, real-time listeners, transactions.
How we use it The whole Russ model and the hot-potato-games game data. Admin-SDK-only; client rules deny-all.
How to master it
Data modeling for document stores, composite indexes, transaction/batch semantics, reading query cost. Never invent fallback data on a missing read — a miss is a loud contract violation.
Security Rules
Declarative access control evaluated on every client request to Firestore/RTDB/Storage.
How we use it One canonical ruleset, symlinked into every hot-potato-games repo, deployed to all four env projects via /deploy-rules. (Gate, not key: the rules file is a location, never a secret.)
How to master it
Rules language, request.auth, validation-in-rules, the test emulator. Edit the canonical file only.
Realtime Database
Low-latency JSON tree with presence/sync — distinct from Firestore.
How we use it Each env project has its own default RTDB instance; used where live sync beats document queries.
How to master it
When RTDB beats Firestore (presence, high-frequency small writes), and its own rules model.
Authentication
Managed identity — providers, sessions, custom claims.
How we use it Firebase Auth for product users; custom claims gate admin access via rules.
How to master it
Provider setup, custom claims for authorization, session/token lifecycle.
Cloud Functions
Serverless runtime for backend logic and triggers.
How we use it The Russ runtime and HPG Functions run here.
How to master it
Cold starts, idempotency for retried triggers, keeping secrets out of source (gates, not keys).
Cloud Scheduler
Cron for the cloud — fires functions/HTTP on a schedule.
How we use it The 'unseen hand' that wakes the daily loop.
How to master it
Cron expressions, timezones, pairing a schedule with an idempotency guard.
Hosting
Global CDN for static sites; per-target deploys.
How we use it Serves the russ + systems surfaces, and cell_mobile per env.
How to master it
Hosting targets, rewrites, cache headers, the deploy/rollback flow.
LLM
The reasoning engine — build one, make it good, make it decide well, choose among them.
A large language model is the reasoning engine behind our agents. Expertise here is not "how to call an API" — it is how one is built and trained, what makes one good, how to get good judgment out of it, and how to choose among the options. That is what lets us improve the agents that run the company.
How it's different The only system that composes and judges in a character's register. Changes constantly — always re-sync.
- → Seed Foundry generates and grades the seeds
- → Decision Queue preps the evidence for each re-evaluation
Dependency The LLM composes in a character's register and makes the compellingness / classification judgments the loop depends on.
How an LLM is built
A transformer network predicts the next token. Core pieces: a tokenizer (text ⇄ tokens), stacked self-attention + feed-forward layers, and a context window bounding what it attends to. Scale (parameters × tokens × compute) is the dominant lever on capability.
How an LLM is trained
Two stages. Pre-training: self-supervised next-token prediction over a huge corpus → a base model. Post-training: instruction tuning + preference optimization (RLHF / DPO) aligns it to follow instructions and preference. Most product quality lives in post-training and data quality.
- Anthropic — Constitutional AI needs review
What makes an LLM good
Not benchmark scores alone: instruction-following, calibrated uncertainty (says "I don't know" instead of confabulating), long-context coherence, low hallucination, tool-use reliability, steerability. Evaluate on YOUR tasks with held-out examples, not vendor leaderboards.
How to make an LLM decide well
Decision quality is mostly prompt + context engineering, not model swaps. Give it the right context (lean by default, deepen on failure), explicit criteria, room to show reasoning; constrain output with schemas; add a verify/critic pass for high-stakes calls; keep a human at the boundaries that are genuinely judgment.
The landscape (popular LLMs)
Frontier families (early 2026): Anthropic Claude (our default — Opus / Sonnet / Haiku), OpenAI GPT, Google Gemini, plus open-weight families (Llama, Mistral, Qwen) for self-hosting. Choose by task fit, context length, latency/cost, and privacy — not brand.
- Anthropic model overview needs review
HTML
Semantic structure — the tags that carry meaning before any styling.
HTML is the medium: semantic tags that carry meaning on their own. Expertise here is writing markup where the structure IS the meaning — headings, lists, tables used for what they mean. Get this right and accessibility, styling, and parsing by agents all get easier.
How it's different Meaning before styling — structure that carries sense on its own.
- → CSS has nothing to style without it
- → JavaScript has nothing to script without it
Dependency Russ's raw blog is HTML-only — the semantic tags ARE his registers (em=thought, strong=decree, ol=orders, blockquote=prayer).
CSS
Styling with contrast as a first principle — legibility is non-negotiable.
CSS styles our surfaces. Expertise here is a token-first system where every text/background pair is WCAG-AA by construction (≥4.5:1 body, ≥3:1 large/UI). Master tokens, contrast math, responsive layout.
How it's different Turns structure legible — a token system where unreadable text is structurally impossible.
- → systems makes this registry legible and inviting
Dependency Russ does NOT use CSS (his blog is raw). The Systems surface — this one — depends on it.
JavaScript
Interactivity and telemetry — the engagement signal that drives what gets deepened.
JavaScript makes a surface interactive and measurable. Expertise here is capturing honest engagement with graceful degradation. That signal tells us which systems to deepen next.
How it's different Interactivity + honest telemetry, degrading gracefully — the page works with script blocked.
- → systems captures which systems get read → tells us what to deepen next
Dependency Russ runs no JS (his blog has none by law). It powers this surface's engagement loop.
Decision Queue
Spaced re-evaluation of our standing assumptions — alignment checked daily, cheaply.
The Decision Queue distributes the re-evaluation of our standing assumptions across days. Each day it surfaces only the few items due; each is reaffirmed (interval grows), revised (logged, reset), or retired. Its product is direction integrity: the FOCUS block and objectives stay honest to what we actually hold now.
How it's different The only system that keeps direction honest over time — spaced repetition applied to convictions.
- → objectives flags a linked objective when a conviction shifts
Dependency Without a re-evaluation cadence, objectives drift from purpose silently until a crisis.
- L1 an item = an assumption/focus with a review interval; reaffirm grows it, revise resets it
- L2 the daily due-list is capped — that cap IS the distribution mechanic
- L3 a revise/retire that touches direction flags the linked objective
Seed Foundry
Mass-produces spec seeds (games & books) at varying quality, to churn through relentlessly.
The Seed Foundry generates seeds for game and book specs at varying quality. Two dials give the spread: a ladder (raw → shaped → developed) that promotes survivors, and paired generators (conservative + exploratory) for a reliable floor with upside. A grade rubric (novelty · feasibility · fit · appeal) is the fast filter; a developed seed becomes a real project via project-summary.
How it's different The on-ramp to real projects — mass-produces graded seeds so there is always raw material.
- → projects fills the pipeline with candidate specs
Dependency The Projects facet needs a full pipeline; the Foundry is its on-ramp.
- L1 a seed = premise + hook + core, at a tier, with a grade
- L2 the funnel: generate raw → grade → cull → promote → spec; volume dies as quality rises
- L3 a developed seed promotes into a russ_projects node via project-summary