From a finance question to a live app: my whole workflow
· By Govind Waghmare · 9 min read
- 7
- steps, question to live app
- 61
- tests gate the release
- 9
- failed runs, then fixed
- 15 of 76
- commits under my name
This is the whole path I follow when I build an AI app for finance, from the first question to a page people can open.
I use my public FP&A dashboard as the example because every claim about it can be checked in the open repo. Where I do the same thing at work, I say so in one paragraph and leave the details out.
Here are the seven steps. Click through them first, then read how each one went on a real build.
What question do I start with?
I start with a question that a finance team asks over and over. For the dashboard it was this: why did gross margin move against the prior year, and which filing says so?
A good starting question has three parts. A person asks it on a schedule. The answer lives in a system someone can name. A wrong answer is easy to spot. That third part matters most. If nobody can tell when the app is wrong, nobody can trust it when it is right.
At work the systems are SAP, NetSuite, TM1 and Workday. For the dashboard the system is SEC EDGAR, the public filing database.
The first commit in the repo is dated 2026-08-31 and says "Initial multi-company FP&A dashboard". The data refresh was in the second commit the same day. I wanted the loop closed on day one: data in, number out, source shown.
How do I plan before writing any code?
I write the plan down before an agent touches the code. I use my own tool for this, Graph Skill. It is on GitHub and npm as graph-skill, version 1.0.0.
A plan is a dependency graph. Each node is a piece of work. A node lists what it waits for and, if it has one, a check command. A small Python script reads the plan and refuses anything that breaks the rules.

The script enforces five things and leaves two to the host and the model.
What the Graph Skill script enforces
- EnforcedRejects a plan with unknown, self or cyclic dependencies.
- EnforcedWill not start a node while a dependency is unfinished.
- EnforcedWill not start a node that used all its attempts. The default cap is two retries.
- EnforcedWill not mark a node complete unless its check passes. The script runs the check itself.
- EnforcedWill not close a run as complete while nodes are open or the last quality run failed.
- Not enforcedThat the host runs ready nodes in parallel.
- Not enforcedThat the model does good work.

The script records and refuses. It cannot judge the work.
I put that section in the README because an earlier version claimed more than it did. I come back to that near the end.
Which model does which job?
A strong model designs. A coding model builds. A different model reviews. I wrote the routing as a table in my rules file, and the next note in this series covers it in full. The short version is that cheap, fast models do lookups and small edits, Sonnet writes code, Opus reviews risky changes, and Fable handles design and architecture.
The point of splitting the work is that the reviewer has not seen the builder's reasoning. It reads the change cold, the way a colleague would. For a routine change a reviewer on the same tier as the builder is enough. For a risky one I pay for the strongest reviewer.
I cannot give you a before and after cost figure for this. I moved routine reviews down a tier because Opus subagents had become a large share of my usage. I have not measured the saving.
When do I build in parallel?
I build in parallel when the pieces do not touch the same files. A scaffold comes first. After that, an API and a user interface can run side by side because each waits only for the scaffold.
I do not build in parallel when two agents would edit the same files. They overwrite each other, and the merge costs more than the time saved. The plan graph makes this visible. If two nodes depend on nothing in common but both list the same file, I add a dependency between them.
Be careful with the word "parallel". My script does not run anything in parallel. It only tells the host which nodes are ready. Running them side by side needs a host with subagents, and Claude Code has them.
How do answers get real data?
In the dashboard, the Ask AI box does not answer from the model's memory. A serverless function gives the model the selected company, the period, the tab and a set of filed evidence.
It hands over the results of fixed data tools, not the whole database. If the data is not there, the assistant says so. The Claude key stays on the server, so it never reaches the browser.
Every number on the page also carries a label. REAL means as filed. DERIVED means arithmetic on filed values. MODELED means an assumption. UNAVAILABLE means the source does not have it. The next note is about that rule.

At work the same idea applies on a bigger scale. My apps reach SAP, NetSuite, TM1 and Workday through REST APIs and MCP, with role-based access, and no app writes to a ledger without a human approving it. Note three in this series covers the door I built for that.
What stops a bad release?
Tests stop it. The dashboard has 61 automated tests, written with Node's built-in test runner. A GitHub Action rebuilds the data and runs the tests. It commits new data only if they pass.
Here is what that looked like when it broke. The refresh failed on nine runs in a row, from 2026-11-03 to 2026-11-11, and passed again on 2026-11-12.
9 failed runs, then green again
- passed 3
- failed 9
run 68run 79
View as table
| Run | Result |
|---|---|
| 68 | passed |
| 69 | passed |
| 70 | failed |
| 71 | failed |
| 72 | failed |
| 73 | failed |
| 74 | failed |
| 75 | failed |
| 76 | failed |
| 77 | failed |
| 78 | failed |
| 79 | passed |
Two things broke at once. The labor statistics source (BLS) started returning "-" for months it had not collected yet, and my parser crashed on it. Separately, Apple's FY26 10-K landed on 2026-11-03, which moved the quarter window, and three of my tests had that window typed in by hand. Four tests failed.
The tests caught both. The gate blocked every run, so nothing new was committed and the site kept showing data from 2026-11-02, the last green run. No bad data shipped.
I fixed it on 2026-11-12. The parser now keeps only numeric months. The tests work out the quarters from the data file, so the next 10-K will not break them. I skipped no tests. All 61 pass again, and the refresh ran clean the same day.

A gate that blocks is only half the job. The refresh sat broken for nine days before I fixed it, and the site data went stale in that time.
At work the rule is the same and the stakes are higher. For the lease question-and-answer app, every wrong answer becomes a test case. Nothing ships until the whole test set and the hallucination checks pass.
How do I check it like a user?
I open the page the way a user will. I check it on phone-sized screens, with JavaScript switched off, and with a cold cache so I do not see a stale copy. I also use the keyboard alone.
I do this because I once showed a mockup that only worked with scripts on. The person who saw it had scripts off and saw nothing. Now a key visual always needs a fallback that works without JavaScript.
When a UI needs fixing, I capture the real phone views first, audit them against the standard patterns for touch targets and contrast, then fix everything in one planned pass and capture again. Fixing one thing at a time costs more rounds and breaks something else.
How do I ship, and what happens when a merge does not deploy?
For the dashboard, the Vercel project is connected to Git, so the daily data commit triggers a deploy.
My other products are not so simple. On two of them, a merged pull request does not deploy. Vercel blocks git-triggered deploys for commits by my GitHub user. The permanent fix is a settings change that only I can make, and I have not made it yet. A pipeline change that would deploy from CI is written and parked.
So I deploy by hand from a clean export. I export the main branch with git archive into an empty folder, link it to the right project and run the Vercel CLI from there.
I do not deploy from my working folder. A working folder holds uncommitted files, and I want production to match what is in Git and nothing else.
I think this is worth doing even when the automatic path works. A deploy that you can reproduce from a commit is a deploy you can roll back.
What did I get wrong?
Three things, all visible in the public record.
Graph Skill itself
I reviewed my own tool and judged that most of the rules lived only in the prompt. The script was a ledger. It never ran the nodes, and parallel runs, cache skips and the retry cap were instructions to the model, not code. Only plan validation was enforced.
Version 1.0 moves order, check gates and the retry cap into the script, and it removes the cache, which I could not show was safe or saved anything.
Authorship
In the dashboard repo, git shows 15 commits under my name, 10 under Claude and 51 by the refresh bot. I specified the data rules and the tests and I review the output. An agent wrote part of the code. Anyone who reads the log can see that, so I say it here.
Nine days of a failing refresh
The gate held and no bad data shipped, but the refresh sat broken for nine days. I wrote a gate and then did not watch it.
Who made the 76 commits in the dashboard repo
- Under my name 15 of 76
- Under Claude 10 of 76
- Refresh bot 51 of 76
View as table
| Author | Commits |
|---|---|
| Under my name | 15 |
| Under Claude | 10 |
| Refresh bot | 51 |
What do I do at work?
The same seven steps, ending somewhere different. The last step is user acceptance testing with the finance team, then release tracking. I own the deployments, the data validation and the release record myself. I cannot share screenshots or details of those systems, so none appear here.
If you want to see the method applied to a finance app, read the case study on governed analytics and natural-language access, and the summary on the AI apps page.