TITLE: Krull-Schmidt Analogue for Complete / Graded Rings 
QUESTION [5 upvotes]: Over the ring $\mathbb{Z}$, all finitely-generated modules decompose uniquely as a direct sum of indecomposable submodules; that's the Krull-Schmidt theorem.
I'm given to understand that if a (commutative, Noetherian) ring $R$ is $\mathbb{N}$-graded over a field $k$ (and the degree zero part of $R$ is equal to $k$), then $R$ satisfies this same Krull-Schmidt condition. I'm told that the same holds if $R$ is a complete local ring over a field.
On the other hand, I can't find a good reference for either of these facts. (I can find references to the statements of both facts, but I dislike the notion of citing an unsupported assertion...) So: can anyone point me to a good proof of a Krull-Schmidt theorem for graded or complete local rings? Thanks!

REPLY [4 votes]: Self-advertisement alert: In Chapter 1 of my book with Roger Wiegand we give a complete proof for complete local rings.  It follows from a more general fact about additive categories in which every idempotent splits, that the key property is that endomorphism rings of indecomposable modules must be local (in the non-commutative sense).  We don't have much use for graded rings, so don't address them,