convention
Save codebase conventions and patterns as persistent insights that future sessions recall, ensuring consistent code and avoiding re-learning project rules.
Instructions
When you notice a pattern the codebase follows, record it here. For personal style rules, use prefer() instead. Example: {"lobe": "my-project", "observation": "All ViewModels use StateFlow for UI state. LiveData is banned."} Store facts that help future sessions, not notes about this one. Wrong: "Migrated to StateFlow." Right: "All ViewModels use StateFlow." One insight per call. Persists across sessions, surfaces in brief() and recall(). Returns related knowledge. Required params: "lobe", "observation".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lobe | Yes | Memory lobe name. No lobes configured yet — run memory_bootstrap(lobe: "your-project", root: "/absolute/path/to/repo") first. | |
| observation | Yes | The convention. Write naturally — first sentence becomes the title. | |
| durabilityDecision | No | Use "store-anyway" only when re-storing after a review-required response. | default |