Work I've done.From guesswork to known-good.
Real projects: the problem, what we did, and how it turned out.
Case studies
No going back: bringing AI safely into a family-run parts distributor
A family-run machine tools parts distributor cut a one-to-two-hour daily office chore to 20 minutes or less, for much less than a developer’s $5,000 to $7,000 quote, without replacing a single system.
Their early-2000s inventory system works fine, but it can’t talk to their new accounting system. Every day, someone exported the sales data, ran it through fragile Excel macros, and imported it for invoicing. An earlier attempt to fix it with AI had stalled, and the owners were nervous about AI to begin with.
What we did
- Started in Excel, where the work already lived. The Claude add-in for Excel made sense of the data and the macros, and it caught several defects before we changed a thing.
- Moved the logic into plain sight. With Claude Code, we turned most of the macro code into in-cell formulas that anyone can see and check.
- Cut the daily routine to two quick steps, with a built-in check and a short report on every run. Cut the time taken from 1 to 2 hours per day to 20 minutes or less.
The results
| Office time | Down from 1 to 2 hours a day to 20 minutes or less, about 170 to 420 hours a year back |
| Cost | Much less than the $5,000 to $7,000 quoted for a custom software bridge |
| First results | Within a few hours |
| Systems replaced | None |
| The owners | Learning to use AI safely themselves, and asking what it can take on next |
Why it worked
- Fix the bridge, keep the systems. No new software, no change to either system, no big project.
- AI proposes, people approve. Every change was reviewed, tested on copies and documented.
- An assistant, not a replacement. The goal was time back for people, so the owner who runs the office can finally step away from it more often.
Next: a direct link between the two systems, a better online ordering system, and more of the daily office grind handed to AI, one proven step at a time.
Does your team lose time every day moving data between systems? Let’s talk.
At a glance
A family-owned machine tool parts distributor was losing one to two hours of office time every day to a fragile Excel bridge between its inventory system and its new accounting system. Using the Claude add-in for Excel and Claude Code, we fixed the unstable macros, then replaced most of them and automated much of the the daily export and import. The owners were wary of AI. They now have a working example of it doing what it does best, and a plan for what comes next.
| Client | Family-owned (“mom and pop”) distributor of machine tool parts, selling mostly to engineering machine shops in the Pacific Northwest (name withheld) |
| Systems | An early-2000s warehouse stock and inventory system, and a recently upgraded accounting system |
| Presenting problem | The two systems can’t talk to each other. Sales data moved by daily file exports, Excel macros and imports, which was slow and error-prone, and the macros were often unstable. |
| Earlier AI attempt | AI was already helping with email, calendars and some marketing materials. An attempted AI integration project on their first AI subscription had stalled. |
| Engagement | Review the business process and both ends of the data path, deliver the most cost-effective fix first, plan the larger steps, and coach the owners along the way |
| Cost | Much less than the $5,000 to $7,000 that developers quoted for a custom software bridge, with results visible within a few hours |
| Results so far | Macro defects found and fixed before work began. Most macro code moved into in-cell formulas and formatting. Export, conversion and accounting import largely automated. Daily office work cut from one to two hours to 20 minutes or less. |
| Still to do | A direct link between inventory and accounting, a more capable online ordering system, AI help with daily office tasks, and better marketing plans built in-house |
The situation
The inventory system was never the problem. It dates from the early 2000s, it does what the business needs, and the staff know it well. The trouble was the gap between it and the accounting system they had recently upgraded. The two can’t exchange data directly, so every day the sales data took the long way round:
- Export the day’s sales from the inventory system to a file.
- Open the file in Excel and run a chain of complex macros to reshape it for accounting.
- Check the result, and when a macro failed, work out why and run it again.
- Import the converted file into the accounting system so invoices could go out.
Every step was manual, and every step was a chance for error. The macros had grown complicated over time and were often unstable. Many days the whole routine cost the office one to two hours.
The stalled AI project. The owners’ grandson had already got them started with AI, and it was earning its keep on email, calendars and some marketing. Using AI to fix the data bridge had gone nowhere, though. The AI subscription they had chosen wasn’t a good fit for what they hoped to achieve, and the project was stuck.
Cautious owners. Like many small business owners, they had heard the AI horror stories. AI would have to prove itself here, as help for their people and not as a replacement for them.
The approach: start where the work already lives
Before recommending anything, I looked at the business process and at both ends of the data path. The fastest, most cost-effective start was to leave both systems alone and fix the bridge between them, in Excel, where the logic already lived and the staff already worked.
A switch, with a promise. We moved the integration work to Claude on one condition: if Claude couldn’t deliver, they would switch back. As it turned out, there was no going back.
- Let the AI read before it writes. In my experience the Claude add-in for Excel is easy to use and very capable. Working inside the workbook, it made sense of both the sales data and the macros.
- Fix what was broken first. During that analysis, Claude found problems in the macros and proposed several code fixes before we had changed anything else.
- Analyze the macro code in depth. A Claude Code analysis mapped what the macros actually did, step by step, so nothing would be lost in the move.
- Move the logic into the sheet. We converted as much of the macro code as possible into in-cell formulas and formatting. Logic in cells is visible and easy to check, and there is far less macro code left to break.
- Automate the whole run. The export, the conversion and the accounting import now run as two short fast step, with almost no hand-off delays between steps.
Why Excel first? It needed no new systems and no change to either application, the staff already knew it, and it removed the daily pain quickly. The direct link between the two systems is still the long-term goal. This step earned the trust to go after it.
Results
The daily routine went from one to two hours to 20 minutes or less. That’s roughly 40 to 100 minutes back each day, or about 170 to 420 hours a year over a five-day week, now available for customers and more interesting work.
Three manual hand-offs became two simple tasks. Neither system changed, and a direct link between them is the next step.
| What changed | Before | Now |
|---|---|---|
| Daily sales transfer | Manual export, macro run, checks and import | One Export run, a builtin AI Assisted check and validate step. One import run and a short processing report to track what happened. |
| Conversion logic | Complex macros that often failed | Mostly in-cell formulas and formatting, with the known macro defects fixed |
| Office time | One to two hours a day | Freed for other work and Mom to begin to take time away for the office for other things. |
| The AI integration project | Stalled | Delivered |
| The owners’ view of AI | Nervous, with horror stories in mind | Cautiously Interested in what it can take on next but cost conscious too. |
A modest cost saving, too. Developers had quoted $5,000 to $7,000 to build a custom software bridge between the two systems, with uncertain results and capabilities. My initial engagement cost much less. The owners saw results within a few hours, and they picked up skills they can apply to their daily operations. Add the time no longer spent processing data each day, and it’s a clear win for the business.
Bringing AI in safely
The owners’ caution was healthy, and the work was set up to respect it. These are the ground rules I use when bringing AI into a business that is new to it:
- Start with boring work. Repetitive tasks with a clear right answer are where AI earns trust fastest, and where a mistake is easiest to spot.
- AI proposes, people approve. Claude suggested the macro fixes; a person reviews every change before it is applied.
- Work on copies. Changes are built and tested on copies of the workbook and sample data, never on the live files first.
- Prove it against the old way. Run the new process beside the old one and compare the results before retiring anything.
- Keep a way back. Each step can be undone, and the old process stays written down until the new one has proven itself. The new Process get fully documented so that AI can fully reconstruct the tools should it ever need to. The business keeps the documents.
- Share only what the job needs. AI gets the files for the task in hand, never passwords, bank details or data it has no use for.
- Make the logic visible. Formulas in cells beat hidden code. The owners can see what the sheet is doing and why.
- People own the numbers. Automation removes the typing, not the accountability.
Teaching the owners
Building the automation was half the job. The other half is teaching an older couple who run a busy business to use AI safely and effectively, on their own terms. I see that as the bigger win.
What we cover
- What AI is good at: the humdrum, repetitive work, such as reshaping data, drafting, summarizing and routine office tasks.
- Where it needs checking: facts, figures and anything that goes to a customer.
- How to ask well: give it the context, the goal and an example of a good result.
- What never to share: passwords, banking details and anything the task doesn’t need.
- How to check its work: compare against a known-good result, and ask it to explain what it did.
Why it matters to them. The owner who runs the office has wanted to spend less time there. With the daily data run automated, she can now see a way to do that. The point was never to replace anyone. It was to take the repetitive work off people’s plates and free them for more interesting work.
What comes next
The Excel automation is done, and it bought the time and trust for the bigger steps. We are now planning a direct link between the inventory and accounting systems, which would remove the daily files altogether, and a more capable online ordering system for their customers.
The owners also want AI to take on more of the daily humdrum office work and to help them build better marketing plans in-house. None of this will happen overnight. Each step is sized so it can prove itself before the next one starts, and the order follows the owners’ priorities.
Open questions for the next session
- Does the inventory system offer any API or database access, or will integration need a middleware layer?
- Which daily office tasks take the most time today?
- What should the online ordering system do that the current one can’t?
Lessons for small business owners
- A working old system doesn’t have to go. Fix the bridge between your systems before you think about replacing either one.
- Start where the work already lives. Here that was Excel. The fastest fix used a tool the staff already knew.
- Pick the AI tool for the job. A tool that’s fine for email and marketing may not be the right one for spreadsheets and code. The right tool got a stuck project moving.
- Let AI read before it writes. Having it analyze the existing macros surfaced defects before anything changed.
- Prove it on boring work first. Repetitive tasks with a clear right answer build trust quickly, and mistakes are easy to spot.
- Treat AI as an assistant, not a replacement. The goal is time back for people, not fewer people.
- Learn as you go. Owners who understand the tools make better calls about what to automate next.
- Stage the big moves. Quick wins earn the trust and the budget for bigger projects like direct integration.
CandeSys helps small businesses and software teams build practical process for better results, including bringing AI in safely. Client details are withheld.
Stopping the bleeding: building quality into a solo Android developer's pipeline
Case study · Mobile · QA & release process
A solo developer was shipping serious defects in two Android apps, and refunds and one-star reviews were piling up. In about two weeks we stopped the worst of it. Now he's rebuilding his process properly.
- Client
- Solo mobile developer
- Products
- Two Android apps on Google Play
- Engagement
- Advisory, then regular check-ins
- Status
- Stabilized · pipeline in progress
~2 weeks
to stop the worst defects reaching users
6 gates
from planning to release, each with checkable pass criteria
All new code
now challenged by an AI Contrarian Reviewer before commit
01 · The situation
It worked on his phone. It failed on his customers' phones.
He's capable and quick, and he leans heavily on AI to write code. But nothing between "it runs for me" and "it's live on Google Play" checked whether it was actually right.
Symptoms
- Crashes and broken features found by users, not by the developer
- Refunds and one- and two-star reviews arriving faster than fixes
- Fixes that broke something else, because nothing re-tested old behavior
- Releases built and uploaded by hand, a little differently each time
Root causes
- "Works on my machine" testing: one device, one Android version, debug builds only
- AI code accepted on trust: plausible, compiles cleanly, wrong at the edges
- Almost no automated tests: every regression reached customers first
- No definition of "done": the release decision came down to a feeling
- Manual releases: no pipeline, no consistent build, no quick rollback
02 · The remediation
From field dressing to surgery
We treated it like an emergency room: stop the bleeding first, then stabilize, then operate. Each step produced something he could use the next day.
Meetings 1–2
1 · Assess
Map the real dev flow, place the gates, set pass criteria, triage defects by severity.
First few days
2 · Stabilize
Development rules for the AI. AI analysis of the code. Stage-gate test suites. Find and fix.
By end of week 2
3 · Build habits
Contrarian Reviewer on every change. Tests with new code. A written release checklist.
Now
4 · Surgery
CI/CD pipeline. Refactor the fragile code. Staged releases with a halt rule.
Ongoing
5 · Sustain
Short regular check-ins, metrics at every release, deeper sessions when needed.
03 · Quality gates
Six gates. Work moves forward only when it passes.
A failed gate sends work back, never around. Quality starts before the first line of code, with acceptance criteria that become the tests, the AI prompts and the release decision.
- Self-check
- Enforced by the pipeline
- Decided by production data
G0 · Before coding
Ready
Acceptance criteria written, unhappy paths included. Risk rated. Test approach noted.
G1 · Before commit
Code complete
Unit tests pass. Contrarian Review shows no open high-severity findings. Lint and static analysis clean.
G2 · Every push
Build
Debug and release builds succeed. All unit and integration tests pass. At least 80% coverage on changed code.
G3 · Before upload
Release candidate
UI tests pass on the device matrix. Release build smoke-tested. Regression suite passes. Zero open S1/S2 defects.
G4 · In production
Staged rollout
Internal, closed, then 10%, 50% and 100% of users. Halt on any new S1 or if crash-free users drop below 99.5%.
G5 · About a week after
Post-release review
Every escaped defect gets a root cause and a regression test. One process improvement chosen.
04 · Working safely with AI
AI didn't cause the defects. Unchecked AI did.
The fix wasn't less AI. It was AI checking AI, with the developer as the final judge. The Contrarian Reviewer is a separate AI pass with one instruction: assume the code is wrong, and prove it.
The AI that wrote the code never grades it. No code is merged that the developer can't explain line by line.
What the Contrarian Reviewer hunts for
- Unhandled nulls, exceptions and error states
- Android lifecycle traps: rotation, process death, backgrounding
- Main-thread work that freezes the app
- Missing permission and offline handling
- Code that doesn't match the acceptance criteria
- Tests that would pass even if the code were broken
- Secrets in code, unsafe storage, overly broad permissions
05 · Measuring it
Ten numbers tell him whether quality is improving
Users feel the outcomes. The leading indicators predict them a release or two ahead. Above Google Play's thresholds, an app can lose visibility in the store.
Outcomes
- User-perceived crash rate
- < 1.09%
- User-perceived ANR rate
- < 0.47%
- Crash-free users
- ≥ 99.5%
- Escaped defects per release
- Zero S1
- Refunds and star rating
- Trending right
Release health
- Change failure rate
- < 15%
- Time to restore after an S1
- < 48 hours
Leading indicators
- Coverage on changed code
- ≥ 80%
- Defects caught before production
- → 90%+
- Flaky test rate
- < 2%
06 · Lessons for solo developers
What any small team can take from this
- 01
Your phone is not your users' phones
Test on a device matrix and on release builds.
- 02
AI speeds up coding. It doesn't verify.
Pair every AI writer with an AI critic.
- 03
Define "done" before you start
Acceptance criteria become your tests and prompts.
- 04
Gates beat heroics
Checkable criteria, enforced by a pipeline.
- 05
Stop the bleeding, then operate
Triage, stabilize with tests, then refactor.
- 06
Every escaped defect is a free lesson
Write the test, then fix the gate that missed it.
- 07
Measure what users feel
Crash rate, ANRs, refunds and ratings.
- 08
Release gradually
Staged rollouts contain the damage.
Download the PDF for deeper dive into the study.PDF, 8 pages
Client details are withheld.

