Urgent.News

What's breaking now, across thousands of outlets.

Tech

Requirements Come Before the Contract

Until the schema is declared, changing your mind costs one paragraph. ๐Ÿ‘‹ Hi, I'm Anton โ€” a software engineer working mostly in PHP/Symfony and Go, currently carving a live PHP monolith into Go services. This series is about the order the work happens in: what has to exist before anyone writes a line of code, and what that order is actually worth. This part is about the first links of that chain โ€”โ€ฆ

Before any code is written, the order of work matters. The first link in that chain consists of a wish and the requirements that emerge from it. When a requirement changes, it only takes editing one paragraph. Downstream, the same clause affects five artefacts: the requirement itself, the generated code, handwritten code, tests, and documentation. The focus is on the change being coordinated, rather than attaching hours or money to it.

The case study presented is a boring one: a form that nobody decided on. It was never explicitly stated as a requirement, so each author decided it locally. An audit of a service tree on 2026-08-13 found 44 copies of four different forms. The case shows that requirements matter because they are the only artefact that exists before any editing occurs.

Once the contract has been declared, the same clause impacts five artefacts, including the requirement itself, the generated code, handwritten code, tests, and documentation. The key is that the requirement serves as a condition that can be checked by a machine, ensuring consistency after everyone involved has forgotten the conversation.

Written by urgent.news from Dev.to's reporting โ€” not their text. Machine-written โ€” may contain errors; check the original before relying on it.

Read the original at dev.to โ†’

More in Tech

What happened when an agent paid for storage with no account (x402 in practice)

I built a small service for AI agents: store a JSON blob or a file, get it back later, or hand it to a human with a link. Nothing new there.

  • Service allows storing JSON blobs or files without account or API key
  • Payment of $0.01 in USDC per call via x402 protocol
  • Production issues include payment failures, hashing iteration cap, and concurrent read counting

More from Friday 18 September โ†’