The Verdict: Clear Path
As the spouse of an Indonesian you do not need a retirement permit: a spouse stay permit has no age or income test and lets you work. Your Indonesian spouse applies for it online.
The spouse stay permit (visa index E31A) can be converted to a permanent stay permit (KITAP), and a 2025 track for spouses who intend to settle can grant a permanent permit with no end date after an interview by a government panel. Our Marriage quiz for Indonesia covers it, and also how a spouse can later become Indonesian.