Previous: , Up: Adding Substance: Inputs and Outputs   [Contents]


4.2.2 The Power of Flags: Customizing I/O Behavior

Buried in that constructor is a field people often skim past: flags. Think of it as a quiet policy dial on each data point. One bit tells the Core “hands off—I am in manual maintenance mode.” Another says “external software owns this for a while,” but that one is a courtesy marker: the Core will not enforce it for you—your rules both set/clear it (see I/O Flags in Rules) and must notice it to politely refuse to fight the supervisor. Others keep high-frequency chatter out of the history tables, or give you four free USR* tags for whatever story your plant needs. The full bit catalog is under api-io-flags; what matters here is the idea: flags are how a number tells the system how it wants to be treated.