Save a rule
save_ruleStores a team-agreed rule in the project context under Rules learned, citing source threads so agents apply it to future work.
Instructions
Keep a rule the team agreed on ("sentence case in every button", "the brand gray stays, do not raise contrast bugs on it") in the project's context, under Rules learned. The classifier reads that context, and every agent reads it through decision_log, so it shapes future threads. Cite the threads it came from. Workspace owners and admins only; confirm with the person before saving.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | The rule, in one plain sentence. | |
| projectId | No | Optional if a project is bound. | |
| sourceItemIds | No | Items the rule came from. |