File browser SVN Gateway yang menampilkan folder art/characters di repository game demoDialog kelola akses yang menampilkan siapa saja yang bisa membuka folder, lengkap dengan level izin dan tombol cabutHalaman Run Shellway yang menampilkan output disk usage dari dua server setelah satu commandMemilih command, SSH user, dan server tujuan sebelum menjalankan run
0%

2026-10-25

How I Build Internal Tools AI-First

During my DevOps internship at Agate, I built four internal tools and a set of CI/CD changes without writing the code by hand. AI coding agents wrote it. My job was everything around the code: deciding what to build, writing it down precisely enough for an agent to follow, and proving with tests that the result does what it should.

What AI-first means for me

AI-first does not mean asking a chatbot for an app and shipping whatever comes back. In my workflow the agent is the one typing, but every decision that shapes the result is mine: the requirements, the data model, the access rules, and what counts as done.

I mostly worked with Claude Code and Codex. Each tool went through the same loop: analyse the need with my mentor and the people who would use it, write a PRD and a design spec, record technical decisions as ADRs, break the work into small tasks, let the agent implement each task test-first, then review and deploy through GitLab CI. Every loop produced a working increment that someone could try.

Specs before code

An agent is only as good as the instructions it gets, so most of my time went into writing. The PRD for SVN Access Gateway set four goals: people can work on their own files without asking for help, the reason someone can open a folder fits in one line, granting access takes seconds, and after a leak we can answer who downloaded a file. Every later decision was checked against those four lines.

Writing things down also made changes cheaper. SVN Access Gateway started as a vendor submission portal with review and approval steps. On 10 September the need changed to a plain SVN browser with folder-level access. Because the design lived in documents and ADRs, I could see exactly which parts still applied. The SVN protocol client, the session handling, and the UI components stayed. The assignment, review, and staging modules were deleted. The project did not restart from zero.

Tests are the contract

When I do not write the code myself, I cannot rely on the feeling that it looks right. Tests are how I know. Every task started from a failing test that described the behaviour I wanted, and the agent's work was done only when that test and every earlier one passed.

The numbers grew with the tools. The offline test suite of SVN Access Gateway went from 91 tests right after the change of direction to 697 by early October. Shellway was built feature by feature in seven working days, starting from a UI on a mock API, then the backend, SSH users, and finally grouping for servers and commands. Each step was small enough that a failing test pointed straight at the problem.

Where a human still has to look

Tests only check what someone thought to test. Some of the most useful findings came from running the real thing. The company's SVN server rejected requests that its documentation says are supported, such as creating a transaction with properties, and a COPY request needed a Destination header with an http scheme. No mock would have told me that.

Other problems only showed up in a full build or in a browser. The argon2 and mysql2 libraries once slipped into the client bundle and broke every page, which only a production build caught. On Shellway's Grants page, a slow response for the previous runner could show another person's grants. Download managers that request a file twice created duplicate history entries, so repeated downloads within 30 seconds are now merged.

So the rule I follow is simple. The agent writes the code, the tests guard the behaviour, and I stay responsible for the requirements, the review, and for checking the result where it actually runs.

LET'S WORK TOGETHER

akmalzaidan960@gmail.com