049 gate named profiles

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

gate-me

Expected output

gate-me

Flows

flow ~profile click a branch to expand · @labels scroll to their anchor
profile (expr: dev, source: "block": false, "description": "the dev commit gate — advisory")
flow ~profile click a branch to expand · @labels scroll to their anchor
profile (expr: broken, source: "block": true, "description": "a profile whose instrument fails")
flow ~profile click a branch to expand · @labels scroll to their anchor
profile (expr: strict, source: "block": true, "description": "enforcement over a judgment-class row — the judge decides", "judge": "scratch/strict-judge")
flow ~profile click a branch to expand · @labels scroll to their anchor
profile (expr: clean, source: "block": true, "description": "enforcement with a judge that returns CLEAN", "judge": "scratch/clean-judge")
flow ~inferred click a branch to expand · @labels scroll to their anchor
inferred (source: "name": "shape-is-named", "tags": ["dev"], "rule": "every declared shape carries a name", "check": "true")
flow ~inferred click a branch to expand · @labels scroll to their anchor
inferred (source: "name": "prose-rule", "tags": ["dev"], "rule": "a judgment-class row whose profile declares no judge")
flow ~inferred click a branch to expand · @labels scroll to their anchor
inferred (source: "name": "never-fires", "tags": ["dev", "odds-0"], "rule": "a row whose alarm can never roll low enough", "check": "true")
flow ~inferred click a branch to expand · @labels scroll to their anchor
inferred (source: "name": "always-fires", "tags": ["dev", "odds-100"], "rule": "a row whose alarm always rolls low enough", "check": "true")
flow ~inferred click a branch to expand · @labels scroll to their anchor
inferred (source: "name": "always-fails", "tags": ["broken"], "rule": "an instrument that always exits non-zero", "check": "false")
flow ~inferred click a branch to expand · @labels scroll to their anchor
inferred (source: "name": "strict-rule", "tags": ["strict"], "rule": "a judgment-class row under an enforcing profile")
flow ~inferred click a branch to expand · @labels scroll to their anchor
inferred (source: "name": "clean-rule", "tags": ["clean"], "rule": "a judgment-class row whose judge returns CLEAN")
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "gate-me")

Test Configuration

MUST_RUN

Post-validation Script: