Model liturgical colour as a typed enum #11
Labels
No labels
area: build
area: ci
area: compare
area: data
area: engine
area: model
area: provenance
area: rite
area: validation
backport
blocked
breaking
confirmed
dependencies
duplicate
epic
github_actions
invalid
needs-info
needs-triage
php
priority: high
priority: low
priority: medium
regression
type: bug
type: chore
type: correction
type: docs
type: enhancement
type: feature
type: fix
type: perf
type: refactor
type: security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Directorium/Core#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Offices carry a liturgical colour (white, red, green, violet, black, rose). The engine needs a typed colour rather than free strings to keep output consistent.
Design alignment (v0.1.0)
Colour is a per-edition attribute — and it attaches per celebration element (the principal and each commemoration may differ) — not part of the
ObservanceID. Rose is a flag on violet (Gaudete / Laetare), not a base value. Seedocs/design/observance-id-grammar.md.Acceptance criteria
roseAllowedis expressible as a flag on violetNotes
Treat the colour set as closed for the traditional editions.