A valuable system should strengthen the company, not create a dependency it cannot understand. The owner should know what the system does, how it performs, where it can fail and how it can change as the business changes.
The scope should name the workflow, the business owner, the inputs, the outputs, the success measure and the boundary. Ownership, licensing, access to data and what happens if the engagement ends should be written into the agreement before work starts.
The goal is not simply to deliver software. It is to leave the owner with a working capability, a clear view of its results, and a team that is more capable after the engagement.