aurelius-mapping — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited aurelius-mapping (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Map Delphi classes to a relational database using TMS Aurelius attributes. All attributes are declared in unit Aurelius.Mapping.Attributes.
Read references/mapping.md for all attribute syntax, options tables, and code examples. The guidance below covers decisions and rules that the reference does not emphasize.
New schema (no existing tables): Default to [Automapping]. It infers table names, column names, nullability, and the identifier from field naming conventions, requiring no extra attributes for simple cases.
Legacy or fixed schema: Use explicit attributes ([Table], [Column], [Id], etc.) to match the existing column and table names exactly.
Mixed: Automapping is not all-or-nothing — add explicit attributes only where the defaults need to be overridden.
When the user hasn't specified, ask or infer from context (existing table definitions → explicit; greenfield → automapping).
These are the most common mistakes. Apply them without exception.
T field type for eager associations; use Proxy<T> field type for lazy associations.FArtist.Value.TList<T> container in the parent's constructor and destructor.TObjectList<T> with OwnsObjects = True.Proxy<TList<T>> as the field type. Use SetInitialValue/DestroyValue instead of accessing .Value in constructor/destructor.Always add RegisterEntity calls in the initialization section of the unit:
initialization
RegisterEntity(TCustomer);
RegisterEntity(TCountry);This prevents the Delphi linker from removing the class. It is especially important in server applications (XData services) where entity classes may not be directly referenced in code.
For all attribute signatures, options, and full code examples, read references/mapping.md.
The reference covers: basic entity mapping, automapping rules and overrides, abstract entities, nullable fields, blob fields, many-to-one associations (eager and lazy), one-to-many associations (bidirectional and unidirectional, eager and lazy), collection ordering and filtering, foreign key naming, single-table and joined-tables inheritance, composite identifiers.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.