033 bridge session bindings survive turns

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

RESULT bound=r1
payload-7
RESULT bound=r2
7
RESULT bound=r3
RESULT bound=r4
sara_doe_496
RESULT bound=r5
REFUSED unbound 'r9' on 'echo' — bind it with an arm (`| <branch> r9 |>`) or quote it for a literal
produce()
echo(text: string)
vocabulary()
grammar()
bind(name: string, value: Source)
note(text: Source) — speaks to the observer, not the user: reasoning, plans, and "why I'm stuck" go here
r1 {text, count}
r5
r3
r2
user {uid}
r4

Expected output

RESULT bound=r1
payload-7
RESULT bound=r2
7
RESULT bound=r3
RESULT bound=r4
sara_doe_496
RESULT bound=r5
REFUSED unbound 'r9' on 'echo' — bind it with an arm (`| <branch> r9 |>`) or quote it for a literal
produce()
echo(text: string)
vocabulary()
grammar()
bind(name: string, value: Source)
note(text: Source) — speaks to the observer, not the user: reasoning, plans, and "why I'm stuck" go here
r1 {text, count}
r5
r3
r2
user {uid}
r4

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "api", source: produce(1) echo(1))
subflow ~turn click a branch to expand · @labels scroll to their anchor
run (br, source: src)
subflow ~show-vocab click a branch to expand · @labels scroll to their anchor
vocabulary (br)
flow ~create click a branch to expand · @labels scroll to their anchor
create (id: "xb", scope: "api", introspection: true)

Test Configuration

MUST_RUN