Kamil DzikowskiCTO · AI-Era Engineering · Advisory

EN PL
Case Study · AI-Era Delivery

Rebuilding a production digital-signature backend in days — the AI-assisted method, step by step.

A legacy backend serving a live digital-signature platform needed a ground-up rebuild. A conventional plan would have made this a multi-month project. Actual delivery of the core rebuild: three days of AI-assisted execution, followed by a hardening phase including end-to-end encryption. This is exactly how it was done.

The situation

The platform had grown feature-by-feature for years. The backend carried accumulated debt: inconsistent endpoint behavior, undocumented business rules, and an architecture that made every new feature slower than the last. A rewrite was overdue — but a traditional rewrite meant months of parallel maintenance and migration risk.

The method — five phases

Phase 1

Endpoint & behavior mapping (before any code)

Every existing API endpoint was inventoried and mapped: inputs, outputs, side effects, auth requirements, and the business rules hiding inside each one. This map became the contract the new system had to honor. Nothing gets rebuilt safely until you know precisely what "working" means today.

Phase 2

Research & decisions

Targeted research on the replacement stack, the data-migration approach, and the failure modes of comparable rebuilds. Key architectural decisions were made and written down before execution — framework, persistence, auth model, versioning strategy — so the build phase would contain zero open design questions.

Phase 3

The execution document

Everything from phases 1–2 was compiled into a single execution document: the endpoint contract, the target architecture, sequenced build tasks, acceptance criteria per task, and explicit out-of-scope lines. This document is the real secret. AI-assisted development is only as fast as the specification is unambiguous — the document turns an AI coding agent from a suggestion engine into a delivery machine.

Phase 4

Three-day AI-assisted execution

With the execution document as the source of truth, the rebuild ran as a tight loop: agent executes a sequenced task → output verified against the endpoint contract → next task. Human judgment stayed where it belongs — reviewing architecture-relevant diffs, catching contract deviations, making the calls the document couldn't anticipate. The core backend was feature-complete against the mapped contract in three days of focused execution, then entered formal testing.

Phase 5

Hardening: end-to-end encryption & production readiness

After functional parity was verified, a hardening phase added end-to-end encryption, tightened access controls, and completed the formal test cycle before cutover.

Outcomes

This is what AI-era engineering looks like when it's run by someone accountable for production. If your team's rebuild estimate is measured in quarters, let's talk.

Book a 20-minute intro call and tell me what your team is quoting in quarters.

I read every message and reply personally.

← Back to case studies