Watch
0
0
Fork
You've already forked hyperhive
0

notify flows: refuse unknown placeholders and require the revision read on every save

This commit is contained in:
atlas 2026-10-24 04:38:17 +02:00 • committed by mara
commit ada364a482
7 changed files with 203 additions and 57 deletions

View file

@ -226,8 +226,10 @@ restores it. Each **custom** flow shows its name and whether it's on. Every
flow draws as an indented tree: the forge events it starts from, the
conditions under it, and the todo each branch ends in.
The page edits nothing else. Add custom flows with `PUT /api/notify/flows`.
A switch sends the whole flows document with the revision the page read, so if
A switch sends the whole flows document with the revision the page read, `0` if
it read no document. The controller refuses it when the stored revision is
another, including a document written since the page read none, and the page
shows why. Reload to switch against the current document.
another change landed since, the controller refuses it and the page shows why.
### Sending a message to an agent