Skip to content

Latest commit

 

History

History

runtime-tables

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Runtime Tables — Generated app — user/AI-defined schema, forms & views (class #12)

Catalog id: runtime-tables · Status: exists · Audience: both Banner app for this class: data — reference only, do not clone as a starting point

Use this when (from catalog: useWhen)

  • non-developers or an AI define and mutate tables, fields, forms, and views at runtime in plain language with no code deploy
  • an Airtable- or FileMaker-style custom data app where schema changes themselves go through staging and review
  • a clean starting point for a runtime-schema generated app — this starter, not the Data banner app

Do not use this when (from catalog: doNotUseWhen)

  • developers define the schema in code and build bespoke domain screens — that is #10 (contact-cards) or #11 (team-ops)
  • you want the full Data (TanStack Base) appliance product itself — Data is this class's banner app: a reference entry to read for patterns, never a starter to clone

What this starter proves

  • Seams: S1, S2, S3, S6
  • Matrix stress cells: Schema & Data, API/MCP, UI Primitives, Search, Auth & Actors, Governance, Agent, Bespoke / Generated

Architecture snapshot

  • Auth & actors: staff + per-agent actors
  • Rendering: generated views
  • Tenancy: single
  • Transports used: REST, typed client, MCP
  • Agent contracts used: /ask, /agent, events & Snippets

Scope

In (from catalog: scopeIn)

  • schema defined and mutated at runtime in plain language over a small seed dataset
  • metadata-generated forms and list/kanban views from the Headless UI Primitives
  • schema changes staged and approved through Review (S3)
  • immediate runtime propagation of a new field to API, MCP, admin form, and search (S2)

Deliberately out (from catalog: scopeOut)

  • coffee-shop appliance onboarding, Docker/Tailscale deployment packaging, and deterministic trend reports — all Data banner product, not starter scope
  • public marketing theme rendering
  • multi-tenant agency fleet isolation

Requires (from catalog: requires)

  • database supporting runtime schema storage
  • Headless UI Primitives metadata form/view generator
  • governance review queue for schema mutations

Run it

pnpm install
pnpm --filter starter-runtime-tables dev

Acceptance tests

Acceptance instance for seams: S1, S2, S3, S6.

pnpm --filter starter-runtime-tables test:starter

If you are building the full product

Separate banner app — Data (app/base): the full self-hosted AI-customizable database appliance. Reference only; do not clone it as a starting point — Data is too big to be a good starter, which is why Runtime Tables exists.