The core structure of heter/chinuch is laid out in the Shulchan Arukh's ruling that beit din is not obligated to stop a minor from eating forbidden food or violating Shabbat, but a father is nevertheless commanded to rebuke him and separate him, even from rabbinic prohibitions, and may never feed him forbidden food directly (Shulchan Arukh, Orach Chayim 343), a ruling traced to Mishneh Torah, Sabbath 24:11 and Mishneh Torah, Forbidden Foods 17:27-28, and to the Tur's citation of the Rambam's formulation (Tur, Orach Chayim 343).
The Gemara in Yevamot 114a grounds the prohibition on an adult actively feeding a minor forbidden food in the derasha 'lo tochlum' read as 'lo ta'akhilum,' warning adults concerning minors, while making clear that beit din is not commanded to actively stop a child from eating on his own.
Later commentators sharpen the details of when chinuch obligations apply: Shulchan Arukh HaRav, Orach Chayim 343:2-3 states that the father's duty to rebuke and separate his child stems from the rabbinic command to train him even in positive mitzvot once he reaches the age of chinuch, and that beit din intervenes against a father who fails to separate his child from a Torah-level prohibition but not from a merely rabbinic one; Mishnah Berurah 343:2-4 elaborates the same distinction, noting the Vilna Gaon's explanation that for rabbinic prohibitions there are even cases where one may give the item to the child לכתחלה, such as washing and anointing on Yom Kippur; and Beit Yosef, Orach Chayim 343 works through the apparent contradiction in the Rambam's own formulations between Torah-level and rabbinic prohibitions.
Chayyei Adam 66:1-3 extends chinuch obligations even to a child who has not yet formally reached the age of chinuch but is merely בר הבנה, obligating both father and mother to separate him from prohibitions, including the rabbinic prohibitions of Shabbat, Yom Tov, and Chol HaMoed, while Keren Orah, Yevamot 114a discusses the Rashba's challenge to the Rambam's position and how it must be reconciled with cases involving a chaver's son and demai.
The age and scope of chinuch for affirmative mitzvot is defined elsewhere: Sukkah 42a sets gradations by a minor's developing competence — waving lulav, wearing tzitzit, guarding tefillin, learning Torah and Shema — and Mishneh Torah, Reading the Shema 4:1 applies this principle to teaching minors to recite Shema with its blessings in order to train them in mitzvot, while Kiddushin 30a situates the broader obligation to train and teach a child Torah within the verse 'Chanoch lana'ar al pi darko.'
Kitzur Shulchan Arukh 165:1-3 summarizes the father's general obligation to train his young children in all mitzvot, Biblical and rabbinic alike, according to each child's understanding, and to separate them from forbidden acts, using corporal correction only moderately.
Modern treatments apply these chinuch principles to specific cases: Rav Eliezer Melamed (Peninei Halakhah, Likkutim I 2:1) explains that the rabbinic chinuch obligation begins once a child reaches the age of understanding a mitzvah and how to perform it, singling out Torah study and the Pesach night retelling as the two mitzvot with independent Scriptural sources; Rav Mordechai Eliyahu (Shut HaRav HaRashi 14:63) addresses bringing young children to shul, distinguishing those who have not yet reached chinuch from those who have and should be trained to sit attentively and answer amen; and Rav Mordechai Eliyahu (Maamar Mordechai Hilchot Chanukah 5:40) discusses whether a child who has reached chinuch lights Chanukah candles with a brachah like any mitzvat chinuch.
Revavos Ephraim (Revavos Ephraim 2:16) surveys the dispute over whether chinuch requires a minor to perform a mitzvah with all the details required of an adult, drawing examples from lulav, tefillin, tzitzit, Chanukah candles, mourning, fasting, and korban Pesach, and also discusses the scope of parental responsibility for chinuch including Torah study for both sons and daughters.
Tzitz Eliezer (Tzitz Eliezer 19:41) cites the Chatam Sofer's view that the Sefer HaChinuch's prohibition even for commercial purposes is an isolated opinion, and permits the matter for Torah study and other mitzvah-related purposes, comparing it to exemptions granted for a milchemet mitzvah.
Several further sources sharpen particular corners of the chinuch discussion: Contemporary Halakhic Problems, Vol II, Part I, Chapter V Education distinguishes chinuch as practical training requiring performance identical to an adult's obligation from mere study of Torah knowledge; Kitzur Shulchan Arukh Yalkut Yosef, Orach Chaim 151:25 applies chinuch concerns to teaching young students secular subjects in a shul building; Sefer Chasidim 308 discusses tailoring a child's chinuch in learning to his individual aptitude; Sdei Chemed, Maarechet Chet 35 catalogues sources addressing whether chinuch applies to rabbinic-level mitzvot such as tefillah, Chanukah, and Megillah; Rav Mordechai Eliyahu (Shut HaRav HaRashi 37:18) raises the question of how a Torah-level prohibition can be overridden for a rabbinic chinuch obligation; Shaarei Halacha uMinhag 5:130 suggests the Rambam derives the duty to prevent a child's sin from the general mitzvah of chinuch itself rather than from a separate obligation for each prohibition; Nishmat Shabbat vol 1:540 records the Bach's view, also cited in the Arukh HaShulchan, that a child who has not yet reached the age of chinuch is not subject to the prohibition at all; Shaarei Halacha uMinhag, Yoreh Deah 84 advises teaching children Torah without compromise despite concern over excessive stringency; and the letters of Igros Kodesh letter 7956 and Igros Kodesh letter 1767 address the father's Torah-level obligation in a son's chinuch and the particular urgency of chinuch for daughters, respectively.