Role
Founder-led build
Product, architecture, docs, validation
A booking and admin demo for fictional AI agents, built to show how YGBStudio turns agent-assisted development into bounded, reviewable software: clear specs, protected routes, validation, persistence, tests, documentation, and edge deployment.
Role
Founder-led build
Product, architecture, docs, validation
Type
Live case-study demo
AI-assisted delivery and app structure
Status
Live, source available
External app, public source
Stack
Next.js + Workers
TypeScript, React, Cloudflare D1
Evidence
Specs, tests, docs
Validation gates and deployment notes
License
MIT
Open-source YGBStudio project
Demo Route Map
The live demo is intentionally compact, but it still exercises the product paths that make architecture visible: public booking, confirmation, login, protected admin pages, and guarded writes.
Visitors choose seeded agents, ailments, therapies, and appointment details.
Route: /bookingThe booking flow resolves into a confirmation state instead of a loose form handoff.
Route: /booking/confirmationA JWT-backed admin/staff login protects operational routes from public browsing.
Route: /loginAuthenticated users enter a compact admin shell for operational review.
Route: /dashboardAdmin routes expose records, server-side writes, and conflict guardrails.
Route: /agentsAI-Assisted Delivery
AgentWellnessCenter is not only an app walkthrough. It documents the working discipline around AI-assisted delivery: define intent, write the spec, plan the phase, validate the outcome, then leave enough context for the next change.
# AI-assisted delivery loop
intent -> specs -> plan -> validation
validation -> implementation
implementation -> tests + docs
docs -> next bounded phase The work starts with the product purpose and the engineering claim it needs to prove.
Requirements, stack decisions, and phase folders keep agent work bounded and inspectable.
Each phase turns ambiguity into a concrete implementation path before code changes begin.
Completion criteria are named before implementation, so done has visible evidence.
Routes, data boundaries, auth helpers, and UI are kept in clear responsibility zones.
Unit and integration-style checks protect validation, data behavior, and UI expectations.
Architecture, API/data, auth, deployment, and operations notes make the demo teachable.
Architecture
The app keeps public pages, protected pages, route handlers, validation, and persistence separate so the demo remains easy to explain without pretending to be larger than it is.
That balance is the point: a compact project can still show how YGBStudio thinks about maintainability, handoff, and production-minded boundaries.
Browser
-> Next.js App Router
-> public pages + protected pages
-> route handlers
-> QueryService
-> AppDatabase interface
-> Cloudflare D1 runtime
-> SQLite-compatible test path Source Evidence
The repository backs the case study with concrete artifacts: specs, data boundaries, auth checks, validation practice, tests, and deployment notes.
Specs
Source
specs/mission.md, specs/tech-stack.md, specs/roadmap.md
specs/
mission.md
tech-stack.md
roadmap.md
phase-*/
requirements.md
plan.md
validation.md Takeaway
The planning artifacts show how vague requests become bounded, verifiable implementation work.
Architecture
Source
lib/query-service.ts, lib/database/*
Route handler
-> QueryService
-> AppDatabase
-> D1 adapter
-> SQLite test adapter Takeaway
The app stays modest while still using a production-minded boundary: route code can stay focused while persistence remains swappable for tests and Workers runtime.
Protection
Source
middleware.ts, app/api/auth/*, app/api/*
No session -> /login?from=...
Admin or staff -> protected shell
Write APIs -> server-side auth checks
Deletes with appointments -> 409 conflict Takeaway
This shows the difference between a UI-only guard and an application boundary that protects server-side mutations.
Delivery
Source
open-next.config.ts, wrangler.toml, docs/cloudflare-workers-deployment.md
Next.js App Router
OpenNext Cloudflare
Workers Static Assets
Cloudflare D1 binding
Wrangler preview and deploy scripts Takeaway
The deployment path matters: visitors can try the app while developers can inspect how it is built, validated, and shipped.
Boundaries
AgentWellnessCenter is a fictional demo clinic for AI agents. Its value is the visible engineering process and deployed app, not the simulated care domain.
Demo status
Live public demo with demo credentials. The app is intended for inspection, walkthroughs, teaching, and portfolio review.
Health disclaimer
This is not a healthcare, wellness, therapy, or clinical product. It is a fictional software demo.
I'm always open to interesting work. Say hello.
Independent software studio. Open source.