PracticeNear Architecture Briefing v2

From: Jonathan Gudger, Systems Engineer To: Blake Toves, PM/GTM Date: 2026-03-30
Day 5 of 90 — 3 of 4 decisions confirmed — Infrastructure bootstrapped

Phase 1 Dashboard

Infrastructure bootstrapped in 5 days. One decision remains before active feature development.

3/4
Decisions Confirmed
3/5
CPs Completed
2
ADW PRs In Flight
17
Env Vars Live
1
Blocker Remaining
85
Days Left

Overall Phase 1 Gate Progress

65% — 4 of 6 gate items cleared. Remaining: merge ADW PRs + Blake scope confirmation.

Infrastructure Done

Three current priorities and one client decision fully resolved since v1.

CP-1: Local Dev Environment

Next.js running on localhost:3000. Connected to Blake's Neon DB. 17 env vars configured. Prisma client generated.

✓ Completed Day 3

CP-3: Fork Repository

jgatlit/holistic-health-marketplace with dual remotes. Origin = fork, upstream = Blake's.

✓ Completed Day 3

CP-4: Vercel Project

Deployed at holistic-health-marketplace-ai-chemist.vercel.app. Independent from Blake's project.

✓ Completed Day 3

CPI-3: Vercel Access Granted

Blake granted project-level Member access. All T0+T1 env vars pulled. 45 non-critical vars still unconfigured.

✓ Resolved Day 3

V1 Decision Outcomes

DecisionV1 RecommendationOutcomeStatus
CPI-3: Vercel accessGrant Member accessGranted — 17 vars pulledResolved
CPI-1: DB strategySeparate Neon (isolated)Using Blake's Neon (shared) — acceptable for Phase 1Confirmed
CPI-4: Production deployAfter Phase 1 (~Apr 24)Deployed early on Jonathan's forkConfirmed
CPI-2: MVP scopeStrip non-MVP featuresNo response from BlakeOpen

Automated Development

ADW pipeline onboarded. Two Tier 1 issues submitted and PRs generated automatically.

PR #3: Fix Seed Script

PlatformConfig uses typed fields but seed script used key/value pattern. ADW-generated fix aligns seed to schema.

Branch: bug-1-5681ec60-fix-seed-script-schema

⏳ Awaiting Review

PR #4: Env Validation Stub

Add SKIP_ENV_VALIDATION guard to env.ts for CI builds. CI workflow already passes the flag.

Branch: chore-2-db9ac54f-ci-safe-env-validation

⏳ Awaiting Review

ADW Pipeline Flow

1 Decision Remaining from Blake

This is the sole blocker preventing active feature development. 3 of 4 original decisions are confirmed.

CPI-2: MVP Feature Scope — Which domains must work by Apr 24?

The codebase has 95 pages across 15 domains. Core MVP (search, booking, payments, claiming) is confirmed. The question is which of the remaining ~70 pages should be active.

DomainPagesStatusDecision
Practitioner search + profiles6Full✅ Confirmed MVP
Booking flow (Cal.com)4Full✅ Confirmed MVP
Payments (Whop)2Full✅ Confirmed MVP
Profile claiming1Full✅ Confirmed MVP
Practitioner dashboard8FullLikely yes
Client dashboard4FullLikely yes
Admin dashboard5FullLikely yes
In-app messaging1FullNeeds answer
AI search agent0Not builtNeeds answer
Enterprise B2B6FullDefer
GLP-1 program2FullDefer
Health tools5FullDefer
Health data (Terra)1FullDefer
Email marketing2FullDefer
Practitioner analytics2FullDefer

Also needed: Should deferred features be hidden (feature flags) or removed from the sidebar entirely?

Frontend Scope Map

95 pages mapped across 5 role groups. Estimated ~40 pages are MVP-active.

Pages by Role Group

Updated Dependency Chain

Discovered Issues

Five technical debt items found during bootstrapping. Two are being fixed by ADW.

TD-1: Seed Script Broken

PlatformConfig schema mismatch. No demo data loads.

ADW PR #3 fixing

TD-2: CI Env Validation

SKIP_ENV_VALIDATION flag referenced in CI but not implemented in code.

ADW PR #4 fixing

TD-3: Vercel CLI Bug

"Unexpected error" on all CLI deploys after first. Dashboard redeploy works.

Workaround in place

TD-4: GitHub Auto-Deploy

"Could not associate committer." Needs disconnect/reconnect of GitHub integration.

CP-7 TODO

TD-5: 129 Stale Branches

Inherited from Blake's repo. Claude/Codex automated fix attempts. Low impact.

Low priority

Next ADW Submissions

Tier 2 issues queue behind Tier 1 PR merges. Two are ready for spec authoring now.

#TypeTitleFilesDepends OnReady?
T2-1choreFix Vercel GitHub auto-deploy0NothingNow
T2-2choreDelete stale branches0Blake OKPending
T2-3featAdd Prisma migration strategy2-3Tier 1 mergedNow
T2-4featEnhanced health check endpoint1-2Tier 1 mergedAfter T1
T2-5featScope assessment: active vs dormant pages3-5Seed data + CPI-2Blocked

Tier 1 → Tier 2 Sequencing

Updated 90-Day MVP

Actual Day 5 progress mapped against original timeline.

Phase 1 Timeline (Updated)