Solo contract developer restructures Vedo Accounting's 119k-line SaaS with Claude Code over ~7 months: 492 of 1,859 commits agent-authored, 0 → 460 test files, 33 CI ratchets
Jahanav Dixit, a part-time contract developer and the only engineer on Vedo, an accounting SaaS (13 transaction types, sales tax, Stripe invoice payments), writes up about seven months of directing Claude Code against an inherited codebase that had no CI, no tests and no branch protection. A quarter of the commits (492 of 1,859) were written by an agent working from his plans. To make the code legible to an agent he split a routing file that peaked at 19,861 lines into 47 domain modules (the file ended at 59 lines), split the storage layer the same way, and cut a 6,919-line banking page to a 239-line shell. A parity harness ran ten transaction forms' tax math against one engine (205 inputs agreed, 109 did not) before consolidating to one engine and eight adapters. He added shared request contracts with a CI check, and 33 gate scripts as ratchets in pre-commit and CI: `as any` went from 402 occurrences to zero, unvalidated request bodies from 200 to a deleted baseline, and oversized files from 95 to 52. Spot-checking 49 claimed agent fixes found 7 false, so he adopted an executor and adversarial critic pattern (up to three critic rounds that verify independently) and gates commits on suite exit codes, not agent reports; adversarial review caught a Stripe minor-unit bug that would have overcharged zero-decimal currencies such as yen by 100x before it merged. Agent fan-out was capped at two or three concurrent agents on his laptop. Server test coverage rose from 39% to 64% and client coverage from 81% to 94%.
The numbers (as reported)
| Duration | ~7 months, solo, part-time |
|---|---|
| Commits | 1,859, of which 492 agent-authored |
| Codebase size | 119k lines inherited, restructured to 310k |
| Test files | 0 → 460 |
| Server / client coverage | 39% → 64% / 81% → 94% |
| `as any` occurrences | 402 → 0 |
| Main routing file | Peak 19,861 lines → 59 lines (47 domain modules) |
| CI / pre-commit gate scripts | 33 |
| Spot-checked agent fix claims that were false | 7 of 49 |
Facts
- Company / subject
- Vedo Accounting (Jahanav Dixit, contract developer)
- Tools
- Claude Code
- Codebase
- brownfield
- Work type
- Refactor / maintenance
- Stack
- React 18, TypeScript, Vite, Express, Drizzle ORM, PostgreSQL (Neon), Vercel serverless, Stripe
- Published
- 2026-08-26
- Last checked
- 2026-11-26
What the source claims Practitioner (own blog/paper)
Claimed by the builder, writing about their own work. Not checked independently.
- Test coverage rose from 39% to 64% on the server and 81% to 94% on the client, as hard floors 39% → 64% / 81% → 94%
“Server coverage moved from 39% to 64% and client coverage from 81% to 94%, both as hard floors that may only rise.”
- The codebase went from no tests to 460 test files 0 → 460 test files
- `as any` occurrences cut from 402 to an empty baseline, with new ones blocked by CI 402 → 0
- Every defect his own process introduced was caught before it reached the production branch
“Every defect my own process introduced was caught before it reached the production branch, usually the same day.”
Caveats
Self-reported portfolio case study by the contractor who did the work, written while he is job-seeking; Vedo has not published anything itself. The date is the page's dateModified (no publish date is shown). The line count grew from 119k to 310k, so this is a restructuring plus test-writing effort rather than a reduction. Most of the outcomes are code-quality and process numbers rather than delivery speed; there are no figures on features shipped or cost. The post says the Stripe bug "never reached the production branch, which is where all of this work still sits", so it is not clear how much of the work is in production. No model is named.
More stories by tool: Claude Code
Related topics: Refactoring and maintenanceBrownfield codebases