Standard course package

Infrastructure handled. Business ideas stay flexible.

The platform gives every student the same secure, deployable technical foundation while leaving the product model, workflow, branding, and founder story open to change.

48general functions catalogued
43ready without provider setup
1provider connections available
4safe extension templates

Framework function registry

48 reusable functions, with activation state

43 ready 1 setup 4 templates

5 included functions

Identity and access

Standard ways to identify users, maintain sessions, and enforce who can see or change data.

Passwordless email

Supabase one-time sign-in links with a safe server callback.

SignInForm
Ready

GitHub root OAuth

Setup registers one course identity, configures Supabase, and uses the shared callback flow.

/auth/callback
Ready

SSR session refresh

Cookie-backed sessions are refreshed in middleware for pages and API routes.

src/lib/supabase/middleware.ts
Ready

Roles and permissions

Project roles control workflow transitions and server operations.

student-project.json → roles
Ready

Row-Level Security

Database policies isolate owner records while allowing approved teacher oversight.

supabase/migrations
Ready

Live project definition

The model is the source of truth

Students define business nouns and rules in one validated file. Shared forms, APIs, workflows, and agent guidance read the same configuration.

5entities
19fields
3relationships
4roles
1workflows
2triggers
provider_profile

Provider Profile

4 fields

A vetted student helper profile using demo-safe labels.

Display nametext · requiredVerification statusselect · requiredSkillsselect · requiredAvailability notetext
facility

Facility

3 fields

A demo-safe facility record for filtering bookings without storing resident details.

Facility aliastext · requiredAreaselect · requiredApproved session locationselect · required
listing

Service Listing

4 fields

A support session that a verified student can offer.

Service titletext · requiredCategoryselect · requiredDuration minutesnumber · requiredSafety rulelong_text · required
booking

Booking

5 fields

A coordinator request for a supervised session.

Listing titletext · requiredFacility aliastext · requiredRequested datedate · requiredTime slotselect · requiredPublic notelong_text
review

Review

3 fields

A coordinator feedback record after completion.

Booking referencetext · requiredRatingnumber · requiredCommentlong_text

Relationships

Validated model links

booking.listing_titlelisting · many-to-onebooking.facility_aliasfacility · many-to-onereview.booking_referencebooking · many-to-one

Access configuration

2 sign-in methods

GitHub is the single root identity. Password and magic-link access remain separate recovery paths and never receive the GitHub password.

  • Magic linkRecovery ready
  • GitHub OAuthEnabled
adminprovidercoordinatormentor

Configured triggers

2 project rules

Rules use the same condition evaluator demonstrated by LoomGuard and produce standard action plans.

EnabledNotify both sides when a booking is confirmedworkflow.transitioned2 actions
EnabledEscalate a recorded no-showworkflow.transitioned2 actions

Integration requirements

1 declared connections

Each external service stays disabled until its student-owned provider, credentials, and server adapter are ready.

EnabledGitHub OAuthoauthConfigured automatically in Supabase from the course-owned GitHub OAuth application.

Standard controllers

API routes already available

These stable controllers sit between generated views and project data. Students can add business-specific routes without rebuilding authentication, validation, or health handling.

MethodPathPurposeAccess
GET/api/healthDeployment and emergency-switch health Public
GET/api/frameworkSanitized model and function catalogue Public
GET/api/recordsList owned records by entity Signed in
POST/api/recordsValidate and create a model record Signed in
POST/api/records/:id/transitionApply an allowed workflow transition Signed in
POST/api/automation/evaluateEvaluate configured triggers without external side effects Signed in
POST/api/aiRun an enabled, budgeted AI prompt Signed in
POST/api/project-statusPublish status for teacher oversight Signed in
GET/auth/callbackComplete magic-link or OAuth sign-in Provider callback

Machine-readable catalogueThe same sanitized model and function registry is available at /api/framework for dashboards, setup checks, and coding agents.

Clear ownership boundary

What students change, and what the platform protects

The course is designed so students can focus on the business requirement without becoming responsible for every infrastructure concern.

Student-owned work

The product and its explanation

  • Define the target user and business problem
  • Change entities, fields, labels, and branding
  • Approve Lovable designs and explain each intended interaction
  • Select and explain approved workflow steps
  • Add limited business rules and display components
  • Request approval before enabling AI or real PII
  • Prepare the demo, technical explanation, and founder story

Standard package

The reusable engineering foundation

  • Authentication, roles, and server sessions
  • Database migrations and Row-Level Security
  • Protected APIs and workflow event logging
  • AI rate limits, budgets, and usage reporting
  • Environment handling, health checks, and CI
  • Lovable snapshots and Cursor migration guardrails
  • Account provisioning and production deployment

Current project controls

Compliance and AI stay visible

These controls are read from the same project definition and remain visible when students replace the product interface.

Compliance Boundary

Course demo uses aliases only. Real deployment would need guardian permission, facility approval, background-check policy, and explicit data retention rules.

PII: avoidedMinor users: yesMentor review: required

AI Budget

Enabled project prompt budget: 0.00 USD.

Safety summary: off