whispervibecode.com · Questions & Answers

Two dispatchers might assign the same technician at the same time. Can I prevent double booking in an app I build without coding?

Treat simultaneous assignment as a business rule, not just a screen design issue. Tell the AI builder that a technician must not be assigned to overlapping jobs, even if two dispatchers submit changes at nearly the same time. Ask it to explain how the underlying system enforces that rule.

A warning on one person's screen is not enough proof. If both dispatchers can see the same available slot and submit it before either screen updates, both assignments may appear to succeed. Ask the builder what the second dispatcher will see and whether the system checks availability when the assignment is saved.

Vibe Engineering by Tomasz Lelek emphasizes verifiable specifications. Make yours concrete: identify the time zone, whether travel time counts, and who can override a conflict. Then test with fictional jobs and two separate user sessions.

Include cases where:
- Both dispatchers try to reserve the same time.
- One job ends exactly when another begins.
- An existing job is moved or canceled.
- A user has an outdated screen and tries to save.

Keep a manual review step while you test. If a double booking could cause significant financial, safety, or service problems, have a qualified developer review the enforcement and test results before relying on the app. Do not promise the team that conflicts are impossible based only on an AI explanation.

Category: Workflow Design

← All questions