You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(zarr-metadata): make every public type name parse against a naming grammar
Three grammars now cover the public surface, enforced by a conformance
test that walks every public module's __all__:
- core document/model names: ZarrV{2,3} + entity + optional role suffix
(JSON / JSONPartial / Partial / StoreKey)
- extension-entity names: registered entity + exactly one role suffix
(CodecMetadata, DataTypeName, FillValue, ...)
- a closed standalone-vocabulary allowlist for role-less scalar and
diagnostic types, with a staleness guard
The three .z-file document types were the only names that fit no grammar
and are renamed: ZArrayMetadata -> ZarrV2ZArrayJSON, ZGroupMetadata ->
ZarrV2ZGroupJSON, ZAttrsMetadata -> ZarrV2ZAttrsJSON. The leading V2 of
V2ChunkKeyEncodingMetadata is that encoding's registered entity name, not
a format version; its module docstring now says so.
Assisted-by: ClaudeCode:claude-fable-5
0 commit comments