Short update:
The new repair mechanic is implemented and the new GUI is 75% done. It will also indicate the maintenance malus / repair time increase if certain items are not allowed for use as maintenance or repair material. Because there is still some work to do, the new "mending" recipes will be added in a later update.
Because it is now possible to set an individual replacement age for each machine type, I've added a new setting option: The "max operation age".
It is disabled by default, but can be enabled to determine the maximum age to which a machine type can operate. This is to prevent failure induced machine self destruction of very old machines (age >> 100%), if the player is only able to supply repair material, but no replacement. If this is enabled, a machine stops as soon as it reaches the specified age and will remain idle until replacement is provided.