↓ Skip to main content

The End of Tech Debt Is AI

426 words·2 mins· loading · loading · ·
Pin Xiong presenting at AWS Community Day Shenzhen 2026
Date17 October 2026
TrackSpark Bridge · 星火桥
Slot14:30–15:00

Most teams treat a legacy service as a black box they are afraid to touch. This talk is the opposite: a two-year-old Java/Spring Boot microservice, running in production across three ends — mobile app, vehicle, and cloud — with no documentation at all and zero tolerance for downtime, taken apart and rebuilt with AI agents.

The original Chinese title was 技术债的尽头是 AI:一个微服务从零文档到知识库的重构之路. The English version keeps the part that matters: the debt was never the code. It was the missing knowledge.

What the talk covers
#

  • How to build system comprehension in a codebase nobody documented, using AI agents as readers before using them as writers.
  • A 13-step flow borrowed from Kiro’s design philosophy — understand, define, rebuild, deploy — with the actual git commits and knowledge-base layout shown on screen.
  • The “athlete and referee” pattern: separate agents for producing changes and for judging them, so the model that writes the code never grades its own homework.
  • Which steps should stay manual. The honest answer is not “let the agent do everything.”

The numbers, as presented
#

MeasurePlannedActual
Coding1 week4 hours
Integration testing1 week2 days
First integration pass—20 minutes, 90% of features verified
Bugs found—2, both human error
Pitfalls documented—5

The talk deliberately keeps the failures in. A report that only shows the wins is marketing, not engineering.

The conclusion I actually wanted to land
#

Process, not the model, is where the safety comes from. The 13 steps would work with Kiro, with Qoder, or with a plain chat window. The harness is the asset; the model is swappable. That is also why the same flow is reusable on the next legacy service instead of being a one-off story.

Photos from the session
#

Three frames, three distances: the room, the talk, and the table.

Speakers, volunteers and attendees of AWS Community Day Shenzhen 2026 gathered in the auditorium, holding the User Group 上海 and User Group 深圳 banners
The room. Around 600 developers in the hall, with the Shanghai and Shenzhen User Group banners up front.
Running the refactoring demo from the podium laptop during the session
The talk. Running the 13-step refactor live from the podium laptop.
At the speaker table before the session, name card on the desk
The table. At the speaker desk before the session — 熊聘 on the card.

Slides and recording
#

Slides are being cleaned up for publication. If you want the deck or the 13-step checklist before then, email me at pinxiong.cn@gmail.com and I will send it over.

The written version of this talk is a series on the blog: start with AI Coding in practice: rebuilding a zero-docs microservice.