An edict is essentially a rule - in terms of scope - but one which is run very occasionally. It is akin to an agent set to a low priority. There is no priority control for edicts. They are designed for background. Housekeeping tasks that need to run occasionally but not often enough to have impact in the more pressing rules.
A note or agent's rule is stored in $Edict.
Edicts may be overridden locally in a note by using $EdictDisabled.
A note's edict runs once when it is:
- first created.
All edicts run once when:
- a Tinderbox document is first opened.
- roughly once an hour for the rest of the session (i.e. while the document remains open).
- when File menu, Update Agents Now is clicked (i.e. both agents and edicts are refreshed once).
- when $Text or key attribute values are changed.