Skip to content

Blueprint Runtime Boundary

One Blueprint declares the full-stack system. It is not split into an entity blueprint and an app blueprint. A target supplies only executable bindings; the standard app and server hosts interpret the selected target.

text
Blueprint
  ├─ modules, entities, facets, fields, relationships
  ├─ lifecycles, actions, rules, audit, evidence
  ├─ DB and UI declarations
  ├─ application workspace, routes, collections, shell
  └─ endpoint declaration


BlueprintTarget + external bindings

          ├─ BlueprintServer ── Blueprint protocol ── Postgres

          └─ BlueprintApp ───── Blueprint protocol ── Studio UI

BlueprintRegistry
  └─ selects a BlueprintTarget for the workspace executable

The public architecture has five names: Blueprint, BlueprintTarget, BlueprintRegistry, BlueprintServer, and BlueprintApp. Protocol route modules, transport clients, binding completeness gates, DDL emitters, and runtime plugins are implementation details behind those hosts.

The server does not generate an API per application. Its fixed route modules derive entity, projection, action, capability, and explorer behavior from the assembled Blueprint at runtime. OpenAPI is produced by the generic server plugin from mounted routes.

BlueprintApp talks only to BlueprintServer through the Blueprint protocol. It does not import server bindings or database code. The server publishes the portable Blueprint manifest for the selected target, and the app maps that declaration into vyuh_studio_ui while resolving optional custom client bindings.

Seed data is application-owned and deterministic. Blueprint seed/scenario metadata may guide a product's seed implementation, but there is no separate seed compiler.

What to inspect

ConcernSource
DB generationpackages/vyuh_blueprint_server/lib/src/kernel/compiler/db_compiler.dart
Domain DDLpackages/vyuh_blueprint_server/lib/src/kernel/postgres/ddl_emitter.dart
Runtime DDLpackages/vyuh_blueprint_server/lib/src/kernel/postgres/runtime_ddl_emitter.dart
Fixed server routespackages/vyuh_blueprint_server/lib/src/
Blueprint declarationpackages/vyuh_blueprint/lib/src/blueprint.dart
Target and registrypackages/vyuh_blueprint_server/lib/src/blueprint_target.dart
Server hostpackages/vyuh_blueprint_server/lib/src/blueprint_server_app.dart
App hostpackages/vyuh_blueprint_ui/lib/src/blueprint_app_runner.dart
Blueprint-to-Studio adapterspackages/vyuh_blueprint_ui/lib/src/
Generic enterprise UIpackages/vyuh_studio_ui/lib/src/

Blue is the Vyuh Blueprint documentation surface.