Skip to content

feat: policy table output type - #481

Merged
stefan-gorules merged 1 commit into
masterfrom
feat/policy-table-output-type
Jul 10, 2026
Merged

feat: policy table output type#481
stefan-gorules merged 1 commit into
masterfrom
feat/policy-table-output-type

Conversation

@stefan-gorules

@stefan-gorules stefan-gorules commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Typed output columns for decision tables

Decision-table output columns can now declare a type: string, number, boolean, date or a dictionary name, optionally suffixed with [] for lists. The annotation is optional; untyped columns keep the existing inferred behavior.

When a column is typed, every non-null cell is checked against the declaration, with diagnostics anchored to the offending cell. The declared type also becomes the column's output schema instead of a merge of cell types (nullable when uncovered), and unknown or malformed annotations are diagnosed on the column head. Dictionary-typed cells additionally get labeled select options in the natural-language projection, single or multi depending on [].

Business Value

Output types become stated intent rather than an accident of whatever cells currently contain. A typo in one cell is a local diagnostic instead of a silently widened column type, downstream blocks see a stable schema while rows are edited, and dictionaries now constrain table outputs the same way they constrain inputs. Purely additive.

@stefan-gorules
stefan-gorules merged commit 9a11ae4 into master Jul 10, 2026
57 checks passed
@stefan-gorules
stefan-gorules deleted the feat/policy-table-output-type branch July 10, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants