
# Architecture

## Dialog Intake
Preserve the user's wording, then derive purpose, users, environment, fixed dimensions, tolerances, interfaces, motion, loads, manufacturing process, material, aesthetics, commercial intent, risk, assumptions, blockers and acceptance criteria.

## Risk Gate
- LOW: ordinary decorative or household design.
- MODERATE: functional consumer product needing fit, load, movement, heat or durability reasoning.
- HIGH: medical, dental, structural, pressure, mains, vehicle, PPE, child-safety, food-contact or other regulated use.
- PROHIBITED: functional weapons, weapon components, traps, explosives or harmful mechanisms.

Prohibited requests stop. High-risk work may receive concept, measurement, documentation and professional-review support, but not autonomous final certification.

## Skill Router
A request selects multiple skills. An articulated printable creature may require requirements, sculpting, articulation, additive manufacturing, aesthetics, validation, provenance and release.

## Research
Research stores source metadata before content. Unknown licences are quarantined. Non-commercial sources do not support commercial derivatives. Distinctive geometry remains reference-only unless reuse permission is clear.

## Knowledge Store
The starter runtime uses SQLite FTS5. Production should add embeddings, reranking, image retrieval, geometry metadata, project memory and source-linked citations.

## Certification
UNTRAINED → READING → PRACTICE → VALIDATION → CERTIFIED → SUSPENDED

Forge may retrieve only certified skills. Certification can be suspended after regressions, stale evidence, tool-version changes or safety findings.

## Release
Preserve editable source, parameters, source records, tests, report and checksums. Only validated STL and STEP exports may be copied to `/SHiREVault/SHiREForge/Ready`.
