registry: validate catalog updated date used as Nix aggregate version #209

Closed
opened 2026-09-08 02:03:14 +00:00 by nsaspy · 0 comments
Owner

Problem

plugins.json.updated is consumed as the generated zara-plugins aggregate package version, but the registry validator currently does not validate its type or shape. A malformed/missing value can therefore pass registry validation and fail or mis-version downstream Nix packaging.

Scope

  • require an exact canonical YYYY-MM-DD string
  • reject impossible calendar dates and surrounding whitespace
  • deterministic RED-first tests
  • no catalog migration if current metadata is valid
  • no Zara Core/runtime changes

Gate

Registry tests, compatibility, full nix flake check, generated package builds.

## Problem `plugins.json.updated` is consumed as the generated `zara-plugins` aggregate package version, but the registry validator currently does not validate its type or shape. A malformed/missing value can therefore pass registry validation and fail or mis-version downstream Nix packaging. ## Scope - require an exact canonical `YYYY-MM-DD` string - reject impossible calendar dates and surrounding whitespace - deterministic RED-first tests - no catalog migration if current metadata is valid - no Zara Core/runtime changes ## Gate Registry tests, compatibility, full `nix flake check`, generated package builds.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/zara-plugins#209
No description provided.