Model rank/class I–IV as a comparable enum #10
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#10
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
The traditional system ranks days as classes I through IV. Precedence and sorting need a single comparable type so the resolver can order observances deterministically.
Design alignment (v0.1.0)
Rank is a per-edition attribute (Layer 2 of the identity / edition / year model), not part of the
ObservanceID. The same subject can hold a different class across editions (e.g. 1954 vs 1962), so rank is resolved per edition and never encoded in the identity slug. Seedocs/design/observance-id-grammar.md.Acceptance criteria
Notes
Keep the type rubric-generic so later editions can remap legacy ranks (duplex / semidouble / simple → I–IV) at data-load time.