% "report.bry"
// BRY Web 03 — persisted task board.
// Command: action, ID, title. Return 1 if allowed, 0 if invalid.
// Host guarantees a valid UUID for existing-row commands and control-free input.
#@++.1.+9.+1(@1#3,@2#3,@3#3)
::2.+8.++5.++.1.+9.+1.3.8.5.3.+1(@1#@++.1.+9.+1)#2 [
@2 := @1 -> @1
@3 := @1 -> @2
@4 := @1 -> @3
?(@2 == "create")[< @3 == "" && :len(@4) > 0 && :len(@4) <= 64]
?(@2 == "rename")[< :len(@3) == 36 && :len(@4) > 0 && :len(@4) <= 64]
?(@2 == "done" || @2 == "reopen" || @2 == "delete")[< :len(@3) == 36 && @4 == ""]
< false
]
::2.+8.++5.++.1.+9.+1.+8.+5.++3(@1#3,@2#3,@3#2)#3 [
@4 := "Open"
@5 := "done"
@6 := "Complete"
?(@3)[@4 := "Completed"; @5 := "reopen"; @6 := "Reopen"]
< "
No tasks match this filter.
Free workspace · 12 tasks. Do not store sensitive information.
") ]