I did not charge for the initial consultation and analysis. For each change, we agreed on an hourly rate and an estimate of the work required in advance.
We reviewed the results regularly to confirm as early as possible that they matched the client's expectations. If a major issue arose outside the original estimate, we openly agreed on how to proceed.
Given the lack of tests and documentation, it was important to balance technical debt, the risks of making changes, and the benefits to the client. The goal was not a complete refactoring, but meaningful product development.
