This commit is contained in:
2026-08-12 06:16:00 +08:00
parent a672f37fae
commit 42392bbb7e
10 changed files with 246 additions and 10 deletions
+6
View File
@@ -226,6 +226,12 @@ Do not give a read-only stored field a mutex. A computed read uses synchronizati
A Property Descriptor has one metadata store. Its entries are either Attributes or Constraints.
An `Object_Schema` may additionally contain type-level Attributes supplied through
`type_metadata(...)`. This is the single metadata store for facts about the described type;
it is deliberately separate from property metadata and from inheritable property defaults.
Core applies the same Attribute protocol and category uniqueness rules without interpreting
extension-owned type semantics.
Core and extensions share one Attribute mechanism for descriptive metadata. An Attribute owns a category and declares whether it is single-valued and inheritable. Constraints use the validation protocol but live in the same descriptor metadata store.
Core must not create parallel metadata storage systems for UI, serialization, diagnostics or domain-specific features.