039 captured fields admit text

✗ Failing This test is currently failing.

Failed: output

Failure Output

[REGISTRY] Creating dispatcher for scope 'api'
[REGISTRY] Found 3 events
[REGISTRY] Generated 32833 bytes
🎯 Compiler coordination: Passes: 20 (flow-based: elaborate, analysis, emission)

Code

input.k

Actual

calc:5
render:hello world
step 1/3 result: {"branch":""} bound: r1
step 2/3 result: {"branch":""} bound: r2
step 3/3 event-denied: note

  refused: the value of 'text' is not a Koru expression — write a bound name, a field path, an operation (`n * 2`), or "quote it" for literal text

Expected output

calc:5
render:hello world
step 1/3 result: {"branch":""} bound: r1
step 2/3 result: {"branch":""} bound: r2
step 3/3 result: {"branch":"","value":"ok"} bound: r3

  refused: the value of 'text' is not a Koru expression — write a bound name, a field path, an operation (`n * 2`), or "quote it" for literal text

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "api", source: calc(1) render(1) say(1))
subflow ~gated click a branch to expand · @labels scroll to their anchor
run (br, source)
flow ~create click a branch to expand · @labels scroll to their anchor
create (id: "cap", scope: "api", introspection: true)

Test Configuration

MUST_RUN