Proposes and applies a configure action, which replaces the whole research
policy. A ruleset or reference is resolved and pinned: the state stores the
resolved rules, the merged vocabulary, the versions of custom predicates in
use, and content digests for every source ruleset. The history entry keeps
both the requested rules and the resolved policy. Earlier records and
goal_version are unchanged.
Arguments
- project
A writable
bg_handlewith an investigation.- rules
A ruleset (see
bg_ruleset()), a reference string such as"lab.review@1"or"lab.review@1.2.0", or a list of rules.- mode
record,guide, orenforce.NULLkeeps the current mode.- actor
Named list with
idandtype. Only a human may change policy.- rationale
Why the policy changes.
See also
bg_rules() to read the active policy.