-
Notifications
You must be signed in to change notification settings - Fork 0
Learning Adapter Extension Design
github-actions[bot] edited this page Jun 23, 2026
·
2 revisions
Advanced to expert, with an accessible conceptual entry point.
Python developers, engineering-software contributors, maintainers, and technical leads planning support for new CAE artefacts.
By the end, you can:
- explain what a CaeReflex adapter owns;
- design a read-only adapter workflow;
- identify service, CLI, REST, exporter, docs, and test implications; and
- preserve safety boundaries while extending evidence coverage.
- Architecture: Adapters
- Architecture: Services Layer
- Developer Guide: Adding Adapters
- Developer Guide: Testing
An adapter should inspect files and return structured evidence. It should not run solvers, execute scripts, mutate cases, or claim engineering correctness.
A safe adapter design should define:
- supported file extensions or folder patterns;
- scan limits and file-size behavior;
- extracted facts;
- inferred facts, if any;
- inspection flags for partial or missing evidence;
- provenance events;
- tests for happy path, partial path, and safety limits; and
- documentation and examples if the adapter is public.
Choose a hypothetical artefact type and write three facts an adapter might safely extract from files.
Draft an adapter design brief with:
- input shape;
- detection rule;
- extracted fields;
- expected warnings;
- output records;
- safety limitations.
Map the public-change path:
- Model changes, if persistent fields are needed.
- Service orchestration in
caereflex/services.py. - CLI command or option, if public.
- REST route or schema change, if public.
- Exporter updates, if output changes.
- Tests for adapter, CLI, REST, exporters, and security.
- Wiki and reference documentation updates.
- The learner can describe adapter boundaries.
- The learner avoids solver execution and unsafe engineering claims.
- The learner includes tests and docs in the design.
- The learner understands when service, CLI, REST, and exporter changes are required.
- Home
- Architecture
- Developer-Guide
- Learning
- Reference
- Releases
- User-Guide
Synced from /wiki/docs in the main CaeReflex repository.