⚠
Broken The test itself needs fixing.
Sibling-field union (`player: Player, enemy: Enemy` in the store seed) is not the store surface. The signed declaration was `entity: Player | Enemy`. These pins must not stay green in stdlib.
Failure Output
🎯 Compiler coordination: Passes: 20 (flow-based: elaborate, analysis, emission) Code
// K1 (2026-09-04): union members expand to folded columns. GameEntities
// holds Players and Enemies; both name (home, Health), so the store derives
// ONE Health column from its members. No tag, nothing asks — plain full-row
// inserts, plain query. The members are the column source of truth: adding a
// leaf to Player re-folds here.
import std/io
import std/proto
import std/store
std/proto:f64(Health)
std/proto(Player) {
health: Health
}
std/proto(Enemy) {
health: Health
}
std/store:new(arena, capacity: 8) { player: Player, enemy: Enemy }
std/store:insert(arena) { health: 98.6 }
std/store:insert(arena) { health: 30.0 }
std/store:query(arena)
! query e |> std/io:print.ln("health {{ e.health:f }}")
Actual
health 98.6
health 30
Expected output
health 98.6
health 30
Flows
flow ~f64 click a branch to expand · @labels scroll to their anchor
f64 (expr: Health)
flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Player, source: health: Health)
flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Enemy, source: health: Health)
flow ~new click a branch to expand · @labels scroll to their anchor
new (arena, capacity: 8, source: player: Player, enemy: Enemy)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (arena, source: health: 98.6)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (arena, source: health: 30.0)
flow ~query click a branch to expand · @labels scroll to their anchor
query (arena)
Test Configuration
MUST_RUN