Frappe 'basic' bench commands ok but no Framework commands - how to restore latter?

‘bench build’ did not fix the problem as @sagar suggested here since that is a Framework command

Login doesn't work after install successful

Other similar case reports:

Bench start not working
Problem while starting setup?
Crashed bench custom app recovery - #5 by boomerion

After looking over the bench code, in the end I found to rerun ‘bench update’ a few more times resolved the ‘missing frappe commands’ problem.