The browser app

Everything the command line does, for people who would rather click than type.

Start it #

$ vendor/bin/barnspek gui

This serves the barn that holds the current folder, from any folder inside it, and opens it in your browser. Stop it with Ctrl-C. The header names the barn. If the folder has no barn yet, the page offers to make one, which adds only .barn/.

OptionEffect
--port=9000Prefer this port; the next free one is used if it is taken.
--no-openDon’t open a browser.
--dry-runPrint what would be started and stop.

Finding your way around #

Opening an area of business shows its tabs, in the order the work goes: Building blocks, Story map, History and Work. Glossary sits apart on the right, because it is a reference to look something up in, not a view to work in. Every page has a breadcrumb trail, and the area of business’s name in it opens the Glossary.

TabWhat it is for
Building blocksThe roles, subjects, facts, actions and parameters every story is built from, and the only place they are created. It opens on three groups (Roles, Subjects, Actions) and goes down a level at a time.
Story mapEvery story once, as it reads now, under its stage and grouped by role. It changes nothing; phases and releasing are on History.
HistoryThe map Phase by Phase: where stories are written and released.
WorkTickets. It goes down from roles to stories to Scenarios to the board.
GlossaryThe area of business’s own vocabulary.

The story map #

Each story is a card with its role’s colour. Filters keep chosen roles, or stories with a Scenario about a subject. A story changed by a released elaboration says Elaborated and shows its new wording; one whose Phase isn’t released is dashed and says Planned. Clicking a story’s wording opens its Scenarios.

History #

Columns are the five stages plus Unassigned; rows are Phases, newest on top. A role list above the grid has a tick box for showing its stories and a link to the role’s own page. Each story card carries a status icon, and the key sits above the grid:

StatusMeaning
RoughNo Scenarios yet: the story is still only a sentence.
ExpressedRefined into concrete Scenarios, with no ticket or run yet.
In progressSome Scenario still has open tickets, or none at all.
Built, not provenNo ticket is open, but a passing run has yet to prove every Scenario.
FulfilledProven by a passing run, never by a click.

Cards start collapsed; click the goal line to open one. Each Phase band says whether it is in progress, ready to release or released, and clicking it folds the Phase away. A released Phase starts folded, so the page opens on the Phase being built. Release Phase appears once every story in the Phase is fulfilled, and lists what it will lock first. A released Phase offers Release notes.

Writing a story #

New story asks one question at a time while the sentence builds up above it: the role (pick one or describe a new one), what they want to do, why, and where it sits. It then asks whether to write the happy path now. Save the story only stops there. Otherwise it goes on to the Scenario: the When, the Given, the Then and a name. Click any part of the sentence to go back to that step. Anything new you describe on the way is listed under Saved with this Scenario and is created only when you save, so abandoning leaves nothing behind.

An unfinished idea can be saved as a refinement and resumed later from History. Refinement notes stay separate from formal Scenarios and proof.

Changing and releasing #

Until its Phase is released, a story’s page offers Reword, its stage and Delete, which first lists the Scenarios that go with it. A released story shows Released in … in place of the buttons, and an open card offers Elaborate in the active Phase, which adds a dashed elaboration card and a section on the story’s Scenarios page to add, amend, retire or withdraw changes. See Phases, releasing and changing.

Work #

The board has three columns: To do, In progress and Done. Drag a ticket between them, or use its ← and → buttons, which do the same from the keyboard. Above the board is the brief: the story’s sentence and the Scenario’s Given, When and Then, so you can check work against it before moving a ticket to Done. Moving a ticket can change colours as you go, but only a passing run can turn a Scenario green. A ticket needs a title and a description, and Delete removes one after asking.

Impact #

Every card in a released Phase shows an impact beside its status, never instead of it. Record impact appears on an open card until its impact is settled, and Release Phase asks about every earlier story whose reward is still unanswered, which you can leave for next time.