fenbs_apply_lesson
Apply a lesson, so it changes how the work is done from now on. asNote turns it into an AI context note (category "Lessons learned") that every assistant reads -- for a fact or a trap. asRule proposes a rule (a decision with standingRule, status proposed) -- a person must decide it before it binds; you never decide it. Either or both. The lesson is then marked applied and links to what it became. Needs permission to change tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| asNote | No | true: add an AI context note from it. | |
| asRule | No | true: propose a rule from it, for a person to decide. | |
| noteBody | No | The note's words. Left out: built from the lesson. | |
| ruleText | No | The rule as it should read. Left out: built from the lesson. | |
| noteCategory | No | Defaults to "Lessons learned". |