Add Ember-day mechanism (privileged feria, not a rank contest) + real content
Deploy / deploy (push) Successful in 1m17s

Researched whether September/Advent Ember days belong in the
movable-feasts.ts table alongside Christ the King/Immaculate Heart of
Mary. Live-verified against the reference engine they don't: Ember days
are privileged ferias (a saint can still win outright against them), not
named feasts contesting the day by rank.

Two smaller pieces instead: calendar/temporal.ts's septemberEmberDayOffset
(Sunday nearest Sept 14, same "nearest" arithmetic adventStart already
used, factored into a shared nearestSunday helper) feeds a new
resolveTemporalCategory check giving those 3 dates privileged-feria-minor
(live-verified correct); calendar/ember-days.ts's applyEmberDay relabels
the day's own temporal id to the Ember day's own (so its real content is
found) when the feria itself wins, or adds a commemoration when a saint
does. Advent Ember days needed no precedence change -- Advent's own
season default already covers them.

Found and fixed a real bug along the way: matins.ts's nocturnReadingIds
only ever pulled a commemorated *sanctoral* id's own readings, never a
commemorated *temporal* one's -- so a commemorated Ember day (the common
case) would never have surfaced its own content. Same root cause as the
day.winner.id gap the IHM relocation fixed earlier, just hiding in the
commemorations loop instead.

Authored all 6 days' real collect + 3 Matins readings each, transcribed
directly from the reference engine (September: Tempora/093-{3,5,6}.txt;
Advent: Tempora/Adv3-{3,5,6}.txt, whose lessons are themselves a
cross-reference to the Annunciation's own Common, followed and
transcribed from there). Kept as 3 separate readings per day rather than
the usual combine-into-one default, since each carries its own
genuinely distinct proper responsory.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZSAgRi4QE4XRTqVto93zA
This commit is contained in:
2026-08-22 07:27:52 -04:00
parent 879d4d607c
commit 9fb9cb5e24
19 changed files with 928 additions and 9 deletions
@@ -0,0 +1,88 @@
# Matins Nocturn content for Advent Ember Friday (Feria VI Quattuor
# Temporum Adventus) — read directly from
# web/www/horas/Latin/Tempora/Adv3-5.txt and English/Tempora/Adv3-5.txt.
# No Monastic-track override file exists for this day — confirms the
# Monastic 1617 track uses this same text.
#
# Lectio1's Gospel citation (Luke 1:39-47, the Visitation) is a bare
# incipit with no full pericope text given, so only the homily portion is
# authored, same convention as the September Ember days. Kept as 3
# separate readings, each with its own genuinely distinct proper
# responsory.
id: ember-advent-friday
readings:
- nocturn: 1
isGospel: false
source: "St. Ambrose, Bishop of Milan, Commentary on Luke, Book 2, on Luke 1:39-47"
text:
la: >-
Morále est ómnibus, ut qui fidem éxigunt, fidem ástruant. Et ídeo Angelus, cum abscóndita nuntiáret, ut
fidem astrúeret exémplo, senióris féminæ sterilísque concéptum Vírgini Maríæ nuntiávit: ut possíbile Deo
omne, quod ei placúerit, asséreret. Ubi audívit hoc María, non quasi incrédula de oráculo, nec quasi
incérta de núntio, nec quasi dúbitans de exémplo, sed quasi læta pro voto, religiósa pro offício, festína
pro gáudio, in montána perréxit. Quo enim jam Deo plena, nisi ad superióra cum festinatióne conténderet?
Nescit tarda molímina Sancti Spíritus grátia.
en: >-
When any one asketh another for credence, he is bound to give some reasonable ground. And so the Angel,
when he announced to Mary the counsel of God, gave, as a proof, the conception of Elizabeth, then aged and
barren, that Mary might perceive, by this example, that with God nothing is impossible. When the holy
Virgin had heard it, she arose and went to visit her cousin. She did not go to see if what she had heard
was true, because she did not believe God, or because she knew not who the messenger had been, or yet
because she doubted the fact adduced in proof. She went joyfully as one who hath received a mercy in
answer to his vow goeth to pay the same. She went with devotion, as a godly person goeth to execute a
religious duty. She went into the hill country in joyful haste. And is it not something that she went up
into the hills? God was already in her womb, and her feeling bore her continually upward. The grace of the
Holy Spirit knoweth no slow working.
responsory:
la: "Emítte Agnum, Dómine, Dominatórem terræ, * De Petra desérti ad montem fíliæ Sion.\nV. Osténde nobis, Dómine, misericórdiam tuam, et salutáre tuum da nobis.\nR. De Petra desérti ad montem fíliæ Sion."
en: "Send forth the Lamb, O Lord, the Ruler of the land; * From the rock in the wilderness unto the mount of the daughter of Zion.\nV. Show us thy mercy, O Lord, and grant us thy salvation.\nR. From the rock in the wilderness unto the mount of the daughter of Zion."
status: { la: verified, en: verified }
- nocturn: 2
isGospel: false
source: "St. Ambrose, Bishop of Milan, Commentary on Luke, Book 2, on Luke 1:39-47"
text:
la: >-
Díscite et vos, sanctæ mulíeres, sedulitátem, quam prægnántibus debeátis exhibére cognátis. Maríam, quæ
ante sola in íntimis penetrálibus versabátur, non a público virginitátis pudor, non ab stúdio aspéritas
móntium, non ab offício prolíxitas itíneris retardávit. In montána Virgo cum festinatióne, Virgo offícii
memor, injúriæ ímmemor, afféctu urgénte non sexu, relícta perréxit domo. Díscite, vírgines, non circumcursáre
per aliénas ædes, non demorári in platéis, non áliquos in público miscére sermónes. María in domo sera,
festína in público, mansit apud cognátam suam tribus ménsibus.
en: >-
Godly women will learn from the example of the Mother of God to take a tender care of their kinswomen who
are with child. In pursuance of this charity, Mary, who had hitherto remained alone at home, was not
deterred by her maidenly shyness from entering on a public journey; she faced for this end the hardships
of mountain travelling; and encountered with a sense of duty the weary length of the way. The Virgin left
her home, and went into the hill country with haste, unmindful of the trouble, and remembering only the
office to which her cousinly love prompted her, in spite of the delicacy of her sex. Maidens will learn
from her not to idle about from house to house, to loiter in the streets, nor to take part in
conversations in public. Mary, as she was hasteful to pass through the public roads, so was she slow again
to enter on them she abode with her cousin about three months.
responsory:
la: "Roráte, cæli, désuper, et nubes pluant justum: * Aperiátur terra, et gérminet Salvatórem.\nV. Emítte Agnum, Dómine, Dominatórem terræ, de Petra desérti ad montem fíliæ Sion.\nR. Aperiátur terra, et gérminet Salvatórem."
en: "Drop down, ye heavens, from above, and let the skies pour down the Righteous One. * Let the earth open, and let her bring forth the Saviour.\nV. Send forth the Lamb, O Lord, the Ruler of the land, from the rock in the wilderness unto the mount of the daughter of Zion.\nR. Let the earth open, and let her bring forth the Saviour."
status: { la: verified, en: verified }
- nocturn: 3
isGospel: false
source: "St. Ambrose, Bishop of Milan, Commentary on Luke, Book 2, on Luke 1:39-47"
text:
la: >-
Didicístis, vírgines, pudórem Maríæ: díscite humilitátem. Venit propínqua ad próximam, júnior ad seniórem:
nec solum venit, sed étiam prior salutávit. Decet enim, ut quanto cástior virgo, tanto humílior sit.
Nóverit deférre senióribus. Sit magístra humilitátis, in qua est proféssio castitátis. Est et causa
pietátis, est étiam norma doctrínæ. Contuéndum est enim, quia supérior venit ad inferiórem, ut inférior
adjuvétur: María ad Elísabeth, Christus ad Joánnem.
en: >-
As the modesty of Mary is a pattern for the imitation of all maidens, so also is her humility. She went to
see Elizabeth, like one cousin going to visit another, and as the younger to the elder. Not only did she
first go, but she first saluted Elizabeth. Now, the purer a virgin is, the humbler ought she to be. She
will know how to submit herself to her elders. She that professeth chastity ought to be a very mistress of
humility. Lowly-mindedness is at once the very ground in which devotion groweth, and the first and
principal rule of its teaching. In this act of the Virgin then we see the greater going to visit and to
succour the lesser: Mary to Elizabeth, Christ to John.
responsory:
la: "Germinavérunt campi erémi germen odóris Israël: quia ecce Deus noster cum virtúte véniet, * Et splendor ejus cum eo.\nV. Ex Sion spécies decóris ejus: Deus noster maniféste véniet.\nR. Et splendor ejus cum eo."
en: "The waste places have brought forth sweet-smelling buds for Israel; for, behold, our God will come with power. * And His brightness is with Him.\nV. Out of Zion the perfection of beauty, our God shall come manifestly.\nR. And His brightness is with Him."
status: { la: verified, en: verified }