Context docs

One short doc per project with the explanations you keep repeating. Link it from that project's AGENTS.md.

arxiv-papers-reader.md biomarker-shit.md blog.md caffene-swift.md cf-mobile.md cfg-benchmark.md club-website.md comp2017.md ed-bot.md elemnt-website.md entropy.md feezy.md fishdraw.md food-service.md free-exercise-db.md frontend-deploy.md hacker-news.md health.md home-server.md interview-coder.md listener.md medlit.md moonshine.md notify-me.md obsidian-vault.md org.md p5-playground.md paper-reader.md personal-setup.md ppr-scroll.md reader.md resume.md rss-feeds.md shader-gallery.md sindhu.md sortie.md speech.md task-app.md tcache.md tracker.md verceo.md visual-hook.md

arxiv-papers-reader.md ~137 tokens · drafts/context/arxiv-papers-reader.md

Rendered

arxiv-papers-reader

arXiv reader with web and Expo app on Cloudflare.

Where things live

  • Papers in D1 sharded by year ranges plus authors DB; FTS5; Alchemy v2 in packages/infra deploys server, cron, importer, web.

How it works

  • Native app has own AGENTS.md: never run or use Argent; saved papers local-first in SQLite; analytics batched in lib/analytics.ts.

Why it is done this way

  • Auth worker stays commented out (RPC-only Better Auth); dev never runs ingestion.

<!-- sources: 08.co6, 16.co7, 16.co8, 17.co6, 17.co7, 20.co6 -->

# arxiv-papers-reader
arXiv reader with web and Expo app on Cloudflare.

## Where things live
- Papers in D1 sharded by year ranges plus authors DB; FTS5; Alchemy v2 in packages/infra deploys server, cron, importer, web.

## How it works
- Native app has own AGENTS.md: never run or use Argent; saved papers local-first in SQLite; analytics batched in lib/analytics.ts.

## Why it is done this way
- Auth worker stays commented out (RPC-only Better Auth); dev never runs ingestion.

<!-- sources: 08.co6, 16.co7, 16.co8, 17.co6, 17.co7, 20.co6 -->

biomarker-shit.md ~193 tokens · drafts/context/biomarker-shit.md

Rendered

biomarker-shit

LLM-generated biomarker knowledge base.

What it is

  • JSON per biomarker: specimens, reference ranges, decision limits, modifiers (dietary = nutrients, lifestyle = behaviours, medication = drugs) with weighted citations, practitioner/patient descriptions.

How it works

  • Generated field by field via AI SDK (OpenRouter) and OpenCode with checkpoints; LOINC/NLM fields are not LLM-generated; decision limits from PubMed; PubMed, Firecrawl, USDA as MCP tools.
  • biomarker-runtime is a NHANES-derived weighted-quantile bundle with FastAPI wrapper.

Commands

  • bun run audit:generated validates generated JSON with a per-section AI judge; fixes need clinical research, not deleting.

<!-- sources: 06.co8, 09.co9, 11.co12, 12.co8, 16.co2, 18.co9 -->

# biomarker-shit
LLM-generated biomarker knowledge base.

## What it is
- JSON per biomarker: specimens, reference ranges, decision limits, modifiers (dietary = nutrients, lifestyle = behaviours, medication = drugs) with weighted citations, practitioner/patient descriptions.

## How it works
- Generated field by field via AI SDK (OpenRouter) and OpenCode with checkpoints; LOINC/NLM fields are not LLM-generated; decision limits from PubMed; PubMed, Firecrawl, USDA as MCP tools.
- biomarker-runtime is a NHANES-derived weighted-quantile bundle with FastAPI wrapper.

## Commands
- bun run audit:generated validates generated JSON with a per-section AI judge; fixes need clinical research, not deleting.

<!-- sources: 06.co8, 09.co9, 11.co12, 12.co8, 16.co2, 18.co9 -->

blog.md ~245 tokens · drafts/context/blog.md

Rendered

blog

Personal website named 'Stvya Sharma', deployed on Cloudflare.

What it is

  • Pages /blog (MDX), /stuff (cards to games, music, flowers), /games, /music, /gallery, /flower, /timeline, with view transitions.

How it works

  • /api/games merges PSN, Steam, Xbox and a static list with IGDB covers; cached in Cloudflare KV that is never deleted; only cover image overwritten; covers via an image proxy.
  • Gallery is client-side routed (react-router), state in search params; R2 image variants (placeholder, xs..3xl webp), thumbnails use sm.webp, SSR blur kept.
  • Timeline branches are markdown files in app/timeline/data with commit blocks split by ---.
  • Text highlights are stored compressed in the URL; hosts thesis MDX with HoverDefinition syntax.

Why it is done this way

  • Remote Vercel build once failed because the monorepo had two React versions (npm ls react).

<!-- sources: 01.co12, 01.co9, 03.co7, 06.co10, 06.co4, 07.co8, 11.co10, 16.co1, 18.co8, 20.co7 -->

# blog
Personal website named 'Stvya Sharma', deployed on Cloudflare.

## What it is
- Pages /blog (MDX), /stuff (cards to games, music, flowers), /games, /music, /gallery, /flower, /timeline, with view transitions.

## How it works
- /api/games merges PSN, Steam, Xbox and a static list with IGDB covers; cached in Cloudflare KV that is never deleted; only cover image overwritten; covers via an image proxy.
- Gallery is client-side routed (react-router), state in search params; R2 image variants (placeholder, xs..3xl webp), thumbnails use sm.webp, SSR blur kept.
- Timeline branches are markdown files in app/timeline/data with commit blocks split by ---.
- Text highlights are stored compressed in the URL; hosts thesis MDX with HoverDefinition syntax.

## Why it is done this way
- Remote Vercel build once failed because the monorepo had two React versions (npm ls react).

<!-- sources: 01.co12, 01.co9, 03.co7, 06.co10, 06.co4, 07.co8, 11.co10, 16.co1, 18.co8, 20.co7 -->

caffene-swift.md ~54 tokens · drafts/context/caffene-swift.md

Rendered

caffene-swift

SwiftUI caffeine tracker.

What it is

  • Decay chart, bio settings, Apple Intelligence insight card that persists until logs or bio change, native stack with large titles.

<!-- sources: 03.co9 -->

# caffene-swift
SwiftUI caffeine tracker.

## What it is
- Decay chart, bio settings, Apple Intelligence insight card that persists until logs or bio change, native stack with large titles.

<!-- sources: 03.co9 -->

cf-mobile.md ~52 tokens · drafts/context/cf-mobile.md

Rendered

cf-mobile

Expo Cloudflare dashboard app.

Why it is done this way

  • Uses a generated Effect OpenAPI client because the Cloudflare SDK fails under Hermes/Metro; Apple HIG style.

<!-- sources: 20.co11 -->

# cf-mobile
Expo Cloudflare dashboard app.

## Why it is done this way
- Uses a generated Effect OpenAPI client because the Cloudflare SDK fails under Hermes/Metro; Apple HIG style.

<!-- sources: 20.co11 -->

cfg-benchmark.md ~328 tokens · drafts/context/cfg-benchmark.md

Rendered

cfg-benchmark (honours thesis)

Honours thesis benchmark testing LLMs on random context-free grammars.

What it is

  • Perpetually renewable, contamination-free benchmark from random CFGs; tiers grow grammar size/depth (10 grammars per tier).

Where things live

  • Older Python version: uv packages llm, benchmark, cfg; run from packages/cfg with uv. Slides in Slidev with USYD colours.

How it works

  • Exp 1 unconditioned generation; Exp 2 prefix-conditioned completion (expectedCompletion = rest after split index); Exp 3 arithmetic completion; same Qwen3-30B-A3B and Gemma variants across runs; earlier one-shot vs inferred vs ground-truth grammar comparison.
  • Generator uses Earley (replaced CYK); terminals as Unicode code points, non-terminals as negative numbers; one shared Grammar type.
  • Runs via OpenRouter, HuggingFace or Ollama; results to JSONL; Deno + Effect re-architecture with AI SDK wrapper, rate limiter, worker pool, notebooks.

Why it is done this way

  • Default temperature and single attempts because it is a benchmark (few knobs) and cost-limited; same grammar set for deterministic comparison; tier formula chosen from lit review and pilots for gradual drop.

<!-- sources: 01.co11, 02.co3, 03.co6, 04.co9, 05.co6, 06.co4, 07.co9, 08.co10, 10.co0, 10.co1, 10.co2, 16.co10 -->

# cfg-benchmark (honours thesis)
Honours thesis benchmark testing LLMs on random context-free grammars.

## What it is
- Perpetually renewable, contamination-free benchmark from random CFGs; tiers grow grammar size/depth (10 grammars per tier).

## Where things live
- Older Python version: uv packages llm, benchmark, cfg; run from packages/cfg with uv. Slides in Slidev with USYD colours.

## How it works
- Exp 1 unconditioned generation; Exp 2 prefix-conditioned completion (expectedCompletion = rest after split index); Exp 3 arithmetic completion; same Qwen3-30B-A3B and Gemma variants across runs; earlier one-shot vs inferred vs ground-truth grammar comparison.
- Generator uses Earley (replaced CYK); terminals as Unicode code points, non-terminals as negative numbers; one shared Grammar type.
- Runs via OpenRouter, HuggingFace or Ollama; results to JSONL; Deno + Effect re-architecture with AI SDK wrapper, rate limiter, worker pool, notebooks.

## Why it is done this way
- Default temperature and single attempts because it is a benchmark (few knobs) and cost-limited; same grammar set for deterministic comparison; tier formula chosen from lit review and pilots for gradual drop.

<!-- sources: 01.co11, 02.co3, 03.co6, 04.co9, 05.co6, 06.co4, 07.co9, 08.co10, 10.co0, 10.co1, 10.co2, 16.co10 -->

club-website.md ~81 tokens · drafts/context/club-website.md

Rendered

club-website

Payload CMS club website.

How it works

  • Authors are a separate collection optionally linked to users; admins and maintainers edit all opinions, author-users only their own.
  • Water shader block behaves like Media Block; presets are only quick-fill buttons, never saved.

<!-- sources: 01.co10, 04.co13 -->

# club-website
Payload CMS club website.

## How it works
- Authors are a separate collection optionally linked to users; admins and maintainers edit all opinions, author-users only their own.
- Water shader block behaves like Media Block; presets are only quick-fill buttons, never saved.

<!-- sources: 01.co10, 04.co13 -->

comp2017.md ~265 tokens · drafts/context/comp2017.md

Rendered

comp2017

Tutor materials for USYD COMP2017 Systems Programming (C99).

What it is

  • Slidev tutorial decks per week (tuts/wkXX, pages/weekN.md); a teaching aid, lectures and exercises take precedence; show only concepts already taught.

Where things live

  • Root Hono index.ts lists apps (name, description, weekTitle, order); hosted at comp2017.stvya.com; deployed on Railway with Railpack, bun workspaces tuts/*; /questions SPA from tuts/questions/dist.

How it works

  • Slidev features used: magic-move, v-if="$clicks === N" with v-motion, two-cols (no three-cols), v-switch, text-xs, mermaid scale, MCQ component with workerDomain and :answer.
  • MCQ polls use a Cloudflare Worker + QuestionDO Durable Object over WebSocket; usage in AGENTS.md.
  • Combined P2P deck (weeks 1-7/8) fits a 2-hour session, hidden from index but reachable by URL.
  • Attendance app (D1 + R2, Part 1/Part 2, photo hash to catch proxies) at comp2017.stvya.com/attendance; question bank at questions.stvya.org.

<!-- sources: 04.co8, 05.co0, 05.co1, 05.co2, 06.co5, 11.co11 -->

# comp2017
Tutor materials for USYD COMP2017 Systems Programming (C99).

## What it is
- Slidev tutorial decks per week (tuts/wkXX, pages/weekN.md); a teaching aid, lectures and exercises take precedence; show only concepts already taught.

## Where things live
- Root Hono index.ts lists apps (name, description, weekTitle, order); hosted at comp2017.stvya.com; deployed on Railway with Railpack, bun workspaces tuts/*; /questions SPA from tuts/questions/dist.

## How it works
- Slidev features used: magic-move, v-if="$clicks === N" with v-motion, two-cols (no three-cols), v-switch, text-xs, mermaid scale, MCQ component with workerDomain and :answer.
- MCQ polls use a Cloudflare Worker + QuestionDO Durable Object over WebSocket; usage in AGENTS.md.
- Combined P2P deck (weeks 1-7/8) fits a 2-hour session, hidden from index but reachable by URL.
- Attendance app (D1 + R2, Part 1/Part 2, photo hash to catch proxies) at comp2017.stvya.com/attendance; question bank at questions.stvya.org.

<!-- sources: 04.co8, 05.co0, 05.co1, 05.co2, 06.co5, 11.co11 -->

ed-bot.md ~49 tokens · drafts/context/ed-bot.md

Rendered

ed-bot

Ed Stem answer-drafting bot.

How it works

  • Ed API at au.edstem.org/api, course 31567; production so tests never write; drafts answers needing human approval.

<!-- sources: 10.co9 -->

# ed-bot
Ed Stem answer-drafting bot.

## How it works
- Ed API at au.edstem.org/api, course 31567; production so tests never write; drafts answers needing human approval.

<!-- sources: 10.co9 -->

elemnt-website.md ~192 tokens · drafts/context/elemnt-website.md

Rendered

Elemnt Health marketing site

Marketing website for Elemnt Health (formerly Entropy Technologies).

Where things live

  • Videos in public/Videos; GitHub 100MB file limit applies.

How it works

  • TanStack Start with section components in route -components folders; pages home, individuals, practitioners, product, about, blog, contact.
  • Inquiry form saves to PostHog and elemnt_web_inquiries, sends Resend confirmation, uses reCAPTCHA Enterprise.

Terms

  • Design values: brand yellow/lemon, brand-green, brand-blue; radii 20px and 36px; headline weight 400; hero per-page colours (#073010, #CDE4F9, #E8E3DF, #FFF) with curved yellow bottoms; p5 sketches being replaced by designer PNG/MP4 in public/.

<!-- sources: 05.co3, 06.co6, 07.co5, 11.co8, 16.co5 -->

# Elemnt Health marketing site
Marketing website for Elemnt Health (formerly Entropy Technologies).

## Where things live
- Videos in public/Videos; GitHub 100MB file limit applies.

## How it works
- TanStack Start with section components in route -components folders; pages home, individuals, practitioners, product, about, blog, contact.
- Inquiry form saves to PostHog and elemnt_web_inquiries, sends Resend confirmation, uses reCAPTCHA Enterprise.

## Terms
- Design values: brand yellow/lemon, brand-green, brand-blue; radii 20px and 36px; headline weight 400; hero per-page colours (#073010, #CDE4F9, #E8E3DF, #FFF) with curved yellow bottoms; p5 sketches being replaced by designer PNG/MP4 in public/.

<!-- sources: 05.co3, 06.co6, 07.co5, 11.co8, 16.co5 -->

entropy.md ~758 tokens · drafts/context/entropy.md

Rendered

entropy

Startup health-report product for naturopath practitioners (now branded Elemnt Wellness / Elemnt Health).

What it is

  • Practitioners (naturopaths, non-technical users) upload patient blood-test PDFs; OCR extracts biomarkers; episodes compute a report (v4 with tabs Blood Biomarker, Blood Statistic, Assessment, Nutrition, Meta), meal plans and shopping lists. Users are practitioners, not patients.

Where things live

  • whitelabel = practitioner Next.js app; whitelabel-admin = admin dashboard (invites, suspend, analytics); wellness-background = Bun/Hono queue microservice; next-proxy proxies it; agentic-report = FastAPI DH1.1 pipeline; entropy_website_new / element-health = marketing site.
  • Files moved from MongoDB GridFS to Backblaze B2: extraction PDFs at episodes/{episodeId}/documents/{pdfHash}.pdf, logos by otps public_id.

How it works

  • Stack: Next.js (14 earlier, now 16 with 'use cache'), Drizzle + Postgres on Railway (Prisma mentioned earlier (check)), Vercel Workflow SDK for durable jobs with SSE, AI SDK via OpenRouter (gpt-oss-120b), Mistral OCR then Gemini/AI SDK extraction, PostHog, oxlint/oxfmt, cnfast instead of cn, React Email templates.
  • Identity migration from username to otps.id/public_id in two stages: add nullable id columns with dual write (user runs backfill), then drop username; JWT carries otpId and publicId, never username; do not change schema.ts on that branch.
  • Stripe: subscription payment intents cannot carry metadata, use subscription metadata or otps.stripe_customer_id; webhooks can arrive out of order so order by updated_at; resubscribe creates a new row; do not update status on past_due (it caused duplicate subscriptions).
  • Plans: 5 free full reports then Preview (freemium) reports with locked sections, no export/share, unlockable by paying; Pay as you go and Pro Subscription; Episode Bundle = one patient, up to three episodes; is_paid null means free.
  • iMedical (Australian lab partner): emails hit a Resend webhook, patient matched by name/email to practitioner, Vercel workflow (one per patient/episode via hook lock) fetches the PHP-serialized base64 PDF, OCRs it, stores hash; practitioner gets a link {PRODUCTION_URL}/{patientId}/{episodeId}; admins emailed on no/multiple matches; only Australian patients see it.

Terms

  • otps table holds all users: otps.id (Postgres column otp_id) is the stable key, otps.user is the legacy changeable username; foreign keys should use otps.id.
  • Dashboard statuses: Follow up = last computed > 30 days ago; Awaiting review = extracted/unreviewed OCR; New report = computed after last_open; Recent report = computed in 30 days and opened; active patient = episode in last 30 days. NULL dates fall to awaiting/for review.

<!-- sources: 01.co0, 01.co3, 01.co4, 01.co5, 02.co1, 03.co0, 03.co1, 03.co2, 04.co0, 04.co3, 05.co3, 06.co7, 07.co6, 08.co3, 08.co4, 08.co8, 09.co0, 09.co1, 10.co3, 10.co4, 11.co2, 11.co3, 11.co4, 11.co6, 11.co7, 12.co3, 12.co5, 12.co6, 13.co0, 13.co1, 16.co5, 17.co1, 18.co0 -->

# entropy
Startup health-report product for naturopath practitioners (now branded Elemnt Wellness / Elemnt Health).

## What it is
- Practitioners (naturopaths, non-technical users) upload patient blood-test PDFs; OCR extracts biomarkers; episodes compute a report (v4 with tabs Blood Biomarker, Blood Statistic, Assessment, Nutrition, Meta), meal plans and shopping lists. Users are practitioners, not patients.

## Where things live
- whitelabel = practitioner Next.js app; whitelabel-admin = admin dashboard (invites, suspend, analytics); wellness-background = Bun/Hono queue microservice; next-proxy proxies it; agentic-report = FastAPI DH1.1 pipeline; entropy_website_new / element-health = marketing site.
- Files moved from MongoDB GridFS to Backblaze B2: extraction PDFs at episodes/{episodeId}/documents/{pdfHash}.pdf, logos by otps public_id.

## How it works
- Stack: Next.js (14 earlier, now 16 with 'use cache'), Drizzle + Postgres on Railway (Prisma mentioned earlier (check)), Vercel Workflow SDK for durable jobs with SSE, AI SDK via OpenRouter (gpt-oss-120b), Mistral OCR then Gemini/AI SDK extraction, PostHog, oxlint/oxfmt, cnfast instead of cn, React Email templates.
- Identity migration from username to otps.id/public_id in two stages: add nullable id columns with dual write (user runs backfill), then drop username; JWT carries otpId and publicId, never username; do not change schema.ts on that branch.
- Stripe: subscription payment intents cannot carry metadata, use subscription metadata or otps.stripe_customer_id; webhooks can arrive out of order so order by updated_at; resubscribe creates a new row; do not update status on past_due (it caused duplicate subscriptions).
- Plans: 5 free full reports then Preview (freemium) reports with locked sections, no export/share, unlockable by paying; Pay as you go and Pro Subscription; Episode Bundle = one patient, up to three episodes; is_paid null means free.
- iMedical (Australian lab partner): emails hit a Resend webhook, patient matched by name/email to practitioner, Vercel workflow (one per patient/episode via hook lock) fetches the PHP-serialized base64 PDF, OCRs it, stores hash; practitioner gets a link {PRODUCTION_URL}/{patientId}/{episodeId}; admins emailed on no/multiple matches; only Australian patients see it.

## Terms
- otps table holds all users: otps.id (Postgres column otp_id) is the stable key, otps.user is the legacy changeable username; foreign keys should use otps.id.
- Dashboard statuses: Follow up = last computed > 30 days ago; Awaiting review = extracted/unreviewed OCR; New report = computed after last_open; Recent report = computed in 30 days and opened; active patient = episode in last 30 days. NULL dates fall to awaiting/for review.

<!-- sources: 01.co0, 01.co3, 01.co4, 01.co5, 02.co1, 03.co0, 03.co1, 03.co2, 04.co0, 04.co3, 05.co3, 06.co7, 07.co6, 08.co3, 08.co4, 08.co8, 09.co0, 09.co1, 10.co3, 10.co4, 11.co2, 11.co3, 11.co4, 11.co6, 11.co7, 12.co3, 12.co5, 12.co6, 13.co0, 13.co1, 16.co5, 17.co1, 18.co0 -->

feezy.md ~57 tokens · drafts/context/feezy.md

Rendered

feezy

Client project with agencies/institutions contracts lists.

How it works

  • GraphQL queries are .private.graphql with generated .ts; the user may hand-edit generated files; never run codegen.

<!-- sources: 04.co10 -->

# feezy
Client project with agencies/institutions contracts lists.

## How it works
- GraphQL queries are .private.graphql with generated .ts; the user may hand-edit generated files; never run codegen.

<!-- sources: 04.co10 -->

fishdraw.md ~72 tokens · drafts/context/fishdraw.md

Rendered

fishdraw

Forks of generative art repos.

Where things live

  • Fork StvyaSharma/fishdraw; no push to upstream, PRs target the fork.

How it works

  • Port to TypeScript/Bun/Vite with DialKit controls; keep seeded randomness; extras in separate PRs.

<!-- sources: 12.co11, 21.co10 -->

# fishdraw
Forks of generative art repos.

## Where things live
- Fork StvyaSharma/fishdraw; no push to upstream, PRs target the fork.

## How it works
- Port to TypeScript/Bun/Vite with DialKit controls; keep seeded randomness; extras in separate PRs.

<!-- sources: 12.co11, 21.co10 -->

food-service.md ~107 tokens · drafts/context/food-service.md

Rendered

food-service

Recipe and ingredient dataset work.

What it is

  • Goal: region- and season-aware ingredient relevance; food-engine MVP in Jupyter, non-LLM ML, commercial-licence datasets; reference epicure.kaikaku.ai.

How it works

  • RecipeNLG (~2M rows) converted to his schema through a cheap OpenRouter model (DeepSeek), JSONL with checkpoints; aim ~1M recipes.

<!-- sources: 09.co10, 14.co2, 17.co9, 19.co3, 20.co4 -->

# food-service
Recipe and ingredient dataset work.

## What it is
- Goal: region- and season-aware ingredient relevance; food-engine MVP in Jupyter, non-LLM ML, commercial-licence datasets; reference epicure.kaikaku.ai.

## How it works
- RecipeNLG (~2M rows) converted to his schema through a cheap OpenRouter model (DeepSeek), JSONL with checkpoints; aim ~1M recipes.

<!-- sources: 09.co10, 14.co2, 17.co9, 19.co3, 20.co4 -->

free-exercise-db.md ~99 tokens · drafts/context/free-exercise-db.md

Rendered

free-exercise-db

Stateless workout plan engine.

How it works

  • Plans goal, arc, phase and weekly structure filled from an exercise graph; rewritten as Effect layers with inferred input types; 'alt' worktree holds an alternative.

Why it is done this way

  • Repair suggests rather than enforces edits; wants multi-month arcs with deload and autoregulation.

<!-- sources: 11.co13, 16.co4 -->

# free-exercise-db
Stateless workout plan engine.

## How it works
- Plans goal, arc, phase and weekly structure filled from an exercise graph; rewritten as Effect layers with inferred input types; 'alt' worktree holds an alternative.

## Why it is done this way
- Repair suggests rather than enforces edits; wants multi-month arcs with deload and autoregulation.

<!-- sources: 11.co13, 16.co4 -->

frontend-deploy.md ~139 tokens · drafts/context/frontend-deploy.md

Rendered

frontend-deploy

Vercel-like platform deploying sites to Cloudflare.

How it works

  • GitHub webhook/App triggers build in a Cloudflare Container (R2 mounted via tigrisfs); builds tracked in a Durable Object with Drizzle sqlite, D1 for installations; a worker serves artifacts by routing rules.
  • Frontend /new flow: GitHub org, repo, branch, build/install command, root and output dir; owners from GitHub installation endpoint.

Commands

  • Infra with Alchemy on Bun; one drizzle-orm version via Bun catalog.

<!-- sources: 04.co7, 06.co0, 19.co1 -->

# frontend-deploy
Vercel-like platform deploying sites to Cloudflare.

## How it works
- GitHub webhook/App triggers build in a Cloudflare Container (R2 mounted via tigrisfs); builds tracked in a Durable Object with Drizzle sqlite, D1 for installations; a worker serves artifacts by routing rules.
- Frontend /new flow: GitHub org, repo, branch, build/install command, root and output dir; owners from GitHub installation endpoint.

## Commands
- Infra with Alchemy on Bun; one drizzle-orm version via Bun catalog.

<!-- sources: 04.co7, 06.co0, 19.co1 -->

hacker-news.md ~254 tokens · drafts/context/hacker-news.md

Rendered

hacker-news

Expo iOS/iPad Hacker News reader.

How it works

  • Expo SDK 57, @expo/ui SwiftUI (GlassView), react-query persisted in MMKV, zustand prefs, queue in expo-sqlite via Drizzle.
  • Separate (phone) and (tablet) layouts; tablet two-column split; feature parity; skeletons must match layout.
  • StoryPreviewRow variants coloured from article theme-color/dominant colour; comments depth 2 with drill-down; feed_history archives daily feeds.
  • Widgets via expo-widgets with hackernews:// deep links and App Group refresh; must not open app on refresh.

Terms

  • Variants dev/preview/production with own bundle IDs and icons; bundle id com.stvya.hackernews; App Store Connect id in eas.json.

Why it is done this way

  • App Review rejected under 5.2.3 and 4.2.2; WebView need not change; EAS submit hit Apple account lock -20209.

Commands

  • Local EAS builds and submit; no Argent, no builds by agents.

<!-- sources: 06.co9, 07.co7, 08.co7, 11.co9, 12.co10, 16.co3, 17.co8, 20.co13, 20.co16, 23.co8 -->

# hacker-news
Expo iOS/iPad Hacker News reader.

## How it works
- Expo SDK 57, @expo/ui SwiftUI (GlassView), react-query persisted in MMKV, zustand prefs, queue in expo-sqlite via Drizzle.
- Separate (phone) and (tablet) layouts; tablet two-column split; feature parity; skeletons must match layout.
- StoryPreviewRow variants coloured from article theme-color/dominant colour; comments depth 2 with drill-down; feed_history archives daily feeds.
- Widgets via expo-widgets with hackernews:// deep links and App Group refresh; must not open app on refresh.

## Terms
- Variants dev/preview/production with own bundle IDs and icons; bundle id com.stvya.hackernews; App Store Connect id in eas.json.

## Why it is done this way
- App Review rejected under 5.2.3 and 4.2.2; WebView need not change; EAS submit hit Apple account lock -20209.

## Commands
- Local EAS builds and submit; no Argent, no builds by agents.

<!-- sources: 06.co9, 07.co7, 08.co7, 11.co9, 12.co10, 16.co3, 17.co8, 20.co13, 20.co16, 23.co8 -->

health.md ~389 tokens · drafts/context/health.md

Rendered

health

Bun + Turbo + Effect + Alchemy monorepo on Cloudflare for blood report to food/exercise advice.

What it is

  • Vision: upload a blood report, get biomarker analysis, then foods, recipes, exercise and yoga; health-age-api gives PhenoAge.

Where things live

  • Datasets via DVC: raw to health-data-raw, processed to health-datasets (R2); pipelines in data/pipelines/<name> with own uv project; DuckDB on R2 holds recipes; USDA full dataset local only, small dev seed in git.
  • Web: TanStack Start with shared ui (StyleX + Tailwind + Base UI shadcn), routes/app, -components dirs, loading/empty/error states; see apps/web/AGENTS.md.

How it works

  • Engines (usda-foods, yoga, exercises, biomarker) take data injected, run as Cloudflare Workers RPC-only; Hono + tRPC server routes; services talk by RPC bindings; telemetry package propagates ids/spans.
  • Report pipeline: Mistral OCR, AI SDK per page to longitudinal table with LOINC, client normalises units (UCUM) then biomarker.analyse.
  • Exercise engine: Goal/Arc -> Phases -> Weekly plan -> Slots -> Prescriptions; types inferred from catalog JSON; recommendations are options, not strict plans.
  • Biomarker-kb pipeline keeps a point only on model and judge consensus; medical claims need citations; asana->demands needs no sources.

Why it is done this way

  • Each package has its own AGENTS.md; never run deploy/destroy unless told explicitly.

<!-- sources: 06.co11, 07.co0, 07.co1, 07.co2, 07.co4, 08.co5, 11.co14, 16.co11, 20.co0, 20.co1, 21.co4, 21.co5, 22.co10, 22.co3, 22.co4 -->

# health
Bun + Turbo + Effect + Alchemy monorepo on Cloudflare for blood report to food/exercise advice.

## What it is
- Vision: upload a blood report, get biomarker analysis, then foods, recipes, exercise and yoga; health-age-api gives PhenoAge.

## Where things live
- Datasets via DVC: raw to health-data-raw, processed to health-datasets (R2); pipelines in data/pipelines/<name> with own uv project; DuckDB on R2 holds recipes; USDA full dataset local only, small dev seed in git.
- Web: TanStack Start with shared ui (StyleX + Tailwind + Base UI shadcn), routes/app, -components dirs, loading/empty/error states; see apps/web/AGENTS.md.

## How it works
- Engines (usda-foods, yoga, exercises, biomarker) take data injected, run as Cloudflare Workers RPC-only; Hono + tRPC server routes; services talk by RPC bindings; telemetry package propagates ids/spans.
- Report pipeline: Mistral OCR, AI SDK per page to longitudinal table with LOINC, client normalises units (UCUM) then biomarker.analyse.
- Exercise engine: Goal/Arc -> Phases -> Weekly plan -> Slots -> Prescriptions; types inferred from catalog JSON; recommendations are options, not strict plans.
- Biomarker-kb pipeline keeps a point only on model and judge consensus; medical claims need citations; asana->demands needs no sources.

## Why it is done this way
- Each package has its own AGENTS.md; never run deploy/destroy unless told explicitly.

<!-- sources: 06.co11, 07.co0, 07.co1, 07.co2, 07.co4, 08.co5, 11.co14, 16.co11, 20.co0, 20.co1, 21.co4, 21.co5, 22.co10, 22.co3, 22.co4 -->

home-server.md ~81 tokens · drafts/context/home-server.md

Rendered

home server

Home Ubuntu 24.04 server.

Where things live

  • ssh stvya-home-computer over Tailscale; Jellyfin, Immich; B2 bucket mounted at /home/stvya/StvyasHomeComputer.

How it works

  • One drive is failing and causes recovery mode; user cannot open the PC; sudo steps are run by him.

<!-- sources: 09.co7, 18.co6 -->

# home server
Home Ubuntu 24.04 server.

## Where things live
- ssh stvya-home-computer over Tailscale; Jellyfin, Immich; B2 bucket mounted at /home/stvya/StvyasHomeComputer.

## How it works
- One drive is failing and causes recovery mode; user cannot open the PC; sudo steps are run by him.

<!-- sources: 09.co7, 18.co6 -->

interview-coder.md ~66 tokens · drafts/context/interview-coder.md

Rendered

interview-coder

Electron interview-helper app.

How it works

  • Launched by stealth-run.sh; shortcuts in shortcuts.ts (Cmd remapped to Shift); AI through openai client to OpenRouter gpt-oss-120b, providers cerebras/groq, no fallbacks.

<!-- sources: 04.co11 -->

# interview-coder
Electron interview-helper app.

## How it works
- Launched by stealth-run.sh; shortcuts in shortcuts.ts (Cmd remapped to Shift); AI through openai client to OpenRouter gpt-oss-120b, providers cerebras/groq, no fallbacks.

<!-- sources: 04.co11 -->

listener.md ~127 tokens · drafts/context/listener.md

Rendered

listener

Watch processes and notebooks live from a phone.

What it is

  • listener <cmd> streams logs to a Durable Object; one writer, many listeners; MVP, single account.

How it works

  • Cloudflare Workers/DOs, Nx, Go CLI, Python, TanStack web, Expo app with Maestro; email only via stvya.org; Neon via Alchemy.

Why it is done this way

  • AGENTS.md: explicit request needed before changing infra; GitHub CI billing-blocked.

<!-- sources: 15.co0, 18.co5, 19.co5, 20.co5, 21.co11, 22.co2, 23.co11 -->

# listener
Watch processes and notebooks live from a phone.

## What it is
- listener <cmd> streams logs to a Durable Object; one writer, many listeners; MVP, single account.

## How it works
- Cloudflare Workers/DOs, Nx, Go CLI, Python, TanStack web, Expo app with Maestro; email only via stvya.org; Neon via Alchemy.

## Why it is done this way
- AGENTS.md: explicit request needed before changing infra; GitHub CI billing-blocked.

<!-- sources: 15.co0, 18.co5, 19.co5, 20.co5, 21.co11, 22.co2, 23.co11 -->

medlit.md ~57 tokens · drafts/context/medlit.md

Rendered

MedLit

Account-free PubMed app (Expo).

How it works

  • Expo SDK 57, Effect v4, react-query, zustand+MMKV, Drizzle+expo-sqlite; agent may not run, build or use Argent; data stays on-device.

<!-- sources: 18.co7, 19.co6 -->

# MedLit
Account-free PubMed app (Expo).

## How it works
- Expo SDK 57, Effect v4, react-query, zustand+MMKV, Drizzle+expo-sqlite; agent may not run, build or use Argent; data stays on-device.

<!-- sources: 18.co7, 19.co6 -->

moonshine.md ~38 tokens · drafts/context/moonshine.md

Rendered

moonshine

Speech model experiment.

Terms

  • moonshine_base.pte is a complete speech-to-text model, not only a preprocessor.

<!-- sources: 03.co8 -->

# moonshine
Speech model experiment.

## Terms
- moonshine_base.pte is a complete speech-to-text model, not only a preprocessor.

<!-- sources: 03.co8 -->

notify-me.md ~101 tokens · drafts/context/notify-me.md

Rendered

notify-me

Push notification service.

How it works

  • better-auth with Drizzle (MySQL), one plugin per file; session delete removes expo notification rows; @notify-me/db re-exports drizzle-orm; React Email package.
  • API keys can only send to all associated devices; CLI auths via Device Authorization or API key; app sends expo token on login; tRPC fire-and-forget.

<!-- sources: 04.co12, 06.co3 -->

# notify-me
Push notification service.

## How it works
- better-auth with Drizzle (MySQL), one plugin per file; session delete removes expo notification rows; @notify-me/db re-exports drizzle-orm; React Email package.
- API keys can only send to all associated devices; CLI auths via Device Authorization or API key; app sends expo token on login; tRPC fire-and-forget.

<!-- sources: 04.co12, 06.co3 -->

obsidian-vault.md ~58 tokens · drafts/context/obsidian-vault.md

Rendered

Obsidian vault

Personal Obsidian vault.

Where things live

  • Folders Projects (Projects.base, Archive.base), Artists, Object Design, Learning; images in attachments; code lives in ~/Developer.

<!-- sources: 16.co12, 22.co7 -->

# Obsidian vault
Personal Obsidian vault.

## Where things live
- Folders Projects (Projects.base, Archive.base), Artists, Object Design, Learning; images in attachments; code lives in ~/Developer.

<!-- sources: 16.co12, 22.co7 -->

org.md ~45 tokens · drafts/context/org.md

Rendered

org

Multi-tenant SaaS template.

How it works

  • Next.js on Cloudflare via OpenNext/Alchemy, Better Auth, Stripe per-seat (AUD), Neon via Hyperdrive.

<!-- sources: 20.co15 -->

# org
Multi-tenant SaaS template.

## How it works
- Next.js on Cloudflare via OpenNext/Alchemy, Better Auth, Stripe per-seat (AUD), Neon via Hyperdrive.

<!-- sources: 20.co15 -->

p5-playground.md ~125 tokens · drafts/context/p5-playground.md

Rendered

p5-playground

p5 sketch playground with git hosted on Cloudflare.

How it works

  • R2 bucket is private and served by a separate app; upload previews with the S3 client, no public URL.
  • Hono/tRPC server on Vercel Node serverless: workspace TS in dev, built output in prod.
  • packages/git stores repos in R2 with a Durable Object for serialisation; only latest commit per branch published to STORAGE at /owner/repo/branch/commit, served by a CDN worker.

<!-- sources: 01.co7, 01.co8, 06.co2 -->

# p5-playground
p5 sketch playground with git hosted on Cloudflare.

## How it works
- R2 bucket is private and served by a separate app; upload previews with the S3 client, no public URL.
- Hono/tRPC server on Vercel Node serverless: workspace TS in dev, built output in prod.
- packages/git stores repos in R2 with a Durable Object for serialisation; only latest commit per branch published to STORAGE at /owner/repo/branch/commit, served by a CDN worker.

<!-- sources: 01.co7, 01.co8, 06.co2 -->

paper-reader.md ~202 tokens · drafts/context/paper-reader.md

Rendered

paper-reader

Self-hostable Zotero-like PDF/EPUB reader on Cloudflare.

What it is

  • One deployment per user, no auth by design; each item has exactly one document; not a one-to-one Zotero clone.

Where things live

  • packages/ui is shadcn Mira on Base UI with its own AGENTS.md; lint rule shadcn/no-restyle.

How it works

  • D1, R2, Queues, Workflows, GROBID and OCR in containers behind queues; global search on OCR text in D1, in-document via pdf.js; document-reader package from react-pdf-highlighter-plus.
  • Local-first: mobile loads existing docs offline; target Effect RPC WebSocket worker, effect-atom.

Commands

  • Mobile tests only against the live_stvya stage; native builds via local scripts; iOS only.

<!-- sources: 12.co13, 20.co14, 21.co1, 21.co2, 21.co3, 21.co8, 22.co1, 23.co0 -->

# paper-reader
Self-hostable Zotero-like PDF/EPUB reader on Cloudflare.

## What it is
- One deployment per user, no auth by design; each item has exactly one document; not a one-to-one Zotero clone.

## Where things live
- packages/ui is shadcn Mira on Base UI with its own AGENTS.md; lint rule shadcn/no-restyle.

## How it works
- D1, R2, Queues, Workflows, GROBID and OCR in containers behind queues; global search on OCR text in D1, in-document via pdf.js; document-reader package from react-pdf-highlighter-plus.
- Local-first: mobile loads existing docs offline; target Effect RPC WebSocket worker, effect-atom.

## Commands
- Mobile tests only against the live_stvya stage; native builds via local scripts; iOS only.

<!-- sources: 12.co13, 20.co14, 21.co1, 21.co2, 21.co3, 21.co8, 22.co1, 23.co0 -->

personal-setup.md ~195 tokens · drafts/context/personal-setup.md

Rendered

personal setup

His tools, accounts and conventions.

Where things live

  • Editors Zed and VS Code (Oxc), zsh + starship, Helium browser, OrbStack; two Codex homes codex-personal/codex-work via CODEX_HOME.
  • Owns stvya.org (app subdomains, send.stvya.org for email); contact@stvya.com public.
  • Oracle Cloud ARM box via ssh oci; fork StvyaSharma/alchemy, PRs upstream only after checking docs.

How it works

  • Linear STV-nn in stvyas-workspace; branch stvyasharma/stv-NN-slug; Backlog -> In Progress -> In Review; comments include model, agent, harness, time.

Why it is done this way

  • Codex account unavailable in Nov 2026; use Codex-Work or Claude.

<!-- sources: 07.co10, 09.co8, 12.co12, 18.co11, 19.co7, 20.co8, 20.co9, 21.co6, 21.co7, 22.co11, 23.co10, 23.co9 -->

# personal setup
His tools, accounts and conventions.

## Where things live
- Editors Zed and VS Code (Oxc), zsh + starship, Helium browser, OrbStack; two Codex homes codex-personal/codex-work via CODEX_HOME.
- Owns stvya.org (app subdomains, send.stvya.org for email); contact@stvya.com public.
- Oracle Cloud ARM box via ssh oci; fork StvyaSharma/alchemy, PRs upstream only after checking docs.

## How it works
- Linear STV-nn in stvyas-workspace; branch stvyasharma/stv-NN-slug; Backlog -> In Progress -> In Review; comments include model, agent, harness, time.

## Why it is done this way
- Codex account unavailable in Nov 2026; use Codex-Work or Claude.

<!-- sources: 07.co10, 09.co8, 12.co12, 18.co11, 19.co7, 20.co8, 20.co9, 21.co6, 21.co7, 22.co11, 23.co10, 23.co9 -->

ppr-scroll.md ~176 tokens · drafts/context/ppr-scroll.md

Rendered

ppr-scroll

Infinite-scroll arXiv paper feed on Cloudflare.

How it works

  • Ingester container (Alchemy) on daily cron 0 0 * writes to per-year D1 DBs; must have max one instance and scale to zero.
  • Search continues to previous year only when current year returns fewer than limit; cache keys like papers2026:search:||cs.AR|first.

Terms

  • OAI-PMH datestamp is the updated date (unix ms), not created; ingest by created date, batches of max 200 inserts.

Why it is done this way

  • Deploy through packages/infra/alchemy.run.ts (GitHub Actions), not wrangler.jsonc; bindings and types come from Alchemy, never pass manually.

<!-- sources: 05.co4, 06.co1, 06.co12, 10.co5, 10.co6, 22.co6 -->

# ppr-scroll
Infinite-scroll arXiv paper feed on Cloudflare.

## How it works
- Ingester container (Alchemy) on daily cron 0 0 * * * writes to per-year D1 DBs; must have max one instance and scale to zero.
- Search continues to previous year only when current year returns fewer than limit; cache keys like papers2026:search:||cs.AR|first.

## Terms
- OAI-PMH datestamp is the updated date (unix ms), not created; ingest by created date, batches of max 200 inserts.

## Why it is done this way
- Deploy through packages/infra/alchemy.run.ts (GitHub Actions), not wrangler.jsonc; bindings and types come from Alchemy, never pass manually.

<!-- sources: 05.co4, 06.co1, 06.co12, 10.co5, 10.co6, 22.co6 -->

reader.md ~54 tokens · drafts/context/reader.md

Rendered

reader

Bun/turbo document reader monorepo.

How it works

  • Effect, tRPC, Drizzle on MySQL, better-auth, Alchemy dev, Workers AI; files at users/${userId}/${publicId}/file.${extension}.

<!-- sources: 05.co5 -->

# reader
Bun/turbo document reader monorepo.

## How it works
- Effect, tRPC, Drizzle on MySQL, better-auth, Alchemy dev, Workers AI; files at users/${userId}/${publicId}/file.${extension}.

<!-- sources: 05.co5 -->

resume.md ~102 tokens · drafts/context/resume.md

Rendered

resume

LaTeX resume.

What it is

  • Founding engineer at Elemnt Health (formerly Entropy) until Sep 2026; tutor SOFT3202 and COMP2017 (casual academic to Jul 2026); USYD honours with Dr Rahul Gopinath; Swift Student Challenge winner, Dalyell Scholar; mobile apps framed as independent work.

Commands

  • latexmk -xelatex; links carry UTM parameters.

<!-- sources: 10.co8, 17.co12, 18.co10, 19.co2 -->

# resume
LaTeX resume.

## What it is
- Founding engineer at Elemnt Health (formerly Entropy) until Sep 2026; tutor SOFT3202 and COMP2017 (casual academic to Jul 2026); USYD honours with Dr Rahul Gopinath; Swift Student Challenge winner, Dalyell Scholar; mobile apps framed as independent work.

## Commands
- latexmk -xelatex; links carry UTM parameters.

<!-- sources: 10.co8, 17.co12, 18.co10, 19.co2 -->

rss-feeds.md ~143 tokens · drafts/context/rss-feeds.md

Rendered

rss-feeds

RSS reader on Cloudflare.

Where things live

  • pnpm monorepo, Hono+tRPC, Next/Expo clients, Effect-wrapped DOs with drizzle durable-sqlite, Alchemy; undeployed so no migrations.

How it works

  • Feed DO routes to adapters (YouTube, Reddit, GitHub), normalises URLs so equal feeds share a DO, alarms fetch daily; User DO holds feeds and weekly recommendations in KV.
  • Article, embed, metadata extraction are separate queue endpoints saving JSON to R2; frontend shows thumbnails only if present, no loaders.

<!-- sources: 10.co7, 11.co0, 11.co1, 12.co7 -->

# rss-feeds
RSS reader on Cloudflare.

## Where things live
- pnpm monorepo, Hono+tRPC, Next/Expo clients, Effect-wrapped DOs with drizzle durable-sqlite, Alchemy; undeployed so no migrations.

## How it works
- Feed DO routes to adapters (YouTube, Reddit, GitHub), normalises URLs so equal feeds share a DO, alarms fetch daily; User DO holds feeds and weekly recommendations in KV.
- Article, embed, metadata extraction are separate queue endpoints saving JSON to R2; frontend shows thumbnails only if present, no loaders.

<!-- sources: 10.co7, 11.co0, 11.co1, 12.co7 -->

sindhu.md ~177 tokens · drafts/context/sindhu.md

Rendered

sindhu

Academic CV website for Dr Sindhu Sharma (GMC Jammu).

What it is

  • Payload CMS with posts, academics (Teaching, Judging, Organisation), publications; globals hold name and links; pages built from blocks.

How it works

  • Next.js on Cloudflare (OpenNext) with D1 and R2; same PAYLOAD_SECRET locally and in prod; Payload MCP at /api/mcp.
  • Alchemy should adopt existing remote resources, never delete them; CLOUDFLARE_REMOTE_BINDINGS=true pnpm dev hits production DB.

Why it is done this way

  • Styling uses StyleX and astryx only, no plain CSS.

Commands

  • alchemy dev may find port 1337 taken; diagnose without running.

<!-- sources: 09.co6, 12.co0, 12.co1, 17.co13, 18.co4, 22.co0 -->

# sindhu
Academic CV website for Dr Sindhu Sharma (GMC Jammu).

## What it is
- Payload CMS with posts, academics (Teaching, Judging, Organisation), publications; globals hold name and links; pages built from blocks.

## How it works
- Next.js on Cloudflare (OpenNext) with D1 and R2; same PAYLOAD_SECRET locally and in prod; Payload MCP at /api/mcp.
- Alchemy should adopt existing remote resources, never delete them; CLOUDFLARE_REMOTE_BINDINGS=true pnpm dev hits production DB.

## Why it is done this way
- Styling uses StyleX and astryx only, no plain CSS.

## Commands
- alchemy dev may find port 1337 taken; diagnose without running.

<!-- sources: 09.co6, 12.co0, 12.co1, 17.co13, 18.co4, 22.co0 -->

sortie.md ~51 tokens · drafts/context/sortie.md

Rendered

sortie

Spawn coding agents from Linear in AWS MicroVMs.

How it works

  • Cloudflare control plane; route Linear project to repo; multi-user keys; Alchemy profiles configured.

<!-- sources: 23.co6 -->

# sortie
Spawn coding agents from Linear in AWS MicroVMs.

## How it works
- Cloudflare control plane; route Linear project to repo; multi-user keys; Alchemy profiles configured.

<!-- sources: 23.co6 -->

speech.md ~62 tokens · drafts/context/speech.md

Rendered

speech

Speech-to-text monorepo.

How it works

  • Python backends use uv only; models from HuggingFace/mlx-community (parakeet-tdt-0.6b-v3); web uses @speech/ui shadcn package imported via wildcard export, not index.ts.

<!-- sources: 03.co5 -->

# speech
Speech-to-text monorepo.

## How it works
- Python backends use uv only; models from HuggingFace/mlx-community (parakeet-tdt-0.6b-v3); web uses @speech/ui shadcn package imported via wildcard export, not index.ts.

<!-- sources: 03.co5 -->

task-app.md ~177 tokens · drafts/context/task-app.md

Rendered

task-app

Personal task/scheduling app and local-first framework.

Where things live

  • domain-task uses @alchemy.run/domain; reference docs in domain-docs; infra in package infra.

How it works

  • queue framework: Effect-based local-first event-sourced store, typed queries, dumb sync relay.

Terms

  • Task makes dated Occurrences containing Sessions; distinctions: to do, intend, commit, schedule, effort; plan vs actual not 1-1; control, not enforcement.

Why it is done this way

  • Core logic in Bend2 with LAWS.bend/PROOF.bend; TS port only on his word; one user, not deployed, redesign freely.

<!-- sources: 14.co1, 14.co3, 16.co9, 17.co10, 17.co11, 18.co3, 22.co8, 23.co1, 23.co2, 23.co7 -->

# task-app
Personal task/scheduling app and local-first framework.

## Where things live
- domain-task uses @alchemy.run/domain; reference docs in domain-docs; infra in package infra.

## How it works
- queue framework: Effect-based local-first event-sourced store, typed queries, dumb sync relay.

## Terms
- Task makes dated Occurrences containing Sessions; distinctions: to do, intend, commit, schedule, effort; plan vs actual not 1-1; control, not enforcement.

## Why it is done this way
- Core logic in Bend2 with LAWS.bend/PROOF.bend; TS port only on his word; one user, not deployed, redesign freely.

<!-- sources: 14.co1, 14.co3, 16.co9, 17.co10, 17.co11, 18.co3, 22.co8, 23.co1, 23.co2, 23.co7 -->

tcache.md ~128 tokens · drafts/context/tcache.md

Rendered

turborepo-remote-cache-api

Self-deployable Turborepo remote cache on Cloudflare.

What it is

  • Alchemy v2 + Effect + R2/D1/DO/KV; one org per deploy with Teams; CI uses OIDC token exchange.

Where things live

  • Org res-fortuitae; CLI @resfortuitae/tcache via tag-triggered trusted publishing; never expose private deployment IDs.

Why it is done this way

  • GitHub billing unpaid so verify locally (Blacksmith later); leave CI tickets (STV-800).

<!-- sources: 21.co0, 21.co9, 22.co5, 23.co4, 23.co5 -->

# turborepo-remote-cache-api
Self-deployable Turborepo remote cache on Cloudflare.

## What it is
- Alchemy v2 + Effect + R2/D1/DO/KV; one org per deploy with Teams; CI uses OIDC token exchange.

## Where things live
- Org res-fortuitae; CLI @resfortuitae/tcache via tag-triggered trusted publishing; never expose private deployment IDs.

## Why it is done this way
- GitHub billing unpaid so verify locally (Blacksmith later); leave CI tickets (STV-800).

<!-- sources: 21.co0, 21.co9, 22.co5, 23.co4, 23.co5 -->

tracker.md ~91 tokens · drafts/context/tracker.md

Rendered

tracker

Expo/LiveStore tracker app in a turborepo (apps native/sync/server).

How it works

  • LiveStore ids template-<userId> and progress-<userId>-<year>; sync worker only checks the store belongs to the user.
  • Let Expo Router Stack.Protected own routing from stored auth; extra router.replace calls cause errors and flashes.

<!-- sources: 01.co6, 02.co5 -->

# tracker
Expo/LiveStore tracker app in a turborepo (apps native/sync/server).

## How it works
- LiveStore ids template-<userId> and progress-<userId>-<year>; sync worker only checks the store belongs to the user.
- Let Expo Router Stack.Protected own routing from stored auth; extra router.replace calls cause errors and flashes.

<!-- sources: 01.co6, 02.co5 -->

verceo.md ~49 tokens · drafts/context/verceo.md

Rendered

verceo

Expo app showing Vercel projects and deployments.

How it works

  • Uses Vercel SDK types but plain fetch; localSearchParams are lost in nested tab navigation.

<!-- sources: 04.co6 -->

# verceo
Expo app showing Vercel projects and deployments.

## How it works
- Uses Vercel SDK types but plain fetch; localSearchParams are lost in nested tab navigation.

<!-- sources: 04.co6 -->

visual-hook.md ~63 tokens · drafts/context/visual-hook.md

Rendered

visual-hook

Visualping alternative for website change monitoring.

How it works

  • create monitor, schedule, capture, compare, notify; email from stvya.org; free; Turnstile via Alchemy; emulate.dev locally.

<!-- sources: 15.co1, 19.co0, 20.co10 -->

# visual-hook
Visualping alternative for website change monitoring.

## How it works
- create monitor, schedule, capture, compare, notify; email from stvya.org; free; Turnstile via Alchemy; emulate.dev locally.

<!-- sources: 15.co1, 19.co0, 20.co10 -->