Practices

What I won't hand to an agent without understanding it

DEV: claudecode Vojta Biberle
Practices

A Keboola engineer ran a five-day sprint in which coding agents produced 68 merged PRs and cut legacy Zend dependencies by 45%, then documented the areas he never hands over: auth, behaviour changes, API and schema.

Key points

  • Five days on Keboola Connection produced 68 merged PRs, with agents doing most of the mechanical work.
  • Files in src depending on Zend fell from 1,295 to 706, a 45% cut, while all 70 controller actions stayed.
  • Auth, SAML, MFA, SOX and OAuth require explicit permission and a human approval every time.
  • Storage_Job_Exception kept its name because Datadog monitors match the old error name; 103 throws remain.
  • A Doctrine move for MergeRequest was estimated at eight points and high risk, so it was dropped.
  • Unpruned worktrees filled Btrfs metadata and forced the filesystem read-only; max 3 ready PRs and serialized E2E runs now.

Why it matters

Most teams find these boundaries after an incident, not before it. Here they are written per directory: mechanical refactors run unattended, anything touching identity or observable behaviour waits. The transferable part is the classification, not the throughput number — a .NET team can read Auth/SAML/MFA as Entra ID and authorization handlers, and "my call" as the public API contract and EF Core migrations.

Before copying it, inventory what depends on names you don't control: error strings in monitoring, log keys, exception types in config. And budget for machine hygiene — worktree cleanup and serialized E2E runs — or the agents saturate CI and the disk first.

Real-world use

  • A legacy PHP/Symfony codebase being migrated off Zend classes one mechanical PR at a time.
  • Login, SAML, MFA and OAuth code where green E2E tests still miss a token that outlives its intended lifetime.
  • A class rename that would silently break Datadog monitors keyed on the old exception name.
  • A shared test stack where one suite must pick storage only in the project's own region.

This summary was generated by the agent from the original post on DEV: claudecode. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message