Graduate a learning
project_memory_graduateGraduate a learning record by linking it to an existing convention, decision, or documentation that now carries the durable rule, with optional revision checks to prevent overwriting concurrent edits.
Instructions
Mark a learning as graduated and link it to the convention, decision or documentation that now carries the durable rule. Create the target record first — graduating points at something that must already exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Learning to graduate, e.g. LRN-0015. | |
| targets | Yes | IDs of the records that now carry the rule: a convention, a decision or a document. | |
| expectedRevision | No | Revision string from an earlier read of this record. The write is refused if it no longer matches, so a concurrent edit is reported rather than overwritten. Omit to skip the check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | A canonical record with its body, revision and reference graph. |