fenbs_add_lesson
Record a lesson learned: something that went wrong, or right, that should change how the work is done next time -- a near miss, a wrong assumption, a step that was missed, a fix that took too long to find. Record it when you finish a task that taught something, or when the person you work for says "we learned that...". Search fenbs_list_lessons first. Put each lesson in a group: Process, Technical, Testing, Deploy, or a new name. Link the task it came from with tasks. A lesson is not a rule: when it should hold from now on, fenbs_apply_lesson proposes one for a person to decide. Needs permission to change tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Put the lesson in a group: Process, Technical, Testing, Deploy, or a new name. Names are trimmed and matched ignoring case; a new name creates a lesson group. | |
| tasks | No | Refs of tasks it was learned from. | |
| title | Yes | The lesson in one line. | |
| lesson | No | What we learned -- the point the next person or assistant must not miss. | |
| groupId | No | An existing lesson group id; 0 means No group. Omitted on update keeps the group. Takes precedence over group when both are given. | |
| project | No | A project on this board, by name. Leave it out for the whole board. | |
| category | No | An existing board category, kept separately from the lesson group. Empty clears it. | |
| whatHappened | No | What happened: the facts, briefly. Name the task, the file or the incident. | |
| doDifferently | No | What to do differently from now on, as concretely as you can. |