DeepSeek 1017 Re-architected My App in 60 Hours
DeepSeek V4.1 Flash 1017 is the first model that made a solo session feel like managing an engineering team. An $80 spend limit on a $10 OpenCode Go subscription removes the usual hesitation to delegate. I gave it a real Electron application, a GPT architect, and 56 worker sessions. After 60 hours of active agent time and nearly 7 billion accounted tokens, it produced 306 commits and restructured almost the entire codebase. The broader job was estimated at 8–14 weeks for a senior engineer. Then I opened the app.
The setup: one architect, 56 workers
The application is a personal fork of an open-source game launcher whose upstream maintainers I did not trust. With PHP2Shell and HTTP2Shell circulating at the same time, auditing and owning the code seemed prudent.
What started as a few targeted fixes escalated into a full redesign of every screen and interaction, largely because DeepSeek 1017 was the first inexpensive open-weight model capable of sustained multi-file work without constant hand-holding.
Eventually, even small changes started taking agents 2–2.5 hours. The codebase had grown coupled enough that every edit required loading too much of the application into context. I wrote an architecture proposal: separate business logic from Electron plumbing, place network and storage behind explicit boundaries, and make features modifiable without reading the entire repository.
I assigned GPT-6.1 Sol as the architect with a single boundary:
You are the orchestrator / senior architect of this app, your job is to only oversee subagents, review solutions, give feedback, never write code yourself.
It could spawn as many workers as needed, all running DeepSeek V4.1 Flash at maximum effort. The run executed in T3 Code across 56 worker sessions, 19,775 tool calls, and 49 messages from me.
The key duration metric is 60.1 hours with at least one agent active, spread across six calendar days.
What the agents built
This was not a toy demo. The agents operated inside an existing product with local persistence, downloads, installers, controller input, two distinct interfaces, and years of accumulated behavior.
They separated domain rules from the runtime, introduced storage and network adapters, added typed contracts between processes, cleaned up shared UI dependencies, restructured the repository, and built an automated QA harness for the Electron binary. The diff touched 2,052 paths and added 111,850 lines, roughly 73% of them tests, fixtures, and QA tooling.
That 73% test ratio becomes important shortly.
At their best, the agents were genuinely strong. The architect/reviewer loop caught and fixed multiple concurrency races across both the legacy and rewritten paths, alongside real security bugs. Later in the run, DeepSeek took over the architect role as well once my $20 ChatGPT Plus quota ran out.
Complete as a codebase, blank as an app
As the re-architecture neared completion, I asked for a status check. The architect consulted its ledger and graded the effort 4.5 out of 5 across five milestones (process plumbing, storage, controller input, repository restructure, and packaging), deducting half a point only for packaging.
Its summary:
complete as a codebase and as a build; it is not complete as a running application
The distinction sounded philosophical, so I asked for a full QA run.
The built application opened to a blank window.
There was one missing database table and three broken resource paths. Thousands of green checks had passed, yet the application could not render its own main window. Without a real runtime target, agent-written test suites optimize for passing assertions rather than proving the software works.
The tests were hiding the bug
This was the most instructive failure of the run, because it is easy to replicate without noticing.
The tests never launched the built Electron bundle. Instead, the test fixtures injected __dirname (the directory the code assumed it was running from) using the pre-refactor location (out/main/), and then computed expected paths from that same injected value.
Production code and test fixtures agreed completely. Both were wrong about the actual chunked build layout (out/main/chunks/).
A green test only proves something about the environment it ran in. When that environment is fabricated, the suite can grow larger and greener while the real binary drifts further from working.
Earlier in the run, when GPT-6.1 Sol was acting as architect, there was an automated QA lane that launched the built binary and captured screenshots. It quietly stopped being invoked after DeepSeek took over the parent role. I had originally viewed that lane as expensive overhead; it was the one check that would have surfaced the blank window immediately.
Passing QA on an empty profile
After the path and schema fixes landed, QA passed 10 of 15 scenarios. The architect attributed the five failures to stale test expectations and reported “zero product defects.”
Running the same suite against a copy of my real profile changed the picture: all 15 passed, and the architect retracted its earlier diagnosis. The “missing” controls only render once sources and library entries exist, and the blank scratch profile had neither.
The lesson carries over directly to agent verification: you have to define what evidence counts as proof, whether that is a multi-model UI evaluation or a deterministic latency target.
I finally asked the question I should have asked on day one: “Is the app fully functional?”
No. It launches, renders, and reads real data, which is not the same as fully functional.
I gave it permission to execute the full core loop: download, extract, install, launch, and remove a game. After one minor path fix, a 2.43 GB download completed, extracted, installed, and launched cleanly.
The system worked end to end.
Cost and time
An independent audit of the run estimated 200–360 hours for a senior engineer familiar with Electron, TypeScript, and this codebase to reach the same checkpoint. The broader architecture plus full product acceptance was estimated at 320–560 hours, or 8–14 engineering weeks.
Against that baseline, 60.1 hours of largely autonomous agent time is a substantial compression, all on a $10 OpenCode Go subscription (roughly $30 including the early GPT-6.1 Sol architect phase).
Four changes for the next run
DeepSeek 1017 was not the bottleneck; the workflow around it was. Four rules I would enforce from the start next time:
- Define “done” as a user-visible outcome. “Download, install, launch, and remove a game” is a finish line. “306 commits and green checks” is activity, not completion.
- Run real end-to-end QA after every structural change. Mocked fixtures verify assumptions, not binaries.
- Give workers bounded outcomes and fresh context. One worker should own a vertical slice through its plumbing and tests, rather than inheriting the entire history of the repository.
- Verify clean summaries against the diff and runtime. Agents can fix a defect and still write a tidy post-hoc narrative that glosses over what remains broken.
DeepSeek 1017 delivered the leverage of a small engineering team for the price of a takeaway dinner.
Give it a concrete outcome. Let it run.
Then open the app.
Occasional writeups on systems and performance.
RSS or email.