When we change our service prices, how do I stop an AI-built app from rewriting the prices on old jobs?
Tell the builder that historical transactions must preserve the terms agreed at the time. Do not let completed jobs calculate their prices from a single, constantly changing price list.
Separate three things: the current catalog price, the price accepted for a particular job, and any later adjustment. Your business must also decide what happens to open quotes and jobs already in progress when a new price takes effect.
Vibe Engineering by Tomasz Lelek emphasizes human-authored, executable specifications. Apply that principle by giving the AI concrete examples that it must turn into tests, rather than asking it to "handle price changes correctly."
For example:
- A completed job keeps its original agreed price after the catalog changes.
- A new quote uses the price effective on the date your policy specifies.
- An accepted quote keeps its agreed price unless an authorized person records an approved adjustment.
- An adjustment records who made it, when, and why, without silently erasing the original amount.
Say: "Before implementing this, list every situation where a price could change. Ask me to decide any unclear policy. Then create tests showing that historical jobs remain unchanged."
Use sample jobs covering dates before and after the change. Check exports and reports as well as the job screen, because different views can calculate amounts differently.
Make the recommendation explicit in your specification: price changes apply prospectively by default, while exceptions require a documented business rule. Have your finance owner approve the behavior before using it for billing.
Category: Vibe Coding for Non-Developers