Where your data lives
One folder, in your project, committed with your code.
Barnspek keeps everything in the project’s barn: a project whose root holds a .barn/ folder.
It finds the barn from any folder inside it, and writes nothing anywhere else. Without a barn it refuses to read or write, and
barnspek init makes one.
What is in it #
.barn/barnspek/areas-of-business/ one file for each area of business, with its roles, stories and building blocks
.barn/barnspek/scenarios/ each area of business's Scenarios
.barn/barnspek/work/ each area of business's tickets
.barn/barnspek/settings.json where generated Ports go (you create this)
.barn/barnspek/refinements/ unfinished refinements saved from the browser app
Commit .barn/ with your code. The files are JSON and are not meant to be edited by hand: use the
commands or the browser app.
Start over #
wizard-reset shows what it would remove. Nothing is deleted until you add --force.
$ vendor/bin/wizard-reset
Barn: …/hotel
[dry run] would remove …/hotel/.barn/barnspek/areas-of-business (2 file(s))
[dry run] would remove …/hotel/.barn/barnspek/scenarios (1 file(s))
Dry run: nothing was deleted. Run again with --force to delete it.