024 arm when guards gate on bridge

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

echo: guarded-hit
t1 result
echo: unguarded-t2
t2 result
t3 unhandled found

Expected output

echo: guarded-hit
t1 result
echo: unguarded-t2
t2 result
t3 unhandled found

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "guards", source: probe(1) echo(1))
subflow ~turn1 click a branch to expand · @labels scroll to their anchor
run (br, source: "probe(path: \"hit\")\n| found t when t == \"hit\" |> echo(text: \"guarded-hit\")\n| found u |> echo(text: \"unguarded-t1\")")
subflow ~turn2 click a branch to expand · @labels scroll to their anchor
run (br, source: "probe(path: \"hit\")\n| found t when t == \"nope\" |> echo(text: \"guarded-wrong\")\n| found u |> echo(text: \"unguarded-t2\")")
subflow ~turn3 click a branch to expand · @labels scroll to their anchor
run (br, source: "probe(path: \"hit\")\n| found t when false |> echo(text: \"never-t3\")\n| absent a |> echo(text: \"absent-t3\")")
flow ~create click a branch to expand · @labels scroll to their anchor
create (id: "b1", scope: "guards")

Test Configuration

MUST_RUN