Product logic
Authored runtime
Seven canonical execution surfaces. Language-neutral runtime bridge. Capability-bounded by construction.
This page is the documentation contract for the Authored runtime surface in Vadyl's final form. It is not a marketing summary: it names the authorities, projections, runtime behavior, examples, limits, errors, and observability expectations that every product implementation must honor.
What this surface owns
- Authored runtime owns the canonical product-facing contract described here; provider-specific machinery stays behind capability declarations.
- Seven canonical execution surfaces. Language-neutral runtime bridge. Capability-bounded by construction.
- The final docs treat this as complete: REST, GraphQL, gRPC, SDK, CLI, MCP, dashboard, observability, limits, errors, and explainability are all covered as projections of one authority.
Canonical authorities
| Authority | Role |
|---|---|
ExecutionSurfaceKind | Canonical owner for Authored runtime; downstream surfaces derive from this rather than inventing their own truth. |
AuthoredPublicationService | Canonical owner for Authored runtime; downstream surfaces derive from this rather than inventing their own truth. |
IAuthoredExecutionCoordinator | Canonical owner for Authored runtime; downstream surfaces derive from this rather than inventing their own truth. |
RuntimeBridge | Pins Authored runtime to a publication, runtime descriptor, worker, or substrate realization. |
Projection coverage
| Surface kinds | AuthoredRuntimeSurface, WorkflowSurface, SchedulingHandlerSurface, SourceAssetSurface, GovernedConnectionAdapter |
| Projection facets | Handlers, Workflows, RuntimeUnits, SourceAssets, Connections, ExposureBindings |
| Protocols | Rest, Sdk, Cli, Mcp, Event |
| Public projections | authored runtime APIs; workflow APIs; source asset APIs; runtime SDK; workspace IDE; CLI build/source/connection/workflow |
Project-scope parity
Publish, install, consume
Consumption evidence
Runtime behavior
- TypeScript worker
- durable workflow orchestrator
- bridge capability enforcer
- publication-pinned invocation
REST and controller surface
Code-backed controllers are listed here so the docs menu does not hide the real endpoint surface. The complete route-by-route table remains in the REST controller atlas.
| Controller | Base route | Endpoint count | Examples |
|---|---|---|---|
| AuthoredRuntime | /api/AuthoredRuntime | 5 | POST validatePOST preview-buildPOST publishPOST sandbox/{sandboxId}/publish |
| AuthoredWorkflow | /api/AuthoredWorkflow | 6 | POST {workflowName}/startPOST {instanceId}/signal/{signalName}GET {instanceId}POST {instanceId}/cancel |
| RuntimeUnit | /api/RuntimeUnit | 8 | GET /GET {id}POST /PUT {id} |
| SourceAsset | /api/SourceAsset | 16 | GET folderPOST folderPUT folder/{id}/renameDELETE folder/{id} |
| Connection | /api/Connection | 6 | POST /GET /GET {id}GET by-name/{name} |
| AuthoredRuntimeAdmin | /api/AuthoredRuntime | 1 | POST workers/reset |
| AuthoredManagement | /api/AuthoredManagement | 1 | POST {handlerName} |
| ExecutionCapabilityMatrix | /api/ExecutionCapabilityMatrix | 1 | GET matrix |
SDK and CLI surface
| Projection | Namespace / group | Coverage |
|---|---|---|
| SDK | authoredRuntime | validate, previewBuild, publish, invoke, runtime units, workflows, execution sessions. Rendered methods: 6. |
| SDK | connections | governed connection CRUD, operation invocation, diagnostics, secrets, egress. Rendered methods: 1. |
| SDK | events | emit, list, get, tail, replay, consumer offsets, ordered stream helpers. Rendered methods: 2. |
| CLI | vadyl build | Hermetic builds for authored runtime artifacts. Rendered commands: 3. |
| CLI | vadyl source | Folders, files, blobs, trees, upload/download, and scope shape. Rendered commands: 11. |
| CLI | vadyl connection | Manage governed connections. Rendered commands: 7. |
| CLI | vadyl workflow | Start, signal, query, replay durable workflows. Rendered commands: 7. |
Input request and output
POST /api/AuthoredRuntime/validate HTTP/1.1
Host: api.vadyl.app
Authorization: Bearer $VADYL_TOKEN
X-Vadyl-Tenant: acme
X-Vadyl-Project: billing
Content-Type: application/json
{
"surface": "authored-runtime",
"publicationVersion": 412,
"explain": true
}Limits and quotas
Error model
| Error | Meaning |
|---|