Skip to content

Type Alias: OsfqlCatalogExecution

@kortexya/reasoninglayer


@kortexya/reasoninglayer / OsfqlCatalogExecution

OsfqlCatalogExecution = { status: "executes"; } | { note: string; status: "partial"; } | { status: "planOnly"; }

Defined in: src/types/osfql.ts:542

How far the engine actually executes a statement.

{ status: "executes"; }

Executes fully.


{ note: string; status: "partial"; }

Executes partially; note says what the limitation is.


{ status: "planOnly"; }

Parses but does not execute yet — never bound to UI.

Discriminated here rather than left in the wire’s mixed shape (two bare strings and one object). The note travels inside the partial variant so it cannot be separated from the status it qualifies — a flattened "partial" beside an optional note is the shape that lets the two drift, and a consumer whose fallback treats an unrecognised value as fully-executing then reports a partially-executing statement as complete.