- DevCraft Platform
- Documentation
- Metadata engine
Concepts
Metadata engine
The metadata engine is the part of DevCraft Platform that describes tables and fields as data and serves records of any described table through one generic read path and one generic write path. This page is for developers and administrators who define tables, extend the platform baseline or need to understand how a record is validated, stored, versioned and audited. It describes the state of the code in backend/app/Platform/Metadata and backend/app/Platform/Records.
What the engine does
A table in DevCraft is a row in the dictionary, not a migration. The engine reads that dictionary and does the rest:
- registers a logical table (
sys_table) with its scope, lifecycle status, storage and role-based access; - defines its fields with type, constraints, default, choices and reference target (
sys_field,sys_choice); - stores form layouts (
sys_ui_form,sys_ui_form_section) and list layouts (sys_ui_list); - validates record data against the dictionary and stores it, either in the shared record store or in an adopted physical table;
- lists, filters, sorts, pages, reads, creates, updates and deletes records through
/api/v1/table/{table}; - versions every metadata write, captures it into the current update set and writes an audit row;
- renders forms and lists into the contracts the Vue SPA draws (see List & Form).
Three rules hold everywhere and are not optional:
- every dictionary write goes through
MetadataWriter; - every record read goes through
RecordQuery, every record write throughRecordWriter; - table and field names that reach SQL come only from the metadata cache, never from request input.
The engine is split into modules under backend/app/Platform/:
| Module | Responsibility |
|---|---|
Kernel | ExecutionContext (actor, roles, source, change set, transaction id), the Identifier grammar, the PlatformException family rendered as problem details. |
Configuration | CanonicalJson, ConfigVersioning, InstanceIdentity, DeterministicId, update set service. |
Audit | AuditWriter and the sys_audit model. |
Metadata | Dictionary models, FieldTypeRegistry and the ten field types, MetadataRepository (cache), MetadataWriter, ConfigurationSerializer, ConfigurationCatalog, LayoutResolver, controllers and resources. |
Records | Record value object, RecordQuery, RecordWriter, storage drivers, ReferenceResolver, RecordNumbering, TableAccess and FieldAccess, RecordController. |
Dependency rules are enforced by backend/tests/Arch/ArchitectureTest.php: Kernel depends on no feature module, Configuration and Audit know nothing about Metadata, Records or Access, the query Expression class is used only inside App\Platform\Records\Storage, and nothing under Records extends an Eloquent model.
The dictionary model
The dictionary tables are created by backend/database/migrations/2026_10_10_000400_create_dictionary_tables.php and 2026_10_11_000100_add_table_inheritance_support.php. They are platform-internal tables with a fixed schema, so they have Eloquent models in App\Platform\Metadata\Models (Scope, TableDefinition, FieldDefinition, Choice, FieldOverride, UiForm, UiFormSection, UiList). Those models are written only by MetadataWriter. Application records are never Eloquent models.
Every dictionary table carries the system columns (sys_version, sys_created_at/_by, sys_updated_at/_by) and the configuration lifecycle columns package_key, content_hash, origin_instance_id and origin_change_set_id.
| Table | Key columns | Notes |
|---|---|---|
sys_scope | name (unique), label, vendor, version, visibility, source, settings, active | The global scope owns all shipped objects. |
sys_table | sys_scope, name, label, label_plural, description, extends, root_table, is_extensible, display_field, data_class, storage, physical_table, status, audited, access, attributes | name, storage, physical_table, extends and scope cannot change after creation. data_class is one of configuration, environment, operational, reference. status is active, deprecated or retired. access is {read, write, delete} role lists; null means inherit. |
sys_field | table_id, name (unique per table), label, description, type, max_length, reference_table_id, on_delete, default_value, mandatory, read_only, unique, searchable, attributes, order, status | name, type and reference target cannot change after creation. attributes holds the type-specific settings plus the optional field access. |
sys_choice | field_id, table_id, value, label, sequence, hint, inactive, language | table_id null is the base list of the field; a value is a per-class list (see inheritance). |
sys_field_override | table_id, field_id, label, mandatory, read_only, override_default, default_value | Per-class change of an inherited field. |
sys_number_counter | table_id, prefix, current | Runtime counter behind record numbering. Not versioned. |
sys_ui_form, sys_ui_form_section | form: table_id, name, label, description, active; section: name, title, description, layout, order, elements | Elements are [{field, column}], validated against the dictionary. |
sys_ui_list | table_id, name, label, columns, default_sort, default_filter, search_fields, page_size, page_sizes, active | Defaults: page size 25, page sizes 10, 25, 50, 100. |
sys_record | table_id, sys_class_name, data (JSONB), display_value, system columns | Rows of every table with jsonb storage. See the record store. |
System fields
id, sys_created_at, sys_created_by, sys_updated_at, sys_updated_by and sys_version are synthesised for every table by App\Platform\Metadata\Schema\SystemFields. They are read-only, filterable and sortable, but they are not stored as sys_field rows. This keeps the dictionary free of six boilerplate rows per table. An adopted physical table that lacks some of these columns simply does not expose them.
Identifiers and naming rules
Every name that can ever become a database identifier passes App\Platform\Kernel\Identifier. The rules are checked at metadata write time and again when a storage driver builds an expression.
- Grammar.
^[a-z][a-z0-9_]{0,62}$: a lowercase letter first, then lowercase letters, digits and underscores, at most 63 characters. - Reserved words. PostgreSQL reserved words are refused, including
user,group,order,unique,table,select,defaultandcheck. Useuser_id,group_idand similar instead. - Platform-reserved record keys.
id,data,displayandvaluesare refused as names because they appear in the record envelope and storage. sys_prefix. Field names starting withsys_are reserved for the platform (system fields). Table names may start withsys_; the platform's own tables use it.- Table attribute keys must be snake_case identifiers as well.
- Form and list names are lowercase slugs: letters, digits,
_and-.
The API routes add a coarse pattern ([a-z][a-z0-9_]{0,79} for tables and fields) only to keep malformed values out of the controllers; the dictionary lookup is the real check, and an unknown name answers unknown_table (404) or an "Unknown field" problem.
{
"type": "about:blank",
"title": "Invalid metadata.",
"status": 422,
"detail": "Field name is a reserved word.",
"code": "metadata_invalid",
"requestId": "…"
}
Field types
Field types implement App\Platform\Metadata\FieldTypes\FieldType and are registered in FieldTypeRegistry. A type validates its own attributes, coerces client values, declares its filter operators and comparison kind (text, numeric, boolean), and maps itself to the frontend field type and list column. Unknown types and unknown attributes are rejected with metadata_invalid. Ten types are registered:
| Type | Attributes | Stored value and limits | Operators | Form type | List column defaults |
|---|---|---|---|---|---|
string | format (email, url, phone, id), pattern, placeholder | String; max_length default 255, at most 4000 | eq, neq, contains, startsWith, in, isEmpty, isNotEmpty | text, email, url, phone or id | sortable; renderer id when format is id; filter text |
text | placeholder, rows (1 to 40) | String; max_length default and maximum 65535 | eq, neq, contains, startsWith, isEmpty, isNotEmpty | textarea | sortable; filter text |
integer | min, max | JSON number (64-bit range) | eq, neq, lt, lte, gt, gte, in, isEmpty, isNotEmpty | number | sortable; filter text |
decimal | scale (0 to 6, default 2), min, max | JSON number rounded to scale | eq, neq, lt, lte, gt, gte, isEmpty, isNotEmpty | number | sortable; filter text |
boolean | control (checkbox, switch), inline_label | Boolean | eq, neq, isEmpty, isNotEmpty | checkbox or switch | sortable; renderer boolean; filter boolean |
date | none | YYYY-MM-DD | eq, neq, lt, lte, gt, gte, isEmpty, isNotEmpty | date | sortable; filter text |
datetime | renderer (datetime, relative-time) | UTC YYYY-MM-DDTHH:MM:SS.mmmZ | eq, neq, lt, lte, gt, gte, isEmpty, isNotEmpty | datetime | sortable; renderer datetime or relative-time; filter text |
choice | renderer (status, priority), control (select, radio) | Choice value string; must be an active choice | eq, neq, in, isEmpty, isNotEmpty | select | sortable; renderer from renderer; filter select with filterOptions from active choices |
reference | target table (reference_table), on_delete (restrict, set_null) | Target record UUID | eq, neq, in, isEmpty, isNotEmpty | reference | not sortable; renderer reference; no filter |
json | none | Object or array; at most 65535 bytes encoded, nesting depth 32 when sent as a string | isEmpty, isNotEmpty | textarea | not sortable; no filter |
The list column defaults are served per field as column by GET /api/v1/meta/tables/{table}/fields (App\Platform\Metadata\Http\Resources\FieldResource). ListDefinitionRenderer applies the same mapping to layout columns, so the client can add any dictionary field as a personalised column without its own type table.
Further dictionary rules from MetadataWriter:
max_lengthexists only onstringandtext; a string field holds at most 4000 characters.searchableis allowed only onstringandtext.uniqueis refused onboolean,jsonandtext.- A
default_valueis coerced through the field type when it is saved; a default that later stops fitting the dictionary is ignored on create, never written. - Any field may carry
attributes.accesswithreadandwriterole lists. This is field-level access control, described in Access control.
Choices
A choice field needs at least one choice. Choices are sent inline with the field (choices: [{value, label, hint?, inactive?, sequence?, language?}]). Limits: value up to 100 characters, label up to 200, hint up to 400. A value may appear only once per list. sequence defaults to 10, 20, 30 in the order given and language to en. Inactive choices stay readable on existing records but a write with an inactive value fails validation. Choice lists are replaced as a whole on each save.
References and display values
A reference field stores the UUID of the target record. Clients may send either the id or an object with an id key. On write, RecordWriter checks that the target table exists, is not retired and contains the record. Because a query for a table covers its descendants, a reference to task accepts an incident, a problem or a change.
The display value of a record is the value of the table's display field (own or inherited), stored in display_value and cut to 255 characters. ReferenceResolver resolves display values for a page of records with one query per referenced table, never one per row. References appear on the wire as { "id": "…", "display": "…", "table": "sys_user" }; sys_created_by and sys_updated_by are resolved the same way.
on_delete decides what happens to referrers when the target is deleted: restrict (default) refuses the delete with 409 reference_in_use and the list of referrers; set_null clears the referring fields and audits each change.
Table inheritance
Inheritance is defined by ADR 0005 (see Decisions). A table may extend a parent whose is_extensible flag is set. Hierarchies are limited to five levels. Physical tables cannot be extended, and a child cannot choose its own storage: it shares the parent's. A child defaults to the parent's data class and audit flag. A table that has children stays extensible.
Effective schema
MetadataRepository::build computes the effective schema of a table: the fields of every ancestor (root first), then the table's own fields, with overrides applied downwards, then the system fields. Each FieldSchema reports declaredOn, inherited and overridden. Each TableSchema reports ancestors, descendants, classIds and numbering.
Three table properties are inherited from the nearest table in the chain that defines them:
- access: a child with
access = nulluses its parent's role lists; - display field;
- numbering (the
numberattribute).
Overrides
An inherited field is changed for one class and its descendants with an override, never by redeclaring it:
PUT /api/v1/admin/meta/tables/problem/overrides/short_description
Content-Type: application/json
{ "label": "Problem statement" }
In PHP the same call is MetadataWriter::overrideField($context, 'problem', 'short_description', ['label' => 'Problem statement']). The baseline uses overrides this way, and incident, problem and change_request each override the inherited state field with their own choice list and default value.An override can change label, mandatory, read_only, default_value and, for choice fields, the choice list. The per-class choice list is stored as sys_choice rows with table_id set; sending choices: [] removes the class's list so the inherited one applies again. Type, name, reference target and uniqueness cannot be overridden.
Overrides are configuration objects with their own versions, update set items and audit rows, under the package key <scope>/sys_field_override/<table>.<field>.
Dictionary rules that protect the hierarchy:
- a child cannot declare a field its ancestors already declare (the error says to override it);
- a parent cannot add a field that a descendant already declares;
- an inherited field is changed on the table that declares it;
- an override on the declaring table itself is refused.
Record semantics
- Creating through a table creates a record of that class.
- A query on a table covers the table and all descendants.
GET /api/v1/table/tasklists incidents, problems, change requests and change tasks. - Reading through a parent returns the parent's fields and reports the actual class in
class. Reading a parent record through a child answers 404. - Updating through a parent merges into the stored document, so the child's own fields survive.
- Uniqueness of an inherited field is checked across the whole hierarchy of the declaring table.
- Deleting a record checks reference fields that target its class or any ancestor.
- Audit rows carry the actual class as
record_tableand the hierarchy root asroot_table.
Layout inheritance
When a table has no form or list of the requested name, LayoutResolver uses the nearest ancestor's layout and renders it against the child's effective schema.
Numbering, composite uniqueness and adopted tables
The free-form sys_table.attributes object has three keys the engine interprets. They are validated by MetadataWriter.
Record numbering: number
{ "number": { "prefix": "INC", "digits": 7, "start": 10000 } }
prefix: 1 to 10 uppercase letters or digits, starting with a letter.digits: 3 to 12, default 7.start: a non-negative integer, default 10000.
When a table with numbering has a number field and a create leaves it empty, RecordWriter fills it inside the write transaction (INC0010001, then INC0010002). RecordNumbering locks the counter row in sys_number_counter for update. The nearest table in the chain that defines number owns the counter, so child tables can have their own prefix and counter. The baseline number field is read-only for clients.
Composite uniqueness: unique_together
{ "unique_together": [["user_id", "group_id"]] }
Each combination lists at least two valid field names. RecordWriter checks the combination through the storage driver on create, and on update when one of its fields changes. Empty values skip the check. Relationship tables use it: group membership, group role grants, user role grants and CI relationships.
System-managed tables: managed_by
managed_by is metadata or system. It marks an adopted platform table (dictionary, versions, update sets, audit, logs) as read-only through the Table API for everyone, administrators included. Such rows change only through MetadataWriter or the owning service. An adopted managed_by table needs only an id column; a writable adopted table also needs sys_version, sys_created_at and sys_updated_at.
The record store
ADR 0004 decided an interim storage model: metadata is storage-agnostic and sys_table.storage chooses a driver.
| Storage | Where rows live | Used for |
|---|---|---|
jsonb (default) | The shared table sys_record: id, table_id, sys_class_name, data (JSONB keyed by field name), display_value, system columns | Every table created through the API, all hierarchies (task, CMDB) |
physical | An existing migrated table named in physical_table; fields map to its columns | Adopting platform tables such as sys_user, sys_role, sys_user_role and the system tables |
The platform does not create database tables from metadata yet. A physical table must exist before it is adopted, and a physical table's fields must match existing columns.
sys_record has indexes on (table_id, sys_updated_at) and (table_id, display_value). On PostgreSQL it also has a GIN index on data with jsonb_path_ops, which helps containment queries, not range filters or sorts.
Storage drivers
The drivers live in App\Platform\Records\Storage: StorageDriver (interface), AbstractStorage, JsonbStorage, PhysicalStorage and StorageDrivers (selects the driver for a table). They are the only place that builds query expressions.
JsonbStoragefilterstable_id IN (classIds)and builds typed JSON path expressions:("sys_record"."data"->>'f')::numericor::booleanon PostgreSQL,CAST(json_extract(...) AS REAL)on SQLite. It re-checks each name against the identifier grammar before building the expression. Values are always bound parameters. An update merges into the stored document.PhysicalStoragemaps fields to real columns, omits nulls on insert so database defaults apply, and filters onsys_class_namewhen the adopted table is part of a hierarchy and has that column.contains,startsWithand the search use case-insensitiveLIKEwith wildcards escaped.
sys_user is adopted as a physical table. Its profile columns are dictionary fields. password, remember_token and external_id are deliberately absent from the dictionary and change only through the authentication flows. The Eloquent User model and the Table API work on the same rows; there is no second user table.
Reading records: RecordQuery
App\Platform\Records\Query\RecordQuery is the only read path. It validates every field, operator and value against the dictionary before the storage driver sees them. The HTTP form is parsed by ListRequest:
GET /api/v1/table/incident?page=1&pageSize=25&sort=priority:asc,-sys_created_at&match=and&search=printer&list=default&filters=[{"field":"state","operator":"in","value":["1","2"]}]
| Parameter | Rules |
|---|---|
page | Integer 1 to 100000, default 1. |
pageSize | Integer 1 to 500; default from the list layout, else 25. |
sort | Comma-separated field:asc|desc, or -field for descending; at most 4. Reference and JSON fields cannot be sorted. |
filters | JSON array of {field, operator, value}; at most 32 conditions. The operator must be one the field type supports. in takes 1 to 100 values; contains and startsWith need non-empty text; isEmpty and isNotEmpty take no value. Values are coerced through the field type. |
match | and (default) or or, how the filters combine. Search applies on top. |
search | Up to 200 characters. Searches the list's search_fields (string and text only), else the table's searchable fields, else the display field. |
list | The list layout whose defaults (sort, search fields) apply. |
Without an explicit sort the list's default_sort applies, else sys_created_at descending. id is always appended as a tiebreaker so paging is stable. A default sort on a field the caller cannot see is skipped quietly; an explicit sort on it fails like any unknown field. Invalid requests answer 400 invalid_query. The result is a PageResult { items, total, page, pageSize }.
Encoded queries. The SPA keeps a list's filters in the URL as an encoded query (active=true^short_descriptionCONTAINSprinter, ^OR for any-match). This string exists only on the client: it is decoded against the dictionary in frontend/src/records/encodedQuery.ts and sent to the Table API as structured filters and match. The backend never parses it. See List & Form.
Writing records: RecordWriter
App\Platform\Records\RecordWriter is the only write path. It works against the full effective schema of the table, so a mandatory field the caller cannot see is still validated. On create, update and delete it does the following, in this order:
- Input checks. Unknown fields, and fields the caller may not read, are reported as "Unknown field". System fields are refused ("managed by the platform"). Read-only fields, and fields the caller may not write, are refused as read-only. Deprecated or retired fields refuse values. Writes reject; they never silently drop a field.
- Coercion. Each value passes its field type's
coerce. Empty strings and empty arrays becomenull. - Defaults. On create, fields that were not sent get their (possibly overridden) default value.
- Mandatory. Empty mandatory fields fail. The
numberfield is exempt when numbering will fill it. - References. Each reference must point to an existing record of an available table.
- Uniqueness.
uniquefields across the declaring table's hierarchy, thenunique_togethercombinations. - Optimistic locking. An update with
expectedVersionthat does not match answers 409conflictwithcurrentVersion. - Transaction. Number assignment, the storage write, the update set capture for configuration tables and the field-level audit rows run in one database transaction.
All validation errors of one write are collected and returned together as 422 validation_failed with per-field errors. An update that changes nothing writes nothing. Each write increments the record's sys_version.
A caller may supply a record id on create (the XML import does this to keep ids). It must be a UUID that no row of the hierarchy root uses yet.
Records of tables whose data class is configuration or environment and that are not system-managed are versioned and captured into the current update set by RecordCapture. App\Platform\Metadata\ConfigurationCatalog is the only place that decides this. In the baseline that covers sys_property, cmdb_rel_type, sys_role and sys_group_has_role. See Update sets.
{
"id": "0192f1a2-…", "table": "asset", "class": "asset", "version": 2, "display": "AST00001",
"createdAt": "2026-10-10T14:10:14+00:00", "updatedAt": "…",
"createdBy": { "id": "…", "display": "emily.carter", "table": "sys_user" },
"values": {
"asset_tag": "AST00001", "state": "in_use", "purchase_cost": 1450.5,
"assigned_to": { "id": "…", "display": "emily.carter", "table": "sys_user" },
"specifications": { "cpu": "8-core" }
}
}
MetadataWriter, versions, audit and the cache
MetadataWriter
App\Platform\Metadata\MetadataWriter is the only write path for the dictionary. Its public operations are ensureScope, createTable, updateTable, createField, updateField, overrideField, saveForm, saveList and restore. Each validates the input (identifier grammar, field type attributes, inheritance rules, layout fields and operators, role names in access lists), writes inside a transaction, records a configuration version, captures it into the update set, writes an audit row and invalidates the metadata cache.
The administration API is admin-only:
| Method and path | Purpose |
|---|---|
POST /api/v1/admin/meta/tables, PATCH …/tables/{table} | Register or change a table |
POST …/tables/{table}/fields, PATCH …/fields/{field} | Add or change a field, choices inline |
PUT …/tables/{table}/overrides/{field} | Override an inherited field |
PUT …/tables/{table}/forms/{form}, PUT …/lists/{list} | Save a layout; returns the rendered definition |
GET /api/v1/admin/config/versions?objectTable&objectId, POST …/versions/{id}/restore | Version history; restore writes a new version |
Metadata is never deleted. Tables and fields are retired through status, forms and lists are deactivated, overrides are reset by clearing their attributes. Retired tables answer 404 unknown_table like missing ones.
Configuration versions
Every configuration object has a package_key such as global/sys_table/asset, global/sys_field/asset.state or global/sys_ui_list/asset.default, and a content_hash: the SHA-256 of its canonical JSON. Each write appends a row to sys_config_version with object_table, object_id, package_key, version_number, operation (create, update, delete, restore), payload, content_hash, base_version_id, change_set_id, actor_id and source. Restore is supported for tables, fields, overrides, forms and lists; it writes a new version with operation restore rather than rewriting history.
Shipped objects use DeterministicId::forKey(package_key), a UUIDv5, so two fresh installations produce identical ids and hashes. Runtime objects use UUIDv7.
Audit
AuditWriter writes field-level rows to sys_audit inside the same transaction as the change: record_table, root_table, record_id, operation, field_name, old_value, new_value, user_id, transaction_id, source, change_set_id, config_version_id, data_class, actor_kind and a small client object (request id, truncated user agent, token id). Record writes are audited when the table's audited flag is set (the default). Metadata writes are always audited with data class configuration. sys_audit is readable by administrators through the generic list at /sys_audit/list and cannot be changed through the API.
Metadata cache
MetadataRepository caches table definitions forever in the configured cache store (Redis in the Docker stack). Keys include a version number read from meta:version; every MetadataWriter write bumps it, so every process sees new definitions on its next lookup. Misses are not cached. After the database is reset underneath a running cache (for example migrate:fresh), clear it or re-seed (the seeder invalidates it too):
docker compose exec api php artisan platform:meta:cache-clear
Seeders and the shipped baseline
php artisan db:seed runs RoleSeeder, then PlatformMetadataSeeder, then creates the first administrator from the PLATFORM_ADMIN_* variables, and in local environments only runs DemoDataSeeder.
docker compose exec api php artisan migrate --force
docker compose exec api php artisan db:seed
PlatformMetadataSeeder invalidates the metadata cache and runs the family seeders in backend/database/seeders/Platform/, in dependency order. They all extend MetadataSeeder, which guarantees three things:
- Deterministic ids from the package key, so fresh installs are identical.
- Additive and idempotent: a table, field, override, form or list that exists is never changed, so instance customisations survive a re-seed. The flip side: an upgraded instance keeps its old default layouts.
- Normal write paths: all writes go through
MetadataWriterandRecordWriter, so shipped metadata is versioned and audited like any other.
Every baseline table and field is traceable to a documented provenance analysis in the repository, with a mark for verified, community-sourced, DevCraft decision or unknown. Items whose status is unclear are not shipped.
| Seeder | Tables |
|---|---|
IdentitySeeder | location, cmn_department, sys_user (physical), sys_role and sys_user_role (physical, adopted), sys_user_group, sys_user_grmember, sys_group_has_role |
AssetSeeder | asset (DevCraft example table) |
CmdbSeeder | cmdb_ci (extensible) with cmdb_ci_hardware → cmdb_ci_computer → cmdb_ci_server, and cmdb_ci_service; cmdb_rel_type with its relationship types as records; cmdb_rel_ci (unique per parent, child and type) |
TaskSeeder | task (extensible, prefix TASK) with incident (INC), problem (PRB), change_request (CHG) and change_task (CTASK); per-class state overrides |
SystemTablesSeeder | Read-only adoption (managed_by) of sys_scope, sys_table, sys_field, sys_choice, sys_field_override, sys_ui_form, sys_ui_list (metadata) and sys_change_set, sys_config_version, sys_change_set_item, sys_audit, syslog, sys_retrieved_update_set (system); the admin-only physical table sys_remote_instance; the writable sys_property table with the platform properties |
The shipped properties are platform.instance.name, platform.ui.list.page_size, platform.ui.date_format, platform.ui.datetime_format, platform.system.timezone and platform.security.lockout_attempts. Each shipped table has a default form and list, except where a child inherits its parent's layout.
The platform roles from RoleSeeder are admin, security_admin (flagged elevated), platform_user, itil and user_admin. Their use is described in Access control.
DemoDataSeeder writes fictional people, departments, groups, locations, assets, CIs, a problem, a change with tasks and incidents through RecordWriter, so references, numbering, validation and audit are exercised. Demo data is kept apart from platform metadata and uses reserved example domains only.
Limitations and the schema synchronizer
The engine is complete for what it does, but several parts of the target architecture are deliberately deferred.
| Area | Today | Status |
|---|---|---|
| Physical schema | JSONB store shared by all classes of a hierarchy; adopted physical tables for platform tables only; no DDL from metadata | Planned schema synchronizer |
| Indexes and constraints | No per-field indexes, no database foreign keys or unique constraints on JSONB tables | Planned with physical tables |
| Inheritance | Logical inheritance with overrides, numbering and layouts; physical tables cannot be extended; no reclassification | Partial |
| Field types | Ten types | Planned journal and list first |
| Access control | Table roles, field read and write roles, group roles | Partial, see Access control |
| Business rules | No rules engine; for example priority is not derived from impact and urgency, and incident_state is not kept in step with state | Planned rules engine on record events |
| Metadata deletion | Retire and deactivate only | Planned explicit destructive command with export |
| Lists | One view per list; default_filter client-side; no related lists; no dot-walk | Planned |
| Search | Case-insensitive LIKE | Planned trigram and full-text |