catia_add_lesson
Record a new CATIA pitfall or rule so every future agent session is warned before it repeats the failure. Include the error regex so the warning appears with that error.
Instructions
Record a NEW pitfall or rule you discovered so that every future session (yours and other agents') is warned automatically. Use it as soon as you find something that failed, surprised you, or needed a workaround. Give the exact observed error text in error_patterns (regex) so the hint is attached to that error next time, and state how it was proven. Stored in the user's lessons file (not in the package); duplicates are refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | com|sketch|part|boolean|topology|measure|assembly|display|process|drawing|performance | |
| rule | Yes | Imperative, actionable rule (what to do / avoid). | |
| cause | No | Root cause, if known. | |
| proof | No | How it was verified (what was tried, what worked). | |
| title | Yes | One-line summary of the pitfall. | |
| tools | No | ||
| symptom | No | What was observed. | |
| severity | No | ||
| error_patterns | No | Regexes matching the error text this lesson explains. |