Empirical, not predictive.

The usual question is “when will it be finished?” Barn asks better ones: what did we build, does it work, and did it matter? Everything Barn does, and everything it refuses to do, follows from asking those instead.

If the software disappeared, the value shouldn’t.

Imagine every line of code, every package and every ticket vanished overnight. What a barn holds should be enough for a different team, with different technology, to rebuild the product: the same things, for the same people, for the same reasons.

That is why work is written as a real, ongoing need of a real kind of person, never as a screen, an endpoint or a database table. None of those would survive the disappearance. The need would.

Done means proven.

Nothing turns green because someone said so or dragged a card. Each story is pinned down by concrete examples, and an example is green only when it passes against the real software. If it breaks later, it goes back to red on its own.

Because the proof runs from end to end, only a whole slice can pass. Half a feature has nothing to show, and that settles the argument better than any rule could.

One slice at a time.

There are no estimates, points, velocity or deadlines, and there is no backlog. There is what has been released and proven, and the one slice being built now. A slice is finished when it works, not when a date arrives.

We learn as we work. That is why the work is cut into small, manageable pieces.

Planning far ahead commits a team to a picture of the world that rarely survives contact with it. So when a slice is released, the team stops, regroups and decides the next one afresh, knowing more than it did before.

Keep the why.

Every piece of work says who it is for, what they want to do and what they get from it. There is no “improve login” without saying for whom and to what end, so the reasoning is still there when everyone who wrote it has moved on.

Changing your mind is fine, and expected. The change is recorded beside the original rather than over it, so history is never quietly rewritten.

Then ask: did it matter?

A feature that works proves that people can do the thing. It can’t prove that doing it helped them, which was the reason it was built. So, after a release, each piece of work is checked against its reason, in the words of the people it was for.

“It works, but it didn’t help” is a perfectly good answer. Making it cheap to say is how teams stop building things nobody needed.

Rough is allowed. Pretending isn’t.

Early on, a team has hunches, half-formed needs and open questions. A tool that demands finished stories forces the team to either stall or fabricate precision. Barn lets an idea start rough and shows that it is rough.

Being uncertain is fine; hiding it is not. “We haven’t decided” is a real answer, and nothing earns its colour by being declared.

Two languages, never mixed.

The business owns the permanent record: who the people are, what they need and the words they use for it, kept in one glossary that means the same thing to a stakeholder, a developer and the code.

Developers own the disposable mechanics: tasks, runs and the code itself. They are real and necessary, but nothing from them leaks into the business’s words, and nothing in the business record has to change because the code did.

Shape that is checked, not claimed.

The same honesty applies to how the software is built. Every folder has a meaning in plain words, so anyone can see where something belongs, and one check says whether anything has strayed from it.

Nobody declares a codebase well architected. The check comes back clean or it doesn’t, just as an example passes or it doesn’t. That is the one idea Barn is built on, stated twice.

Go deeper

The finer points.

For when you want to know how the principles play out in detail.

What makes a good storyA need, not a feature

A story describes a real, ongoing need of a real kind of person: who they are, what they want to do, and what they get from it. It is narrated about them (“A guest wants to cancel their booking, so they are not expected for a stay they will not take”) rather than as a first-person wish.

It names nothing a developer would recognise as theirs: no screen, endpoint, database table or package. It doesn’t know what fulfils it, or whether that has been rewritten twice already.

A story doesn’t go away once it is built. The need doesn’t stop being true because somebody met it, so it stays part of the record of what the product is for, worded exactly as it was before it was fulfilled and exactly as it will be after every line of code behind it has changed.

Small slices, and bugs within themNothing waits behind the current slice

A slice holds only what is most valuable right now, and is kept small on purpose. A small slice can absorb whatever turns up while it is open, a bug included: the fix joins the slice and is released with it, rather than waiting in a queue behind it.

Only one unreleased slice may exist at a time, and new work can’t be written without one. That is enforced, not advised. Nothing is planned or parked for later, because later is exactly where plans go stale.

Released means doneNo override, no “technically complete”

A slice can’t be released until every story in it, and every change that adds new examples, has been proven green by a real run against the software. There is no override. “Released” and “done” mean the same thing, which is what keeps Barn from becoming a softer version of the tools it replaces.

Work can still be split across people, one on the database and another on the interface. Barn just won’t call the result done until the whole slice passes: red is what work built in layers looks like.

Needs without a lifespanReporting, compliance, notification

Most stories follow something through its life, from being established to coming to an end. Some needs don’t, such as reporting, compliance or notifications. Those sit in a permanent “Unassigned” column of the story map rather than in a queue, so there is still nowhere for half-baked ideas to pile up.

No assignment, no allocation ritualWork is carved by business case

There is no assignee field anywhere and no planning ceremony where points are committed. The current slice holds its examples, and the team works on what is there.

Work is still broken down, but along business cases rather than engineering layers: a story into examples, and an example into tasks that each point at something that can be proven mechanically.

How change is recordedThe story map and its history

Changing a released story in a later slice is an elaboration: kept separate and visible, saying plainly “we changed this, and here is the new wording”. A stakeholder can see that in the first slice we did one thing, and in the second we learned something and adjusted.

So the two views are kept apart. The story map shows every story once, as it reads now. History shows how it got there, slice by slice, each released one with release notes in the words it was released in.

Checking valueDated, attributed, and never blocking

Each released story carries its impact: short, dated observations, each saying who made it, that end in achieved, none or superseded, and read evaluating until then.

  • The question is asked when the next slice is released, about the earlier ones, so there has been time for value to show. It never blocks a release.
  • Achieved settles only on the word of the people the story was for, or someone speaking for them. A team can’t close a claim about someone else’s experience.
  • Impact never changes a story’s colour. A story can be green and none: it works, and it didn’t matter.
Examples that stand in for rulesNotice what hasn’t been decided

When a product was rebuilt in another language from its Barn records alone, most of it came back. What didn’t was telling: examples that sounded complete but leaned on knowledge nobody had written down. Rejecting a one-letter name is not a rule about name length; accepting three currencies is not the list of supported ones.

So Barn helps a writer notice where an example stands in for an undecided rule, and then choose honestly: state the rule, add another example, or say the implementation is free to choose. None of those is a failure; leaving the question unasked is.

Prompts such as “what makes this value invalid?”, “could an implementation give this answer for the wrong reason?” and “if refused, what must stay unchanged?” are there to make uncertainty visible, never to demand an exhaustive specification or to block a save.

Confidence is a judgementNever computed, never a gate

An author may mark how confident they are that a story is captured well enough for someone to work on. That is their own judgement: unset by default, never worked out from which fields are filled in, never a way to hide an open question, and never a condition of release.

A rough idea carries no points, no promise and no date. A story earns its colour as everything else does, by being detailed and then proven.

No privileged architectureA default, not a belief

Barnark offers a catalogue of architectures, including Domain Driven Design, Feature Based, Model View Controller, Library and Package App. Domain Driven Design with Hexagonal boundaries is today’s default, not a creed.

Start by cloning one of Barnark’s templates, then customise your new template as you like. The two stay independent: your changes never touch Barnark’s template, and new versions of Barnark will never touch yours. Barnark is for keeping a new project well shaped from the start, not for judging an existing codebase and listing everything wrong with it.

A tree outlives its foldersThe disappearing-software test, one level down

Barntree keeps trees of what goes where, and refuses any change that would leave one invalid. It knows nothing of folders, architectures or stories. A folder layout, a diagram and some documentation are each just one way to express such a tree, never the tree itself.

The way a domain is understood is the durable thing. The folders expressing it today are not.

Decisions that stay madeTemplates, Constructions and their history

A Template describes reusable structure; a Construction gives that structure real members. A Construction records the saved Template revision it was made from, and later changes to the Template don’t rewrite that decision. Both keep an unchangeable history, so the current view is easy to understand without losing how it came to be.

A person should always know which thing they are managing. Each gets one main workspace, reading never changes anything, and an edit has its own Save and Cancel. The browser app and the command line work with the same records, and agree on everything that matters, even where they look different.

Under one roof, yet independentBusiness and architecture side by side

A project becomes a barn when it has a .barn/ folder, and each tool keeps its records there, committed with the code they describe. A project can start with either tool and add the other when it needs it.

The two halves never speak each other’s language. Business is written in the business’s words and links only to business; architecture uses its own. Barn puts the two side by side, and each also works on its own.

Any languageBarn runs on PHP; your project needn’t

A story describes a need, not an implementation. An architecture template is folders and what they mean. Neither knows or cares what fills them, so a barn can hold a Java service, a TypeScript app or a Ruby gem as readily as a PHP one.

Where Barn still leans on PHP today, most of all in how examples are run against the software, that is a gap to close, not a boundary to keep.

Discipline that feels like simplicity.

Barn asks more of a team in one way, honesty, and much less in every other.