I am reading Shurygin's survey "Smooth Manifolds over Local Algebras and Weil Bundles" (Journal of Math. Sciences, Vol. 108, No. 2, 2002) and it mentions the following basic fact which I don't quite understand:

Let $A$ be an $n$-dimensional commutative associative unital local $\mathbb{R}$-algebra with max. ideal $\mathfrak{m}$ such that $A/\mathfrak{m}=\mathbb{R}$. Then $A$ has a Jordan-Hölder series $A\supset\mathfrak{m}=:A_1\supset A_2\supset\dots\supset A_{n−1}\supset A_n:=0$

such that $A_i/A_{i+1}$ are $1$-dimensional algebras with zero multiplication.

Certainly, a composition series of length $n$ of $\mathbb{R}$-vector subspaces exists, but it is not immediately obvious to me how one arranges for the additional condition to hold. The only reference he gives for this fact is Pierce's book "Associative Algebras", where the author only treats Jordan-Hölder for (sub)modules without any special additional multiplicative structure from what I can tell. Hence my question is:

How do we obtain the existence of such Jordan-Hölder series with the above additional property?

In particular, it seems that implicitly $A_i$ are meant to be $\mathbb{R}$-subalgebras (without unit) and $A_{i+1}$ an ideal of $A_i$. On the other hand, not all $A_i$ are necessarily ideals of $A$ since in general the length of $A$ as an $A$-module need not equal $\dim_{\mathbb{R}}A$. Or perhaps $A_i$ are only vector spaces such that the quotient vector space $A_i/A_{i+1}$ still "magically" inherits multiplication from $A$? Or am I missing something entirely obvious? Thanks!