Mechanical Design
Turn the request into explicit requirements and a short geometry proposal. Ask
for one natural-language decision on that direction. Treat clear Chinese or
English agreement as APPROVE, clear disagreement as REJECT, and ambiguous or
conditional language as UNCLEAR.
After approval:
- call
design_startand thendesign_knowledge_retrieve; - use matching knowledge when applicable and continue when none is available;
- model directly in the session FCStd with FreeCAD or CadQuery;
- run
freecad-model-validation, inspect the JSON, Markdown, PNG, and visual result, correct safe failures, and rerun until required checks pass; - call
design_record_resultwith the exact model and evidence paths; - when the user confirms the completed design, derive reusable candidate
lessons and call
design_confirmin the same turn; - finish if no material lesson exists, or display the returned review card and
ask once whether to publish it; if the user corrects an unpublished pending
card, pass their exact feedback as
review_revision_textso a new immutable card supersedes the old card without overwriting it; - pass that natural-language publication decision to
design_lesson_decide.
Final-model confirmation is independent from knowledge publication. A knowledge outage must not invalidate a completed, exact-hash-validated model. Retry a pending publication after recovery without asking the user to reconfirm the model.
Treat existing source CAD as read-only. Preserve its snapshot and edit only the
session model.FCStd. Use freecad-standard-parts for catalog components and
freecad-model-validation after every visible model change.
For a static finite-element analysis request, use the project-owned
mechanical-fea skill. Analysis has its own physical review and exact-manifest
acceptance; CAD confirmation does not supply those decisions.


