calendar: give Advent's ordinary ferias their own precedence tier
Deploy / deploy (push) Successful in 44s

Found while starting the December sanctoral pull: Advent's plain
(non-Ember) weekday ferias have real standing in the live Monastic 1617
engine that the existing ordinary-feria category couldn't represent --
a Simplex saint (St. Bibiana, Dec 2) is merely commemorated there rather
than winning outright, while a Semiduplex+ saint (St. Nicholas, Dec 6)
wins with the feria itself commemorated back. Adds a third, weaker
privileged-feria-minor tier (Semiduplex+ threshold, vs. privileged-
feria's Duplex+) rather than reusing either existing tier, mirroring how
privileged-feria/privileged-feria-major were split in March. Lent's own
ordinary ferias likely share this property but are left as-is, unverified
this session.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-11 06:23:35 -04:00
parent 7cc6adfb55
commit 08f94823f7
6 changed files with 59 additions and 3 deletions
+5 -2
View File
@@ -73,7 +73,10 @@ describe('November sanctoral pull (first pass)', () => {
]);
});
it('St. Andrew wins outright at Duplex II. classis with a real proper collect and antiphon, alone', () => {
it('St. Andrew wins outright at Duplex II. classis with a real proper collect and antiphon, commemorating the Advent feria itself in years his fixed date falls within Advent', () => {
// 2026-11-30 is also the Monday within Advent I's own week that year
// (privileged-feria-minor, see calendar/types.ts) -- the Advent feria
// is commemorated back, confirmed against the live reference engine.
const day = resolveDay('2026-11-30');
expect(day.winner).toEqual({
kind: 'sanctoral',
@@ -81,7 +84,7 @@ describe('November sanctoral pull (first pass)', () => {
name: 'St. Andrew, Apostle',
rank: 'duplex-2-classis',
});
expect(day.commemorations).toEqual([]);
expect(day.commemorations).toEqual([{ kind: 'temporal', id: 'advent-1' }]);
expect(getDayCollect(day).status.en).toBe('verified');
});
});