whispervibecode.com · Questions & Answers

I want to describe our purchase approval process by voice. How do I make sure the app knows who can approve a request?

Describe the approval decision as a set of explicit rules, then ask the AI to repeat them back before building. Do not assume it understands what a manager or an approval means in your business.

In your voice instructions, cover who can submit a request, who can approve or reject it, and what happens when the usual approver is unavailable. Say whether the requester may approve their own request and whether different amounts or purchase types need different approvers. If a rule is undecided, identify it as an open decision rather than letting the AI invent an answer.

Next, ask for a written decision table and examples. Include a normal approval, a rejection, a self-approval attempt, and a request with no available approver. Review the expected result for each with the person responsible for the process.

Vibe Coding by Gene Kim and Steve Yegge describes a division of work in which people provide direction and verify what AI produces. Here, that means you own the approval policy while the AI helps implement it.

Test with fictional accounts assigned to each role. Check that an unauthorized person cannot approve by changing a link or using another screen, not just that the approval button is hidden. For a consequential purchasing workflow, have a qualified developer review authorization before relying on it with real transactions.

Category: Voice-driven building

← All questions