Rosh HaShana - Origins and Early Context

(כד) דַּבֵּ֛ר אֶל־בְּנֵ֥י יִשְׂרָאֵ֖ל לֵאמֹ֑ר בַּחֹ֨דֶשׁ הַשְּׁבִיעִ֜י בְּאֶחָ֣ד לַחֹ֗דֶשׁ יִהְיֶ֤ה לָכֶם֙ שַׁבָּת֔וֹן זִכְר֥וֹן תְּרוּעָ֖ה מִקְרָא־קֹֽדֶשׁ׃ (כה) כָּל־מְלֶ֥אכֶת עֲבֹדָ֖ה לֹ֣א תַעֲשׂ֑וּ וְהִקְרַבְתֶּ֥ם אִשֶּׁ֖ה לַה' (ס)

(24) Speak to the Israelite people thus: In the seventh month, on the first day of the month, you shall observe complete rest, a sacred occasion commemorated with loud blasts. (25) You shall not work at your occupations; and you shall bring an offering by fire to the LORD.

(א) בחדש השביעי. כי תחלת החשבון מניסן כי בו יצאנו ממצרים ועוד כי אביב השעורים תחלה ואחר כן בכורי קציר חטים ואחר כך באספך את מעשיך ואלה המועדים תלוים להיותם בימים הנזכרים:

(1) the seventh month The months are counted from Nisan, since that was when we left Egypt. Also, the barley ripening begins a new agricultural year, followed by “the first-fruits of the wheat harvest” [Exodus 34:22], and followed in turn by “when you gather your products” [Exodus 23:16]. Each of these festivals must be celebrated on its given day.

(א) יהיה לכם שבתון. פי' הרמב"ן שיהא יום שביתה לנוח בו אפי' מדברים שאינן מלאכה כגון למדוד תבואות או לשקול פירות או לפנות כלים או חפצים מבית לבית וכיוצא באלו שאין בהם איסור מלאכה אלא טורח אפילו על זה הזהירה תורה שיהי' יום שביתה ולא יום של טורח ועמל:

(1) יהיה לכם שבתון, “shall be a day of rest for you.” Nachmanides writes that this formula suggests that Rosh Hashanah is to be a day of rest for you in that you do not even perform some of the tasks that you do normally perform on the other festivals. For instance, if you were inclined to measure the size of the harvest you had brought in, not one of the 39 forbidden activities, you should not do this on Rosh Hashanah. Neither should you weigh fruit, etc. Avoidable physically tiring labour, should not be engaged in on that day.

" ...The Arba-ah Turim of Jacob ben Asher (1270(?)-1340), who in 1303 accompanied his father from their native Germany to Toledo, Spain. He felt that reasoning had become faulty, controversy had increased, opinions had multiplied, so that there was no halakic ruling which was free from differences of opinion, hence the need for a new code. Though he revered Maimonides and accepted his halakic authority, he found three difficulties with his classic code: it was too long, containing laws no longer applicable after the destruction of the Temple and outside of the Holy Land; it was overly theological; and it reflected the Sefardi tradition alone to the neglect of the Ashkenazi. Ben Asher based his code on Maimonides's, but its structure was existential, beginning with the laws one is to observe upon waking in the morning and presenting only laws applicable to life in the Diaspora."

http://www.jewishvirtuallibrary.org/the-turim-judaic-treasures

(א) וּבַחֹ֨דֶשׁ הַשְּׁבִיעִ֜י בְּאֶחָ֣ד לַחֹ֗דֶשׁ מִֽקְרָא־קֹ֙דֶשׁ֙ יִהְיֶ֣ה לָכֶ֔ם כָּל־מְלֶ֥אכֶת עֲבֹדָ֖ה לֹ֣א תַעֲשׂ֑וּ י֥וֹם תְּרוּעָ֖ה יִהְיֶ֥ה לָכֶֽם׃ (ב) וַעֲשִׂיתֶ֨ם עֹלָ֜ה לְרֵ֤יחַ נִיחֹ֙חַ֙ לַֽה' פַּ֧ר בֶּן־בָּקָ֛ר אֶחָ֖ד אַ֣יִל אֶחָ֑ד כְּבָשִׂ֧ים בְּנֵי־שָׁנָ֛ה שִׁבְעָ֖ה תְּמִימִֽם׃

(1) In the seventh month, on the first day of the month, you shall observe a sacred occasion: you shall not work at your occupations. You shall observe it as a day when the horn is sounded. (2) You shall present a burnt offering of pleasing odor to the LORD: one bull of the herd, one ram, and seven yearling lambs, without blemish.

(א) וַיֹּאמֶר ה' אֶל מֹשֶׁה וְאֶל אַהֲרֹן בְּאֶרֶץ מִצְרַיִם לֵאמֹר. (ב) הַחֹדֶשׁ הַזֶּה לָכֶם רֹאשׁ חֳדָשִׁים רִאשׁוֹן הוּא לָכֶם לְחָדְשֵׁי הַשָּׁנָה.

(1) And the LORD spoke unto Moses and Aaron in the land of Egypt, saying: (2) ’This month shall be unto you the beginning of months; it shall be the first month of the year to you.

(א) וַיֵּאָסְפ֤וּ כָל־הָעָם֙ כְּאִ֣ישׁ אֶחָ֔ד אֶל־הָ֣רְח֔וֹב אֲשֶׁ֖ר לִפְנֵ֣י שַֽׁעַר־הַמָּ֑יִם וַיֹּֽאמְרוּ֙ לְעֶזְרָ֣א הַסֹּפֵ֔ר לְהָבִ֗יא אֶת־סֵ֙פֶר֙ תּוֹרַ֣ת מֹשֶׁ֔ה אֲשֶׁר־צִוָּ֥ה ה' אֶת־יִשְׂרָאֵֽל׃ (ב) וַיָּבִ֣יא עֶזְרָ֣א הַ֠כֹּהֵן אֶֽת־הַתּוֹרָ֞ה לִפְנֵ֤י הַקָּהָל֙ מֵאִ֣ישׁ וְעַד־אִשָּׁ֔ה וְכֹ֖ל מֵבִ֣ין לִשְׁמֹ֑עַ בְּי֥וֹם אֶחָ֖ד לַחֹ֥דֶשׁ הַשְּׁבִיעִֽי׃ (ג) וַיִּקְרָא־בוֹ֩ לִפְנֵ֨י הָרְח֜וֹב אֲשֶׁ֣ר ׀ לִפְנֵ֣י שַֽׁעַר־הַמַּ֗יִם מִן־הָאוֹר֙ עַד־מַחֲצִ֣ית הַיּ֔וֹם נֶ֛גֶד הָאֲנָשִׁ֥ים וְהַנָּשִׁ֖ים וְהַמְּבִינִ֑ים וְאָזְנֵ֥י כָל־הָעָ֖ם אֶל־סֵ֥פֶר הַתּוֹרָֽה׃ (ד) וַֽיַּעֲמֹ֞ד עֶזְרָ֣א הַסֹּפֵ֗ר עַֽל־מִגְדַּל־עֵץ֮ אֲשֶׁ֣ר עָשׂ֣וּ לַדָּבָר֒... (ה) וַיִּפְתַּ֨ח עֶזְרָ֤א הַסֵּ֙פֶר֙ לְעֵינֵ֣י כָל־הָעָ֔ם כִּֽי־מֵעַ֥ל כָּל־הָעָ֖ם הָיָ֑ה וּכְפִתְח֖וֹ עָֽמְד֥וּ כָל־הָעָֽם׃ (ו) וַיְבָ֣רֶךְ עֶזְרָ֔א אֶת־ה' הָאֱלֹקִ֖ים הַגָּד֑וֹל וַיַּֽעֲנ֨וּ כָל־הָעָ֜ם אָמֵ֤ן ׀ אָמֵן֙ בְּמֹ֣עַל יְדֵיהֶ֔ם וַיִּקְּד֧וּ וַיִּשְׁתַּחֲוֻּ֛ לַה' אַפַּ֥יִם אָֽרְצָה׃...(ט) וַיֹּ֣אמֶר נְחֶמְיָ֣ה ה֣וּא הַתִּרְשָׁ֡תָא וְעֶזְרָ֣א הַכֹּהֵ֣ן ׀ הַסֹּפֵ֡ר וְהַלְוִיִּם֩ הַמְּבִינִ֨ים אֶת־הָעָ֜ם לְכָל־הָעָ֗ם הַיּ֤וֹם קָדֹֽשׁ־הוּא֙ לַה' אֱלֹקֵיכֶ֔ם אַל־תִּֽתְאַבְּל֖וּ וְאַל־תִּבְכּ֑וּ כִּ֤י בוֹכִים֙ כָּל־הָעָ֔ם כְּשָׁמְעָ֖ם אֶת־דִּבְרֵ֥י הַתּוֹרָֽה׃ (י) וַיֹּ֣אמֶר לָהֶ֡ם לְכוּ֩ אִכְל֨וּ מַשְׁמַנִּ֜ים וּשְׁת֣וּ מַֽמְתַקִּ֗ים וְשִׁלְח֤וּ מָנוֹת֙ לְאֵ֣ין נָכ֣וֹן ל֔וֹ כִּֽי־קָד֥וֹשׁ הַיּ֖וֹם לַאֲדֹנֵ֑ינוּ וְאַל־תֵּ֣עָצֵ֔בוּ כִּֽי־חֶדְוַ֥ת ה' הִ֥יא מָֽעֻזְּכֶֽם׃

(1) All the people gathered themselves together as one man into the broad place that was before the water gate; and they spoke unto Ezra the scribe to bring the book of the Law of Moses, which the LORD had commanded to Israel. (2) And Ezra the priest brought the Law before the congregation, both men and women, and all that could hear with understanding, upon the first day of the seventh month. (3) And he read therein before the broad place that was before the water gate from early morning until midday, in the presence of the men and the women, and of those that could understand; and the ears of all the people were attentive unto the book of the Law. (4) And Ezra the scribe stood upon a pulpit of wood, which they had made for the purpose; ... (5) And Ezra opened the book in the sight of all the people—for he was above all the people—and when he opened it, all the people stood up. (6) And Ezra blessed the LORD, the great God. And all the people answered: ‘Amen, Amen’, with the lifting up of their hands; and they bowed their heads, and fell down before the LORD with their faces to the ground...(9) And Nehemiah, who was the Tirshatha, and Ezra the priest the scribe, and the Levites that taught the people, said unto all the people: ‘This day is holy unto the LORD your God; mourn not, nor weep.’ For all the people wept, when they heard the words of the Law. (10) Then he said unto them: ‘Go your way, eat the fat, and drink the sweet, and send portions unto him for whom nothing is prepared; for this day is holy unto our Lord; neither be ye grieved; for the joy of the LORD is your strength.’

(א) ארבעה ראשי שנים הם: באחד בניסן ראש השנה למלכים ולרגלים. באחד באלול ראש השנה למעשר בהמה. רבי אלעזר ורבי שמעון אומרים: באחד בתשרי. באחד בתשרי ראש השנה לשנים ולשמטין וליובלות, לנטיעה ולירקות. באחד בשבט ראש השנה לאילן, כדברי בית שמאי. בית הלל אומרים: בחמשה עשר בו.

(1) The four new years are: On the first of Nisan, the new year for the kings and for the festivals; On the first of Elul, the new year for the tithing of animals; Rabbi Eliezer and Rabbi Shimon say, in the first of Tishrei. On the first of Tishrei, the new year for years, for the Sabbatical years and for the Jubilee years and for the planting and for the vegetables. On the first of Shevat, the new year for the trees, these are the words of the House of Shammai; The House of Hillel says, on the fifteenth thereof.

(ב) בארבעה פרקים העולם נדון: בפסח על התבואה, בעצרת על פרות האילן, בראש השנה כל באי העולם עוברין לפניו כבני מרון, שנאמר (תהלים לג) היוצר יחד לבם המבין אל כל מעשיהם, ובחג נדונין על המים.

(2) At four times the world is judged: On Pesach, for the crops. On Shavuot, for the fruits of the tree. On Rosh Hashnah, all the world passes before Him like sheep, as it says, "He that fashioneth the hearts of them all, that considereth all their doings." (Psalms 33:15) And on Sukkot, they are judged for the water.

בר"ה בטלה עבודה מאבותינו במצרים בניסן נגאלו בתשרי עתידין ליגאל

ר' יהושע אומר בניסן נברא העולם בניסן נולדו אבות בניסן מתו אבות בפסח נולד יצחק בר"ה נפקדה שרה רחל וחנה בר"ה יצא יוסף מבית האסורין בר"ה בטלה עבודה מאבותינו במצרים בניסן נגאלו בניסן עתידין ליגאל.

on Rosh HaShana our forefathers’ slavery in Egypt ceased; in Nisan the Jewish people were redeemed from Egypt; and in Tishrei in the future the Jewish people will be redeemed in the final redemption with the coming of the Messiah.

Rabbi Yehoshua disagrees and says: In Nisan the world was created; in Nisan the Patriarchs were born; in Nisan the Patriarchs died; on Passover Isaac was born; on Rosh HaShana Sarah, Rachel, and Hannah were remembered by God and conceived sons; on Rosh HaShana Joseph came out from prison; on Rosh HaShana our forefathers’ slavery in Egypt ceased; in Nisan the Jewish people were redeemed from Egypt; and in Nisan in the future the Jewish people will be redeemed in the final redemption.

א"ר כרוספדאי א"ר יוחנן שלשה ספרים נפתחין בר"ה אחד של רשעים גמורין ואחד של צדיקים גמורין ואחד של בינוניים צדיקים גמורין נכתבין ונחתמין לאלתר לחיים רשעים גמורין נכתבין ונחתמין לאלתר למיתה בינוניים תלויין ועומדין מר"ה ועד יוה"כ זכו נכתבין לחיים לא זכו נכתבין למיתה

The Gemara goes back to discuss the Day of Judgment. Rabbi Kruspedai said that Rabbi Yoḥanan said: Three books are opened on Rosh HaShana before the Holy One, Blessed be He: One of wholly wicked people, and one of wholly righteous people, and one of middling people whose good and bad deeds are equally balanced. Wholly righteous people are immediately written and sealed for life; wholly wicked people are immediately written and sealed for death; and middling people are left with their judgment suspended from Rosh HaShana until Yom Kippur, their fate remaining undecided. If they merit, through the good deeds and mitzvot that they perform during this period, they are written for life; if they do not so merit, they are written for death.

(א) מצות שופר בראש השנה - שנצטוינו לשמע קול שופר ביום ראשון של תשרי שהוא ראש השנה, וכדתנן במסכת ראש השנה (ב, א) באחד בתשרי ראש השנה לשנים, שנאמר (במדבר כט א) יום תרועה יהיה לכם, ואף על פי שאין כאן זכר לתרועה זו אם בשופר, או במצלתים, או בכל שאר כלי נגון מפי השמועה למדו זכרונם לברכה (ר''ה לג, ב) שהיא בשופר כמו שמצינו ביובל שנאמר בו (ויקרא כה ט) שופר.

(1) The commandment of shofar (horn) on Rosh Hashanah: That we were commanded to hear the sound of the shofar on the first day of Tishrei, which is Rosh Hashanah - and as we learn in Tractate Rosh Hashanah 2a, "On the first of Tishrei is the beginning of the year (rosh hashanah) for [calculating] years" - as it is stated (Numbers 29:1), "a day of blowing shall it be for you." And even though there is no mention of [how] this blast [should be done], if with a shofar, or with cymbals, or with any other musical instrument; they, may their memory be blessed, learned from [the oral tradition] (Rosh Hashanah 33b) that it is with a shofar, as we found with regard to the jubilee year, about which it states (Leviticus 25:9), "shofar."

Sefer HaChinuk

Composed in Middle-Age Spain (c.1255 - c.1285 CE). The Sefer ha-Hinukh (Book of Education), is a work which systematically discusses the 613 commandments of the Torah. It was published anonymously in 13th century Spain. The work's enumeration of the commandments is based upon Maimonides' system of counting as per his Sefer Hamitvot; each is listed according to its appearance in the weekly Torah portion and the work is structured correspondingly.
(Taken from Sefaria.org)

...וּכְשֵׁם שֶׁשּׁוֹקְלִין זְכֻיּוֹת אָדָם וַעֲוֹנוֹתָיו בִּשְׁעַת מִיתָתוֹ כָּךְ בְּכָל שָׁנָה וְשָׁנָה שׁוֹקְלִין עֲוֹנוֹת כָּל אֶחָד וְאֶחָד מִבָּאֵי הָעוֹלָם עִם זְכֻיּוֹתָיו, בְּיוֹם טוֹב שֶׁל רֹאשׁ הַשָּׁנָה. מִי שֶׁנִּמְצָא צַדִּיק נֶחְתָּם לְחַיִּים. וּמִי שֶׁנִּמְצָא רָשָׁע נֶחְתָּם לְמִיתָה. וְהַבֵּינוֹנִי תּוֹלִין אוֹתוֹ עַד יוֹם הַכִּפּוּרִים אִם עָשָׂה תְּשׁוּבָה נֶחְתָּם לְחַיִּים וְאִם לָאו נֶחְתָּם לְמִיתָה:

(3)...Now in the same way as merits and failings are balanced at the hour of death, so are also the wicked deeds of every one that exists in this world, balanced against his good ones, every year, on the festival of the new year’s day. He who is found to be a righteous man, is decreed to live, and he who is found to be a wicked man is decreed to die; again he who belongs to the intermediate class, his judgment is suspended until the day of atonement; if he repent, he is decreed to live, and if not, he is doomed to die.

(ד) אַף עַל פִּי שֶׁתְּקִיעַת שׁוֹפָר בְּרֹאשׁ הַשָּׁנָה גְּזֵרַת הַכָּתוּב רֶמֶז יֵשׁ בּוֹ כְּלוֹמַר עוּרוּ יְשֵׁנִים מִשְּׁנַתְכֶם וְנִרְדָּמִים הָקִיצוּ מִתַּרְדֵּמַתְכֶם וְחַפְּשׂוּ בְּמַעֲשֵׂיכֶם וְחִזְרוּ בִּתְשׁוּבָה וְזִכְרוּ בּוֹרַאֲכֶם. אֵלּוּ הַשּׁוֹכְחִים אֶת הָאֱמֶת בְּהַבְלֵי הַזְּמַן וְשׁוֹגִים כָּל שְׁנָתָם בְּהֶבֶל וָרִיק אֲשֶׁר לֹא יוֹעִיל וְלֹא יַצִּיל, הַבִּיטוּ לְנַפְשׁוֹתֵיכֶם וְהֵיטִיבוּ דַּרְכֵיכֶם וּמַעַלְלֵיכֶם וְיַעֲזֹב כָּל אֶחָד מִכֶּם דַּרְכּוֹ הָרָעָה וּמַחֲשַׁבְתּוֹ אֲשֶׁר לֹא טוֹבָה.

(4) Even though the blowing of the shofar on Rosh HaShanah is a Biblical decree, it hints at something, i.e., “Wake up, sleepers, from your sleep! And slumberers, arise from your slumber! Search your ways and return in teshuvah and remember your Creator! Those who forget the Truth amidst the futility of the moment and are infatuated all their years with vanity and nothingness that will not help and will not save, examine your souls and improve your ways and your motivations! Let each of you abandon his wicked ways, and his thoughts which are no good."