E0600 Rule given the wrong fields
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
A rule declared in duolith.yaml under domains: rules: says the types of the fields it takes, such as self: { takes: [id] }. Where allow: uses it, it is given that many fields of the operation's input, each of that type and required, so the rule always has what it reads.
How to fix it
Give the rule the input fields it takes, such as self(accountId), or change the rule's takes: in duolith.yaml.
In a terminal
duolith explain E0600